Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Obtener la tasa de cambio representativa del mercado para Colombia con PHP
$date = date("Y-m-d");
try {
$soap = new soapclient("", array(
'soap_version' => SOAP_1_1,
'trace' => 1,
"location" => "",
$response = $soap->queryTCRM(array('tcrmQueryAssociatedDate' => $date));
$response = $response->return;
echo $response->value;
} catch(Exception $e){
echo $e->getMessage();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment