Intrastat file POR
Use this function to generate Portuguese Intrastat files.
To comply with Portuguese Intrastat filing regulations, you need to generate 2 different files: 1 file to declare the arrivals and 1 file for the dispatches.
You can upload the Intrastat files to the Statistics Portugal Institute website: http://webinq.ine.pt/aderentes.
The declaration files are generated in the following location: DEC/INTRASTAT/legislation/company_year/month.
File format
| Order | Field name | Size | Sage X3 field |
|---|---|---|---|
| 1 | FLUXO | 8 | - |
| 2 | PERIODO | 6 | [F:DEB]DEBDAT |
| 3 | NIF | 9 | [F:CPY]EECNUM |
| 4 | REF | Max. 30 | - |
| 5 | NC | 8 or 9 | [F:DEB]CUSREF |
| 6 | PAIS | 2 | [F:DEB]DESCRY |
| 7 | PORIGEM | 2 | [F:DEB]ORICRY |
| 8 | REGIAO | 2 | [F:TMD]REGION |
| 9 | CODENT | 3 | [F:DEB]EECICT |
| 10 | NATTRA | 2 | [F:DEB]EECNAT |
| 11 | MODTRA | 1 | [F:DEB]ECCTRN |
| 12 | AERPOR | 3 | [F:TMD]PORT |
| 13 | MASSA | 9+3 | [F:DEB]NETMAS |
| 14 | UNSUP | 10 | [F:DEB]EECUNIT |
| 15 | VALFAC | 9 | [F:DEB]FISAMT |
| 16 | VALEST | 9 | [F:DEB]STAAMT |
The fields are separated by a ";".
Example
FLUXO;PERIODO;NIF;REF;NC;PAIS;PORIGEM;REGIAO;CODENT;NATTRA;MODTRA;AERPOR;MASSA;UNSUP;VALFAT;VALEST;
INTRA-CH;201203;501111111;leveduras 125;21021090;ES;ES;31;FCA;11;3;;520;;3030;;
INTRA-CH;201203;501111111;ref: 500800;39211900;FR;FR;34;FCA;11;3;;0,668;;4119;;
INTRA-CH;201203;501111111;ref: 1258;41131000;ES;ES;33;CIF;11;3;;1829,88;170;7302;;
Prerequisites
Refer to documentation Implementation
Screen management
Entry screen
The generated data is based on the company, the declaration type, and the previous declaration end date.
Criteria entry
| Company (CPY) |
|
The declaration company. The company needs to be associated with the Portuguese legislation. |
| Flow (FLO) |
| The declaration type: Arrivals or Dispatches. |
| Date (DAT) |
| The declaration end date. |
Error messages
The only error messages are the generic ones.
Tables used
Refer to documentation Implementation