Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 162
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 157
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 121
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 122
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 123
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 124
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 126
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 126
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 127
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 128
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 129
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 131
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 132
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 133
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 36
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 38
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 38
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 38
Warning: Undefined variable $ruta in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 82
Warning: Undefined variable $ruta_cdr in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 83
Warning: Undefined variable $ruta_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 84
Warning: Undefined variable $pass_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 85
Warning: Undefined variable $ruta_ws in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php on line 86
Warning: Undefined array key "TXT_HORA_ENVIO" in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 753
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:826
Stack trace:
#0 /home8/amabaste/apirest.amabastecimiento.com/controllers/procesarcomprobante.php(89): Apisunat->crear_xml_nota_debito()
#1 /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notadebito.php(89): Procesarcomprobante->procesar_nota_de_debito()
#2 {main}
thrown in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 826