Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 206
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 201
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 137
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 138
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 139
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 140
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 142
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 142
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 143
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 144
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 145
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 146
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 147
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 148
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 166
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 167
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 168
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 35
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 36
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 37
Warning: Trying to access array offset on value of type null in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 37
Warning: Undefined variable $ruta in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 81
Warning: Undefined variable $ruta_cdr in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 82
Warning: Undefined variable $ruta_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 83
Warning: Undefined variable $pass_firma in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php on line 84
Warning: Undefined variable $ruta_ws in /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.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:683
Stack trace:
#0 /home8/amabaste/apirest.amabastecimiento.com/controllers/procesarcomprobante.php(64): Apisunat->crear_xml_nota_credito()
#1 /home8/amabaste/apirest.amabastecimiento.com/api_facturacion/notacredito.php(88): Procesarcomprobante->procesar_nota_de_credito()
#2 {main}
thrown in /home8/amabaste/apirest.amabastecimiento.com/controllers/apisunat_2_1.php on line 683