OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Per E. Johannessen on December 17, 2020, 06:24:55 pm

Title: SAF-T
Post by: Per E. Johannessen on December 17, 2020, 06:24:55 pm
Hi,

Anyone here with knowledge of converting accounting data from text files to SAF-T?

https://en.wikipedia.org/wiki/SAF-T

At the moment there are only three standard accounting reports that, by local law, must be availble upon request
from tax authorities. I think REXX and XML can be used for this.
Title: Re: SAF-T
Post by: Mentore on December 18, 2020, 10:41:49 am
Hi,

Anyone here with knowledge of converting accounting data from text files to SAF-T?

https://en.wikipedia.org/wiki/SAF-T

At the moment there are only three standard accounting reports that, by local law, must be availble upon request
from tax authorities. I think REXX and XML can be used for this.

Hi there,
I did a quick search and found this on GitHub:
https://github.com/atle85/SAF-T-to-CSV

seems it's just a python script doing the exact contrary of what you need.
I've got no knowledge of SAF-T format but, from what I can see, it's an XML file following a specific schema, so it should be not that hard to come up with a suitable converter.

Should you get out of luck please contact me at mentore . siesto @ alice . it, maybe I can patch up something (not sure about REXX though, since I can't access my OS/2 machines right now).

Mentore
Title: Re: SAF-T
Post by: Dave Yeo on December 18, 2020, 05:22:28 pm
Pretty sure we have an XML Python module so a good chance the Python script will just work.