From wix-ecom-cowork
Lists configured tax calculators and computes taxes for e-commerce carts/orders using Wix APIs and providers like Wix Automatic Tax or TaxJar.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wix-ecom-cowork:tax-calculationsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Retrieve available tax calculators and perform tax calculations using configured tax providers (automatic or manual tax services).
Retrieve available tax calculators and perform tax calculations using configured tax providers (automatic or manual tax services).
df7c18eb-009b-4868-9891-15e19dddbe67${API_KEY}${SITE_ID}https://www.wixapis.com/tax-calculators/v1Endpoint: GET https://www.wixapis.com/tax-calculators/v1/tax-calculators
Get all configured tax calculation providers.
curl -X GET "https://www.wixapis.com/tax-calculators/v1/tax-calculators" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}"
Response:
{
"calculators": [
{
"id": "calculator-123",
"name": "Wix Automatic Tax",
"type": "AUTOMATIC",
"active": true,
"provider": "wix"
},
{
"id": "calculator-456",
"name": "TaxJar Integration",
"type": "EXTERNAL",
"active": false,
"provider": "taxjar"
}
]
}
Endpoint: POST https://www.wixapis.com/tax-calculators/v1/calculate-tax
Perform tax calculation for a cart/order.
curl -X POST "https://www.wixapis.com/tax-calculators/v1/calculate-tax" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"calculation": {
"lineItems": [
{
"productId": "product-123",
"quantity": 2,
"price": 29.99,
"taxGroupId": "tax-group-456"
}
],
"shippingAddress": {
"country": "US",
"state": "CA",
"city": "Los Angeles",
"zipCode": "90001"
},
"billingAddress": {
"country": "US",
"state": "CA",
"city": "Los Angeles",
"zipCode": "90001"
}
}
}'
Response:
{
"taxCalculation": {
"totalTax": 5.24,
"currency": "USD",
"breakdown": [
{
"lineItemId": "item-1",
"taxAmount": 5.24,
"taxRate": 0.0875,
"jurisdiction": "California",
"taxName": "CA State Sales Tax"
}
]
}
}
Calculate tax for one product:
curl -X POST "https://www.wixapis.com/tax-calculators/v1/calculate-tax" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"calculation": {
"lineItems": [{
"productId": "product-123",
"quantity": 1,
"price": 50.00
}],
"shippingAddress": {
"country": "US",
"state": "NY",
"zipCode": "10001"
}
}
}' | jq '{
subtotal: 50.00,
taxAmount: .taxCalculation.totalTax,
taxRate: (.taxCalculation.breakdown[0].taxRate * 100 | tostring + "%"),
total: (50.00 + .taxCalculation.totalTax)
}'
curl -X POST "https://www.wixapis.com/tax-calculators/v1/calculate-tax" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"calculation": {
"lineItems": [
{"productId": "p1", "quantity": 2, "price": 29.99, "taxGroupId": "standard"},
{"productId": "p2", "quantity": 1, "price": 15.00, "taxGroupId": "standard"},
{"productId": "p3", "quantity": 3, "price": 8.50, "taxGroupId": "exempt"}
],
"shippingAddress": {
"country": "US",
"state": "CA"
}
}
}' | jq '{
subtotal: (29.99 * 2 + 15.00 + 8.50 * 3),
totalTax: .taxCalculation.totalTax,
itemBreakdown: [.taxCalculation.breakdown[] | {
item: .lineItemId,
tax: .taxAmount,
rate: (.taxRate * 100 | tostring + "%")
}]
}'
# Calculate tax for international order
curl -X POST "https://www.wixapis.com/tax-calculators/v1/calculate-tax" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"calculation": {
"lineItems": [{
"productId": "product-123",
"quantity": 1,
"price": 100.00
}],
"shippingAddress": {
"country": "DE",
"city": "Berlin",
"zipCode": "10115"
}
}
}' | jq '{
country: "Germany",
subtotal: 100.00,
VATAmount: .taxCalculation.totalTax,
VATRate: (.taxCalculation.breakdown[0].taxRate * 100 | tostring + "%"),
total: (100.00 + .taxCalculation.totalTax)
}'
Provider: Wix Automatic Tax or external (TaxJar, Avalara)
Benefits:
Configuration:
# Check if automatic tax is enabled
curl -X GET "https://www.wixapis.com/tax-calculators/v1/tax-calculators" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" | jq '[.calculators[] | select(.type == "AUTOMATIC")]'
When to Use:
Setup:
Test tax calculation before checkout:
echo "🧪 Testing tax calculation..."
result=$(curl -s -X POST "https://www.wixapis.com/tax-calculators/v1/calculate-tax" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" \
-H "Content-Type: application/json" \
-d '{
"calculation": {
"lineItems": [{"productId": "test-product", "quantity": 1, "price": 100.00}],
"shippingAddress": {"country": "US", "state": "CA", "zipCode": "94102"}
}
}')
tax_amount=$(echo "$result" | jq -r '.taxCalculation.totalTax')
expected_tax=$(echo "100.00 * 0.0875" | bc)
echo "Calculated: $${tax_amount}"
echo "Expected: $${expected_tax}"
if (( $(echo "$tax_amount == $expected_tax" | bc -l) )); then
echo "✅ Tax calculation is correct"
else
echo "⚠️ Tax calculation mismatch"
fi
curl -s -X GET "https://www.wixapis.com/tax-calculators/v1/tax-calculators" \
-H "Authorization: ${API_KEY}" \
-H "wix-site-id: ${SITE_ID}" | jq '[.calculators[] | select(.active == true)] | {
provider: .[0].provider,
type: .[0].type,
name: .[0].name,
status: "✅ Active"
}'
npx claudepluginhub wix/wix-ecom-cowork --plugin wix-ecom-coworkManages Wix tax configuration via Billing APIs: query tax groups/regions/calculators/manual mappings, assign groups to products. For e-commerce tax compliance.
Automates Taxjar operations via Composio's Taxjar toolkit through Rube MCP. Discovers tools, manages connections, and executes workflows.
Analyzes revenue and transactions by US state to determine economic nexus for sales tax collection obligations using Wilson tools.