Structure of the csv file and filling in information for Intrastat
The following chapters explain where the information reported in Intrastat is obtained from. When reading these chapters, it is necessary to take into account from which documents Intrastat is to be calculated. There are cases where some of the data needed for Intrastat differ for invoices and stock documents (release notes and receipt cards). If the Intrastat document is to be calculated from items of both types of documents (i.e. invoices out and release notes for Sending, invoices in and receipt cards for Acceptance), stock documents take precedence.
Example: so if there is an item that has both a release note and an invoice out, but the release note is, say, unconfirmed, this item does not get into the Intrastat document, even if the invoice out document met the conditions.
Month - Column A
Month number from the Date to field.

Picture: Declaration month
Year - Column B
Year from the Date to information in the yyyy format.

Picture: Declaration year
VAT Reg. No. - Column C
The value in the VAT Reg. No. field of the company from the Intrastat book, as set in the Multi company administration, is displayed.

Picture: VAT Reg. No.
Direction - Column D
The Number field from the Direction book of the document (Basic data tab)

Picture: Direction of declaration
VAT Reg. No. of Partner (Sending only) - Column E
If the VAT Reg. No. of the partner is not found, IS K2 (in accordance with legislation) sets the code QV123.
Information about the VAT Reg. No. of the business partner. If a delivery address is entered on the document, the VAT Reg. No. of Partner column is filled with the versioned value from the VAT Reg. No. field of the record inserted in the delivery address.

Picture: VAT Reg. No. of Partner from the delivery address
If the Intrastat document is to be calculated from invoices out and no delivery address is entered on the invoice out, the value from the VAT Reg. No. field is filled in, which we open by pressing the Comp. Reg. No., VAT Reg. No. button on the Basic data tab of the invoice out document.

Picture: VAT Reg. No. of Partner from the invoice out document
If it is not entered on the invoice document, or if the Intrastat document is to be calculated from release notes, the value is taken from the versioned VAT Reg. No. field for the value from the Customer field of the invoice or release note document.

Picture: VAT Reg. No. of Partner from the VAT Reg. No. field of the customer card
Note 1: If there is an invoice out document created from an e-shop, it is likely that the customer field contains a record representing a generic customer and the actual customer is stated in the delivery address. If this situation occurs and the given generic record does not have a country filled in (this record usually has no address filled in), or the country "CZ" is stated there, then in such a case the VAT Reg. No. is taken from the customer card inserted in the delivery address, or, if the delivery address is entered as a simple one, the VAT Reg. No. is taken from the invoice header. If it is not entered, it is filled with QV123.
Country of destination (Sending only) - Column F
The column displays the country code according to the following logic:
If the value is filled in on the sales document item (release note or invoice out), this value is displayed in Intrastat (regardless of whether there is a different value in the header or in the addresses).

Picture: Country of destination from the invoice out item
If the Country of destination is not filled in on the document item ( Intrastat tab - Country of destination field), column E displays the country code value from the Country of destination field of the invoice out/release note document (Basic data tab and Intrastat button).

Picture: Country of destination from the Intrastat tab (Invoices Out - Basic data)
If it is not entered here either, the country code in the customer's Delivery address is determined.
Example: If the Country of destination field is filled in neither on the sales item nor in the header of the invoice out or release note (depending on the setting of which documents Intrastat is to be calculated from), the country code value selected in the delivery address is taken into Intrastat. In the picture, it is the country A (Austria). However, it is not the country abbreviation that is taken into Intrastat (i.e. "A"), but the value from the Country code field, "AT" - see the Countries code list).

Picture: Country of destination from the delivery address
If no delivery address is entered, the country code value from the basic address is displayed (the address in the Customer (Supplier) field on the Basic data tab of the invoice out or release note).

Picture: Country of destination from the customer address
If it is a credit note for an invoice in or a credit note for a receipt card that is to be displayed in Intrastat - sending, the Country of destination in Intrastat is filled with the value from the Country of dispatch field on the purchase item.

Picture: Country of destination from the credit note item of the invoice in/receipt card,
If it is not filled in on the item, column E displays as the country of destination the country code value filled in the Country of dispatch field on the Basic data tab of the invoice in or release note, under the Intrastat button.

Picture: Country of destination from the credit note invoice of the invoice in
If it is filled in neither in the item nor in the header of the purchase document from which the Intrastat document can be calculated (in this case, an invoice in or receipt card), the Country of destination value is filled with the value from the Correspondence addresses.
Example: If the Country of dispatch field is filled in neither on the item of the credited invoice in/receipt card nor in the header of the credit note for the invoice in or the credit note for the receipt card, the country code value selected in the correspondence address is taken into Intrastat as the Country of destination. However, it is not the country abbreviation that is taken into Intrastat, but the value from the Country code field - see the Countries code list.

Picture: Country of destination from the correspondence address of the credited invoice in
If the correspondence address is not filled in, it is filled with the value from the supplier's address (see the picture above - Country of destination from the customer address)
Country of dispatch (arrival) - F
The column displays the country code according to the following logic:
If the Country of dispatch from invoice VAT Reg. No. field is checked in the Intrastat calculation parameters and the VAT Reg. No. field is filled in on the invoice in, the first characters of this field are filled into the Country of dispatch information. The information from the VAT Reg. No. field takes precedence over the information from the invoice item or from the header (see below). The Country of dispatch from invoice VAT Reg. No. parameter does not apply to the case where the Intrastat document is calculated only from receipt card documents.
If the Country of dispatch from invoice VAT Reg. No., field is not checked, or the VAT Reg. No. field on the invoice in is empty, or the Intrastat document is to be calculated only from receipt cards, then if the value is filled in on the invoice in/receipt card item, this value is displayed in Intrastat (regardless of whether there is a different value in the header or in the addresses).

Picture: Country of dispatch from the invoice in/receipt card item
If the Country of dispatch is not filled in on the document item ( Intrastat tab - Country of dispatch field), column E displays the country code value from the Country of dispatch field from the Basic data tab of the invoices in/receipt cards (Intrastat button).

Picture: Country of dispatch from the Intrastat tab (Invoices In - Basic data)
If it is not entered here either, the country code value from the supplier's delivery address is displayed (the delivery address in the Supplier field on the Basic data tab of the invoice in or receipt card). If there are several delivery addresses, the country of dispatch is filled in from the delivery address marked with the default icon (
). If none is marked as default, the country of dispatch is filled in from the first delivery address. (Note: in delivery addresses, the country is usually displayed as an abbreviation, not as the official code. Intrastat, however, uses the official code. The Country of dispatch in the picture below will therefore be "BE").

Picture: Country of dispatch from the supplier's delivery address (marked with an asterisk)
If the supplier has no delivery addresses entered, the country of dispatch is taken from the basic address of the invoice or receipt card document.

Picture: Country of dispatch from the supplier address
If it is a credit note for an invoice out or a credit note for a release note that is to be displayed in Intrastat - acceptance, the Country of dispatch in Intrastat is filled with the value from the Country of destination field on the invoice out/release note item.

Picture: Country of dispatch from the credit note item of the invoice out
If it is not filled in on the item, column E displays as the country of dispatch the country code value filled in the Country of arrival field on the Basic data tab of the invoice out/release note (Intrastat button on the Basic data tab).

Picture: Country of dispatch from the credit note of the invoice out
If it is filled in neither in the item nor in the header of the invoice out or release note, the Country of dispatch is filled with the value from the Delivery address.
Example: If the Country of destination field is filled in neither on the item of the credited invoice out nor in the header of the credit note for the invoice out, the country code value from the Delivery address is filled into Intrastat as the Country of dispatch. However, it is not the country abbreviation that is taken into Intrastat, but the value from the Country code field - see the Countries code list.

Picture: Country of dispatch from the delivery address of the credited invoice out
If the information is not filled in in the header of the credited invoice, it is filled with the value from the customer's address.

Picture: Country of dispatch from the customer address of the credited invoice
Region of origin - Column G
Not filled in since 1 Jan 2011. The column remains empty.
Country of origin (Acceptance only) - Column H
If the Country of origin from the supplier's address flag is checked in the Intrastat calculation parameters on the Acceptance tab, and if the supplier from the invoice in/receipt card entering Intrastat has a delivery address filled in on the Supplier card, the country from the delivery address on the Supplier card is filled into the Country of origin field in Intrastat.

Picture: Country of origin from the supplier's address
If the supplier has several addresses filled in and one of them is set as default, the country of origin is filled in from this marked address. In the situation shown in the picture below, the country Belgium from the delivery address marked as default (
) would get into the Country of origin field. (Note: in delivery addresses, the country is usually displayed as an abbreviation, not as the official code. Intrastat, however, uses the official code. The Country of origin in the picture below will therefore be "BE").

Picture: Supplier with several delivery addresses
If there are several delivery addresses and none of them is marked with an asterisk, the country from the first delivery address is filled into the country of origin.
If the supplier has no delivery address filled in, the value of the country from the Address field is filled into the country of origin. However, if a value is filled in in the Country of origin field on the purchase item, this value takes precedence over the above.

Picture: Country of origin when the Country of origin from the supplier's address flag is checked and there are no delivery addresses
If the Country of origin from the supplier's address parameter is not checked, the Country of origin field in the Intrastat - acceptance declaration takes over the Country code value in the Country of origin field on the batch (values entered on the document item, on the article card, etc. are no longer taken into account)

Picture: Country of origin in the Country of origin field on the batch
If the Country of origin is not entered on the batch, the value from the Country of origin field on the purchase item is filled in (Basic data tab).
Note: The Country of origin information is not located on the Intrastat tab, but on the Basic data tab.

Picture: Country of origin from the invoice in item
If the Country of origin field on the purchase item is not filled in, the Country code value from the Country of origin field on the Article card (Purchase tab) is filled in.

Picture: Country of origin from the Article card
If it is not filled in here either, the value entered in the Country of origin field in the Intrastat calculation parameters (Acceptance tab) is filled into the Intrastat declaration.

Picture: Country of origin from the Intrastat calculation parameters
In the case of a credit note (an item of an invoice out or release note with a negative quantity that does not have the Credit notes - Dispatches flag checked in the header), the logic for filling in the Country of origin value is the same.
Country of origin (Sending only) - column H
If the Country of origin from own company flag is checked in the Intrastat calculation parameters on the Sending tab, the country from the Company value of the Intrastat book is filled into the Country of origin field in Intrastat.

Picture: Country from the own company of the Intrastat book
If the Country of origin from own company parameter is not checked, the Country of origin field in the Intrastat - sending declaration takes over the value from the Country of origin field from the batch on the sales item (see the picture Country of origin from batch). If it is not entered here, the value from the Country of origin field on the sales item is taken (see the picture Country of origin from sales item). If it is not filled in here either, the value from the Country of origin field from the Article card is taken.(see the picture Country of origin from article card) If it is not filled in here either, it is filled according to the value set in the Country of origin field in the Intrastat parameters on the Sending tab.

Picture: Country of origin from batch
If the Country of origin is not entered on the batch, the value from the Country of origin field on the sales item is filled in (Basic data tab).

Picture: Country of origin from the VF item
If the Country of origin field on the sales item is not filled in, the Country code value from the Country of origin field from the Article card is filled in.

Picture: Country of origin from the Article card
If it is not filled in here either, the value entered in the Country of origin field in the Intrastat calculation parameters (Sent tab) is filled into the Intrastat declaration.

Picture: Country of origin from the Intrastat calculation parameters
In the case of a credit note (an item of an invoice in or receipt card with a negative quantity that does not have the Credit notes - Arrivals flag checked in the header), the logic for filling in the Country of origin value is the same.
Transaction - Column I
If the value is filled in on the document item, this value is displayed in Intrastat (regardless of whether it is in the header or in the Intrastat calculation parameters).

Picture: Transaction field on the invoice item
If the value is not filled in on the document item, the value from the Transaction field from the document header is used (Intrastat button on the Basic data tab).

Picture: Transaction field (Intrastat form)
If the Transaction field is filled in neither on the item nor in the document header, the value from the Transaction field of the Intrastat parameters is used in Intrastat, on the Sending tab (if the direction is Intrastat - Sending) or on the Acceptance tab (if the direction is Intrastat - Acceptance).

Picture: Transaction field from the Intrastat calculation parameters - Sending tab
Mode of transport - Column J
If the value is filled in on the sales/purchase item, this value is displayed in Intrastat (regardless of whether the value is also filled in in the header or in the Intrastat parameters).

Picture: Mode of transport field on the document item
If the value is not filled in on the document item, the value from the Mode of transport field is used, which is in the Method of transport code list on the Basic data tab of the invoice out, invoice in, release note or receipt card document.

Picture: Mode of transport field (Method of transport code list)
If the mode of transport is not filled in on the document item, nor is the Mode of transport field filled in in the Method of transport field, but the Mode of transport field is filled in on the Intrastat. form (which is displayed after pressing the Intrastat button on the Basic data tab of the document), the value from this field is used in Intrastat. This field does not take into account the Mode of transport value of the field in the Method of transport. If the Mode of transport field is also entered in the Method of transport field, the value from the Mode of transport field under the Intrastat button gets into Intrastat.

Picture: Mode of transport field from the Intrastat tab
If the Mode of transport field is filled in neither on the item, nor on the 1st page of the document on the Intrastat tab, nor in the Method of transport field, the value from the Mode of transport field of the Intrastat parameters is used in Intrastat, on the Sending tab (if the direction is Intrastat - Sending) or on the Acceptance tab (if the direction is Intrastat - Acceptance).

Picture: Mode of transport field from the Intrastat calculation parameters - Sending tab
Delivery terms - Column K
If the value is filled in on the sales/purchase item, this value is displayed in Intrastat (regardless of whether it is in the document header or in the Intrastat parameters). Values in the Delivery terms code list can be entered as INCOTERMS terms, i.e. a three-character abbreviation (e.g. FCA, EXW), or directly as a Delivery terms group code (values K, L, M or N). The script that exports the Intrastat document to a csv file is prepared for both variants.

Picture: Delivery terms field on the sales item
If the value is not filled in on the sales/purchase item, the value from the Delivery terms field from the document header is used (the Intrastat form opened with the Intrastat button on the Basic data tab of the invoice out, invoice in, receipt card or release note document). This field is filled according to the value of the same name from the parent document (i.e. Sales order or Purchase order). If the invoice out, invoice in, receipt card or release note is a free document, the value of this field is filled according to the value of the same name from the customer/supplier card. If it is not filled in there, it can be filled in only when creating or editing the document.

Picture: Delivery terms field (the Intrastat form opened from the Basic data tab of the document)
If the Delivery terms field is filled in neither on the item nor in the document header, the value from the Delivery terms field of the Intrastat parameters is used in Intrastat, on the Sending tab (if the direction is Intrastat - Sending) or on the Acceptance tab (if the direction is Intrastat - Acceptance).

Picture: Delivery terms field from the Intrastat calculation parameters - Sending tab
Special movement - Column L
If the value is filled in on the sales/purchase item, this value is displayed in Intrastat

Picture: Special movement field on the sales/purchase item
Customs tariff - Column M
If a value is entered in the Customs tariff field on the document item on the Intrastat tab, this value is displayed in Intrastat. This field can be filled in if it is an article that has no customs tariff entered on its card, or if the customs tariff for this item is to be different from the one entered on the article card.

Picture: Customs tariff on the invoice item
If the Customs tariff field on the document item is not filled in, the value entered in the Customs tariff field on the Article. card is displayed

Picture: Customs tariff value
Statistical code - Column N
The statistical code is located in the Customs tariff field on the Article card. It is the 9th and 10th character (Note: Most of the combined nomenclature (customs tariff) has no statistical code).
Article description - Column O
Information from the Description field in the customs tariff.

Picture: Article description
Weight - Column P
If the Net weight (kg) field on the document item is filled in, the value from this field is filled into Intrastat. The values will be summed for all items forming the Intrastat item.

Picture: Weight field on the document item
If the Net weight (kg) field on the document item is not filled in, the summed value from the TotalNettoWeightCalc field of the individual document items forming the Intrastat item is filled in. This field takes into account the net weight entered on the Article card for the relevant unit of measure.
Quantity - Column Q
The quantity is reported in the unit of measure for Intrastat, which is entered on the Tax and posting tab on the Article card. The ratio between this unit of measure and the basic unit of measure, which is set in the Units of measure section on the Basic data tab on the Article card, is also stated here. Defining the ratio between the basic unit of measure and the unit intended for Intrastat, and then setting the ratio between the individual units of measure (the Units of measure section) in which the article can be traded, ensures that whatever defined unit of measure the article is traded in (set on the Article card in the Units of measure section), the value is always calculated for the unit of measure in which the article is to be calculated for Intrastat.

Picture: Quantity in the sold unit of measure

Picture: Units of measure of the article card. Ratio between the basic unit "ks" and the unit "box".
Invoiced value - Column R
If a document item entering Intrastat is to have a value different from the invoiced net value, the Invoiced value field can be filled in on the document item. If the Invoiced value field on the document item is filled in, the value from this field is filled into Intrastat. The amount entered in this field is entered in the document currency. When entering Intrastat, it is converted to the company currency according to the exchange rate of the taxable supply of the item.

Picture: Invoiced value from the invoice item
If the Invoiced value field of the invoice item is not filled in, the value of the net invoice price converted to the company currency at the exchange rate of the taxable supply gets into Intrastat. The Invoiced value field on the document item is intended only for the Intrastat calculation and does not affect anything else.