Update a tax-code mapping
PUT/tax-mappings/:id
Updates the FI system, VAT rate, VAT category, target tax code, label, seller region and/or active flag of an existing mapping. Each field is optional; an absent one is left as it stands, a blank label clears it, and a blank seller region widens the mapping to suppliers from anywhere. The mapping's legal-entity scope is fixed at creation and cannot be changed here; rebinding the FI system, VAT rate, VAT category or seller region onto a combination another mapping in the same scope already holds answers 409.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Tax mapping updated
id is not an integer, or invalid target_fi_system, vat_rate, vat_category_code, target_tax_code, label or seller_region
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Tax mapping not found
A mapping for this FI system, VAT rate, category and seller region already exists
Unprocessable entity
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Delay in seconds a client must wait before retrying the request
Internal server error