Skip to main content

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"
}
StatuscodeMeaningRetry?
400validation_failederrors has messages per field (camelCase paths). Also a route value ({entityId}, {code}) over 100 charactersFix the request
401No token, or the token is invalid (signature, issuer, audience, expiry)With a valid token
403The token lacks the endpoint's scopeNo
403entity_forbiddenYour token doesn't cover the entity (integrations:admin alone doesn't)No
404not_foundUnknown idNo
409feature_disabledThe entity hasn't enabled the feature yetAfter rollout
409document_immutableCommitted documents can't change; issue a creditNo
409concurrent_updateAnother request changed the same resource at the same moment (e.g. two credits against one invoice). The response has "retryable": true.Yes, immediately
409entity_not_configured, party_not_synced, invalid_status, ...State conflict; detail explainsAfter fixing state
413payload_too_largeRequest body over 4 MBNo
422provider_rejectedAvaTax refused the data; providerCode and details say whyFix the data
429Rate limit: per client, or per IP when not signed inYes, after Retry-After
503provider_unavailableAvaTax 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.