I saw involved in VAT invoicing and electronic signature legislation a lot. All that was based on EU directives, which give you a lot of options. Polish legislators always chose the worst, most idiotic combination, then added their own inventions (called "directive gold plating" in EU jargon), and then blamed this bullshit on EU. Other countries, such as UK, just implemented the most business-friendly interpretation.