Skip to content

AndreFCruz/saft-api

Repository files navigation

SAFT-API

Ever wanted to create a Web API straight from a SAFT-PT (Standard Audit File for Tax Purposes) XML file? Of course not. Either way, this tools helps you do that.

How it works

The tools first converts a SAF-T (PT) v1.04_01 XML file into a JSON "database", makes some adjustments to it and then serves it through json-server.

Using the tool

# Install dependencies
yarn

# Build the src
yarn build

# Parse a XML file
yarn parse -s file.xml

# Run the server from the parsed file
yarn serve

Team

  • @AndreFCruz
  • @EdgarACarneiro
  • @literallysofia

Special thanks to contributions from external PRs.

About

Tool thats helps you quickly setup a Web API straight from a SAF-T (PT) file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published