Infrastructure and tools to integrate e-invoicing and CFDI 4.0 (Mexico's electronic invoice) without the heavy lifting. Compliance with the SAT (Mexico's tax authority) is guaranteed. Don't reinvent the wheel. Focus on your product.

A PAC (a SAT-authorized provider that stamps CFDIs) verifies and stamps every invoice (stamping: the certification by a SAT-authorized provider that makes a CFDI valid) under current SAT rules. Your invoices are guaranteed valid for tax purposes.

Every invoice we process is verified and stamped by an organization certified to ISO/IEC 27001. Invoice processing runs under certified security and availability controls.
Everything your engineering team needs to integrate enterprise-grade e-invoicing.
Generate CFDIs with standard HTTP calls. The response returns the stamped invoice right away, valid for tax purposes.
Complements (an XML extension the SAT defines for specific operations) for payments, payroll (payroll CFDI: the CFDI issued for each salary payment, type N), Carta Porte (the CFDI complement that documents the transport of goods in Mexico), Comercio Exterior (the CFDI foreign trade complement for exports), and local taxes. Native support, with no XML to build by hand.
Issue CFDIs from any RFC (Mexico's taxpayer ID) to any RFC. Manage multiple companies from a single tenant (the space in Fiscalapi that holds your issuers, recipients, credits, and data).
Automatically download issued and received CFDIs straight from the SAT. Get XML files, metadata, and withholding CFDIs (the CFDI that reports taxes withheld from a payment) through download rules and download requests over the API.
Check the structure, SAT seal (the seal inside the digital tax stamp that certifies the CFDI), issuer's digital seal (the issuer's signature over the CFDI, made with its CSD), and status of any CFDI. Validate RFCs against the SAT's lists of noncompliant taxpayers over the API.
Stateless or stateful. Send everything in the payload, or create your entities in Fiscalapi first. You decide how deep the integration goes.
An unlimited test environment, no payment required. Production uses separate credentials.
Your invoices are stored as XML and PDF. Retrieve them through the API or download them from the dashboard.
Invoice PDFs are generated automatically. Customize the branding, logo, and colors for each RFC.
Email invoices as XML and PDF, with customizable templates for each issuer.
API access to up-to-date SAT catalogs for CFDI 4.0, payroll, and Carta Porte. No catalog tables to maintain in your system.
A brand-agnostic API that works with any system and programming language. Build it into web, desktop, or mobile apps under your own brand.
Issue and stamp CFDI 4.0 invoices, payments, payroll, and complements over REST.
Download CFDIs, XML files, metadata, and withholding CFDIs from the SAT for multiple RFCs.
Get a verdict for each check: SAT status, seals, and the Lista 69-B (the SAT list of taxpayers presumed to invoice nonexistent transactions) and Lista 69-B Bis (the SAT list of taxpayers presumed to have improperly transferred tax losses).
Your customers invoice their purchase tickets (sales receipts your customers can later turn into CFDIs) in your auto-invoice portal (auto-invoice: a CFDI your customer requests from a ticket; you remain the issuer).
Sign up
Get access to the test environment. No payment required.
Test API key
Generate a test API key from the dashboard.
Build your integration
Integrate with an official SDK or call the REST API directly. Read the technical docs and test stamping.
Go to production
Switch environments from the dashboard with one click.
Production API key
Generate a production API key from the dashboard.
Replace your API keys
Replace the test API key with the production API key in your integration.
Activate production
Activate your subscription from the dashboard and start issuing CFDIs in production.
var fiscalApi = FiscalApiClient.Create(Settings);
var invoice = new Invoice
{
VersionCode = "4.0",
Series = "SDK-F",
Date = DateTime.Now,
PaymentFormCode = "01",
CurrencyCode = "MXN",
TypeCode = "I",
ExpeditionZipCode = "42501",
PaymentMethodCode = "PUE",
// Issuer
Issuer = new InvoiceIssuer { Id = "<id>" },
// Recipient
Recipient = new InvoiceRecipient { Id = "<id>"},
// Products and services
Items = new List<InvoiceItem>
{
new InvoiceItem
{
Id = "<id>",
Quantity = 1,
Discount = 10.85m
}
},
};
// Stamp the invoice
var apiResponse = await fiscalApi.Invoices.CreateAsync(invoice);
Go from zero to your first stamped invoice in four steps.
Set up your issuing RFC with its CSD (the digital seal certificate used to sign CFDIs) and get your API key.
Define the issuer, recipient, and line items in a plain JSON payload, along with the form of payment (how the customer paid: cash, bank transfer, card; the FormaPago key) and the payment method (whether the CFDI is paid in full when issued, PUE, or later or in installments, PPD; not how the customer pays).
A POST request validates, seals, and stamps the CFDI 4.0 with the SAT in a single call.
You get the stamped XML with its UUID (folio fiscal, the unique ID the PAC assigns when it stamps a CFDI) and a PDF version ready to send.
A standardized API built on REST principles. Predictable, resource-oriented endpoints.
Complete technical documentation, updated continuously. API reference, integration guides, and code samples.
Official SDKs and libraries in multiple languages. Reference code is available on GitHub
Standardized responses encoded in JSON. HTTP status codes that follow REST conventions.

Tax regulatory complexity, eliminated. Automated compliance for modern companies.
With other solutions, you build and validate the complement XML yourself. Fiscalapi generates it automatically from JSON.
Your team doesn't maintain tax code. Complete the integration in days with SDKs, an API reference, and detailed technical docs.
SAT updates are applied automatically. Your integration stays current without any work from your team.
No restrictions on tenants, issuers, recipients, people who sign in, or invoices. Predictable pricing that grows with your operation.

Engineering teams at SaaS companies, ERP vendors, ecommerce businesses, and software development firms use Fiscalapi to comply with the SAT without building their own tax infrastructure.
Read the Mexico e-invoicing guide →Add CFDI 4.0 e-invoicing to your product like any other feature. Your customers issue and stamp invoices from your platform through the API, with multi-RFC support and per-tenant isolation.
See the CFDI API →Connect your ERP to the SAT. Stamp invoices, payment complements (the complement that records each payment received against a PPD invoice; the type P CFDI that carries it is also called REP), payroll, and Carta Porte. Add bulk download (the SAT service that delivers the CFDIs a taxpayer issued and received) for automatic accounting reconciliation of received CFDIs.
See bulk CFDI download from the SAT →Issue an income (I) CFDI for every sale. Group sales to the general public (customers who did not ask for their own CFDI) into a global invoice (factura global, one CFDI that groups a period's sales to the general public). Issue credit notes (Egreso CFDIs, type E) for returns. All of it is automated with JSON REST calls.
Automate invoicing →Offer e-invoicing to all your customers without building your own CFDI engine. One integration, unlimited tenants, and separate API keys for each project.
Explore the documentation →Tax infrastructure adopted by engineering teams, SaaS platforms, ERPs, and software development firms.








Real metrics from our platform. Compliance managed automatically.
Platform availability. Infrastructure monitored 24/7 with active redundancy.
Average stamping latency. Immediate responses for real-time invoicing operations.
Invoices processed every month. Enterprise capacity proven at scale.
Automatic compliance. SAT updates applied without any work on your side.
Raise the bar on SAT tax compliance with Fiscalapi solutions.
Stamp CFDI 4.0 invoices with our API. Supports income, credit note, payment, and payroll CFDIs, Carta Porte, and more.
From $199 MXN /month
Base subscription. Stamps (one credit, used each time you stamp a CFDI) are sold separately.
See detailsAutomatically download issued and received CFDIs straight from the SAT. CFDIs, metadata, and withholding CFDIs.
From $99 MXN /month per RFC and download type
Add-on. Requires the CFDI invoicing base subscription.
See detailsBefore you pay or deduct any CFDI, verify its XML structure, seals, and status, and whether the RFC is on the Lista 69-B or Lista 69-B Bis.
From $0.50 MXN per validation
Add-on. Requires the CFDI invoicing base subscription.
See detailsYour customers invoice their tickets in your auto-invoice portal, and tickets nobody invoices go into the global invoice.
From $199 MXN /month + ticket credits
Add-on. Requires the CFDI invoicing base subscription.
See detailsTake the next step