Convert pending withholdings to credits (bulk)
POST/v1/withholdings/convert-to-credits
Converts all of the organization's pending withholdings — optionally narrowed by tax_type and/or competence period — into credits. Returns the list of generated credits, the total count converted and the total amount in cents.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Batch of withholdings converted to credits.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.