FacturaGPT
Signed in as
FacturaGPT

Bienvenido

Inicia sesión para acceder a tu cuenta de partner.

Hemos enviado un email con mas informacion sobre FacturaGPT

Mientras tanto, puedes crear una cuenta y empezar a probar nuestra API. Si ya tienes cuenta, inicia sesion para entrar al dashboard y generar tu API key.

Ver documentacion API

Al iniciar sesión, aceptas nuestros Términos de Servicio y Política de Privacidad.

"FacturaGPT genera facturas de miles de comercios automáticamente, sin importar si facturan por portal, correo o WhatsApp."

Más de 1,000 comercios soportados · Pago solo por CFDI exitoso

Calls
0
Completed 0 • Failed 0
Success rate
0%
Calls remaining
0
Prepaid credits
Calls by RFC
Top RFCs for the selected range.
RFC Calls Success % Est. cost
Loading…
Home
Overview, quick actions, and recent activity.
Session ID External ID Status Created
Loading...

Live API Test

Webhook configuration needed. Configure it in the Webhooks tab to enable testing.
Using API key: Not set

Input

This is an easy-to-build API request to start testing.

This will trigger a test API request. Make sure you have a valid API key and webhook. Required fields are marked with `*`. For user data, send `customer_id`, `csf_pdf`, or complete `user_info`.

1. Ticket info

Partner unique ID used for idempotency and reconciliation.

2. User info

If you upload a CSF PDF, user info becomes optional.

If you select `save_customer=yes`, the API request will save the customer information so subsequent requests only will need the `customer_id`.

FacturaGPT's customer id after a customer is saved.

Configure your webhook first in the Webhooks tab to enable live testing.

Request + Response

// Request + response will appear here...

API Keys

API keys authenticate your requests. Full keys are shown only once on creation. Store them in your secret manager. You can have up to 3 active keys.

Webhooks

Webhook configuration is required for production requests. Requests without a configured webhook return WEBHOOK_REQUIRED.

Status: unknown Mode: unknown

Use HTTPS. This endpoint receives factura.completed, factura.failed, and optional test events.

Signing secret

FacturaGPT uses this secret to sign every webhook delivery. Use it in your server to verify requests are genuine.

••••••••••••••••••••••••••••••••

Rotating generates a new secret immediately. Update your server before rotating.

Recent Transactions

Session ID External ID Status Merchant RFC Created Test

MCP (Model Context Protocol) Setup

Run the local FacturaGPT MCP wrapper on your machine, then connect Claude Desktop to it.

What is MCP?

MCP allows AI assistants like Claude to use tools exposed by a local process. In this setup, the local process calls FacturaGPT's Partner API for you.

  • Automated factura generation from Claude
  • Status checking and file retrieval
  • No-code integration for AI workflows
Webhook is required for production calls. Configure it in the Webhooks tab first, or pass webhook_url in each MCP call.

1. Install local MCP wrapper

cd /ABSOLUTE/PATH/TO/REPO/mcp/facturagpt npm install

2. Set your local server.js path

This must be an absolute path on your machine and must end in server.js.

3. Export configuration

4. Add to Claude Desktop

Paste into your Claude Desktop config file. Preview below masks the key for safety:

// Loading...

5. Available Tools

  • get_factura Generate factura from ticket image
  • get_factura_status Check processing status by session_id
  • get_factura_files Retrieve XML and PDF files

API Documentation

Sections
Loading sections...
Loading documentation...

Create New API Key

New key (shown once)

Set up your partner account

This unlocks API keys, usage, and the live test box.

Your API key (shown once)
Copy and store this securely. You can create up to 3 keys.