Autorización tributaria
Consulta una autorización
get/documents/{id}/tax-clearance
Request
- Base URL: https://api.datil.com (the document declares no server; this is the origin it was published from)
- URL: https://api.datil.com/documents/{id}/tax-clearance
- Auth: none declared
Path parameters
idstring required
Identificador único del documento, generado por Dátil.
Response
OK
Example response
{
"void_requests": [
{
"id": "81wxc0qk5cgz4a7z3550a3art3",
"type": "pe/void-request",
"series": "RA-20210315",
"sequence": 1,
"number": "RA-20210315-3",
"tax_clearance": {
"status": "cleared",
"status_description": "ACEPTADO",
"status_code": "0",
"ticket": "1234567890",
"date": "1791394186",
"message": "El documento ha sido aceptado.",
"ack_xml": "<xml></xml>",
"qr_data": "20602224886|6|F002|F002-29|1800.00|11800.00|02/10/2020|6|20877294591|",
"xml": "https://api.datil.com/documents/1234/xml",
"pdf": "https://api.datil.com/p/1234",
"warnings": [
{
"status_code": "0000",
"message": "Documento de pruebas"
}
]
}
}
],
"status": "cleared",
"status_description": "ACEPTADO",
"status_code": "0",
"ticket": "1234567890",
"date": "1791394186",
"message": "El documento ha sido aceptado.",
"ack_xml": "<xml></xml>",
"qr_data": "20602224886|6|F002|F002-29|1800.00|11800.00|02/10/2020|6|20877294591|",
"xml": "https://api.datil.com/documents/1234/xml",
"pdf": "https://api.datil.com/p/1234",
"warnings": [
{
"status_code": "0000",
"message": "Documento de pruebas"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.