Descarga la Retencion en xml, pdf o html

Parámetros URI


format ( string )

xml, pdf, html

Required

id ( string )

identificador unico

Required

Atributos de la petición

La petición no tiene atributos

Argumentos de respuesta

FileViewModel

ContentEncoding ( string )

Codificación del archivo obtenido

ContentType ( string )

Tipo de archivo (pdf, html, xml)

ContentLength ( integer )

Tamaño en bytes

Content ( string )

Contenido del archivo

http method:

GET

https://apisandbox.facturama.mx/retenciones/{id}/{format}

Ejemplo de Respuesta

application/json, text/json

Ejemplo:
{
  "ContentEncoding": "base64",
  "ContentType": "pdf",
  "ContentLength": 4281,
  "Content": "wggFcMRowGAYDVQQDDBFBLkMuIDIgZGUgc............"
}