Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 749 Bytes

File metadata and controls

29 lines (20 loc) · 749 Bytes

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.