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.
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.
# 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
- @AndreFCruz
- @EdgarACarneiro
- @literallysofia
Special thanks to contributions from external PRs.