Sales taxes
Sales tax collected per tax line by jurisdiction, tax name, rate and channel.
98 fields — 95 dimensions, 3 metrics. Date clauses (SINCE, UNTIL, DURING) use createdAt.
The live, authoritative list is always GET /v1/datasets — this page is regenerated from the same catalog, but the endpoint reflects exactly what is deployed.
Query it
FROM sales_taxes
SHOW tax_line_count
GROUP BY tax_country
SINCE -30d
See Querying with SoloQL for the language.
This dataset is queryable through SoloQL; it has no record-retrieval endpoint.
Fields
| Field | Type | Role | Description |
|---|---|---|---|
tax_country | string | dimension | Country the tax was collected in. |
tax_region | string | dimension | Region/province the tax was collected in. |
tax_city | string | dimension | City the tax was collected in. |
tax_name | string | dimension | Name of the tax (e.g. VAT, State Tax). |
tax_rate | percent | dimension | Tax rate as a fraction (0.05 = 5%). |
filed_by_channel | string | dimension | Whether the sales channel / marketplace facilitator remits the tax ("Filed by channel") rather than the merchant ("Not filed"). One of Shopify's default taxes group-by columns. |
sales_channel | string | dimension | Channel the sale was made on. |
order_name | string | dimension | Name of the order, e.g. #1001. |
payment_status | string | dimension | Payment status of the order. |
customer_name | string | dimension | Name of the customer. |
line_type | string | dimension | Line type, e.g. Product, Shipping, Sale adjustment, Gift card. |
order_or_sales_reversal | string | dimension | Whether the tax line is on an order or a sales reversal — a return, cancellation or order edit. |
currency | string | dimension | Checkout currency code. |
created_at | date | dimension | When the tax line was recorded. |
merchant_of_record_country | string | dimension | Country of the merchant of record for the sale. |
merchant_of_record_region | string | dimension | Region of the merchant of record for the sale. |
order_id | string | dimension | Unique identifier of the order. |
line_item_id | string | dimension | Unique identifier of the order line item. |
order_fulfillment_status | string | dimension | Fulfillment status of the order. |
order_includes_duties | boolean | dimension | Whether the order includes duties. |
is_canceled_order | boolean | dimension | Whether the order was canceled. |
order_cancellation_reason | string | dimension | The reason the order was canceled. |
order_tag | string | dimension | Tag applied to the order. |
order_sales_channel | string | dimension | Channel the order was placed on. |
sale_sales_channel_id | string | dimension | Identifier of the channel the sale was made on. |
order_sales_channel_id | string | dimension | Identifier of the channel the order was placed on. |
is_b2b_order | boolean | dimension | Whether the order was placed by a B2B company. |
company_id | string | dimension | Identifier of the B2B company on the order. |
company_name | string | dimension | Name of the B2B company on the order. |
company_location_id | string | dimension | Identifier of the B2B company location on the order. |
company_location_name | string | dimension | Name of the B2B company location on the order. |
billing_address_id | string | dimension | Identifier of the billing address. |
billing_city | string | dimension | City of the billing address. |
billing_company | string | dimension | Company on the billing address. |
billing_country | string | dimension | Country of the billing address. |
billing_postal_code | string | dimension | Postal or ZIP code of the billing address. |
billing_region | string | dimension | Region/province of the billing address. |
shipping_address_id | string | dimension | Identifier of the shipping address. |
shipping_city | string | dimension | City of the shipping address. |
shipping_company | string | dimension | Company on the shipping address. |
shipping_country | string | dimension | Country of the shipping address. |
shipping_postal_code | string | dimension | Postal or ZIP code of the shipping address. |
shipping_region | string | dimension | Region/province of the shipping address. |
pos_location_id | string | dimension | Identifier of the POS location the sale was made at. |
pos_location_name | string | dimension | Name of the POS location the sale was made at. |
utm_source | string | dimension | UTM source parameter that referred the order. |
utm_medium | string | dimension | UTM medium parameter that referred the order. |
utm_campaign | string | dimension | UTM campaign parameter that referred the order. |
utm_content | string | dimension | UTM content parameter that referred the order. |
utm_term | string | dimension | UTM term parameter that referred the order. |
traffic_type | string | dimension | Type of traffic that led to the order. |
referring_medium | string | dimension | Medium that referred the visitor to the store. |
referring_platform | string | dimension | Platform that referred the visitor to the store. |
order_referrer_source | string | dimension | Source that referred the order. |
order_referrer_name | string | dimension | Name of the referrer that led to the order. |
order_referrer_domain | string | dimension | Domain of the referrer that led to the order. |
order_referrer_site | string | dimension | Site of the referrer that led to the order. |
order_referrer_url | string | dimension | Full referrer URL that led to the order. |
order_referrer_path | string | dimension | Path of the referrer that led to the order. |
referring_channel | string | dimension | Channel that referred the visitor to the store. |
order_landing_page_url | string | dimension | Full landing page URL of the order's first session. |
order_landing_page_path | string | dimension | Landing page path of the order's first session. |
order_marketing_event_id | string | dimension | Identifier of the marketing event attributed to the order. |
order_marketing_event_target | string | dimension | Target of the marketing event attributed to the order. |
order_marketing_event_type | string | dimension | Type of the marketing event attributed to the order. |
product_id | string | dimension | Unique identifier of the product. |
product_title | string | dimension | Current title of the product. |
product_title_at_time_of_sale | string | dimension | Title of the product when the sale was made. |
product_type | string | dimension | Current type of the product. |
product_type_at_time_of_sale | string | dimension | Type of the product when the sale was made. |
product_collection | string | dimension | Collection the product belongs to. |
product_tag | string | dimension | Tag applied to the product. |
product_vendor | string | dimension | Current vendor of the product. |
product_vendor_at_time_of_sale | string | dimension | Vendor of the product when the sale was made. |
product_variant_id | string | dimension | Unique identifier of the product variant. |
product_variant_sku | string | dimension | Current SKU of the product variant. |
product_variant_sku_at_time_of_sale | string | dimension | SKU of the product variant when the sale was made. |
product_variant_title | string | dimension | Current title of the product variant. |
product_variant_title_at_time_of_sale | string | dimension | Title of the product variant when the sale was made. |
product_variant_price | money | dimension | Price of the product variant when the sale was made (Shopify's 'Product variant price'). |
staff_id | string | dimension | Identifier of the staff member who made the sale. |
staff_member_name | string | dimension | Name of the staff member who made the sale. |
market | string | dimension | Market the order is attributed to. |
store_id | string | dimension | Identifier of the store the sale belongs to. |
store_name | string | dimension | Display name of the store the sale belongs to. |
order_risk_level | string | dimension | Shopify's fraud risk level for the order (none/low/medium/high). |
shopify_protect_status | string | dimension | Shopify Protect status of the order (active = protected/covered). |
shopify_protect_eligibility | string | dimension | Whether the order is eligible for Shopify Protect. |
is_physical_storefront | boolean | dimension | Whether the sale happened at a physical (POS) storefront. |
product_status | string | dimension | Current product lifecycle status (active/archived/draft). |
product_variant_compare_at_price | money | dimension | Current compare-at price of the product variant. |
order_landing_page_host | string | dimension | Host of the order's landing-page URL. |
marketing_channel_handle | string | dimension | Handle of the marketing channel that drove the order. |
marketing_delivery_channel | string | dimension | Delivery channel type of the marketing event. |
tax_line_count | number | metric | Number of tax lines in the group (document count — value_count on createdAt). Sums across stores. |
sales_taxes | money | metric | Tax amount collected (negative for refunds). |
sales_revenue | money | metric | Net sales (tax-exclusive) subject to tax, booked once per sale (negative for returns). Matches Shopify's net sales on the Taxes report. |
store | string | dimension | The shop the record belongs to. Filter with WHERE store IN ('Shop name') or GROUP BY store. |