Table
VendInvoiceIntrastat
Intrastat information of vendor invoices
Holds Intrastat reporting details for a vendor invoice. Each row links to a vendor invoice journal record and carries values such as commodity, transaction code, statistics procedure, transport method, port and country of origin. It also relates to the voucher and date of journal lines.
- Table name
VendInvoiceIntrastat- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
ForeignTrade- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountyOrigDestCounty of origin or destination, linked to the county record together with state and country/region. | String (30)AddressCountyOrigDest | No | LogisticsAddressCounty.CountyId | VendInvoiceIntrastatCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | VendInvoiceIntrastatCDREntity | |
IntracodeCommodity code as text. The EDT name suggests it is an older field.low confidence | StringDEL_IntrastatItemCodeId | No | VendInvoiceIntrastatCDREntity | |
IntrastatCommodityCommodity, linked to a product category record. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | VendInvoiceIntrastatCDREntity |
IntraUnitQuantity in additional units for Intrastat. | RealIntrastatConvert | No | VendInvoiceIntrastatCDREntity | |
NGPCodesTable_FRPoints to the NGP code record, used for France. | Int64NGPCodesTableFRId | No | NGPCodesTable_FR.RecId | VendInvoiceIntrastatCDREntity |
OrigCountryRegionIdCountry or region of origin. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | VendInvoiceIntrastatCDREntity |
OrigStateIdState or province of origin, linked to the state or county record. | StringItemOrigStateId | No | LogisticsAddressCounty.StateIdLogisticsAddressState.StateId | VendInvoiceIntrastatCDREntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortPort used for the Intrastat entry. | StringIntrastatPortId | No | IntrastatPort.PortId | VendInvoiceIntrastatCDREntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VendInvoiceIntrastatCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StatisticsFactorPercentage of charges used for the Intrastat statistics value. | RealIntrastatMarkupPct | No | VendInvoiceIntrastatCDREntity | |
StatProcIdStatistics procedure code. | StringIntrastatProcId | No | VendInvoiceIntrastatCDREntity | |
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 | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | VendInvoiceIntrastatCDREntity |
TransDateTransaction date, which relates to the journal lines. | DateTransDate | Yes | VendInvoiceIntrastatCDREntity | |
TransportTransport method, linked to the transport mode setup. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | VendInvoiceIntrastatCDREntity |
VendInvoiceJourPoints to the vendor invoice journal record. | Int64RefRecId | No | VendInvoiceJour.RecId | VendInvoiceIntrastatCDREntity |
VoucherVoucher number, which relates to journal lines. | String (20)Voucher | Yes | VendInvoiceIntrastatCDREntity |
Indexes (2)
VoucherIdxNot unique.
VendInvoiceJourIdxNot unique.
Relations (12)
Each relation joins VendInvoiceIntrastat to another table on the fields shown.
AddressCounty_FK→LogisticsAddressCountyJoin on
CountyOrigDest = LogisticsAddressCounty.CountyId,OrigStateId = LogisticsAddressCounty.StateId,OrigCountryRegionId = LogisticsAddressCounty.CountryRegionIdMany VendInvoiceIntrastat records → zero or one LogisticsAddressCounty record
AddressState_FK→LogisticsAddressStateJoin on
OrigCountryRegionId = LogisticsAddressState.CountryRegionId,OrigStateId = LogisticsAddressState.StateIdMany VendInvoiceIntrastat records → zero or one LogisticsAddressState record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany VendInvoiceIntrastat records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany VendInvoiceIntrastat records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany VendInvoiceIntrastat records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany VendInvoiceIntrastat records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany VendInvoiceIntrastat records → zero or one IntrastatTransportMode record
LedgerJournalTrans→LedgerJournalTransJoin on
TransDate = LedgerJournalTrans.TransDate,Voucher = LedgerJournalTrans.VoucherCardinality not set in the metadata.
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany VendInvoiceIntrastat records → zero or one LogisticsAddressCountryRegion record
NGPCodesTable_FR→NGPCodesTable_FRJoin on
NGPCodesTable_FR = NGPCodesTable_FR.RecIdMany VendInvoiceIntrastat records → zero or one NGPCodesTable_FR record
VendinvoiceJour_FK→VendInvoiceJourJoin on
VendInvoiceJour = VendInvoiceJour.RecIdMany VendInvoiceIntrastat records → zero or one VendInvoiceJour record
VendTrans→VendTransJoin on
Voucher = VendTrans.Voucher,TransDate = VendTrans.TransDateCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from VendInvoiceIntrastat; use one of them in Power BI, Power Platform or a data management project.
VendInvoiceIntrastatCDREntity· 17 fields from this table
Need help with VendInvoiceIntrastat in a report, an integration or a migration? Talk to Dr Dynamics.