Data entity

IntrastatEntityV2

Holds Intrastat records, which are declarations of goods moving between countries or regions. Each record is identified by shipment batch and sequence number. It carries item, quantity, weight, invoice amount, delivery terms, transport mode and country details, and links to commodity codes and statistics procedures.

Entity name
IntrastatEntityV2
Public entity name
IntrastatV2
OData collection
IntrastatsV2
Category
Not set
Module
Tax
Read-only
No
Data management enabled
Yes
Configuration key
ForeignTrade
Keys
ShipmentBatch, SequenceNumber
Staging table
IntrastatStagingV2

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/IntrastatsV2
Dataverse virtual table
mserp_intrastatentityv2. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • Intrastat · root
  • IntrastatCommodityCodeEntity · OuterJoin to Intrastat · read-only
  • NGPCodeEntity · OuterJoin to IntrastatCommodityCodeEntity · read-only
  • EcoResCategory · OuterJoin to Intrastat · read-only
  • CategoryEcoResCategoryHierarchy (table EcoResCategoryHierarchy) · OuterJoin to EcoResCategory · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory

Fields (87)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountNumberCustomer or vendor account that the line relates to.String (20)
CustVendAC
NoYesCustTable.AccountNumVendTable.AccountNumIntrastat.AccountNum
AdditionalUnitsQuantityQuantity expressed in the additional (supplementary) unit.Real
Qty
NoYesIntrastat.AdditionalUnits
AdditionalUnitUnit of measure used for the additional quantity.String
UnitOfMeasureSymbol
NoYesIntrastat.AdditionalQtyUnit
AmountInvoice amount in the company's accounting currency.Real
IntrastatAmount
NoYesIntrastat.AmountMST
CurrencyCodeCurrency of the transaction, linked to the currency table.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeIntrastat.CurrencyCode
CompressShows whether the line is compressed (combined) with other lines.low confidenceEnum
IntrastatCompress
NoYes

Platform enum: values not in the metadata extract.

NoYesIntrastat.Compress
ConsignmentsNumber of consignments on the line.Integer
IntrastatConsignments
NoYesIntrastat.Consignments
ContainerYes/No flag showing whether the goods travel in a container.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesIntrastat.Container
CorrectionYes/No flag marking the line as a correction.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesIntrastat.Correct
CountryRegionIdCountry or region of the trading partner for the line.String
AddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdIntrastat.CountryRegionId
CountyCounty of origin or destination of the goods.String (30)
AddressCountyId
NoYesIntrastat.County
CurrentAgreementYes/No flag for a current agreement.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesIntrastat.CurrentAgreement
ModuleSource type of the line: inventory, customer or vendor.Enum
ModuleInventCustVend
  • Invent 0
  • Cust 1
  • Vend 2
NoYesIntrastat.DebCredType
DirectionWhether the goods are arrivals or dispatches.Enum
IntrastatDirection
  • Import 0
  • Export 1
NoYesIntrastat.Direction
ShipmentBatchIdentifier of the shipment batch. Forms the key together with the sequence number.String (20)
IntrastatDispatchId
YesYesIntrastat.DispatchId
DeliveryModeMode of delivery, linked to the delivery mode table.String
DlvModeId
NoYesDlvMode.CodeIntrastat.DlvMode
DeliveryTermsTerms of delivery, linked to the delivery terms table.String
DlvTermId
NoYesDlvTerm.CodeIntrastat.DlvTerm
LotIDLot ID of the inventory transaction that the line comes from.String (20)
InventTransId
NoYesInventTransOrigin.InventTransIdIntrastat.InventTransId
InvoiceInvoice number related to the line.String (50)
InvoiceId
NoYesIntrastat.InvoiceId
ItemNumberItem number, linked to the item table.String (20)
ItemId
NoYesInventTable.ItemIdIntrastat.ItemId
ItemTypeShows whether the item is goods or services; used for Italy.Enum
IntrastatItemType_IT
  • Goods 0
  • Services 1
NoYesIntrastat.ItemType_IT
LogText log entry for the line.low confidenceString (255)
LogText
NoYesIntrastat.Log
ChargesAmountAmount of statistical charges.Real
MarkupAmount
NoYesIntrastat.Markup
ChargesPercentageCharges expressed as a percentage.Real
IntrastatMarkupPct
NoYesIntrastat.MarkupPct
MonthMonth of the reporting period.Enum
MonthsOfYear
  • None 0
  • January 1
  • February 2
  • March 3
  • April 4
  • May 5
  • June 6
  • July 7
  • August 8
  • September 9
  • October 10
  • November 11
  • December 12
NoYesIntrastat.MonthsOfYear
NetWeightByUnitNet weight of one unit of the item.Real
Weight
NoYesIntrastat.NetWeightByUnit
IntrastatOrderTypeIntrastat order type: order, correction or return.Enum
IntrastatOrderType
  • Order 0
  • Correction 1
  • Return 2
NoYesIntrastat.OrderType
OrigCountryRegionIdCountry or region where the goods originate.String
ItemOrigCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdIntrastat.OrigCountryRegionId
CountyOfOriginCounty where the goods originate.String (30)
ItemOrigCountyId
NoYesIntrastat.OrigCounty
CountryRegionSenderReceiverCountry or region of the sender.String
AddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdIntrastat.SendReceiveCountryRegionId
StateOfOriginState where the goods originate.String
ItemOrigStateId
NoYesIntrastat.OrigState
StateSenderReceiverState of the sender.String
LogisticsAddressStateId
NoYesIntrastat.SendReceiveState
IdentificationOfThePackingSlipOrProductReceiptIdentifier of the packing slip or product receipt related to the line.String (20)
PackingSlipId
NoYesIntrastat.PackingSlipId
PartialConsignmentYes/No flag for a partial consignment.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesIntrastat.PartDelivery
PortPort, linked to the port table.String
IntrastatPortId
NoYesIntrastatPort.PortIdIntrastat.Port
PreferencePreference code for the line.low confidenceInteger
IntrastatPreference
NoYesIntrastat.Preference
QuantityQuantity of goods on the line.Real
Qty
NoYesIntrastat.Qty
QuarterQuarter of the reporting period.Enum
QuarterOfYear
  • None 0
  • Q1 1
  • Q2 2
  • Q3 3
  • Q4 4
NoYesIntrastat.QuarterOfYear
relationRelation code for the line.low confidenceInteger
IntrastatRelation
NoYesIntrastat.relation
SequenceNumberSequence number of the line within the shipment batch.Integer
IntrastatSeqNum
YesYesIntrastat.SeqNum
StateState or province linked to the line.String
LogisticsAddressStateId
NoYesIntrastat.State
IntrastatStatisticalAdjustmentAmountAmount of the statistical adjustment.Real
IntrastatStatisticalAdjustmentAmount
NoYesIntrastat.StatisticalAdjustmentAmount
IntrastatStatisticalValueStatistical amount of the goods.Real
IntrastatStatisticalValue
NoYesIntrastat.StatisticalValue
StatisticsProcedureStatistics procedure code, linked to the statistics procedure table.String
IntrastatProcId
NoYesIntrastat.StatProcId
DirectionCodeDirection code of the transaction.String
IntrastatStatTrans
NoYesIntrastat.StatTrans
StatusTransDirection of the transaction as a number.low confidenceInteger
IntrastatDirectionId
NoYesIntrastat.StatusTrans
TariffNumberTariff number of the goods.Integer
IntrastatTarif
NoYesIntrastat.Tarif
TransactionCodeTransaction code, linked to the transaction code table.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeIntrastat.TransactionCode
DateDate of the transaction.Date
TransDate
YesYesIntrastat.TransDate
FulfillmentDateDate on which the Intrastat transaction was fulfilled; used for Hungary.Date
IntrastatFulfillmentDate_HU
NoYesIntrastat.FulfillmentDate_HU
TransportTransport method, linked to the transport mode table.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeIntrastat.TransportMode
ReferenceSystem record ID of the source line, such as a customer invoice line.Int64
IntrastatRefRecId
NoNo (private)Intrastat.TransRecId
ReferenceTableIDID of the table that holds the source record.Integer
IntrastatRefTableId
NoYesIntrastat.TransTableId
NumberNumber of the update that created the line.low confidenceString (20)
Num
NoYesIntrastat.UpdateNum
TaxExemptNumberTax exempt number of the partner.String (20)
VATNum
NoYesIntrastat.VATNum
WeightWeight of the goods on the line.Real
Weight
NoYesIntrastat.Weight
CorrectionYearYear of the correction.Integer
YearBase
NoYesIntrastat.Yr
NGPIdNGP code, pointing to the NGP code table; used for France.Int64
NGPCodesTableFRId
NoNo (private)NGPCodesTable_FR.RecIdIntrastat.NGPCodesTable_FR
NGPDescriptionDescription of the NGP code.String (60)
Description
NoYesNGPCodesTable_FR.Description
NGPCodeThe NGP code, a whole number; used for France.Integer
NGP_FR
NoYesNGPCodesTable_FR.NGPCode
CategoryIdProduct category, pointing to a category record.Int64
EcoResCategoryId
NoNo (private)EcoResCategory.RecIdIntrastat.Category
CommodityIdCommodity (goods code), pointing to a category record.Int64
IntrastatCommodityId
NoNo (private)EcoResCategory.RecIdIntrastat.IntrastatCommodity
CommodityAdditionalUnitsUnit of measure symbol for additional units used in Intrastat.String (20)
IntrastatUnitOfMeasureSymbol
NoYesEcoResCategoryIntrastat.AdditionalUnits
CommodityCommodity code of the category.String (20)
EcoResCategoryCommodityCode
NoYesEcoResCategory.Code
CommodityHierarchyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
NoYesEcoResCategoryHierarchy.Name
CommodityNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
DescriptionFree-text description of the goods; used for Poland.String (1000)
ItemFreeTxt
NoYesIntrastat.Description_PL
ParentCommodityCommodity code of the category.String (20)
EcoResCategoryCommodityCode
NoYesEcoResCategory.Code
ParentCommodityNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
CategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
CategoryHierarchyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
NoYesEcoResCategoryHierarchy.Name
InvoiceAmountTransCurInvoice amount in the currency of the transaction.Real
AmountCur
NoYesIntrastat.AmountCur
InvoiceAmountInvoice amount in the company's accounting currency.Real
IntrastatAmount
NoYesIntrastat.AmountMST
InvoiceChargesAmountTransCurrencyInvoice charges in the transaction currency.Real
MarkupAmount
NoYesIntrastat.InvoiceMarkupCur
InvoiceChargesAmountInvoice charges in the accounting currency.Real
MarkupAmountMST
NoYesIntrastat.InvoiceMarkupMST
StatisticalChargesAmountAmount of statistical charges.Real
MarkupAmount
NoYesIntrastat.Markup
StatisticalAmountStatistical amount of the goods.Real
IntrastatStatisticalValue
NoYesIntrastat.StatisticalValue
StatementNumberNumber of the statement being corrected; used for Italy.String (60)
IntrastatCorrectedFileNumber_IT
NoYesIntrastat.CorrectedFileNumber_IT
OriginalIntrastatRecordIdentifier of the original Intrastat record that is corrected; used for Italy.String (5)
IntrastatCorrectedTransactionId_IT
NoYesIntrastat.CorrectedTransactionId_IT
CustomsCodeCustoms code for the line; used for Italy.String (60)
IntrastatCustomsCode_IT
NoYesIntrastat.CustomsCode_IT
PaymentMethodPayment method code; used for Italy.Enum
IntrastatPaymentMethod_IT
  • Other 0
  • BillOfExchange 1
  • PromissoryNote 2
NoYesIntrastat.PaymentMethod_IT
DeliveryScheduleDelivery schedule for services: none, single or multiple deliveries; used for Italy.Enum
IntrastatServicesDelivery_IT
  • None 0
  • SingleDelivery 1
  • MultipleDeliveries 2
NoYesIntrastat.ServicesDelivery_IT
SpecialMovementSpecial movement code, linked to the special movement table; used for the Czech Republic.String (2)
IntrastatSpecMove_CZ
NoYesIntrastatSpecMovement_CZ.SpecialMovement_CZIntrastat.IntrastatSpecMove_CZ
SendReceiveStateState of the sender.String
LogisticsAddressStateId
NoYesIntrastat.SendReceiveState
MiscChargePerKgOther charges worked out for each kilogram.Real
IntrastatMarkupPerKg
NoYesIntrastat.MiscChargePerKg
TaxIdTax registration number, pointing to a registration record.Int64
TaxRegistrationRecId
NoNo (private)TaxRegistration.RecIdIntrastat.TaxId
TaxRegistrationNumberThe tax registration number linked to the Intrastat record.String (60)
TaxRegistrationNumber
NoYesvirtual

Foreign keys (18)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with IntrastatEntityV2 in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk