Update Tax Code Mapping
PUT/api/qbo/tax-code-mappings/:taxRateId
Maps a SKU tax rate to a QBO tax code. Pass null for qbo_tax_code_id to clear the mapping.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Requires the accounting.manage_tax_settings permission.
A tax code that is inactive in QuickBooks is refused with 422 (error: "Inactive QBO tax code") because QuickBooks would reject transactions that use it — reactivate it in QuickBooks and sync tax codes, or choose an active tax code. Existing mappings to codes made inactive later are left as they are.
Request
Responses
- 401
- 403
- 404
- 422
- 429
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.