OECD SAFT-T

The SAFT-T(Standard Audit File for Tax purposes) is an international standard for electronic exchange of accounting data from companies and organizations with the national tax autority. This standard file is defined by OECD (Organisation for Economic Co-operation and Development), but each country adopts his own SAFT-T file, which is an extension to the OECD file.
For more information you should check the following links:

Portuguese Law and Financial rules

Software Certification

The portuguese law about billing software demands that all companies that issue or use documents relating to product transactions must use a certified software to process that information. The software must export the SAFT-T PT, invoices, simple invoices, credit notes and debit notes. The software secures, persists and grants authenticy to all documents it generates.
For more information check the following links:

Portuguese SAFT

The portuguese SAFT is an extension to OECD SAFT file, which add new entries to the default file and changes some of the existing ones from optional to mandatory, for more information you should see the following links:

SAFT-PT validators