The Complex Data Models Behind Shopify's Tax Insights Feature
Shopify's Tax Insights feature tells US merchants when they reach sales-tax economic nexus in each state.
Shopify's Tax Insights feature tells US merchants when they reach sales-tax economic nexus in each state.
ShopifyQL is a commerce-focused query language for Shopify Plus merchants that reorders SQL-like syntax (FROM before SHOW, BY instead of GROUP BY) and adds VISUALIZE for direct charting, COMPARE TO for period-over-period analysis without joins or window functions, and DURING for named commerce date ranges like BFCM.
Double entry transition tables record each state change as two rows, a -1 row for the previous state and a +1 row for the new state, so counting entities in any state reduces to summing a net_change column.