Skip to content

Commit 2442b38

Browse files
committed
Agregado funcionalidad de cotizaciones
1 parent 1b2c1dc commit 2442b38

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "afipsdk/afip.php",
2+
"name": "dkstudio86/afip.php",
33
"type": "library",
44
"description": "Libreria para usar los Web Services de AFIP (Argentina) ",
55
"keywords": ["afip","facturacion-electronica","gratis","soap","cae","padron","contribuyente","libreria"],

src/Class/ElectronicBilling.php

+13
Original file line numberDiff line numberDiff line change
@@ -385,5 +385,18 @@ private function _CheckErrors($operation, $results)
385385
}
386386
}
387387

388+
/**
389+
* @param string $mon_id Código de identificación de la moneda en AFIP
390+
* @return mixed
391+
*/
392+
public function GetCotizacion($mon_id)
393+
{
394+
$req = array(
395+
'MonId' => $mon_id
396+
);
397+
398+
return $this->ExecuteRequest('FEParamGetCotizacion', $req);
399+
}
400+
388401
}
389402

0 commit comments

Comments
 (0)