Data entity
IntrastatEntity
Intrastat transaction records for foreign trade reporting. Each is keyed by shipment batch and sequence number. It holds the account, item, commodity code, direction, delivery terms, mode of delivery, quantities, weights, amounts, currency and countries or regions of origin and destination.
- Entity name
IntrastatEntity- Public entity name
Intrastat- OData collection
Intrastats- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
ForeignTrade- Keys
ShipmentBatch, SequenceNumber- Staging table
IntrastatStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/Intrastats- Dataverse virtual table
mserp_intrastatentity. 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· rootIntrastatCommodityCodeEntity· OuterJoin toIntrastat· read-onlyNGPCodeEntity· OuterJoin toIntrastatCommodityCodeEntity· read-onlyEcoResCategory· OuterJoin toIntrastat· read-onlyCategoryEcoResCategoryHierarchy(tableEcoResCategoryHierarchy) · OuterJoin toEcoResCategory· read-onlyEcoResCategory_PCClass(tablePCClass) · Derived toEcoResCategoryTaxRegistration· OuterJoin toIntrastat· read-only
Fields (86)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNumberCustomer or vendor account that the line relates to. | String (20)CustVendAC | No | Yes | CustTable.AccountNumVendTable.AccountNum | Intrastat.AccountNum |
AdditionalUnitsQuantityQuantity expressed in the additional (supplementary) unit. | RealQty | No | Yes | Intrastat.AdditionalUnits | |
AdditionalUnitUnit of measure used for the additional quantity. | StringUnitOfMeasureSymbol | No | Yes | Intrastat.AdditionalQtyUnit | |
AmountInvoice amount in the company's accounting currency. | RealIntrastatAmount | No | Yes | Intrastat.AmountMST | |
CurrencyCodeCurrency of the transaction, linked to the currency table. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | Intrastat.CurrencyCode |
CompressShows whether the line is compressed (combined) with other lines.low confidence | EnumIntrastatCompress
| No | Yes | Intrastat.Compress | |
ConsignmentsNumber of consignments on the line. | IntegerIntrastatConsignments | No | Yes | Intrastat.Consignments | |
ContainerYes/No flag showing whether the goods travel in a container. | Enum
| No | Yes | Intrastat.Container | |
CorrectionYes/No flag marking the line as a correction. | Enum
| No | Yes | Intrastat.Correct | |
CountryRegionIdCountry or region of the trading partner for the line. | StringAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | Intrastat.CountryRegionId |
CountyCounty of origin or destination of the goods. | String (30)AddressCountyId | No | Yes | Intrastat.County | |
CurrentAgreementYes/No flag for a current agreement.low confidence | Enum
| No | Yes | Intrastat.CurrentAgreement | |
ModuleSource type of the line: inventory, customer or vendor. | Enum
| No | Yes | Intrastat.DebCredType | |
DirectionWhether the goods are arrivals or dispatches. | Enum
| No | Yes | Intrastat.Direction | |
ShipmentBatchIdentifier of the shipment batch. Forms the key together with the sequence number. | String (20)IntrastatDispatchId | Yes | Yes | Intrastat.DispatchId | |
DeliveryModeMode of delivery, linked to the delivery mode table. | StringDlvModeId | No | Yes | DlvMode.Code | Intrastat.DlvMode |
DeliveryTermsTerms of delivery, linked to the delivery terms table. | StringDlvTermId | No | Yes | DlvTerm.Code | Intrastat.DlvTerm |
LotIDLot ID of the inventory transaction that the line comes from. | String (20)InventTransId | No | Yes | InventTransOrigin.InventTransId | Intrastat.InventTransId |
InvoiceInvoice number related to the line. | String (50)InvoiceId | No | Yes | Intrastat.InvoiceId | |
ItemNumberItem number, linked to the item table. | String (20)ItemId | No | Yes | InventTable.ItemId | Intrastat.ItemId |
ItemTypeShows whether the item is goods or services; used for Italy. | Enum
| No | Yes | Intrastat.ItemType_IT | |
LogText log entry for the line.low confidence | String (255)LogText | No | Yes | Intrastat.Log | |
ChargesAmountAmount of statistical charges. | RealMarkupAmount | No | Yes | Intrastat.Markup | |
ChargesPercentageCharges expressed as a percentage. | RealIntrastatMarkupPct | No | Yes | Intrastat.MarkupPct | |
MonthMonth of the reporting period. | Enum
| No | Yes | Intrastat.MonthsOfYear | |
NetWeightByUnitNet weight of one unit of the item. | RealWeight | No | Yes | Intrastat.NetWeightByUnit | |
IntrastatOrderTypeIntrastat order type: order, correction or return. | Enum
| No | Yes | Intrastat.OrderType | |
OrigCountryRegionIdCountry or region where the goods originate. | StringItemOrigCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | Intrastat.OrigCountryRegionId |
CountyOfOriginCounty where the goods originate. | String (30)ItemOrigCountyId | No | Yes | Intrastat.OrigCounty | |
CountryRegionSenderReceiverCountry or region of the sender. | StringAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | Intrastat.SendReceiveCountryRegionId |
StateOfOriginState where the goods originate. | StringItemOrigStateId | No | Yes | Intrastat.OrigState | |
StateSenderReceiverState of the sender. | StringLogisticsAddressStateId | No | Yes | Intrastat.SendReceiveState | |
IdentificationOfThePackingSlipOrProductReceiptIdentifier of the packing slip or product receipt related to the line. | String (20)PackingSlipId | No | Yes | Intrastat.PackingSlipId | |
PartialConsignmentYes/No flag for a partial consignment. | Enum
| No | Yes | Intrastat.PartDelivery | |
PortPort, linked to the port table. | StringIntrastatPortId | No | Yes | IntrastatPort.PortId | Intrastat.Port |
PreferencePreference code for the line.low confidence | IntegerIntrastatPreference | No | Yes | Intrastat.Preference | |
QuantityQuantity of goods on the line. | RealQty | No | Yes | Intrastat.Qty | |
QuarterQuarter of the reporting period. | Enum
| No | Yes | Intrastat.QuarterOfYear | |
relationRelation code for the line.low confidence | IntegerIntrastatRelation | No | Yes | Intrastat.relation | |
SequenceNumberSequence number of the line within the shipment batch. | IntegerIntrastatSeqNum | Yes | Yes | Intrastat.SeqNum | |
StateState or province linked to the line. | StringLogisticsAddressStateId | No | Yes | Intrastat.State | |
IntrastatStatisticalAdjustmentAmountAmount of the statistical adjustment. | RealIntrastatStatisticalAdjustmentAmount | No | Yes | Intrastat.StatisticalAdjustmentAmount | |
IntrastatStatisticalValueStatistical amount of the goods. | RealIntrastatStatisticalValue | No | Yes | Intrastat.StatisticalValue | |
StatisticsProcedureStatistics procedure code, linked to the statistics procedure table. | StringIntrastatProcId | No | Yes | Intrastat.StatProcId | |
DirectionCodeDirection code of the transaction. | StringIntrastatStatTrans | No | Yes | Intrastat.StatTrans | |
StatusTransDirection of the transaction as a number.low confidence | IntegerIntrastatDirectionId | No | Yes | Intrastat.StatusTrans | |
TariffNumberTariff number of the goods. | IntegerIntrastatTarif | No | Yes | Intrastat.Tarif | |
TransactionCodeTransaction code, linked to the transaction code table. | StringIntrastatTransactionCodeId | No | Yes | IntrastatTransactionCode.TransactionCode | Intrastat.TransactionCode |
DateDate of the transaction. | DateTransDate | Yes | Yes | Intrastat.TransDate | |
FulfillmentDateDate on which the Intrastat transaction was fulfilled; used for Hungary. | DateIntrastatFulfillmentDate_HU | No | Yes | Intrastat.FulfillmentDate_HU | |
TransportTransport method, linked to the transport mode table. | StringIntrastatTransport | No | Yes | IntrastatTransportMode.TransPortCode | Intrastat.TransportMode |
ReferenceSystem record ID of the source line, such as a customer invoice line. | Int64IntrastatRefRecId | No | No (private) | Intrastat.TransRecId | |
ReferenceTableIDID of the table that holds the source record. | IntegerIntrastatRefTableId | No | Yes | Intrastat.TransTableId | |
NumberNumber of the update that created the line.low confidence | String (20)Num | No | Yes | Intrastat.UpdateNum | |
TaxExemptNumberTax exempt number of the partner. | String (20)VATNum | No | Yes | Intrastat.VATNum | |
WeightWeight of the goods on the line. | RealWeight | No | Yes | Intrastat.Weight | |
CorrectionYearYear of the correction. | IntegerYearBase | No | Yes | Intrastat.Yr | |
NGPIdNGP code, pointing to the NGP code table; used for France. | Int64NGPCodesTableFRId | No | No (private) | NGPCodesTable_FR.RecId | Intrastat.NGPCodesTable_FR |
NGPDescriptionDescription of the NGP code. | String (60)Description | No | Yes | NGPCodesTable_FR.Description | |
NGPCodeThe NGP code, a whole number; used for France. | IntegerNGP_FR | No | Yes | NGPCodesTable_FR.NGPCode | |
CategoryIdProduct category, pointing to a category record. | Int64EcoResCategoryId | No | No (private) | EcoResCategory.RecId | Intrastat.Category |
CommodityIdCommodity (goods code), pointing to a category record. | Int64IntrastatCommodityId | No | No (private) | EcoResCategory.RecId | Intrastat.IntrastatCommodity |
CommodityAdditionalUnitsUnit of measure symbol for additional units used in Intrastat. | String (20)IntrastatUnitOfMeasureSymbol | No | Yes | EcoResCategoryIntrastat.AdditionalUnits | |
CommodityCommodity code of the category. | String (20)EcoResCategoryCommodityCode | No | Yes | EcoResCategory.Code | |
CommodityHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name | |
CommodityNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
DescriptionFree-text description of the goods; used for Poland. | String (1000)ItemFreeTxt | No | Yes | Intrastat.Description_PL | |
ParentCommodityCommodity code of the category. | String (20)EcoResCategoryCommodityCode | No | Yes | EcoResCategory.Code | |
ParentCommodityNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
CategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
CategoryHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name | |
InvoiceAmountTransCurInvoice amount in the currency of the transaction. | RealAmountCur | No | Yes | Intrastat.AmountCur | |
InvoiceAmountInvoice amount in the company's accounting currency. | RealIntrastatAmount | No | Yes | Intrastat.AmountMST | |
InvoiceChargesAmountTransCurrencyInvoice charges in the transaction currency. | RealMarkupAmount | No | Yes | Intrastat.InvoiceMarkupCur | |
InvoiceChargesAmountInvoice charges in the accounting currency. | RealMarkupAmountMST | No | Yes | Intrastat.InvoiceMarkupMST | |
StatisticalChargesAmountAmount of statistical charges. | RealMarkupAmount | No | Yes | Intrastat.Markup | |
StatisticalAmountStatistical amount of the goods. | RealIntrastatStatisticalValue | No | Yes | Intrastat.StatisticalValue | |
StatementNumberNumber of the statement being corrected; used for Italy. | String (60)IntrastatCorrectedFileNumber_IT | No | Yes | Intrastat.CorrectedFileNumber_IT | |
OriginalIntrastatRecordIdentifier of the original Intrastat record that is corrected; used for Italy. | String (5)IntrastatCorrectedTransactionId_IT | No | Yes | Intrastat.CorrectedTransactionId_IT | |
CustomsCodeCustoms code for the line; used for Italy. | String (60)IntrastatCustomsCode_IT | No | Yes | Intrastat.CustomsCode_IT | |
PaymentMethodPayment method code; used for Italy. | Enum
| No | Yes | Intrastat.PaymentMethod_IT | |
DeliveryScheduleDelivery schedule for services: none, single or multiple deliveries; used for Italy. | Enum
| No | Yes | Intrastat.ServicesDelivery_IT | |
SpecialMovementSpecial movement code, linked to the special movement table; used for the Czech Republic. | String (2)IntrastatSpecMove_CZ | No | Yes | IntrastatSpecMovement_CZ.SpecialMovement_CZ | Intrastat.IntrastatSpecMove_CZ |
SendReceiveStateState of the sender. | StringLogisticsAddressStateId | No | Yes | Intrastat.SendReceiveState | |
MiscChargePerKgOther charges worked out for each kilogram. | RealIntrastatMarkupPerKg | No | Yes | Intrastat.MiscChargePerKg | |
TaxRegistrationNumberThe registration number itself. | String (60)TaxRegistrationNumber | Yes | Yes | TaxRegistration.RegistrationNumber |
Foreign keys (17)
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.
AccountNumber→CustTable.AccountNum(key of CustTable)Relation also requires DebCredType = ModuleInventCustVend::Cust.
Many Intrastat records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AccountNumber→VendTable.AccountNum(key of VendTable)Relation also requires DebCredType = ModuleInventCustVend::Vend.
Many Intrastat records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many Intrastat records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many Intrastat records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
DeliveryMode→DlvMode.Code(key of DlvMode)Many Intrastat records → zero or one DlvMode record
DlvMode details: see DlvDeliveryModeEntity, RetailDeliveryModeAddressLineEntity, RetailDeliveryModeChannelLineEntity
DeliveryTerms→DlvTerm.Code(key of DlvTerm)Many Intrastat records → zero or one DlvTerm record
DlvTerm details: see DeliveryTermsEntity, VRMDeliveryTermsEntity
LotID→InventTransOrigin.InventTransId(key of InventTransOrigin)Many Intrastat records → zero or one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
ItemNumber→InventTable.ItemId(key of InventTable)Many Intrastat records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
OrigCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many Intrastat records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
CountryRegionSenderReceiver→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many Intrastat records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
Port→IntrastatPort.PortId(key of IntrastatPort)Many Intrastat records → zero or one IntrastatPort record
IntrastatPort details: see IntrastatPortEntity
TransactionCode→IntrastatTransactionCode.TransactionCode(key of IntrastatTransactionCode)Many Intrastat records → zero or one IntrastatTransactionCode record
IntrastatTransactionCode details: see IntrastatTransactionCodeEntity
Transport→IntrastatTransportMode.TransPortCode(key of IntrastatTransportMode)Many Intrastat records → zero or one IntrastatTransportMode record
IntrastatTransportMode details: see IntrastatTransportMethodEntity
NGPId→NGPCodesTable_FR.RecId(key of NGPCodesTable_FR)Many Intrastat records → zero or one NGPCodesTable_FR record
NGPCodesTable_FR details: see IntrastatEntityV2, NGPCodeEntity, EcoResReleasedProductV2Entity
CategoryId→EcoResCategory.RecId(key of EcoResCategory)Many Intrastat records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
CommodityId→EcoResCategory.RecId(key of EcoResCategory)Many Intrastat records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
SpecialMovement→IntrastatSpecMovement_CZ.SpecialMovement_CZ(key of IntrastatSpecMovement_CZ)Zero or one Intrastat record → zero or one IntrastatSpecMovement_CZ record
IntrastatSpecMovement_CZ details: see IntrastatSpecialMovementEntity
Need help with IntrastatEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.