nfelib 0.1.1 copy "nfelib: ^0.1.1" to clipboard
nfelib: ^0.1.1 copied to clipboard

A helper library for the brazilian Nota Fiscal Eletrônica (NFe).

nfelib #

Dart Library for brazilian Nota Fiscal Eletrônica (NFe)

Introduction #

The brazilian DANFE (Documento Auxiliar da NFe) has a 44-digit key (Chave de Acesso) and a Check Digit (Dígito Verificador, or DV). This library provides functions for:

  • Calculate the Check Digit from a 43-digit key
  • Validate a 44-digit key for its Check Digit

Example #

    if (!chaveNfeValida(_codBarras)) {
      Fluttertoast.showToast(msg: "DANFE com DV inválido, leia novamente");
      return;
    }
7
likes
130
pub points
47%
popularity

Publisher

unverified uploader

A helper library for the brazilian Nota Fiscal Eletrônica (NFe).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on nfelib