Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 239
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 234
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 138
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 138
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 139
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 140
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 141
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 142
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 143
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 144
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 172
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 177
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 178
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 179
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 180
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 181
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 35
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 36
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 37
Warning: Undefined variable $ruta in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 81
Warning: Undefined variable $ruta_cdr in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 82
Warning: Undefined variable $ruta_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 83
Warning: Undefined variable $pass_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 84
Warning: Undefined variable $ruta_ws in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php on line 85
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php:46
Stack trace:
#0 /home8/amabaste/apirest.amabastecimiento.com/controllers/procesarcomprobante.php(13): Apisunat->crear_xml_factura()
#1 /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta.php(88): Procesarcomprobante->procesar_factura()
#2 {main}
thrown in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 46