Errors
Errors are RFC 7807 problem details with a stable machine-readable code:
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.10",
"title": "Tax document is committed",
"status": 409,
"code": "document_immutable",
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"
}
| Status | code | Meaning | Retry? |
|---|---|---|---|
| 400 | validation_failed | errors has messages per field (camelCase paths). Also a route value ({entityId}, {code}) over 100 characters | Fix the request |
| 401 | No token, or the token is invalid (signature, issuer, audience, expiry) | With a valid token | |
| 403 | The token lacks the endpoint's scope | No | |
| 403 | entity_forbidden | Your token doesn't cover the entity (integrations:admin alone doesn't) | No |
| 404 | not_found | Unknown id | No |
| 409 | feature_disabled | The entity hasn't enabled the feature yet | After rollout |
| 409 | document_immutable | Committed documents can't change; issue a credit | No |
| 409 | concurrent_update | Another request changed the same resource at the same moment (e.g. two credits against one invoice). The response has "retryable": true. | Yes, immediately |
| 409 | entity_not_configured, party_not_synced, invalid_status, ... | State conflict; detail explains | After fixing state |
| 413 | payload_too_large | Request body over 4 MB | No |
| 422 | provider_rejected | AvaTax refused the data; providerCode and details say why | Fix the data |
| 429 | Rate limit: per client, or per IP when not signed in | Yes, after Retry-After | |
| 503 | provider_unavailable | AvaTax or the FX source is unavailable. Estimates add fallback: "manual". | Yes, with back-off |
Provider errors (422, 503) and unexpected 500s have a fixed title; the provider's own message is in the log
(and, for 422, in details, which is written for you to fix the data).
Quote the traceId when you report a problem: it finds the request in logs and traces.