Skip to content

assoft-portugal/SAF-T-AO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAF-T AO

GitHub All Releases GitHub issues GitHub tag (latest SemVer) License Discussion

Official XSD from the Government of Angola for use in SAF-T AO. The purpose of this schema is to standardize the format of tax-related data, facilitating auditing and compliance with Angolan tax regulations.

The Standard Audit File for Tax Purposes (SAF-T) is a standardized XML file used for exporting the accounting information of a company to the tax authorities. The file contains accounting data that can be exported from an original accounting system for a specific time period.

The SAF-T file is based on a directive by the Organization for Economic Co-operation and Development (OECD).

Oracle, JD Edwards EnterpriseOne Applications OECD Standard Audit File for Tax Purposes (SAF-T) Localizations Implementation Guide.

VAT implementation in Angola

The VAT legislation will take effect starting in October 2019. The deadline applies to software billing solutions, SAF-T file, and invoicing rules:

  • Software solutions must follow the requirements of the new legal system in order to process sales documents, invoices, and other financial documents in accordance with the legal framework. This rule applies to all the subjects of the VAT scheme.
  • Software creators must apply to a software certification program by the government which is mandatory.
  • Starting from 1 January 2020 it will be mandatory to produce a monthly SAF-T file and send it to the government tax authorities.
  • From 1 January 2020, all taxpayers with an annual turnover of more than AKZ 50,000,000 will be required to produce the above referred SAF-T files and use certified software.

Schema Structure

The XML schema is organized into the following main elements:

  • AuditFile: The root element containing all audit file data.
  • Header: Metadata about the audit file.
  • MasterFiles: Master data files such as general ledger accounts, customers, suppliers, products, and tax tables.
  • GeneralLedgerEntries: General ledger entries.
  • SourceDocuments: Source documents such as sales invoices, purchase invoices, and movement of goods.

XML Validation

Unix

Windows

Installing xmllint

sudo apt install libxml2-utils

XML validation against XSD

xmllint -schema schema.xsd file.xml --noout

Contributors

This project exists thanks to all the people who contribute. [Contribute].