There is a question as it is possible to generate here such report in tax http://joxi.ru/RmzvVORS0oOywm with the filled data?
The full document here .
While such report needs to be unpacked only, the variant thought to use html-tables and css
Looked other libraries on generation of reports on php, did not find something on similarity of generation of such report, something can missed.
Advise, who can faced with such, not mandatory libraries on php, it is possible and in other languages, the main thing is generation of such report and its printout.



Variant 1 - HTML/CSS,  only an output.
Variant 2 - a variant 1 + converting in PDF.
Variant 3 - to take ready PDF under the link.