POST /v1/de/inutilizar
curl --request POST \
--url https://api.emiti.fravelabs.com/v1/de/inutilizar \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"establecimiento": "<string>",
"punto": "<string>",
"numero_desde": 5000000,
"numero_hasta": 5000000,
"tipo_de": 4,
"motivo": "<string>"
}
'import requests
url = "https://api.emiti.fravelabs.com/v1/de/inutilizar"
payload = {
"establecimiento": "<string>",
"punto": "<string>",
"numero_desde": 5000000,
"numero_hasta": 5000000,
"tipo_de": 4,
"motivo": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
establecimiento: '<string>',
punto: '<string>',
numero_desde: 5000000,
numero_hasta: 5000000,
tipo_de: 4,
motivo: '<string>'
})
};
fetch('https://api.emiti.fravelabs.com/v1/de/inutilizar', 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.emiti.fravelabs.com/v1/de/inutilizar",
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([
'establecimiento' => '<string>',
'punto' => '<string>',
'numero_desde' => 5000000,
'numero_hasta' => 5000000,
'tipo_de' => 4,
'motivo' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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.emiti.fravelabs.com/v1/de/inutilizar"
payload := strings.NewReader("{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.emiti.fravelabs.com/v1/de/inutilizar")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.emiti.fravelabs.com/v1/de/inutilizar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"type": "<string>"
}
]
}Eventos sobre DE
Inutilizar rango de numeración
Evento SIFEN que marca un rango de números como no utilizados.
POST
/
v1
/
de
/
inutilizar
POST /v1/de/inutilizar
curl --request POST \
--url https://api.emiti.fravelabs.com/v1/de/inutilizar \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"establecimiento": "<string>",
"punto": "<string>",
"numero_desde": 5000000,
"numero_hasta": 5000000,
"tipo_de": 4,
"motivo": "<string>"
}
'import requests
url = "https://api.emiti.fravelabs.com/v1/de/inutilizar"
payload = {
"establecimiento": "<string>",
"punto": "<string>",
"numero_desde": 5000000,
"numero_hasta": 5000000,
"tipo_de": 4,
"motivo": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
establecimiento: '<string>',
punto: '<string>',
numero_desde: 5000000,
numero_hasta: 5000000,
tipo_de: 4,
motivo: '<string>'
})
};
fetch('https://api.emiti.fravelabs.com/v1/de/inutilizar', 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.emiti.fravelabs.com/v1/de/inutilizar",
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([
'establecimiento' => '<string>',
'punto' => '<string>',
'numero_desde' => 5000000,
'numero_hasta' => 5000000,
'tipo_de' => 4,
'motivo' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$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.emiti.fravelabs.com/v1/de/inutilizar"
payload := strings.NewReader("{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<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.emiti.fravelabs.com/v1/de/inutilizar")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.emiti.fravelabs.com/v1/de/inutilizar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"establecimiento\": \"<string>\",\n \"punto\": \"<string>\",\n \"numero_desde\": 5000000,\n \"numero_hasta\": 5000000,\n \"tipo_de\": 4,\n \"motivo\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"type": "<string>"
}
]
}Marca un rango contiguo de números no emitidos como inutilizados en SIFEN. Sirve para “saltar” números cuando, por ejemplo, se perdió un comprobante físico durante una migración o se desea mantener consistencia secuencial sin emitir.
A diferencia de
cancelar, este endpoint no opera sobre un CDC — opera sobre un rango de numeración del emisor.
Cuándo usarlo
- Al migrar de un sistema legacy a e-Miti, hay un gap en la numeración que querés declarar oficialmente como no usado.
- Pruebas fallidas en homologación dejaron números “quemados” que querés cerrar.
- Numeración secuencial obligatoria para auditoría — declarás los gaps explícitamente.
Body típico
{
"establecimiento": "001",
"punto": "001",
"tipo": 1,
"numero_desde": 1000,
"numero_hasta": 1050,
"motivo": "Migración de sistema legacy — números no emitidos"
}
numero_desde≤numero_hasta(puede ser el mismo número).- El rango no puede solapar con números ya emitidos ni con rangos previamente inutilizados.
motivoes obligatorio para SIFEN — string descriptivo.
Para un solo número rechazado
Si tenés un único número proveniente de un DE rechazado (estadoR) que querés liberar, usá el atajo POST /v1/de/{cdc}/inutilizar-numero — extrae establecimiento/punto/tipo/número del CDC automáticamente.
Listado de inutilizaciones
Para ver todas las inutilizaciones realizadas del tenant, usáGET /v1/de/inutilizaciones.Authorizations
Body
application/json
Body del endpoint POST /de/inutilizar (FRA-228).
La inutilización informa a SIFEN que un rango de números de un timbrado NO fue emitido y debe marcarse como inválido (MT v150 cap. 11.2).
Código de establecimiento (EEE), exactamente 3 dígitos.
Required string length:
3Pattern:
^\d{3}$Código de punto de expedición (PPP), exactamente 3 dígitos.
Required string length:
3Pattern:
^\d{3}$Primer número del rango a inutilizar (1-9999999).
Required range:
1 <= x <= 9999999Último número del rango a inutilizar (>= numero_desde).
Required range:
1 <= x <= 9999999Tipo de DE del rango (1=Factura, 4=Autofactura, 5=NC, etc.).
Required range:
1 <= x <= 8Motivo de la inutilización — texto libre, viaja al XML del evento SIFEN como mOtInut. Mínimo 5 chars. Máximo 500 (MT v150 cap. 11).
Required string length:
5 - 500Response
Successful Response