A Grok Bot plug-in previews Mexican CFDI invoices and issues them after approval
Source read in fullRead first
Overview
Mexican CFDI 4.0 tax invoice users install the official CFDI Express plug-in, query SAT codes, preview, authorize issuance and retrieve PDF/XML in chat.
Workflow
- What it is: The official CFDI Express Agent Plugin for Mexican CFDI 4.0 tax invoices in Grok Bot, Cursor and other clients. The portable package has a
plugin.jsonmanifest,mcp.jsonremote MCP and one skill. It previews and issues invoices, credit notes, payment complements (REP), payroll and platform withholding in a CFDI Express account, searches SAT codes, checks status and retrieves files. The README calls it official. - Grok Bot parts used: Marketplace install, a skill and remote MCP. Install from Grok Bot Marketplace (x.ai/bot/marketplace). The skill is
skills/cfdi-express/SKILL.md. Streamable HTTP MCP runs athttps://api.cfdi.express/mcpand uses CFDI Express OAuth 2.1. Not part of Grok Bot: the vendor's hosted SAT backend,dash.cfdi.expressadmin dashboard and support for clients such as Cursor. - You need: A CFDI Express account and timbres for production. Prices are not stated in the source. CSD certificates and new issuers are managed in the dashboard, outside MCP. There are no bundled API keys. For free, non-fiscal testing, use the SAT sandbox
https://api.cfdi.express/mcp/test. - Install: Use Grok Bot Marketplace once listed.
- Step 1: Install
cfdi-expressfrom Grok Bot Marketplace, or Cursor Marketplace for Cursor. - Step 2: When prompted, sign into CFDI Express via OAuth 2.1. The skill then takes effect automatically.
- Local test on Cursor before listing: Copy the repo to
~/.cursor/plugins/local/cfdi-expressand reload the window.
- After install: The skill handles CFDI previews, issuance, cancellations and queries and SAT code lookups.
- Typical flow:
list_merchantsandget_balance→ SAT directory withsearch_product_codesorsearch_unit_codes→preview_invoiceor similar → after approval, callcreate_*with the preview'sidempotency_key→get_*for official PDF and XML links. - Safety: Never invent RFC, legal name, tax regime or postal code. Ask for missing fields. Production issuance spends timbres and is irreversible.
- Grok Bot lacks interactive preview cards. Summarize in text and wait for explicit chat approval (PR #2).
- Prices include IVA/IEPS by default. Pass
pricesIncludeTax: falsefor pre-tax prices (PR #2).
- Did the author run it: The repository has no run records from the author. Files are the manifest, MCP config, logo, README and skill. Three PRs cover packaging, docs and Cursor manifest changes. PR #2 says MCP already implements the behavior, with no chats or run results.
Key points and results
- Maturity: At fetch on 2026-11-24 it was under one day old, with 3 commits, 0 stars, 0 forks, an MIT license and 2 open issues/PRs. The README calls it official. Package version 1.0.1 (PR #2).
- Permissions and boundaries: Real issuance needs preview and explicit approval in chat. CSD certificates and new issuers stay out of MCP. No keys are bundled. Never invent tax fields and ask if missing.
- Known limits: Production issues real invoices, uses timbres and is irreversible. Cancellation also uses timbres. Clients without cards confirm previews through text.
- Worth borrowing: Use preview →
idempotency_key→ create (skills/cfdi-express/SKILL.md). For irreversible actions, preview, obtain the idempotency key, wait for confirmation and execute. - Worth borrowing: Encode tax constraints directly in the skill (
skills/cfdi-express/SKILL.md). Never invent RFC, tax regime or similar fields and ask about missing values. - Worth borrowing: Define a fallback for clients without preview cards. Use a text summary and chat confirmation (PR #2).
Source
- Platform
- GitHub
- Author
- CFDI-Express
- Published
- Categories
- Life assistant, Getting started
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.