Skip to content

From Fatture Elettroniche (Agenzia delle Entrate) in XML format to HTML and PDF formats

License

Notifications You must be signed in to change notification settings

Katowicer/FE-XML2HTML

Repository files navigation

FE-XML2HTML

Easily convert Fatture Elettroniche in XML format to HTML and PDF formats.

Testing

See branch 0002-SHELLTEST and setup the testing environment via the .env file

Built with Devbox

Development Environemt

This project uses devbox to manage its development environment.

Install devbox:

curl -fsSL https://get.jetpack.io/devbox | bash

Start the devbox shell:

devbox shell

Run a script in the devbox environment:

devbox run <script>

Scripts

Scripts are custom commands that can be run using this project's environment. This project has the following scripts:

Shell Init Hook

The Shell Init Hook is a script that runs whenever the devbox environment is instantiated. It runs on devbox shell and on devbox run.

chmod +x ./xml2html.sh

Packages

Script Details

devbox run emesse

./xml2html.sh -s $STYLE -l $LOG_FILE -e $ERROR_FILE -x $XML_DIR_EMESSE -h $HTML_DIR_EMESSE -p $PDF_DIR_EMESSE

devbox run ricevute

./xml2html.sh -s $STYLE -l $LOG_FILE -e $ERROR_FILE -x $XML_DIR_RICEVUTE -h $HTML_DIR -p $PDF_DIR_RICEVUTE

Using Docker

Use the provided Dev Container or Dockerfile

See also the .envrc file for Direnv integration

About

From Fatture Elettroniche (Agenzia delle Entrate) in XML format to HTML and PDF formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published