Performance improvement creating the SAF-T file

Accounting: Reporting to Government Version 9.51

The performance of the creation of SAF-T files hs been improved.

Some tests have reduced the time by 2/3.