Author Topic: SAF-T  (Read 3590 times)

Per E. Johannessen

  • Sr. Member
  • ****
  • Posts: 251
  • Karma: +3/-0
    • View Profile
SAF-T
« 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.

Mentore

  • Full Member
  • ***
  • Posts: 153
  • Karma: +4/-0
    • View Profile
Re: SAF-T
« Reply #1 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

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4788
  • Karma: +99/-1
    • View Profile
Re: SAF-T
« Reply #2 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.