Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

tax-compliance-automation税务合规自动化

Agent Skill

tax-compliance-automation 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

661

周安装

27

GitHub Stars

19

下载量

212
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tax-compliance-automation(税务合规自动化)
来源仓库:https://github.com/finsilabs/awesome-ecommerce-skills
仓库路径:skills/tax-compliance-automation
安装命令:
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill tax-compliance-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill tax-compliance-automation

简介

Tax Compliance Automation 系统,自动追踪法规变化并生成合规报告。

  • 适合跨国企业应对多地税务申报要求或监管报送任务。
  • 集成于电商技能库,突出流程标准化与文档留痕能力。
  • 需配置 webhook 或定时任务确保持续监控有效性。
  • tax-compliance-automation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Tax Compliance Automation

Overview

Tax compliance for ecommerce is one of the most complex operational challenges at scale. In the United States alone, there are over 13,000 taxing jurisdictions with different rates, product taxability rules, filing frequencies, and economic nexus thresholds. Internationally, VAT (Europe, UK, Australia) and GST (Canada, India, New Zealand) add additional compliance layers with their own registration thresholds, invoice requirements, and reporting obligations.

This skill covers the full tax compliance lifecycle: nexus threshold tracking to know when you must register in a new jurisdiction, real-time tax calculation at checkout, exemption certificate management for B2B customers, automated filing, and audit-ready reporting. All major platforms have direct integrations with TaxJar and Avalara that handle this without custom code.

When to Use This Skill

  • When your store ships to customers in multiple US states and you are unsure of nexus obligations
  • When you need to collect EU VAT under OSS/IOSS for European customers
  • When building B2B ecommerce that requires exemption certificate management
  • When current tax rates are hardcoded and have not been updated in 12+ months
  • When preparing for an audit and you need documented, reconcilable tax records
  • When launching in a new country and you need to understand VAT/GST registration requirements

Core Instructions

Step 1: Determine your platform and choose the right tax compliance tool

PlatformRecommended ToolNotes
ShopifyShopify Tax (built-in) + TaxJar or Avalara AvaTax (Shopify App Store)Shopify Tax covers basic US nexus; TaxJar and Avalara add filing automation, exemption certificate management, and international VAT
WooCommerceTaxJar for WooCommerce (free plugin) or Avalara AvaTax for WooCommerceTaxJar is the most popular WooCommerce tax plugin; Avalara's plugin is available from the Avalara website
BigCommerceAvalara AvaTax (native integration) or TaxJar (via BigCommerce App Marketplace)BigCommerce has a native Avalara connector; TaxJar is also available in the App Marketplace
Custom / HeadlessTaxJar API or Avalara AvaTax APICall the API at checkout for real-time rates; commit transactions after payment for filing records

For filing automation specifically:

  • TaxJar AutoFile: available with TaxJar Plus and Professional plans; files returns automatically in registered states
  • Avalara Returns: built into Avalara's subscription; handles US and international returns
  • Vertex: enterprise-grade for large retailers with complex product taxability rules; significantly higher cost than TaxJar or Avalara

Step 2: Set up nexus registration and real-time tax calculation


Shopify

Step 1: Register nexus states in Shopify

  1. Go to Settings → Taxes and duties → United States
  2. Click Collect sales tax and select the state where you have nexus
  3. Enter your sales tax permit number for that state — Shopify uses this in your tax remittance records
  4. Repeat for each state where you have nexus (physical or economic)
  5. For the EU: click European Union under Tax regions and configure your VAT registration number (OSS or per-country)

Step 2: Install TaxJar for full compliance automation

  1. Install TaxJar from the Shopify App Store (search "TaxJar")
  2. Sign up at taxjar.com and get your API token from Account → TaxJar API
  3. In the TaxJar Shopify app, enter your API token and click Connect
  4. Configure your nexus states in TaxJar: go to TaxJar Dashboard → Account → States with Nexus and add each state where you are registered
  5. Enable Transaction Sync in the TaxJar app — completed Shopify orders are automatically sent to TaxJar for filing records
  6. Enable AutoFile in TaxJar → Account → AutoFile if you want TaxJar to file returns on your behalf (requires TaxJar Plus or Professional plan)

Exemption certificates on Shopify:

  1. Install Avalara CertCapture from the Shopify App Store, or use TaxJar's certificate management feature under TaxJar → Exemptions
  2. B2B customers can upload their exemption certificates through a hosted portal; once approved, they are automatically applied to future orders

EU VAT on Shopify:

  • Go to Settings → Taxes and duties → European Union
  • Add your OSS registration number (format: EU + your country's VAT number)
  • Shopify automatically applies the correct VAT rate per EU country based on the customer's shipping address
  • For IOSS (import OSS for orders under €150 from outside the EU): enter your IOSS number in Settings → Taxes → Duties and import taxes

WooCommerce

Step 1: Install and configure TaxJar

  1. Sign up at taxjar.com and get your API token
  2. Install the TaxJar for WooCommerce plugin (free, from WordPress.org — search "TaxJar")
  3. Go to WooCommerce → TaxJar and enter your API token
  4. Enable Automatic Tax Calculation — TaxJar calculates the correct rate at checkout in real-time
  5. Enable Transaction Sync — completed orders are automatically sent to TaxJar for filing records
  6. Enter your from address (warehouse address) — this is used as the origin for nexus determination

Step 2: Configure nexus states in TaxJar

  1. Log in to taxjar.com → Account → States with Nexus
  2. Add each US state where you have a sales tax permit
  3. For each nexus state, enter your sales tax registration number
  4. TaxJar will only calculate and record tax for orders shipped to nexus states

Step 3: Enable filing automation

  1. Upgrade to TaxJar Plus or Professional for AutoFile access
  2. Go to TaxJar → Account → AutoFile and enable AutoFile for each state
  3. TaxJar automatically files and remits on your behalf by the due date

Exemption certificates on WooCommerce:

  • Install WooCommerce B2B plugin or use TaxJar's certificate management: go to TaxJar → Exemptions and add exempt customers by email address or customer type
  • Customers with "wholesale" or "reseller" roles can be automatically flagged as exempt

EU VAT on WooCommerce:

  • Install WooCommerce EU VAT Assistant or WooCommerce Germanized (for German-specific compliance)
  • Go to WooCommerce → Settings → Tax → EU VAT and enter your OSS registration number
  • The plugin automatically applies the correct VAT rate per EU country and generates compliant invoices

BigCommerce

Step 1: Connect Avalara AvaTax (recommended)

  1. Go to Settings → Tax → Tax Provider
  2. Select Avalara AvaTax — BigCommerce has a native Avalara connector
  3. Click Connect and log in to your Avalara account (sign up at avalara.com if needed)
  4. Avalara automatically replaces BigCommerce's built-in tax engine with real-time compliant rates

Step 2: Configure nexus in Avalara

  1. Log in to Avalara Dashboard → Settings → Company → Nexus
  2. Add each US state or country where you are registered
  3. Enter your registration number for each jurisdiction
  4. Avalara will calculate and record tax only for jurisdictions where you have nexus

Step 3: Enable Avalara Returns

  1. In the Avalara Dashboard → Returns, enable Managed Returns for each nexus state
  2. Avalara prepares and files returns automatically; for states where you want to review before filing, use Unmanaged Returns (Avalara prepares the return for you to submit)

Exemption certificate management on BigCommerce:

  • Use Avalara CertCapture — go to Avalara Dashboard → CertCapture and configure the certificate collection portal
  • Customers receive a link to upload their exemption certificate; once approved in CertCapture, future orders are automatically exempted

EU VAT on BigCommerce:

  • Go to Store Setup → Tax → VAT and enable VAT by country
  • Enter your OSS or per-country VAT registration numbers
  • For full OSS compliance with automated filing, use Avalara's VAT Reporting module — contact Avalara for international VAT setup

Custom / Headless

Use the TaxJar API or Avalara AvaTax API for real-time calculation and filing records:

TaxJar real-time calculation at checkout:

const Taxjar = require('taxjar');
const taxjar = new Taxjar({ apiKey: process.env.TAXJAR_API_KEY });

async function calculateTaxForOrder({ fromAddress, toAddress, lineItems, shippingCost }) {
  const response = await taxjar.taxForOrder({
    from_country: fromAddress.country,
    from_zip: fromAddress.zip,
    from_state: fromAddress.state,
    to_country: toAddress.country,
    to_zip: toAddress.zip,
    to_state: toAddress.state,
    to_city: toAddress.city,
    amount: lineItems.reduce((sum, i) => sum + i.unit_price * i.quantity, 0),
    shipping: shippingCost,
    line_items: lineItems.map(item => ({
      id: item.id,
      quantity: item.quantity,
      unit_price: item.unit_price,
      product_tax_code: item.taxCode ?? null, // e.g., '20010' for general goods
      exemption_type: item.exemptionType ?? null,
    })),
    exemption_type: customer.exemptionType ?? null, // 'wholesale', 'government', etc.
  });

  return {
    totalTax: response.tax.amount_to_collect,
    taxRate: response.tax.rate,
    hasNexus: response.tax.has_nexus,   // false = no tax to collect in this jurisdiction
    breakdown: response.tax.breakdown,
  };
}

Commit transaction after payment (required for filing records):

async function commitTaxTransaction(order) {
  await taxjar.createOrder({
    transaction_id: order.id,
    transaction_date: new Date().toISOString().split('T')[0],
    from_country: WAREHOUSE_ADDRESS.country,
    from_zip: WAREHOUSE_ADDRESS.zip,
    from_state: WAREHOUSE_ADDRESS.state,
    to_country: order.shippingAddress.country,
    to_zip: order.shippingAddress.zip,
    to_state: order.shippingAddress.state,
    amount: order.subtotal,
    shipping: order.shippingCost,
    sales_tax: order.taxAmount,
    line_items: order.lineItems.map(item => ({
      id: item.id,
      quantity: item.quantity,
      unit_price: item.price,
      sales_tax: item.taxAmount,
    })),
  });
}

// On refund: void the transaction so it is excluded from filing reports
async function voidTaxTransaction(orderId) {
  await taxjar.deleteOrder(orderId);
}

EU VAT B2B reverse charge — validate VAT number via VIES:

async function validateEUVATNumber(vatNumber) {
  const countryCode = vatNumber.slice(0, 2);
  const number = vatNumber.slice(2);
  const res = await fetch(
    `https://ec.europa.eu/taxation_customs/vies/rest-api/ms/${countryCode}/vat/${number}`
  );
  const data = await res.json();
  return data.isValid === true;
  // If valid: apply zero-rate (reverse charge); if invalid: charge local VAT rate
}

Nexus threshold monitoring: TaxJar provides an Economic Nexus Insights feature in the TaxJar Dashboard that automatically tracks your sales volume per state and alerts you when you approach thresholds. Access it under TaxJar Dashboard → Economic Nexus Insights — this eliminates the need to build custom threshold tracking code.


Step 3: Validate and manage exemption certificates

For US B2B sales: Exemption certificates must be collected and validated before applying zero-rate to a customer. Do not apply exemptions based on a customer's self-declaration alone.

  • Avalara CertCapture: the most complete solution — handles certificate collection, validation, renewal reminders, and state-specific form requirements. Available as an add-on to any Avalara subscription.
  • TaxJar Exemptions: simpler option — add exempt customers in TaxJar Dashboard → Customers → Exemptions by email, customer ID, or customer type. TaxJar automatically skips tax calculation for those customers.
  • For WooCommerce: the WooCommerce B2B plugin or WooCommerce Tax Exemptions plugin can gate exemption certificate uploads during checkout for wholesale customers.

Certificate storage requirements:

  • Keep certificates for a minimum of 4 years (most states) or until 3 years after your last transaction with that customer in the issuing state
  • Store in a searchable system — during an audit, you may need to produce certificates on short notice

Step 4: Set up automated filing

Filing MethodWhen to Use
TaxJar AutoFileUS stores using TaxJar; available on Plus/Professional plans; covers all 50 states
Avalara Managed ReturnsAvalara customers; handles US states and some international jurisdictions
Avalara VAT ReportingEU/UK/AU VAT filing; Avalara prepares OSS returns for you
Manual filing with TaxJar reportsFor less frequent filers (quarterly or annual); export TaxJar's pre-filled state return data and file manually at each state's tax authority website

Filing calendar setup:

  1. Log in to your TaxJar or Avalara dashboard and confirm the filing frequency for each registered state (monthly, quarterly, or annual — set by the state based on your sales volume)
  2. Enable AutoFile or Managed Returns for each state
  3. Verify bank account is connected for automatic remittance — go to TaxJar → Account → AutoFile → Payment Method or Avalara → Settings → Bank Accounts
  4. Set up email alerts for filing confirmations under your account notification settings

Best Practices

  • Never build your own tax rate tables — rates change constantly. The API cost is far lower than the risk of collecting the wrong amount or missing a rate update.
  • Register before you hit the nexus threshold — once economic nexus is triggered you may owe tax retroactively from the trigger date. Monitor the TaxJar Economic Nexus Insights dashboard and register when you reach 80% of a state threshold.
  • Commit transactions after payment, not before — only committed transactions appear in filing reports. Commit when the payment is confirmed, not when the order is created.
  • Void tax transactions on refunds — when you issue a refund, void the corresponding tax transaction in TaxJar or Avalara to avoid over-reporting on your filing.
  • Validate exemption certificates before applying zero-rate — use Avalara CertCapture or TaxJar Exemptions to manage certificates; never accept exemptions without documented certificates.
  • Handle digital goods separately — most US states and all EU countries have special taxability rules for digital goods, SaaS, and streaming. Set the correct TaxJar product tax code (e.g., DC010100 for SaaS) or Avalara tax code for each digital product.

Common Pitfalls

ProblemSolution
Tax calculated at checkout but not committed to TaxJar/AvalaraVerify your platform plugin's Transaction Sync setting is enabled; check the provider's transaction dashboard for missing orders
EU VAT charged on B2B cross-border salesValidate buyer's VAT number via VIES before applying reverse charge; if validation fails, charge VAT as a B2C transaction
VAT-inclusive vs VAT-exclusive pricing confusionDecide upfront whether your prices include VAT (EU B2C norm) or exclude it (US norm); configure your platform tax settings to match — mixing the two causes checkout total errors
Missing nexus registration discovered during acquisition due diligenceRun annual nexus reviews using TaxJar's Nexus Insights; acquirers treat undisclosed tax liabilities as a significant risk
B2B customer claims exemption without a valid certificate on fileAlways collect and store the certificate before applying the exemption; use Avalara CertCapture or TaxJar Exemptions to enforce this at checkout
Currency conversion for EU VAT OSS returnsOSS quarterly returns must be filed in EUR; use the ECB exchange rate for the reporting period, not the individual transaction dates — Avalara's VAT Reporting module handles this automatically
Shopify showing $0 tax after TaxJar installVerify the TaxJar API key is correct; check the nexus states are configured in both the TaxJar dashboard and the Shopify app settings; confirm your warehouse address is set correctly

Related Skills

  • @tax-calculation
  • @payment-reconciliation-automation
  • @invoice-generation-automation
  • @checkout-flow-optimization
  • @multi-currency

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.51%
按下载量换算71

Claude

32.99%
按下载量换算70

Cursor

19.34%
按下载量换算41

Gemini CLI

10.48%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills