--- title: companyLocationCreateTaxRegistration - GraphQL Admin description: Creates a tax registration for a company location. api_version: 2025-01 api_name: admin type: mutation api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/companyLocationCreateTaxRegistration md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/companyLocationCreateTaxRegistration.md --- # company​Location​Create​Tax​Registration mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Deprecated. Use [companyLocationTaxSettingsUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyLocationTaxSettingsUpdate) instead. Creates a tax registration for a company location. ## Arguments * location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) required The ID of the company location that the tax registration gets assigned to. * tax​Id [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) required The unique tax id for the tax registration. *** ## Company​Location​Create​Tax​Registration​Payload returns * company​Location [Company​Location](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation) The company location with the created tax registration. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyLocationCreateTaxRegistration reference ## Mutation Reference ```graphql mutation companyLocationCreateTaxRegistration($locationId: ID!, $taxId: String!) { companyLocationCreateTaxRegistration(locationId: $locationId, taxId: $taxId) { companyLocation { # CompanyLocation fields } userErrors { field message } } } ``` ## Input ##### Variables ```json { "locationId": "gid://shopify//10079785100", "taxId": "" } ```