Table

Intrastat

Intrastat

Holds the Intrastat lines that report goods moving between countries or regions. Each line is identified by a shipment batch (DispatchId) and a sequence number. Lines record the item, quantity, weight, values, country, transaction code and transport details, and can point back to the source invoice or packing slip. Some fields are used only for specific countries.

Table name
Intrastat
Module
Intrastat
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
TransNumIdx
Replacement key
TransNumIdx
Key fields
DispatchId, SeqNum
Model
Foundation

Fields (93)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DispatchIdIdentifier of the shipment batch. Forms the key together with the sequence number.String (20)
IntrastatDispatchId
YesIntrastatEntityIntrastatEntityV2
SeqNumSequence number of the line within the shipment batch.Integer
IntrastatSeqNum
YesIntrastatEntityIntrastatEntityV2
AccountNumCustomer or vendor account that the line relates to.String (20)
CustVendAC
NoCustTable.AccountNumVendTable.AccountNumIntrastatEntityIntrastatEntityV2
AdditionalQtyQuantity in the additional unit.Real
Qty
NoNone
AdditionalQtyUnitUnit of measure used for the additional quantity.String
UnitOfMeasureSymbol
NoIntrastatEntityIntrastatEntityV2
AdditionalUnitsQuantity expressed in the additional (supplementary) unit.Real
Qty
NoIntrastatEntityIntrastatEntityV2
AmountCurInvoice amount in the currency of the transaction.Real
AmountCur
NoIntrastatEntityIntrastatEntityV2
AmountCurOrigOriginal amount in the transaction currency.Real
AmountCur
NoNone
AmountMSTInvoice amount in the company's accounting currency.Real
IntrastatAmount
NoIntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more
AmountMSTOrigOriginal amount in the accounting currency.Real
IntrastatAmount
NoNone
CategoryProduct category, pointing to a category record.Int64
EcoResCategoryId
NoEcoResCategory.RecIdIntrastatEntityIntrastatEntityV2
CompanyIntrastatReportCurrencyCodeCurrency used for Intrastat reporting, based on the tax registration.String (3)
CurrencyCode
NoNone
CompressShows whether the line is compressed (combined) with other lines.low confidenceEnum
IntrastatCompress
NoYes (enum)
NoIntrastatEntityIntrastatEntityV2
ConsignmentsNumber of consignments on the line.Integer
IntrastatConsignments
NoIntrastatEntityIntrastatEntityV2
ContainerYes/No flag showing whether the goods travel in a container.Enum
NoYes (enum)
NoIntrastatEntityIntrastatEntityV2
CorrectYes/No flag marking the line as a correction.Enum
NoYes (enum)
NoIntrastatEntityIntrastatEntityV2
CorrectedFileNumber_ITNumber of the statement being corrected; used for Italy.String (60)
IntrastatCorrectedFileNumber_IT
NoIntrastatEntityIntrastatEntityV2
CorrectedTransactionId_ITIdentifier of the original Intrastat record that is corrected; used for Italy.String (5)
IntrastatCorrectedTransactionId_IT
NoIntrastatEntityIntrastatEntityV2
CountryRegionIdCountry or region of the trading partner for the line.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdIntrastatEntityIntrastatEntityV2
CountyCounty of origin or destination of the goods.String (30)
AddressCountyId
NoIntrastatEntityIntrastatEntityV2
CurrencyCodeCurrency of the transaction, linked to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeIntrastatEntityIntrastatEntityV2
CurrencyCodeOrigOriginal currency of the transaction.String (3)
CurrencyCode
NoNone
CurrentAgreementYes/No flag for a current agreement.low confidenceEnum
NoYes (enum)
NoIntrastatEntityIntrastatEntityV2
CustomsCode_ITCustoms code for the line; used for Italy.String (60)
IntrastatCustomsCode_IT
NoIntrastatEntityIntrastatEntityV2
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebCredTypeSource type of the line: inventory, customer or vendor.Enum
ModuleInventCustVend (enum)
NoIntrastatEntityIntrastatEntityV2
Description_PLFree-text description of the goods; used for Poland.String (1000)
ItemFreeTxt
NoIntrastatEntityIntrastatEntityV2
DirectionWhether the goods are arrivals or dispatches.Enum
IntrastatDirection (enum)
NoIntrastatEntityIntrastatEntityV2
DlvModeMode of delivery, linked to the delivery mode table.String
DlvModeId
NoDlvMode.CodeIntrastatEntityIntrastatEntityV2
DlvTermTerms of delivery, linked to the delivery terms table.String
DlvTermId
NoDlvTerm.CodeIntrastatEntityIntrastatEntityV2
FulfillmentDate_HUDate on which the Intrastat transaction was fulfilled; used for Hungary.Date
IntrastatFulfillmentDate_HU
NoIntrastatEntityIntrastatEntityV2
IntrastatCommodityCommodity (goods code), pointing to a category record.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdIntrastatEntityIntrastatEntityV2
IntrastatSpecMove_CZSpecial movement code, linked to the special movement table; used for the Czech Republic.String (2)
IntrastatSpecMove_CZ
NoIntrastatSpecMovement_CZ.SpecialMovement_CZIntrastatEntityIntrastatEntityV2
InventTransIdLot ID of the inventory transaction that the line comes from.String (20)
InventTransId
NoInventTransOrigin.InventTransIdIntrastatEntityIntrastatEntityV2
InvoiceIdInvoice number related to the line.String (50)
InvoiceId
NoIntrastatEntityIntrastatEntityV2
InvoiceMarkupCurInvoice charges in the transaction currency.Real
MarkupAmount
NoIntrastatEntityIntrastatEntityV2
InvoiceMarkupCurOrigOriginal charges amount in the transaction currency.Real
MarkupAmount
NoNone
InvoiceMarkupMSTInvoice charges in the accounting currency.Real
MarkupAmountMST
NoIntrastatEntityIntrastatEntityV2
InvoiceMarkupMSTOrigOriginal charges amount in the accounting currency.Real
MarkupAmountMST
NoNone
ItemCodeIdCommodity code as text. The EDT name suggests it is obsolete.low confidenceString
DEL_IntrastatItemCodeId
NoNone
ItemIdItem number, linked to the item table.String (20)
ItemId
NoInventTable.ItemIdIntrastatEntityIntrastatEntityV2
ItemType_ITShows whether the item is goods or services; used for Italy.Enum
IntrastatItemType_IT (enum)
NoIntrastatEntityIntrastatEntityV2
LogText log entry for the line.low confidenceString (255)
LogText
NoIntrastatEntityIntrastatEntityV2
MarkupAmount of statistical charges.Real
MarkupAmount
NoIntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more
MarkupCurCharges amount in the transaction currency.Real
MarkupAmount
NoNone
MarkupCurOrigOriginal charges amount in the transaction currency.Real
MarkupAmount
NoNone
MarkupMSTOrigOriginal charges amount in the accounting currency.Real
MarkupAmount
NoNone
MarkupPctCharges expressed as a percentage.Real
IntrastatMarkupPct
NoIntrastatEntityIntrastatEntityV2
MiscChargePerKgOther charges worked out for each kilogram.Real
IntrastatMarkupPerKg
NoIntrastatEntityIntrastatEntityV2
MonthsOfYearMonth of the reporting period.Enum
MonthsOfYear (enum)
NoIntrastatEntityIntrastatEntityV2
NetWeightByUnitNet weight of one unit of the item.Real
Weight
NoIntrastatEntityIntrastatEntityV2
NGPCodesTable_FRNGP code, pointing to the NGP code table; used for France.Int64
NGPCodesTableFRId
NoNGPCodesTable_FR.RecIdIntrastatEntityIntrastatEntityV2
OrderTypeIntrastat order type: order, correction or return.Enum
IntrastatOrderType (enum)
NoIntrastatEntityIntrastatEntityV2
OrigCountryRegionIdCountry or region where the goods originate.String
ItemOrigCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdIntrastatEntityIntrastatEntityV2
OrigCountyCounty where the goods originate.String (30)
ItemOrigCountyId
NoIntrastatEntityIntrastatEntityV2
OrigStateState where the goods originate.String
ItemOrigStateId
NoIntrastatEntityIntrastatEntityV2
PackingSlipIdIdentifier of the packing slip or product receipt related to the line.String (20)
PackingSlipId
NoIntrastatEntityIntrastatEntityV2
PartDeliveryYes/No flag for a partial consignment.Enum
NoYes (enum)
NoIntrastatEntityIntrastatEntityV2
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentMethod_ITPayment method code; used for Italy.Enum
IntrastatPaymentMethod_IT (enum)
NoIntrastatEntityIntrastatEntityV2
PortPort, linked to the port table.String
IntrastatPortId
NoIntrastatPort.PortIdIntrastatEntityIntrastatEntityV2
PreferencePreference code for the line.low confidenceInteger
IntrastatPreference
NoIntrastatEntityIntrastatEntityV2
QtyQuantity of goods on the line.Real
Qty
NoIntrastatEntityIntrastatEntityV2
QuarterOfYearQuarter of the reporting period.Enum
QuarterOfYear (enum)
NoIntrastatEntityIntrastatEntityV2
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
relationRelation code for the line.low confidenceInteger
IntrastatRelation
NoIntrastatEntityIntrastatEntityV2
SendReceiveCountryRegionIdCountry or region of the sender.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdIntrastatEntityIntrastatEntityV2
SendReceiveStateState of the sender.String
LogisticsAddressStateId
NoIntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more
ServicesDelivery_ITDelivery schedule for services: none, single or multiple deliveries; used for Italy.Enum
IntrastatServicesDelivery_IT (enum)
NoIntrastatEntityIntrastatEntityV2
StateState or province linked to the line.String
LogisticsAddressStateId
NoIntrastatEntityIntrastatEntityV2
StatisticalAdjustmentAmountAmount of the statistical adjustment.Real
IntrastatStatisticalAdjustmentAmount
NoIntrastatEntityIntrastatEntityV2
StatisticalValueStatistical amount of the goods.Real
IntrastatStatisticalValue
NoIntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more
StatisticalValueCurStatistical value in the transaction currency.Real
IntrastatStatisticalValue
NoNone
StatisticalValueCurOrigOriginal statistical value in the transaction currency.Real
IntrastatStatisticalValue
NoNone
StatisticalValueMSTOrigOriginal statistical value in the accounting currency.Real
IntrastatStatisticalValue
NoNone
StatProcIdStatistics procedure code, linked to the statistics procedure table.String
IntrastatProcId
NoIntrastatEntityIntrastatEntityV2
StatTransDirection code of the transaction.String
IntrastatStatTrans
NoIntrastatEntityIntrastatEntityV2
StatusTransDirection of the transaction as a number.low confidenceInteger
IntrastatDirectionId
NoIntrastatEntityIntrastatEntityV2
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TarifTariff number of the goods.Integer
IntrastatTarif
NoIntrastatEntityIntrastatEntityV2
TaxIdTax registration number, pointing to a registration record.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdIntrastatEntityV2
TransactionCodeTransaction code, linked to the transaction code table.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeIntrastatEntityIntrastatEntityV2
TransDateDate of the transaction.Date
TransDate
YesIntrastatEntityIntrastatEntityV2
TransferOrderStatValueStatistical value, used for transfer orders.Real
StatisticalValue
NoNone
TransportModeTransport method, linked to the transport mode table.String
IntrastatTransport
NoIntrastatTransportMode.TransPortCodeIntrastatEntityIntrastatEntityV2
TransRecIdSystem record ID of the source line, such as a customer invoice line.Int64
IntrastatRefRecId
NoIntrastatEntityIntrastatEntityV2
TransTableIdID of the table that holds the source record.Integer
IntrastatRefTableId
NoIntrastatEntityIntrastatEntityV2
UpdateNumNumber of the update that created the line.low confidenceString (20)
Num
NoIntrastatEntityIntrastatEntityV2
VATNumTax exempt number of the partner.String (20)
VATNum
NoIntrastatEntityIntrastatEntityV2
WeightWeight of the goods on the line.Real
Weight
NoIntrastatEntityIntrastatEntityV2
YrYear of the correction.Integer
YearBase
NoIntrastatEntityIntrastatEntityV2

Indexes (5)

Relations (26)

Each relation joins Intrastat to another table on the fields shown.

  • Category → EcoResCategory

    Join on Category = EcoResCategory.RecId

    Many Intrastat records → zero or one EcoResCategory record

  • CountryRegionId → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many Intrastat records → zero or one LogisticsAddressCountryRegion record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many Intrastat records → zero or one Currency record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on TransTableId = CustInvoiceTrans.TableId, TransRecId = CustInvoiceTrans.RecId

    Many Intrastat records → zero or one CustInvoiceTrans record

  • CustPackingSlipTrans → CustPackingSlipTrans

    Join on TransTableId = CustPackingSlipTrans.TableId, TransRecId = CustPackingSlipTrans.RecId

    Many Intrastat records → zero or one CustPackingSlipTrans record

  • CustRelation → CustTable

    Join on DebCredType = ModuleInventCustVend::Cust, AccountNum = CustTable.AccountNum

    Many Intrastat records → zero or one CustTable record

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many Intrastat records → zero or one DlvMode record

  • DlvTerm_DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many Intrastat records → zero or one DlvTerm record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many Intrastat records → zero or one EcoResCategory record

  • IntrastatPort → IntrastatPort

    Join on Port = IntrastatPort.PortId

    Many Intrastat records → zero or one IntrastatPort record

  • IntrastatSpecMovement_CZ → IntrastatSpecMovement_CZ

    Join on IntrastatSpecMove_CZ = IntrastatSpecMovement_CZ.SpecialMovement_CZ

    Zero or one Intrastat record → zero or one IntrastatSpecMovement_CZ record

  • IntrastatStatProc → IntrastatStatProc

    Join on StatProcId = IntrastatStatProc.StatProcId

    Many Intrastat records → zero or one IntrastatStatProc record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCode = IntrastatTransactionCode.TransactionCode

    Many Intrastat records → zero or one IntrastatTransactionCode record

  • IntrastatTransportMode → IntrastatTransportMode

    Join on TransportMode = IntrastatTransportMode.TransPortCode

    Many Intrastat records → zero or one IntrastatTransportMode record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many Intrastat records → zero or one InventTable record

  • InventTransferJourLine → InventTransferJourLine

    Join on TransTableId = InventTransferJourLine.TableId, TransRecId = InventTransferJourLine.RecId

    Many Intrastat records → zero or one InventTransferJourLine record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many Intrastat records → zero or one InventTransOrigin record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on SendReceiveCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many Intrastat records → exactly one LogisticsAddressCountryRegion record

  • NGPCodesTable_FR → NGPCodesTable_FR

    Join on NGPCodesTable_FR = NGPCodesTable_FR.RecId

    Many Intrastat records → zero or one NGPCodesTable_FR record

  • OrigCountryRegionId → LogisticsAddressCountryRegion

    Join on OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many Intrastat records → zero or one LogisticsAddressCountryRegion record

  • ProjInvoiceItem → ProjInvoiceItem

    Join on TransTableId = ProjInvoiceItem.TableId, TransRecId = ProjInvoiceItem.RecId

    Many Intrastat records → zero or one ProjInvoiceItem record

  • VendInvoiceJour → VendInvoiceJour

    Join on TransTableId = VendInvoiceJour.TableId, TransRecId = VendInvoiceJour.RecId

    Many Intrastat records → zero or one VendInvoiceJour record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on TransTableId = VendInvoiceTrans.TableId, TransRecId = VendInvoiceTrans.RecId

    Many Intrastat records → zero or one VendInvoiceTrans record

  • VendPackingSlipTrans → VendPackingSlipTrans

    Join on TransTableId = VendPackingSlipTrans.TableId, TransRecId = VendPackingSlipTrans.RecId

    Many Intrastat records → zero or one VendPackingSlipTrans record

  • VendRelation → VendTable

    Join on DebCredType = ModuleInventCustVend::Vend, AccountNum = VendTable.AccountNum

    Many Intrastat records → zero or one VendTable record

  • TaxId → TaxRegistration

    Join on TaxId = TaxRegistration.RecId

    Many Intrastat records → zero or one TaxRegistration record

Get this data out

Tables are not exposed directly. These public entities read from Intrastat; use one of them in Power BI, Power Platform or a data management project.

Need help with Intrastat in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk