[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [SAT Mexico procedure details](https://spiral.ai/integrations/opencode/sat-mexico-procedure-details)

# How to Use SAT Mexico procedure details in opencode

Returns the requirements and legal basis for one SAT procedure. Use it to turn a procedure such as electronic invoicing or CFDI cancellation into a cited checklist.

|  |  |
| --- | --- |
| Model | SAT Mexico procedure details |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with SAT Mexico procedure details in opencode

- Use SAT Mexico procedure details for https://www.sat.gob.mx/portal/public/tramites/factura-electronica and draft a requirements checklist for this project's Mexico invoicing feature.
- Use SAT Mexico procedure details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from SAT Mexico procedure details and tell me what changed since last week.
- Check SAT Mexico procedure details and summarize what you find in three bullet points.
- Pull the newest data from SAT Mexico procedure details and give me the result as a table.

## How to set up SAT Mexico procedure details in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run SAT Mexico procedure details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "sat-gob-mx/tax-rules/tramite",
    "input": {
      "slug": "<slug>"
    }
  }'
```

Then paste one of the prompts above: opencode finds SAT Mexico procedure details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## SAT Mexico procedure details tools and prices

- [SAT Mexico (sat.gob.mx) · Tramite](https://spiral.ai/tools/alexandria/sat-gob-mx/tax-rules/tramite) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Portal URL such as https://www.sat.gob.mx/portal/public/tramites/factura-electronica. Pattern: ^https?://(www\.)?sat\.gob\.mx/portal/public/tramites/[a-z0-9-]+/?([?#].*)?$. |
| slug |  | — | Portal page slug (the `uri` the portal and GraphQL use), e.g. `complemento-recepcion-de-pagos`. Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$. |
| entity |  | — | CMS entity code naming the static JSON file, e.g. `3040AGRCRP` or `RPFAE612`. Returned by search, list_* and detail functions. Pattern: ^[A-Z0-9]{4,40}$. |

## What can you do with SAT Mexico procedure details in opencode?

Build a Mexico tax reference panel with SAT source links in your accounting project. Use the published guidance, documents, dates, or office listings relevant to the feature you are implementing.

### Prepare a Mexican company registration packet

For a business opening in Jalisco, identify the relevant company regime and registration procedures, assemble requirements and supporting materials, locate cited rules and published dates, and add nearby SAT offices.

### Maintain an accounting team's SAT reference

Organize official regime and procedure pages into a reference with requirements, FAQs, regulatory links, calendar events, and state office listings. Give each entry its SAT source so staff can inspect the underlying guidance.

### Plan a chamber of commerce tax workshop

Prepare a Mexico business tax workshop around published regime choices, procedures, FAQs, and regulatory documents. Add a calendar handout and local SAT office references for attendees who need in-person assistance.

### Review an internal SAT knowledge base

Compare saved references with newly retrieved SAT catalogs, guidance, materials, regulatory listings, calendar events, and office listings. Produce a review queue for changed requirements, dates, locations, and source links.

### Document an electronic invoicing feature

Find SAT guidance for CFDI cancellation or payment receipt complements. Turn the procedure requirements, supporting FAQs, and regulatory references into implementation notes for a Mexican invoicing product.

### Prepare a local business assistance guide

For businesses in Colima, pair official procedure requirements and help materials with SAT office listings. Use topic search and the procedure catalog to organize the guide around actual administrative tasks.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## SAT Mexico procedure details in other agents

- [Amp](https://spiral.ai/integrations/amp/sat-mexico-procedure-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/sat-mexico-procedure-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/sat-mexico-procedure-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/sat-mexico-procedure-details)
- [Cline](https://spiral.ai/integrations/cline/sat-mexico-procedure-details)
- [Codex](https://spiral.ai/integrations/codex/sat-mexico-procedure-details)
- [Cursor](https://spiral.ai/integrations/cursor/sat-mexico-procedure-details)
- [Devin](https://spiral.ai/integrations/devin/sat-mexico-procedure-details)
- [dots](https://spiral.ai/integrations/dots/sat-mexico-procedure-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/sat-mexico-procedure-details)
- [Gemini](https://spiral.ai/integrations/gemini/sat-mexico-procedure-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/sat-mexico-procedure-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/sat-mexico-procedure-details)
- [goose](https://spiral.ai/integrations/goose/sat-mexico-procedure-details)
- [Grok](https://spiral.ai/integrations/grok/sat-mexico-procedure-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/sat-mexico-procedure-details)
- [Hermes](https://spiral.ai/integrations/hermes/sat-mexico-procedure-details)
- [Instinct](https://spiral.ai/integrations/instinct/sat-mexico-procedure-details)
- [Manus](https://spiral.ai/integrations/manus/sat-mexico-procedure-details)
- [Muse](https://spiral.ai/integrations/muse/sat-mexico-procedure-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/sat-mexico-procedure-details)
- [n8n](https://spiral.ai/integrations/n8n/sat-mexico-procedure-details)
- [Notion](https://spiral.ai/integrations/notion/sat-mexico-procedure-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/sat-mexico-procedure-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/sat-mexico-procedure-details)
- [Raycast](https://spiral.ai/integrations/raycast/sat-mexico-procedure-details)
- [VS Code](https://spiral.ai/integrations/vscode/sat-mexico-procedure-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/sat-mexico-procedure-details)
- [Zapier](https://spiral.ai/integrations/zapier/sat-mexico-procedure-details)

## More opencode guides

- [SAT Mexico procedure catalog](https://spiral.ai/integrations/opencode/sat-mexico-procedure-catalog)
- [SAT Mexico tax calendar](https://spiral.ai/integrations/opencode/sat-mexico-tax-calendar)
- [SAT Mexico office directory](https://spiral.ai/integrations/opencode/sat-mexico-office-directory)
- [SAT Mexico tax regime catalog](https://spiral.ai/integrations/opencode/sat-mexico-tax-regime-catalog)
- [SAT Mexico help materials](https://spiral.ai/integrations/opencode/sat-mexico-help-materials)
- [SAT Mexico tax regime details](https://spiral.ai/integrations/opencode/sat-mexico-tax-regime-details)

## Questions about SAT Mexico procedure details in opencode

**Can opencode use SAT Mexico procedure details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SAT Mexico procedure details like any built-in tool.

**How much does SAT Mexico procedure details cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use SAT Mexico procedure details in opencode?**

No. Spiral runs SAT Mexico procedure details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up SAT Mexico procedure details in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while SAT Mexico procedure details runs?**

SAT Mexico procedure details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does SAT guidance cover companies as well as individuals?**

Yes. SAT publishes guidance for both personas físicas and personas morales, so identify the taxpayer category before applying regime guidance.

**How current are SAT's regulatory documents?**

SAT publishes amendments within the fiscal year. For example, its 2026 archive lists a third amendment to RMF Annex 2 dated November 6, 2026, so the original annual publication may not contain subsequent changes.

**Is every SAT calendar event a filing deadline?**

No. The calendar distinguishes three categories: nonworking days, SAT events, and obligation deadlines. Check the event category before treating a date as a filing requirement.

**What geographic area does the office directory cover?**

It covers SAT locations in Mexico, including taxpayer service offices, Módulos de Servicios Tributarios, and SARE modules. The directory supports finding offices by Mexican state.

**Can SAT portal guidance establish the legal text of a rule?**

SAT's compilation tools help locate rules, but SAT explicitly directs readers to the Diario Oficial de la Federación to legally support acts or resolutions. Follow the cited publication when the precise legal text matters.

