Author Topic: SAF-T  (Read 532 times)

Per E. Johannessen

  • Full Member
  • ***
  • Thank You
  • -Given: 5
  • -Receive: 1
  • Posts: 178
  • Karma: +1/-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

  • Jr. Member
  • **
  • Thank You
  • -Given: 17
  • -Receive: 2
  • Posts: 74
  • Karma: +0/-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
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 208
  • Posts: 2995
  • Karma: +38/-0
    • 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.