Skip to content

eduardo-costa/nfce-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfce-json

Loader and parser of the Brazilian NFCe data as JSON.

Install

npm install nfce-json

Usage

var NFCE 		= require("nfce-json").NFCE;

//Loads the desired NCFe code for the given Brazillian state.
NFCE.load("nfce-code-here","rs",
function(p_json,p_err)
{
	var json_str = JSON.stringify(p_json,null," ");
	var fs = require("fs");
	fs.writeFileSync("output.json",json_str);
	console.log(p_json);
});

Caveats

Only available for the RS state for now.

About

Client for downloading Brazilian NFCe data in Json format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors