Setting up Intrastat (changes)
On the Company Information card, you must specify the Intrastat contact which can be an entity of either a contact or a vendor. This is done by filling the two fields on the Intrastat tab:
- Intrastat Contact Type
Select the type of entity you have created as the Intrastat authority. If you have financial involvement with the Intrastat authority this would normally be a vendor.
- Intrastat Contact No.
Select the specific contact or vendor to use as the Intrastat contact. Information from the selected entity is exported to the Intrastat XML file.
Exporting the Intrastat file
Exporting an Intrastat file is done at the Intrastat Journal by using the function "Create File" from the ribbon.
When you execute the Create File function, a request page is shown:
Here you can now select to export as XML in the “Export Format Type”.
You can also use to export in the legacy ASCII format.
Notice the Test Submission field.
If this field is not selected the Intrastat Journal Batch will be marked as “Reported”.
If you select it, the Intrastat Journal Batch will not be marked as “Reported” and the following node and value will be added to the exported XML file:
<testIndicator>true</testIndicator>
Selecting the field also replaces the company number reference in the file with the text “XGTEST”, indicating to the Intrastat authorities that this file is a test file.
For reference the below illustrates which information is exported to the Intrastat XML file:
Mapping of Intrastat XML fields.
XML root node
|
XML parent node
|
XML child node
|
Source NAV table
|
Source NAV table field
|
envelopeId
|
|
Company Information
|
"Company No."-YYYYMM-YYYYMMDD-HHMM
|
Party.sender
|
partyId
|
"Area"|"Registration No."|"Agency No."
|
partyName
|
"Name"
|
interchangeAgreementId
|
"Company No."
|
address
|
streetName
|
"Address"
|
postalCode
|
"Post Code"
|
cityName
|
"City"
|
countryName
|
"Country/Region Code".Name
|
Party.receiver
|
partyId
|
Vendor\Contact (depending on "Intrastat Contact Type")
|
"00"
|
partyName
|
"Name"
|
interchangeAgreementId
|
-
|
address
|
streetName
|
"Address"
|
postalCode
|
"Post Code"
|
cityName
|
"City"
|
countryName
|
"Country/Region Code".Name
|
Declaration
|
currencyCode
|
Intrastat Journal Batch
|
"Currency Identifier"
|
PSIId
|
Company Information
|
Party.sender.<partyId>
|
Item
|
itemNumber
|
Intrastat Journal Line
|
"Internal Ref. No."
|
CN8Code
|
"Tariff No."
|
goodsDescription
|
"Item Description"
|
MSConsDestCode
|
"Country/Region Code"."Intrastat Code"
|