[12-Dec-2025 17:28:24 America/Lima] PHP Warning:  Undefined variable $headers in /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php on line 170
[12-Dec-2025 17:28:24 America/Lima] PHP Fatal error:  Uncaught TypeError: curl_req_retry(): Argument #3 ($headers) must be of type array, null given, called in /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php on line 170 and defined in /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php:42
Stack trace:
#0 /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php(170): curl_req_retry('GET', 'https://api-sir...', NULL, NULL, 120, 3)
#1 /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php(211): consultar_ticket('eyJraWQiOiJhcGk...', '202512', '20250300000080')
#2 {main}
  thrown in /home/sicse/public_html/mkj.sicsemkj.com/api_comercial/sunat/sire_rce_descarga.php on line 42
