'Token' => $TOKEN, 'Sign' => $SIGN, 'Cuit' => 20264678014, ) ) ); */ /* ////////////////// $results_AutRequest = $client_wsfe->FEParamGetTiposIva( array( 'Auth' => array ( 'Token' => $TOKEN, 'Sign' => $SIGN, 'Cuit' => 20264678014, ) ) ); */ $imp_total = 159.05; $imp_total_conceptos = 0; $imp_neto = 125; $imp_operaciones_exentas = 0; $imp_iva = 26.25; $imp_trib = 7.8; $results_AutRequest = $client_wsfe->FECAESolicitar(array('Auth' => array('Token' => $TOKEN, 'Sign' => $SIGN, 'Cuit' => 20319944762.0), 'FeCAEReq' => array('FeCabReq' => array('CantReg' => 1, 'PtoVta' => 1, 'CbteTipo' => 6), 'FeDetReq' => array('FECAEDetRequest' => array('Concepto' => 1, 'DocTipo' => 96, 'DocNro' => 26467801, 'CbteDesde' => 2, 'CbteHasta' => 2, 'CbteFch' => date('Ymd'), 'ImpTotal' => round($imp_total, 2), 'ImpTotConc' => round($imp_total_conceptos, 2), 'ImpNeto' => round($imp_neto, 2), 'ImpOpEx' => round($imp_operaciones_exentas, 2), 'ImpTrib' => round($imp_trib, 2), 'ImpIVA' => $imp_iva, 'FchServDesde' => '', 'FchServHasta' => '', 'FchVtoPago' => '', 'MonId' => 'PES', 'MonCotiz' => 1, 'Tributos' => array('Tributo' => array('Id' => 99, 'Desc' => 'Impuesto municipal matanza', 'BaseImp' => 150, 'Alic' => 5.2, 'Importe' => 7.8)), 'Iva' => array('AlicIva' => array('Id' => 5, 'BaseImp' => 125, 'Importe' => 26.25))))))); // los resultados los pongo en un archivo file_put_contents(microtime(true) . '_results_AutRequest.txt', var_export($results_AutRequest, true)); file_put_contents(microtime(true) . '_results_AutRequest_soap.txt', var_export($client_wsfe, true));