Warning: Cannot modify header information - headers already sent by (output started at /home/stscom/corefact.sts.com.bo/functions.php:1) in /home/stscom/corefact.sts.com.bo/index.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /home/stscom/corefact.sts.com.bo/functions.php:1) in /home/stscom/corefact.sts.com.bo/index.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /home/stscom/corefact.sts.com.bo/functions.php:1) in /home/stscom/corefact.sts.com.bo/index.php on line 15
Database Error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)INDEX /home/stscom/corefact.sts.com.bo/Siat
STSBolivia\SBFramework\Modules\Invoices\Classes\Siat\SiatConfig Object
(
    [nombreSistema] => STS_SFV_SIAT
    [codigoSistema] => 773835FA5D862CBB68186FE
    [tipo] => 1
    [nit] => 1020751026
    [razonSocial] => STS Bolivia ltda
    [modalidad] => 1
    [ambiente] => 2
    [tokenDelegado] => eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJTVFNMVERBMjAyMCIsImNvZGlnb1Npc3RlbWEiOiI3NzM4MzVGQTVEODYyQ0JCNjgxODZGRSIsIm5pdCI6Ikg0c0lBQUFBQUFBQUFETTBNREl3TnpVME1ESURBSzhMaVJzS0FBQUEiLCJpZCI6MTE1NjgxOCwiZXhwIjoxNzAzOTgwODAwLCJpYXQiOjE2ODU5MjE2NzUsIm5pdERlbGVnYWRvIjoxMDIwNzUxMDI2LCJzdWJzaXN0ZW1hIjoiU0ZFIn0.Fp_TYcmFu4v-eXs-Ie9r8gzC0yYjEXiUVoPu7uJ5wSEP3H5YikmN8FSfhcEgV8ijB4C7DKoTf7tvBqBnC-Zj3g
    [ciudad] => LA PAZ
    [telefono] => 2406667
    [cafc] => 
    [cafc_inicio_nro_factura] => 
    [cafc_fin_nro_factura] => 
    [cuis] => 
    [cufd] => 
    [pubCert] => /home/stscom/corefact.sts.com.bo/Siat/certs/STS2023_cert.pem
    [privCert] => /home/stscom/corefact.sts.com.bo/Siat/certs/STS2023RSA.pem
)
Array ( [error] => API KEY NO VALIDO [URL] => https://pilotosiatservicios.impuestos.gob.bo/v2/FacturacionCodigos?wsdl [DEBUG] => Array ( [0] => POST /v2/FacturacionCodigos HTTP/1.1 Host: pilotosiatservicios.impuestos.gob.bo Connection: Keep-Alive User-Agent: PHP-SOAP/7.4.33 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 481 apikey: TokenApi eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJTVFNMVERBMjAyMCIsImNvZGlnb1Npc3RlbWEiOiI3NzM4MzVGQTVEODYyQ0JCNjgxODZGRSIsIm5pdCI6Ikg0c0lBQUFBQUFBQUFETTBNREl3TnpVME1ESURBSzhMaVJzS0FBQUEiLCJpZCI6MTE1NjgxOCwiZXhwIjoxNzAzOTgwODAwLCJpYXQiOjE2ODU5MjE2NzUsIm5pdERlbGVnYWRvIjoxMDIwNzUxMDI2LCJzdWJzaXN0ZW1hIjoiU0ZFIn0.Fp_TYcmFu4v-eXs-Ie9r8gzC0yYjEXiUVoPu7uJ5wSEP3H5YikmN8FSfhcEgV8ijB4C7DKoTf7tvBqBnC-Zj3g [1] => 210773835FA5D862CBB68186FE01020751026 ) )