La función encargada de consultar el estatus de un documento indicando su número.
Request: Parámetros a enviar
URL: https://demointegracion.thefactoryhka.com.pa/api/EstadoDocumento
{
"codigoSucursalEmisor": "string",
"numeroDocumentoFiscal": "string",
"puntoFacturacionFiscal": "string",
"serialDispositivo": "string", #OPCIONAL
"tipoDocumento": "string",
"tipoEmision": "string"
}
Response:
{{'codigo': '200',
'mensaje': 'Se retornan datos del documento.',
'cufe': 'FE011000000000008-952-840-7700012025021015754752955010128916932760',
'qr': 'https://dgi-fep-test.mef.gob.pa:40001/Consultas/FacturasPorQR?chFE=FE011000000000008-952-840-7700012025021015754752955010128916932760&iAmb=2&digestValue=0zU95TEiiAr58x9g1KheROE9rlvZSRdOz/xd7NANUiQ=&jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaEZFIjoiRkUwMTEwMDAwMDAwMDAwMDgtOTUyLTg0MC03NzAwMDEyMDI1MDIxMDE1NzU0NzUyOTU1MDEwMTI4OTE2OTMyNzYwIiwiaUFtYiI6IjIiLCJkaWdlc3RWYWx1ZSI6IjB6VTk1VEVpaUFyNTh4OWcxS2hlUk9FOXJsdlpTUmRPei94ZDdOQU5VaVE9In0.2IeVfs-ES3w5693-2RK9V6i4JhA3FVme-tmdbgr3ifc', 'numeroProtocoloAutorizacion': '0000155596713-2-201520250000000000028750',
'fechaAutorizacion': '2025-02-10 04:40:03',
'fechaEmisionDocumento': '2025-02-10 09:00:00',
'fechaRecepcionDocumento': '2025-02-10 04:40:02',
'estatusDocumento': 'Anulada', 'mensajeDocumento': 'Anulada', 'resultado': 'procesado'}