odoo-l10n-compliance
它能做什么
帮你为某个国家的税务和开票规则配置 Odoo 系统。内容包括税费、报表和电子发票。
适用场景
- ✓为新国家设置 Odoo 时。
- ✓需要向政府提交电子发票时。
- ✓需要正确设置税费(例如增值税 VAT 或销售税)时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-l10n-compliance/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为巴西设置 Odoo,包括税费和 NF-e 电子发票。”
每周 5 个新技能,1 分钟读完。
工作原理
你告诉我想为哪个国家设置 Odoo,以及你正在使用的版本。我会给你安装和配置正确模块的步骤,涵盖税费、开票和财务报表。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Odoo Localization & Compliance (l10n)
Overview
Odoo provides localization modules (l10n_*) for 80+ countries that configure the correct chart of accounts, tax types, and fiscal reporting. This skill helps you install and configure the right localization, set up country-specific e-invoicing (Mexico CFDI, Italy FatturaPA, Poland SAF-T), and ensure fiscal compliance.
When to Use This Skill
- Setting up Odoo for a company in a specific country (Mexico, Italy, Spain, US, etc.).
- Configuring country-required e-invoicing (electronic invoice submission to tax authorities).
- Setting up VAT/GST/IVA tax rules with correct fiscal positions.
- Generating required fiscal reports (VAT return, SAF-T, DIAN report).
How It Works
- Activate: Mention
@odoo-l10n-complianceand specify your country and Odoo version. - Install: Get the exact localization module and configuration steps.
- Configure: Receive tax code setup, fiscal position rules, and reporting guidance.
Country Localization Modules
| Country | Module | Key Features |
|---|---|---|
| 🇺🇸 USA | l10n_us |
GAAP CoA, Payroll (ADP bridge), 1099 reporting |
| 🇲🇽 Mexico | l10n_mx_edi |
CFDI 4.0 e-invoicing, SAT integration, IEPS tax |
| 🇪🇸 Spain | l10n_es |
SII real-time VAT, Modelo 303/390, AEAT |
| 🇮🇹 Italy | l10n_it_edi |
FatturaPA XML, SDI submission, reverse charge |
| 🇵🇱 Poland | l10n_pl |
SAF-T JPK_FA, VAT-7 return |
| 🇧🇷 Brazil | l10n_br |
NF-e, NFS-e, SPED, ICMS/PIS/COFINS |
| 🇩🇪 Germany | l10n_de |
SKR03/SKR04 CoA, DATEV export, UStVA |
| 🇨🇴 Colombia | l10n_co_edi |
DIAN e-invoicing, UBL 2.1 |
Examples
Example 1: Configure Mexico CFDI 4.0
Step 1: Install module
Apps → Search "Mexico" → Install "Mexico - Accounting"
Also install: "Mexico - Electronic Invoicing" (l10n_mx_edi)
Step 2: Configure Company
Settings → Company → [Your Company]
Country: Mexico
RFC: Your RFC number (tax ID)
Company Type: Moral Person or Physical Person
Step 3: Upload SAT Certificates
Accounting → Configuration → Certificates → New
CSD Certificate (.cer file from SAT)
Private Key (.key file from SAT)
Password: Your FIEL password
Step 4: Issue a CFDI Invoice
Create invoice → Confirm → CFDI XML generated automatically
Sent to SAT → Receive UUID (folio fiscal)
PDF includes QR code + UUID for buyer verification
Example 2: EU Intra-Community VAT Setup (Any EU Country)
Menu: Accounting → Configuration → Taxes → New
Tax Name: EU Intra-Community Sales (0%)
Tax Type: Sales
Tax Scope: Services or Goods
Tax Computation: Fixed
Amount: 0%
Tax Group: Intra-Community
Label on Invoice: "Intra-Community Supply - VAT Exempt per Art. 138 VAT Directive"
Fiscal Position (created separately):
Name: EU B2B Intra-Community
Auto-detect: Country Group = Europe + VAT Required = YES
Tax Mapping: Standard VAT Rate → 0% Intra-Community
Example 3: Install and Validate a Localization
# Install via CLI (if module not in Apps)
./odoo-bin -d mydb --stop-after-init -i l10n_mx_edi
# Verify in Odoo:
# Apps → Installed → Search "l10n_mx" → Should show as Installed
Best Practices
- ✅ Do: Install the localization module before creating any accounting entries — it sets up the correct accounts.
- ✅ Do: Use Fiscal Positions to automate tax switching for international customers (B2B vs B2C, domestic vs export).
- ✅ Do: Test e-invoicing in the SAT/tax authority test environment before going live.
- ❌ Don't: Manually create a chart of accounts if a localization module exists for your country.
- ❌ Don't: Mix localization tax accounts with custom accounts — it breaks fiscal reports.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
为什么要在创建会计分录之前安装本地化模块?
因为本地化模块会从一开始就设置好正确的科目和税费,避免之后的报表出现问题。
什么是 Fiscal Positions(税务定位)?
这是一些规则,可以让 Odoo 根据客户是国内还是国外、是企业还是个人,自动应用正确的税费。
我能把本地化模块自带的税务科目和我自己创建的科目混用吗?
不建议这样做。混用科目可能导致财务报表出错,也会让合规工作变得困难。
详情
作者的原始描述
Country-specific Odoo localization: tax configuration, e-invoicing (CFDI, FatturaPA, SAF-T), fiscal reporting, and country chart of accounts setup.
热度
- GitHub 星标
- 48k
- 排名
- #5341
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。