Timbrar CFDI
curl --request POST \
--url https://api.ipsofactura.com/cfdi/timbrar \
--header 'Content-Type: application/json' \
--header 'x-api: <api-key>' \
--data '
{
"rfc_emisor": "EKU9003173C9",
"tipo_comprobante": "I",
"forma_pago": "03",
"metodo_pago": "PUE",
"moneda": "MXN",
"subtotal": 1000,
"total": 1160,
"receptor": {
"rfc": "URE180429TM6",
"nombre": "UNIVERSIDAD ROBOTICA ESPANOLA",
"domicilio_fiscal": "65000",
"regimen_fiscal": "601",
"uso_cfdi": "G03"
},
"conceptos": [
{
"clave_prod_serv": "01010101",
"cantidad": 1,
"clave_unidad": "H87",
"descripcion": "Servicio",
"valor_unitario": 1000,
"importe": 1000,
"objeto_imp": "02",
"impuestos": {
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
],
"impuestos": {
"total_impuestos_trasladados": 160,
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
'import requests
url = "https://api.ipsofactura.com/cfdi/timbrar"
payload = {
"rfc_emisor": "EKU9003173C9",
"tipo_comprobante": "I",
"forma_pago": "03",
"metodo_pago": "PUE",
"moneda": "MXN",
"subtotal": 1000,
"total": 1160,
"receptor": {
"rfc": "URE180429TM6",
"nombre": "UNIVERSIDAD ROBOTICA ESPANOLA",
"domicilio_fiscal": "65000",
"regimen_fiscal": "601",
"uso_cfdi": "G03"
},
"conceptos": [
{
"clave_prod_serv": "01010101",
"cantidad": 1,
"clave_unidad": "H87",
"descripcion": "Servicio",
"valor_unitario": 1000,
"importe": 1000,
"objeto_imp": "02",
"impuestos": { "traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
] }
}
],
"impuestos": {
"total_impuestos_trasladados": 160,
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
headers = {
"x-api": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rfc_emisor: 'EKU9003173C9',
tipo_comprobante: 'I',
forma_pago: '03',
metodo_pago: 'PUE',
moneda: 'MXN',
subtotal: 1000,
total: 1160,
receptor: {
rfc: 'URE180429TM6',
nombre: 'UNIVERSIDAD ROBOTICA ESPANOLA',
domicilio_fiscal: '65000',
regimen_fiscal: '601',
uso_cfdi: 'G03'
},
conceptos: [
{
clave_prod_serv: '01010101',
cantidad: 1,
clave_unidad: 'H87',
descripcion: 'Servicio',
valor_unitario: 1000,
importe: 1000,
objeto_imp: '02',
impuestos: {
traslados: [
{
base: 1000,
impuesto: '002',
tipo_factor: 'Tasa',
tasa_o_cuota: '0.160000',
importe: 160
}
]
}
}
],
impuestos: {
total_impuestos_trasladados: 160,
traslados: [
{
base: 1000,
impuesto: '002',
tipo_factor: 'Tasa',
tasa_o_cuota: '0.160000',
importe: 160
}
]
}
})
};
fetch('https://api.ipsofactura.com/cfdi/timbrar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ipsofactura.com/cfdi/timbrar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'rfc_emisor' => 'EKU9003173C9',
'tipo_comprobante' => 'I',
'forma_pago' => '03',
'metodo_pago' => 'PUE',
'moneda' => 'MXN',
'subtotal' => 1000,
'total' => 1160,
'receptor' => [
'rfc' => 'URE180429TM6',
'nombre' => 'UNIVERSIDAD ROBOTICA ESPANOLA',
'domicilio_fiscal' => '65000',
'regimen_fiscal' => '601',
'uso_cfdi' => 'G03'
],
'conceptos' => [
[
'clave_prod_serv' => '01010101',
'cantidad' => 1,
'clave_unidad' => 'H87',
'descripcion' => 'Servicio',
'valor_unitario' => 1000,
'importe' => 1000,
'objeto_imp' => '02',
'impuestos' => [
'traslados' => [
[
'base' => 1000,
'impuesto' => '002',
'tipo_factor' => 'Tasa',
'tasa_o_cuota' => '0.160000',
'importe' => 160
]
]
]
]
],
'impuestos' => [
'total_impuestos_trasladados' => 160,
'traslados' => [
[
'base' => 1000,
'impuesto' => '002',
'tipo_factor' => 'Tasa',
'tasa_o_cuota' => '0.160000',
'importe' => 160
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ipsofactura.com/cfdi/timbrar"
payload := strings.NewReader("{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ipsofactura.com/cfdi/timbrar")
.header("x-api", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ipsofactura.com/cfdi/timbrar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "9a4f07ff-3abc-435f-b7a6-88c2bc65b4c1",
"uuid": "6128396f-c09b-4ec6-8699-43da5a244971",
"folio": "1",
"fecha_timbrado": "2026-05-28T10:00:00",
"numero_certificado_sat": "00001000000500000000",
"sello_cfdi": "...",
"sello_sat": "...",
"cadena_original_sat": "||1.1|...||"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}CFDI
Timbrar CFDI
Genera, sella y timbra un CFDI 4.0 (ingreso o egreso) ante el SAT; devuelve el folio fiscal (UUID) y el Timbre Fiscal Digital.
POST
/
cfdi
/
timbrar
Timbrar CFDI
curl --request POST \
--url https://api.ipsofactura.com/cfdi/timbrar \
--header 'Content-Type: application/json' \
--header 'x-api: <api-key>' \
--data '
{
"rfc_emisor": "EKU9003173C9",
"tipo_comprobante": "I",
"forma_pago": "03",
"metodo_pago": "PUE",
"moneda": "MXN",
"subtotal": 1000,
"total": 1160,
"receptor": {
"rfc": "URE180429TM6",
"nombre": "UNIVERSIDAD ROBOTICA ESPANOLA",
"domicilio_fiscal": "65000",
"regimen_fiscal": "601",
"uso_cfdi": "G03"
},
"conceptos": [
{
"clave_prod_serv": "01010101",
"cantidad": 1,
"clave_unidad": "H87",
"descripcion": "Servicio",
"valor_unitario": 1000,
"importe": 1000,
"objeto_imp": "02",
"impuestos": {
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
],
"impuestos": {
"total_impuestos_trasladados": 160,
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
'import requests
url = "https://api.ipsofactura.com/cfdi/timbrar"
payload = {
"rfc_emisor": "EKU9003173C9",
"tipo_comprobante": "I",
"forma_pago": "03",
"metodo_pago": "PUE",
"moneda": "MXN",
"subtotal": 1000,
"total": 1160,
"receptor": {
"rfc": "URE180429TM6",
"nombre": "UNIVERSIDAD ROBOTICA ESPANOLA",
"domicilio_fiscal": "65000",
"regimen_fiscal": "601",
"uso_cfdi": "G03"
},
"conceptos": [
{
"clave_prod_serv": "01010101",
"cantidad": 1,
"clave_unidad": "H87",
"descripcion": "Servicio",
"valor_unitario": 1000,
"importe": 1000,
"objeto_imp": "02",
"impuestos": { "traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
] }
}
],
"impuestos": {
"total_impuestos_trasladados": 160,
"traslados": [
{
"base": 1000,
"impuesto": "002",
"tipo_factor": "Tasa",
"tasa_o_cuota": "0.160000",
"importe": 160
}
]
}
}
headers = {
"x-api": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
rfc_emisor: 'EKU9003173C9',
tipo_comprobante: 'I',
forma_pago: '03',
metodo_pago: 'PUE',
moneda: 'MXN',
subtotal: 1000,
total: 1160,
receptor: {
rfc: 'URE180429TM6',
nombre: 'UNIVERSIDAD ROBOTICA ESPANOLA',
domicilio_fiscal: '65000',
regimen_fiscal: '601',
uso_cfdi: 'G03'
},
conceptos: [
{
clave_prod_serv: '01010101',
cantidad: 1,
clave_unidad: 'H87',
descripcion: 'Servicio',
valor_unitario: 1000,
importe: 1000,
objeto_imp: '02',
impuestos: {
traslados: [
{
base: 1000,
impuesto: '002',
tipo_factor: 'Tasa',
tasa_o_cuota: '0.160000',
importe: 160
}
]
}
}
],
impuestos: {
total_impuestos_trasladados: 160,
traslados: [
{
base: 1000,
impuesto: '002',
tipo_factor: 'Tasa',
tasa_o_cuota: '0.160000',
importe: 160
}
]
}
})
};
fetch('https://api.ipsofactura.com/cfdi/timbrar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ipsofactura.com/cfdi/timbrar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'rfc_emisor' => 'EKU9003173C9',
'tipo_comprobante' => 'I',
'forma_pago' => '03',
'metodo_pago' => 'PUE',
'moneda' => 'MXN',
'subtotal' => 1000,
'total' => 1160,
'receptor' => [
'rfc' => 'URE180429TM6',
'nombre' => 'UNIVERSIDAD ROBOTICA ESPANOLA',
'domicilio_fiscal' => '65000',
'regimen_fiscal' => '601',
'uso_cfdi' => 'G03'
],
'conceptos' => [
[
'clave_prod_serv' => '01010101',
'cantidad' => 1,
'clave_unidad' => 'H87',
'descripcion' => 'Servicio',
'valor_unitario' => 1000,
'importe' => 1000,
'objeto_imp' => '02',
'impuestos' => [
'traslados' => [
[
'base' => 1000,
'impuesto' => '002',
'tipo_factor' => 'Tasa',
'tasa_o_cuota' => '0.160000',
'importe' => 160
]
]
]
]
],
'impuestos' => [
'total_impuestos_trasladados' => 160,
'traslados' => [
[
'base' => 1000,
'impuesto' => '002',
'tipo_factor' => 'Tasa',
'tasa_o_cuota' => '0.160000',
'importe' => 160
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ipsofactura.com/cfdi/timbrar"
payload := strings.NewReader("{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ipsofactura.com/cfdi/timbrar")
.header("x-api", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ipsofactura.com/cfdi/timbrar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"rfc_emisor\": \"EKU9003173C9\",\n \"tipo_comprobante\": \"I\",\n \"forma_pago\": \"03\",\n \"metodo_pago\": \"PUE\",\n \"moneda\": \"MXN\",\n \"subtotal\": 1000,\n \"total\": 1160,\n \"receptor\": {\n \"rfc\": \"URE180429TM6\",\n \"nombre\": \"UNIVERSIDAD ROBOTICA ESPANOLA\",\n \"domicilio_fiscal\": \"65000\",\n \"regimen_fiscal\": \"601\",\n \"uso_cfdi\": \"G03\"\n },\n \"conceptos\": [\n {\n \"clave_prod_serv\": \"01010101\",\n \"cantidad\": 1,\n \"clave_unidad\": \"H87\",\n \"descripcion\": \"Servicio\",\n \"valor_unitario\": 1000,\n \"importe\": 1000,\n \"objeto_imp\": \"02\",\n \"impuestos\": {\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n }\n ],\n \"impuestos\": {\n \"total_impuestos_trasladados\": 160,\n \"traslados\": [\n {\n \"base\": 1000,\n \"impuesto\": \"002\",\n \"tipo_factor\": \"Tasa\",\n \"tasa_o_cuota\": \"0.160000\",\n \"importe\": 160\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "9a4f07ff-3abc-435f-b7a6-88c2bc65b4c1",
"uuid": "6128396f-c09b-4ec6-8699-43da5a244971",
"folio": "1",
"fecha_timbrado": "2026-05-28T10:00:00",
"numero_certificado_sat": "00001000000500000000",
"sello_cfdi": "...",
"sello_sat": "...",
"cadena_original_sat": "||1.1|...||"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}{
"id": "<string>",
"uuid": "<string>",
"serie": "<string>",
"folio": "<string>",
"sandbox": true,
"fecha_timbrado": "<string>",
"numero_certificado_sat": "<string>",
"sello_cfdi": "<string>",
"sello_sat": "<string>",
"cadena_original_sat": "<string>"
}Authorizations
API key emitida por Ipsofactura, enviada en el header x-api.
Body
application/json
Show child attributes
Show child attributes
Minimum array length:
1Show child attributes
Show child attributes
Minimum string length:
1Pattern:
[A-Z&Ñ]{3,4}[0-9]{2}(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])[A-Z0-9]{2}[0-9A]Minimum string length:
1Pattern:
[IETPN]Pattern:
\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(Z|[+-]\d{2}:\d{2})?Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
CFDI timbrado
⌘I