ERPClaw EU Regional Compliance
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_31e40d4a/erpclaw-region-eu.
About this skill
Problem
Cross-border ERPs often fail at EU tax details rather than core ledgers: 27 member-state VAT rates, reverse charge, OSS, Intrastat, EN 16931 e-invoicing, SAF-T exports, and validation of VAT numbers, IBANs, and EORI codes are easy to get wrong when maintained manually. This skill treats EU compliance as a pure overlay: it does not modify ERPClaw core tables, reads business data, and only writes default accounts or templates for EU setup.
How It Works
It runs 26 actions through one entry point, db_query.py --action, against a local SQLite database. The workflow is offline and does not call external VIES or cloud services. Key steps include seed-eu-defaults to create VAT accounts and templates, setup-eu-vat to store the company VAT number and member state, compute-vat for standard or reduced rates, compute-reverse-charge for seller-side 0% and buyer-side self-assessment, and compute-oss-vat for B2C digital services at the buyer-country rate. Compliance outputs include generate-vat-return, generate-ec-sales-list, generate-saft-export, generate-intrastat-dispatches and generate-intrastat-arrivals, generate-einvoice-en16931, and generate-oss-return. Financial amounts are stored as TEXT and computed with Python Decimal; VAT, IBAN, and EORI values are checked against country-specific formats and checksums.
Boundaries
It is intended for companies whose country is an EU member-state code. If the company is not set to an EU code, actions fail. OSS mainly targets B2C digital services, and the distance-selling threshold is checked against the EUR 10,000 EU-wide rule. Treat generated returns, lists, invoices, and SAF-T exports as drafts or validation materials; final filing still requires local rules, contractual terms, and professional tax advice.
Use Cases
- Initialize VAT accounts and templates for an EU company, then store its VAT number and member state.
- Compute standard, reduced, and reverse-charge VAT for intra-community sales across DE, FR, IT, ES, and NL.
- Draft EC Sales List, Intrastat dispatches/arrivals, SAF-T export, and EN 16931 e-invoice files.
- Validate VAT numbers, IBANs, and EORI codes, and check OSS rates for B2C digital services.
Best For
- Finance staff invoicing EU customers who need to verify VAT numbers, IBANs, and rates.
- Accountants handling cross-border B2B billing who need reverse-charge and EC Sales List drafts.
- Tax specialists preparing EU filings who need Intrastat, SAF-T, and EN 16931 e-invoice drafts.
- ERPClaw maintainers who need offline defaults for company EU VAT accounts and templates.
Related Skills
Reviews Chinese-law contract text via the accurLex API, returns the full review opinion, and exports a Word document.
Generates executable FAERS active-comparator safety comparison research plans focused on one SOC or PT family.
A reference framework for financial data analysis covering statements, KPIs, visualization, and reporting templates, without executing code or collecting data.
A knowledge-base-driven advisor for weak-current, network, and telecom equipment selection, covering parameter comparison, model recommendations, compatibility checks, and budgeting.