--- title: taxSummaryCreate - GraphQL Admin description: |- Creates a tax summary for a given order. If both an order ID and a start and end time are provided, the order ID will be used. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/mutations/taxsummarycreate md: https://shopify.dev/docs/api/admin-graphql/unstable/mutations/taxsummarycreate.md --- # tax​Summary​Create mutation Requires `write_taxes` access scope. Also: The caller must be a tax calculations app and the relevant feature must be on. Creates a tax summary for a given order. If both an order ID and a start and end time are provided, the order ID will be used. ## Arguments * end​Time [Date​Time](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/DateTime) The end time of the range of orders to create the tax summary for. * order​Id [ID](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) The ID of the order to create the tax summary for. * start​Time [Date​Time](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/DateTime) The start time of the range of orders to create the tax summary for. *** ## Tax​Summary​Create​Payload returns * enqueued​Orders [\[Order!\]](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Order) A list of orders that were successfully enqueued to create a tax summary. * user​Errors [\[Tax​Summary​Create​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/TaxSummaryCreateUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### taxSummaryCreate reference ## Mutation Reference ```graphql mutation taxSummaryCreate($orderId: ID, $startTime: DateTime, $endTime: DateTime) { taxSummaryCreate(orderId: $orderId, startTime: $startTime, endTime: $endTime) { enqueuedOrders { # Order fields } userErrors { field message } } } ``` ## Input ##### Variables ```json { "orderId": "gid://shopify//10079785100", "startTime": "2019-09-07T15:50:00Z", "endTime": "2019-09-07T15:50:00Z" } ```