Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 209
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 204
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 108
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 108
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 109
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 110
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 111
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 112
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 113
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 114
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 142
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 147
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 148
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 149
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 150
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 151
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 35
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 36
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/boleta_demo.php on line 37
Warning: Undefined array key "CODIGO_TIPO_OPERACION" in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 22
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_demo.php(59): Procesarcomprobante->procesar_factura()
#2 {main}
thrown in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 46