FactuCat CLI
FactuCat CLI operates FactuCat Cloud from the command line. It is specifically for Mexican CFDI 4.0 invoicing, not for generic invoicing or self-hosted deployments.
Use This Skill When
- A user wants to install or update the FactuCat CLI
- A user needs to authenticate with a FactuCat API key
- An agent needs to create, edit, preview, or stamp CFDI drafts from the terminal
- A workflow needs unattended CLI execution with
--jsonand--no-input - A user wants to download XML or PDF artifacts for a stamped invoice
Operating Rules
- Treat
https://factucat.comas the production service endpoint - Use Mexican CFDI and SAT terminology in explanations and examples
- Prefer interactive flows for humans in a TTY
- Prefer
--jsonand--no-inputfor agents, scripts, and deterministic automation - Use
factucat invoice showfor the full preview before timbrado - When a task involves fiscal vocabulary or CFDI semantics, read references/mexico-cfdi-context.md
Workflow Guide
- For installation, updates, and authentication, read references/install-and-auth.md
- For a human-operated invoice flow, read references/interactive-flows.md
- For agent or script execution, read references/unattended-flows.md
- If anything fails, read references/troubleshooting.md
Practical Notes
factucat invoice create --customer "..."is a shortcut that creates a draft and tries to resolve a customer by name or RFCfactucat invoice add-itemcan infer SAT product code, SAT unit code, IVA, and retained ISR if omittedfactucat invoice set-meta --currency USDcan infer the official DOF exchange rate if--exchange-rateis omittedfactucat invoice stampcan be interactive and ask about sending the stamped invoice through registered customer contact channels- For issued invoices, commands that accept an invoice reference can usually take either a UUID or folio