The currency in the CFDI must be one of this catalog established by the SAT
facturama is an instance of FacturamaAPI consult the guide
lst_currencies = facturama::catalog.currencies
currency = lst_currencies.select {|currency| currency["Value"] == "MXN" }.first
$facturama is an instance of FacturamaAPI consult the guide
$lstNameIds = $facturama->get('catalogs/currencies');
Facturamais an instance of FacturamaAPI consult the guide
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
List<PostalCode> lstCurrencies = facturama.Catalogs().Currencies();
facturama is an instance of FacturamaAPI consult the guide
var currency = facturama.Catalogs.Currencies.First(m => m.Value == "MXN");
self.client._credentials = ('username', 'password')
lst_currencies = self.client.CurrenciesCatalog.query()