Declarations > Audit > Portugal > Processes > SAF-T extraction > SAF-T extraction - Implementation 

Prerequisites

Activity codes

The following activity codes (sorted by type) may have an impact on the way the function operates :

 SAFT : SAF-T

Parameters concerned

The following general parameters may change the way the function is working :

Localisations

 LEDTYPS (defined at level Company) : Ledger type

 PORPYR (defined at level Company) : Local pyramid

 SAFTACCRET (defined at level Company) : Root account withholding

 SAFTPRDKIT (defined at level Company) : Communication of the kit

 SAFTPRIRN (defined at level Company) : Net price rounding

Common Data

 SAFTEXP (defined at level User) : Path

 SAFTPGROU (defined at level Company) : Product group

Miscellaneous prerequisite

The Tax classification of the tax code must be complete. This means that for each tax code, you must specify the region connected to the transaction origin (Main land, Azores or Madeira) and the tax level (reduced rate, intermediate rate, normal rate, exemption rate, and other).

For accounts exported once the balance from the previous fiscal year is exported, you need to run the year-end simulation if the previous fiscal year is not closed to make sure values from the zero period are properly loaded.

Tables used

The following tables are implemented by the function :

Table

Table description

BALANCE [BAL]

General balance

BPADDRESS [BPA]

Addresses

BPCINVLIG [SIL]

Customer invoice lines

BPCUSTOMER [BPC]

Customers

GACCENTRY [HAE]

Accounting entries

GACCENTRYD [DAE]

Accounting entry lines

GACCOUNT [GAC]

Accounts

ITMCATEG [ITG]

Product category

ITMMASTER [ITM]

Products

SINVOICE [SIH]

Sales invoices

SINVOICED [SID]

Sales invoice detail

SINVOICEV [SIV]

Costing sales invoice

TABSIVTYP [TSV]

Customer invoice type table

VATCLS [VCL]

Tax classification