CONSULTAR TICKET ANULACIÓN
POST/api/voided/status
Para consultar el ticket de la anulación generada puede usar el siguiente servicio, necesitará la url, el token, el external_id (resumen) y el número de ticket.
Cuando haya culminado este procedimiento, deberá consultar el ticket de la anulación generada, se explicará en el siguiente punto.
Ejemplo:
- Método: POST
- URL: https://empresa1.demo3pro6.ibu.pe/api/voided
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Cuando haya culminado este procedimiento, la anulación con las facturas o notas que lo conforman han sido aceptadas exitosamente por Sunat, es decir el (los) documento(s) han sido anulados.
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
external_idstring
Example:
6a2fd7c4-6eb9-4868-a3ea-7ee30a4b6699
ticketstring
Example:
1731534443956
Body
required
- JSON A ENVIAR
external_idstring
Example:
6a2fd7c4-6eb9-4868-a3ea-7ee30a4b6699
ticketstring
Example:
1731534443956
Body
required
- JSON A ENVIAR
external_idstring
Example:
6a2fd7c4-6eb9-4868-a3ea-7ee30a4b6699
ticketstring
Example:
1731534443956
Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
filenamestring
Example:
20415963255-RA-20190126-1
external_idstring
Example:
0a1382c6-e639-46fc-a8ae-d4659b63c4bd
links
object
xmlstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/voided/xml/0a1382c6-e639-46fc-a8ae-d4659b63c4bd
cdrstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/voided/cdr/0a1382c6-e639-46fc-a8ae-d4659b63c4bd
response
object
codestring
Example:
0
descriptionstring
Example:
La Comunicación de baja RA-20190126-1, ha sido aceptada
notesarray
Example:
[]
{
"success": true,
"data": {
"filename": "20415963255-RA-20190126-1",
"external_id": "0a1382c6-e639-46fc-a8ae-d4659b63c4bd"
},
"links": {
"xml": "http://demo26.multifacturalonew.oo:8084/downloads/voided/xml/0a1382c6-e639-46fc-a8ae-d4659b63c4bd",
"cdr": "http://demo26.multifacturalonew.oo:8084/downloads/voided/cdr/0a1382c6-e639-46fc-a8ae-d4659b63c4bd"
},
"response": {
"code": "0",
"description": "La Comunicación de baja RA-20190126-1, ha sido aceptada",
"notes": []
}
}
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
filenamestring
Example:
20415963255-RA-20190126-1
external_idstring
Example:
0a1382c6-e639-46fc-a8ae-d4659b63c4bd
links
object
xmlstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/voided/xml/0a1382c6-e639-46fc-a8ae-d4659b63c4bd
cdrstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/voided/cdr/0a1382c6-e639-46fc-a8ae-d4659b63c4bd
response
object
codestring
Example:
0
descriptionstring
Example:
La Comunicación de baja RA-20190126-1, ha sido aceptada
notesarray
Example:
[]
<root>
<success>true</success>
<data>
<filename>20415963255-RA-20190126-1</filename>
<external_id>0a1382c6-e639-46fc-a8ae-d4659b63c4bd</external_id>
</data>
<links>
<xml>http://demo26.multifacturalonew.oo:8084/downloads/voided/xml/0a1382c6-e639-46fc-a8ae-d4659b63c4bd</xml>
<cdr>http://demo26.multifacturalonew.oo:8084/downloads/voided/cdr/0a1382c6-e639-46fc-a8ae-d4659b63c4bd</cdr>
</links>
<response>
<code>0</code>
<description>La Comunicación de baja RA-20190126-1, ha sido aceptada</description>
</response>
</root>
Invalid input
Validation exception