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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DispatchIdIdentifier of the shipment batch. Forms the key together with the sequence number. | String (20)IntrastatDispatchId | Yes | IntrastatEntityIntrastatEntityV2 | |
SeqNumSequence number of the line within the shipment batch. | IntegerIntrastatSeqNum | Yes | IntrastatEntityIntrastatEntityV2 | |
AccountNumCustomer or vendor account that the line relates to. | String (20)CustVendAC | No | CustTable.AccountNumVendTable.AccountNum | IntrastatEntityIntrastatEntityV2 |
AdditionalQtyQuantity in the additional unit. | RealQty | No | None | |
AdditionalQtyUnitUnit of measure used for the additional quantity. | StringUnitOfMeasureSymbol | No | IntrastatEntityIntrastatEntityV2 | |
AdditionalUnitsQuantity expressed in the additional (supplementary) unit. | RealQty | No | IntrastatEntityIntrastatEntityV2 | |
AmountCurInvoice amount in the currency of the transaction. | RealAmountCur | No | IntrastatEntityIntrastatEntityV2 | |
AmountCurOrigOriginal amount in the transaction currency. | RealAmountCur | No | None | |
AmountMSTInvoice amount in the company's accounting currency. | RealIntrastatAmount | No | IntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more | |
AmountMSTOrigOriginal amount in the accounting currency. | RealIntrastatAmount | No | None | |
CategoryProduct category, pointing to a category record. | Int64EcoResCategoryId | No | EcoResCategory.RecId | IntrastatEntityIntrastatEntityV2 |
CompanyIntrastatReportCurrencyCodeCurrency used for Intrastat reporting, based on the tax registration. | String (3)CurrencyCode | No | None | |
CompressShows whether the line is compressed (combined) with other lines.low confidence | EnumIntrastatCompressNoYes (enum) | No | IntrastatEntityIntrastatEntityV2 | |
ConsignmentsNumber of consignments on the line. | IntegerIntrastatConsignments | No | IntrastatEntityIntrastatEntityV2 | |
ContainerYes/No flag showing whether the goods travel in a container. | EnumNoYes (enum) | No | IntrastatEntityIntrastatEntityV2 | |
CorrectYes/No flag marking the line as a correction. | EnumNoYes (enum) | No | IntrastatEntityIntrastatEntityV2 | |
CorrectedFileNumber_ITNumber of the statement being corrected; used for Italy. | String (60)IntrastatCorrectedFileNumber_IT | No | IntrastatEntityIntrastatEntityV2 | |
CorrectedTransactionId_ITIdentifier of the original Intrastat record that is corrected; used for Italy. | String (5)IntrastatCorrectedTransactionId_IT | No | IntrastatEntityIntrastatEntityV2 | |
CountryRegionIdCountry or region of the trading partner for the line. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | IntrastatEntityIntrastatEntityV2 |
CountyCounty of origin or destination of the goods. | String (30)AddressCountyId | No | IntrastatEntityIntrastatEntityV2 | |
CurrencyCodeCurrency of the transaction, linked to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | IntrastatEntityIntrastatEntityV2 |
CurrencyCodeOrigOriginal currency of the transaction. | String (3)CurrencyCode | No | None | |
CurrentAgreementYes/No flag for a current agreement.low confidence | EnumNoYes (enum) | No | IntrastatEntityIntrastatEntityV2 | |
CustomsCode_ITCustoms code for the line; used for Italy. | String (60)IntrastatCustomsCode_IT | No | IntrastatEntityIntrastatEntityV2 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebCredTypeSource type of the line: inventory, customer or vendor. | EnumModuleInventCustVend (enum) | No | IntrastatEntityIntrastatEntityV2 | |
Description_PLFree-text description of the goods; used for Poland. | String (1000)ItemFreeTxt | No | IntrastatEntityIntrastatEntityV2 | |
DirectionWhether the goods are arrivals or dispatches. | EnumIntrastatDirection (enum) | No | IntrastatEntityIntrastatEntityV2 | |
DlvModeMode of delivery, linked to the delivery mode table. | StringDlvModeId | No | DlvMode.Code | IntrastatEntityIntrastatEntityV2 |
DlvTermTerms of delivery, linked to the delivery terms table. | StringDlvTermId | No | DlvTerm.Code | IntrastatEntityIntrastatEntityV2 |
FulfillmentDate_HUDate on which the Intrastat transaction was fulfilled; used for Hungary. | DateIntrastatFulfillmentDate_HU | No | IntrastatEntityIntrastatEntityV2 | |
IntrastatCommodityCommodity (goods code), pointing to a category record. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | IntrastatEntityIntrastatEntityV2 |
IntrastatSpecMove_CZSpecial movement code, linked to the special movement table; used for the Czech Republic. | String (2)IntrastatSpecMove_CZ | No | IntrastatSpecMovement_CZ.SpecialMovement_CZ | IntrastatEntityIntrastatEntityV2 |
InventTransIdLot ID of the inventory transaction that the line comes from. | String (20)InventTransId | No | InventTransOrigin.InventTransId | IntrastatEntityIntrastatEntityV2 |
InvoiceIdInvoice number related to the line. | String (50)InvoiceId | No | IntrastatEntityIntrastatEntityV2 | |
InvoiceMarkupCurInvoice charges in the transaction currency. | RealMarkupAmount | No | IntrastatEntityIntrastatEntityV2 | |
InvoiceMarkupCurOrigOriginal charges amount in the transaction currency. | RealMarkupAmount | No | None | |
InvoiceMarkupMSTInvoice charges in the accounting currency. | RealMarkupAmountMST | No | IntrastatEntityIntrastatEntityV2 | |
InvoiceMarkupMSTOrigOriginal charges amount in the accounting currency. | RealMarkupAmountMST | No | None | |
ItemCodeIdCommodity code as text. The EDT name suggests it is obsolete.low confidence | StringDEL_IntrastatItemCodeId | No | None | |
ItemIdItem number, linked to the item table. | String (20)ItemId | No | InventTable.ItemId | IntrastatEntityIntrastatEntityV2 |
ItemType_ITShows whether the item is goods or services; used for Italy. | EnumIntrastatItemType_IT (enum) | No | IntrastatEntityIntrastatEntityV2 | |
LogText log entry for the line.low confidence | String (255)LogText | No | IntrastatEntityIntrastatEntityV2 | |
MarkupAmount of statistical charges. | RealMarkupAmount | No | IntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more | |
MarkupCurCharges amount in the transaction currency. | RealMarkupAmount | No | None | |
MarkupCurOrigOriginal charges amount in the transaction currency. | RealMarkupAmount | No | None | |
MarkupMSTOrigOriginal charges amount in the accounting currency. | RealMarkupAmount | No | None | |
MarkupPctCharges expressed as a percentage. | RealIntrastatMarkupPct | No | IntrastatEntityIntrastatEntityV2 | |
MiscChargePerKgOther charges worked out for each kilogram. | RealIntrastatMarkupPerKg | No | IntrastatEntityIntrastatEntityV2 | |
MonthsOfYearMonth of the reporting period. | EnumMonthsOfYear (enum) | No | IntrastatEntityIntrastatEntityV2 | |
NetWeightByUnitNet weight of one unit of the item. | RealWeight | No | IntrastatEntityIntrastatEntityV2 | |
NGPCodesTable_FRNGP code, pointing to the NGP code table; used for France. | Int64NGPCodesTableFRId | No | NGPCodesTable_FR.RecId | IntrastatEntityIntrastatEntityV2 |
OrderTypeIntrastat order type: order, correction or return. | EnumIntrastatOrderType (enum) | No | IntrastatEntityIntrastatEntityV2 | |
OrigCountryRegionIdCountry or region where the goods originate. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | IntrastatEntityIntrastatEntityV2 |
OrigCountyCounty where the goods originate. | String (30)ItemOrigCountyId | No | IntrastatEntityIntrastatEntityV2 | |
OrigStateState where the goods originate. | StringItemOrigStateId | No | IntrastatEntityIntrastatEntityV2 | |
PackingSlipIdIdentifier of the packing slip or product receipt related to the line. | String (20)PackingSlipId | No | IntrastatEntityIntrastatEntityV2 | |
PartDeliveryYes/No flag for a partial consignment. | EnumNoYes (enum) | No | IntrastatEntityIntrastatEntityV2 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentMethod_ITPayment method code; used for Italy. | EnumIntrastatPaymentMethod_IT (enum) | No | IntrastatEntityIntrastatEntityV2 | |
PortPort, linked to the port table. | StringIntrastatPortId | No | IntrastatPort.PortId | IntrastatEntityIntrastatEntityV2 |
PreferencePreference code for the line.low confidence | IntegerIntrastatPreference | No | IntrastatEntityIntrastatEntityV2 | |
QtyQuantity of goods on the line. | RealQty | No | IntrastatEntityIntrastatEntityV2 | |
QuarterOfYearQuarter of the reporting period. | EnumQuarterOfYear (enum) | No | IntrastatEntityIntrastatEntityV2 | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
relationRelation code for the line.low confidence | IntegerIntrastatRelation | No | IntrastatEntityIntrastatEntityV2 | |
SendReceiveCountryRegionIdCountry or region of the sender. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | IntrastatEntityIntrastatEntityV2 |
SendReceiveStateState of the sender. | StringLogisticsAddressStateId | No | IntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more | |
ServicesDelivery_ITDelivery schedule for services: none, single or multiple deliveries; used for Italy. | EnumIntrastatServicesDelivery_IT (enum) | No | IntrastatEntityIntrastatEntityV2 | |
StateState or province linked to the line. | StringLogisticsAddressStateId | No | IntrastatEntityIntrastatEntityV2 | |
StatisticalAdjustmentAmountAmount of the statistical adjustment. | RealIntrastatStatisticalAdjustmentAmount | No | IntrastatEntityIntrastatEntityV2 | |
StatisticalValueStatistical amount of the goods. | RealIntrastatStatisticalValue | No | IntrastatEntityIntrastatEntityIntrastatEntityV2and 1 more | |
StatisticalValueCurStatistical value in the transaction currency. | RealIntrastatStatisticalValue | No | None | |
StatisticalValueCurOrigOriginal statistical value in the transaction currency. | RealIntrastatStatisticalValue | No | None | |
StatisticalValueMSTOrigOriginal statistical value in the accounting currency. | RealIntrastatStatisticalValue | No | None | |
StatProcIdStatistics procedure code, linked to the statistics procedure table. | StringIntrastatProcId | No | IntrastatEntityIntrastatEntityV2 | |
StatTransDirection code of the transaction. | StringIntrastatStatTrans | No | IntrastatEntityIntrastatEntityV2 | |
StatusTransDirection of the transaction as a number.low confidence | IntegerIntrastatDirectionId | No | IntrastatEntityIntrastatEntityV2 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TarifTariff number of the goods. | IntegerIntrastatTarif | No | IntrastatEntityIntrastatEntityV2 | |
TaxIdTax registration number, pointing to a registration record. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | IntrastatEntityV2 |
TransactionCodeTransaction code, linked to the transaction code table. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | IntrastatEntityIntrastatEntityV2 |
TransDateDate of the transaction. | DateTransDate | Yes | IntrastatEntityIntrastatEntityV2 | |
TransferOrderStatValueStatistical value, used for transfer orders. | RealStatisticalValue | No | None | |
TransportModeTransport method, linked to the transport mode table. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | IntrastatEntityIntrastatEntityV2 |
TransRecIdSystem record ID of the source line, such as a customer invoice line. | Int64IntrastatRefRecId | No | IntrastatEntityIntrastatEntityV2 | |
TransTableIdID of the table that holds the source record. | IntegerIntrastatRefTableId | No | IntrastatEntityIntrastatEntityV2 | |
UpdateNumNumber of the update that created the line.low confidence | String (20)Num | No | IntrastatEntityIntrastatEntityV2 | |
VATNumTax exempt number of the partner. | String (20)VATNum | No | IntrastatEntityIntrastatEntityV2 | |
WeightWeight of the goods on the line. | RealWeight | No | IntrastatEntityIntrastatEntityV2 | |
YrYear of the correction. | IntegerYearBase | No | IntrastatEntityIntrastatEntityV2 |
Indexes (5)
TransNumIdxPrimary indexReplacement keyUnique, alternate key.
DatIdxUnique, alternate key.
IntracodeIdxDispatchId,IntrastatCommodityNot unique.
TransRelIdxNot unique.
CategoryIdxNot unique.
Relations (26)
Each relation joins Intrastat to another table on the fields shown.
Category→EcoResCategoryJoin on
Category = EcoResCategory.RecIdMany Intrastat records → zero or one EcoResCategory record
CountryRegionId→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany Intrastat records → zero or one LogisticsAddressCountryRegion record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany Intrastat records → zero or one Currency record
CustInvoiceTrans→CustInvoiceTransJoin on
TransTableId = CustInvoiceTrans.TableId,TransRecId = CustInvoiceTrans.RecIdMany Intrastat records → zero or one CustInvoiceTrans record
CustPackingSlipTrans→CustPackingSlipTransJoin on
TransTableId = CustPackingSlipTrans.TableId,TransRecId = CustPackingSlipTrans.RecIdMany Intrastat records → zero or one CustPackingSlipTrans record
CustRelation→CustTableJoin on
DebCredType = ModuleInventCustVend::Cust,AccountNum = CustTable.AccountNumMany Intrastat records → zero or one CustTable record
DlvMode→DlvModeJoin on
DlvMode = DlvMode.CodeMany Intrastat records → zero or one DlvMode record
DlvTerm_DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany Intrastat records → zero or one DlvTerm record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany Intrastat records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany Intrastat records → zero or one IntrastatPort record
IntrastatSpecMovement_CZ→IntrastatSpecMovement_CZJoin on
IntrastatSpecMove_CZ = IntrastatSpecMovement_CZ.SpecialMovement_CZZero or one Intrastat record → zero or one IntrastatSpecMovement_CZ record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany Intrastat records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany Intrastat records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
TransportMode = IntrastatTransportMode.TransPortCodeMany Intrastat records → zero or one IntrastatTransportMode record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany Intrastat records → zero or one InventTable record
InventTransferJourLine→InventTransferJourLineJoin on
TransTableId = InventTransferJourLine.TableId,TransRecId = InventTransferJourLine.RecIdMany Intrastat records → zero or one InventTransferJourLine record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany Intrastat records → zero or one InventTransOrigin record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
SendReceiveCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany Intrastat records → exactly one LogisticsAddressCountryRegion record
NGPCodesTable_FR→NGPCodesTable_FRJoin on
NGPCodesTable_FR = NGPCodesTable_FR.RecIdMany Intrastat records → zero or one NGPCodesTable_FR record
OrigCountryRegionId→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany Intrastat records → zero or one LogisticsAddressCountryRegion record
ProjInvoiceItem→ProjInvoiceItemJoin on
TransTableId = ProjInvoiceItem.TableId,TransRecId = ProjInvoiceItem.RecIdMany Intrastat records → zero or one ProjInvoiceItem record
VendInvoiceJour→VendInvoiceJourJoin on
TransTableId = VendInvoiceJour.TableId,TransRecId = VendInvoiceJour.RecIdMany Intrastat records → zero or one VendInvoiceJour record
VendInvoiceTrans→VendInvoiceTransJoin on
TransTableId = VendInvoiceTrans.TableId,TransRecId = VendInvoiceTrans.RecIdMany Intrastat records → zero or one VendInvoiceTrans record
VendPackingSlipTrans→VendPackingSlipTransJoin on
TransTableId = VendPackingSlipTrans.TableId,TransRecId = VendPackingSlipTrans.RecIdMany Intrastat records → zero or one VendPackingSlipTrans record
VendRelation→VendTableJoin on
DebCredType = ModuleInventCustVend::Vend,AccountNum = VendTable.AccountNumMany Intrastat records → zero or one VendTable record
TaxId→TaxRegistrationJoin on
TaxId = TaxRegistration.RecIdMany 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.
IntrastatEntity· 75 fields from this tableIntrastatEntityV2· 76 fields from this table
Need help with Intrastat in a report, an integration or a migration? Talk to Dr Dynamics.