{"method":"POST","path":"https://api.revcent.com/v2/tax_profiles","summary":"Create A Tax Profile","description":"Create a Tax Profile, which will issue a unique Tax Profile ID. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/CreateTaxProfile.md for an in-depth overview of this operation.","operationId":"CreateTaxProfile","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"description":"The tax profile name. Must be unique across all tax profiles.","type":"string"},"description":{"description":"The tax profile description.","type":"string"},"enabled":{"description":"Whether the tax profile is currently enabled.","type":"boolean"},"campaign_filter":{"type":"array","description":"An array of campaign ID's to filter by. If provided, only sales, subscription renewals and trial expiration payments originating from the specified campaigns will calculate tax using this tax profile. If not provided, all sales, subscription renewals and trial expiration payments will calculate tax using this tax profile. Get a list of campaign ID's using the GetCampaigns operation.","items":{"type":"string","title":"Campaign ID","description":"A 20 character campaign ID.","minLength":20,"maxLength":20}},"third_party_integration":{"type":"string","description":"The existing user third party integration ID to associate with this tax profile. The third party integration will be used for tax calculations. The third party integration must be of type 'tax'. Get a list of user third party integrations using the GetUserThirdPartyIntegrations operation.","minLength":20,"maxLength":20}},"required":["name","third_party_integration"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"tax_profile_id":{"type":"string","description":"A 20 character tax profile ID.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}