The stamping API
easiest to integrate
Stamp CFDIs via JSON, XML, or file upload. No hassle. Leave the tax complexity to the experts and focus on what matters: your business.
Stamp your way
Whether you're starting from scratch or migrating from another PAC, we have the perfect method for you.
Send a JSON with your CFDI data and we handle everything: XML structure, original chain, digital seal, stamping, tax validation, and PDF generation.
Ideal for new integrations, ERPs, e-commerce platforms, and any system that wants to issue CFDIs without the complexity.
{
"Version": "4.0",
"Serie": "F",
"Folio": "987750",
"Fecha": "AUTO",
"FormaPago": "01",
"SubTotal": "200.00",
"Moneda": "MXN",
"Total": "232.00",
"TipoDeComprobante": "I",
"MetodoPago": "PUE",
"LugarExpedicion": "67150",
"Emisor": {
"RegimenFiscal": "612"
},
"Receptor": {
"Rfc": "XAXX010101000",
"Nombre": "NOVATECH DIGITAL",
"UsoCFDI": "G03",
"DomicilioFiscalReceptor": "66265",
"RegimenFiscalReceptor": "601"
},
"Conceptos": [{
"ObjetoImp": "02",
"ClaveProdServ": "01010101",
"Cantidad": "1",
"ClaveUnidad": "H87",
"Descripcion": "Mezcal Oaxaca Premium",
"ValorUnitario": "200.00",
"Importe": "200.00",
"Impuestos": {
"Traslados": [{
"Base": "200.00",
"Impuesto": "002",
"TipoFactor": "Tasa",
"TasaOCuota": "0.160000",
"Importe": "32.00"
}]
}
}]
}https://app.facturadigital.com.mxhttps://sandbox-app.facturadigital.com.mxWith the JSON method, forget about everything
Our most popular method. We take care of:
SAT-compliant XML structure
Original chain and digital seal
Stamping through a certified PAC
Tax validity verification
Customizable PDF generation
UTF-8 encoding and special characters
CFDI QR codes
Automatic SAT updates
Integrate in 4 steps
From creating your account to stamping your first CFDI.
Create your sandbox account
Sign up for free in the test environment. We give you 10 free stamps to get started.
sandbox-app.facturadigital.com.mxUpload your CSD certificates
Log in and upload your Digital Seal Certificates (.key and .cer) under Settings → SAT Certificates.
⚠️ Do not confuse with e.firma (FIEL). Use your CSD files.
Get your API Key
Under Settings → Tax Information, you'll find your API Key at the bottom. Copy it to a safe place.
Make your first request
Verify your connection by checking your stamp balance with a simple GET request.
Technical specifications
Latency < 100ms
High-speed stamping with AWS infrastructure, load balancers, and automatic fail-over across multiple PACs.
Any language
REST + JSON API compatible with PHP, Python, Java, C#, Node.js, Go, Ruby, Swift, Kotlin, and any language with HTTP support.
Complete documentation
Step-by-step guides, examples for each CFDI type, technical references, and a free sandbox environment with 10 stamps.
REST over HTTPS
Endpoints for stamping, cancellation, lookup, and PDF/XML download. API Key authentication via headers.
Enterprise security
TLS 1.2+ encryption, API Key authentication, access auditing, and full regulatory compliance.
99.99% Uptime
High-availability infrastructure with geographic redundancy. 24/7 monitoring and automatic scaling.
All complements. All methods.
Whether you stamp via JSON, Base64 XML, or Multipart — we support all current CFDI types and complements. Always updated to the latest SAT version.
View full documentationComplements available via API
API FAQs
Do I need to generate XML, seals, or original chains?
Does the API have an additional cost?
How long does it take to stamp a CFDI?
Can I test the API for free?
What programming languages can I use with the API?
Can I migrate from another PAC without modifying my code?
Can I stamp Carta Porte and Payroll complements via API?
Need help with integration?
Start invoicing today
Sign up for free and discover an online electronic invoicing system built to keep you SAT-compliant — without the hassle.