Update Tax Code
update_tax_codeUpdate a tax code's attributes by sending only the fields you intend to change. Resolve the existing id with the list tool first, then get the modified tax code.
Instructions
Update a Tax Code's attributes. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "tax_code" in the request payload for you. id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified tax code on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: id, company_id. Procore API: Construction Financials > Tax. Endpoint: PATCH /rest/v1.0/tax_codes/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Tax resource | |
| code | No | JSON request body field — the Tax Code | |
| rate1 | No | JSON request body field — rate to apply for first Tax Type | |
| archived | No | JSON request body field — set to true if this tax code has been archived | |
| origin_id | No | JSON request body field — the Third-party ID of the Tax Code | |
| company_id | Yes | Query string parameter — unique identifier for the company. | |
| description | No | JSON request body field — the Description of the Tax Code | |
| origin_data | No | JSON request body field — additional Third-party Metadata for the Tax Code. Note: This is a free-form text field. | |
| default_tax_code | No | JSON request body field — set to true if this tax code is default tax code |