Catálogo de monedas

Ruby
PHP
Javascript
.Net >= 4.5
Java
Phyton

The currency in the CFDI must be one of this catalog established by the SAT

facturama is an instance of FacturamaAPI consult the guide

>Consult


    lst_currencies = facturama::catalog.currencies
    currency = lst_currencies.select {|currency| currency["Value"] == "MXN" }.first
Nota: Se recomienda hacer las busquedas, remplazando el valor "MXN" por el de la moneda deseada

$facturama is an instance of FacturamaAPI consult the guide

>Consult


    $lstNameIds = $facturama->get('catalogs/currencies');

Facturamais an instance of FacturamaAPI consult the guide

>Consult


    Facturama.Catalogs.Currencies(function (result) {

        console.log("Lista de códigos monedas: ", result );

    }, function (error) {
        if (error && error.responseJSON) {
            console.log("errores", error.responseJSON);
        }
    });

facturamais an instance of FacturamaAPI consult the guide

>Consult


    List<PostalCode> lstCurrencies = facturama.Catalogs().Currencies();   

facturama is an instance of FacturamaAPI consult the guide

>Consult


    var currency = facturama.Catalogs.Currencies.First(m => m.Value == "MXN");

>Consult


    self.client._credentials = ('username', 'password')
    lst_currencies = self.client.CurrenciesCatalog.query()