0.0.2 • Published 6 years ago

@digittmx/cepmx v0.0.2

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
6 years ago

cepmx

CEP node client library (http://www.banxico.org.mx/cep/)

Installation

npm install @digittmx/cepmx

Usage

const cepmx = require('@digittmx/cepmx');

const client = await cepmx.validate({
  fecha: '30-12-2019',  // d-m-y
  criterio: 'DIGITT123456',  // clave rastreo
  emisor: '90646',
  receptor: '40012',
  cuenta: '012180011421747234',
  monto: 3.55,
});
const response = await client.download('XML');
0.0.2

6 years ago

0.0.1

6 years ago