Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

einvoice-anonymizer

A python script to remove personal data/anonymize/redact EN16931 XML CII e-invoices

Andreas Starke created this file as a pythonesk response to a feature suggestion for Quba viewer. It can be applied to the XML of e.g. ZUGFeRD 2 invoices or the XML of CII XRechnungen and will shuffle (i.e. replace a lowercase character by a random lowercase character, same with uppercase and number) the text contents of the xpaths defined in testdaten_cii.csv.

Install

python -m venv anon

anon\Scripts\activate.bat

pip install -r requirements.txt

Run

(but be careful, this will overwrite the original file!!)

python3 anonymize.py zugferd-invoice.xml ./testdaten_cii.csv shuffle

Maintainer

We're looking for a maintainer :-)

About

A python script to remove personal data from EN16931 XML e-invoices, primarily CII

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages