Create test workspace

Sales-tax codes

Taxable and non-taxable sales codes.

  • List object
  • 4 operations
QuickBooks type
SalesTaxCode
Works with
QuickBooks Desktop Pro, Premier, Accountant, and Enterprise for Windows (U.S. editions) through Web Connector 2.3 or later. Windows acceptance testing is in progress; verify the operations you use against your customer's edition.
Company file requirement

Needs sales tax turned on in the company file (Edit › Preferences › Sales Tax).

Operations

POST/v1/quickbooks-desktop/sales-tax-codes

Live projects require an Idempotency-Key header. See Idempotency.

# body.json holds the fields from the request body table below.
curl -X POST "https://crossblade.dev/v1/quickbooks-desktop/sales-tax-codes" \
  -H "Authorization: Bearer $CROSSBLADE_SECRET_KEY" \
  -H "Conductor-End-User-Id: $CROSSBLADE_END_USER_ID" \
  -H "Idempotency-Key: stable-business-operation-id" \
  -H "Content-Type: application/json" \
  --data @body.json

Request body

From the OpenAPI document, required fields first. Check the fields you use against your customer’s QuickBooks edition and company preferences.

Loading the schema…

Response

Common errors

Create can fail with
IDEMPOTENCY_KEY_REQUIRED
Live writes need an Idempotency-Key header.
INVALID_REQUEST
422 for unknown or unsupported fields, before anything is queued.
INTEGRATION_CONNECTION_ERROR
QuickBooks rejected the record; integrationCode 3100 means the name is already in use, 3140 an invalid reference.
QBD_WRITE_OUTCOME_UNKNOWN
HTTP 202: reconcile the durable request before any further write.