Data entity
EDInvoiceTableEntity
Read-only entity with exchange difference invoice headers, used for Turkey. Each record holds the account, currency, exchange difference type and amount, invoice date, posting profile and sales tax details. It also shows posting, approval and reconciliation status, and links to main account, chart of accounts and default dimensions. Keyed by exchange difference invoice ID.
- Entity name
EDInvoiceTableEntity- Public entity name
EDInvoiceTable- OData collection
EDInvoiceTables- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
EDInvoiceId- Staging table
EDInvoiceTableStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EDInvoiceTables- Dataverse virtual table
mserp_edinvoicetableentity. 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
EDInvoiceTableTR· rootMainAccount· OuterJoin toEDInvoiceTableTR· read-onlyLedgerChartOfAccounts· OuterJoin toMainAccount· read-onlyDimensionDefaultDAVS(tableDimensionSetEntity) · OuterJoin toEDInvoiceTableTR· read-only
Fields (32)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNameName of the customer or vendor account. | String (60)AccountName | No | Yes | EDInvoiceTableTR.AccountName | |
AccountNumAccount number of the customer or vendor. | String (20)CustVendAC | No | Yes | CustTable.AccountNumVendTable.AccountNum | EDInvoiceTableTR.AccountNum |
AccountTypeShows whether the account is a customer or a vendor. | Enum
| No | Yes | EDInvoiceTableTR.AccountType | |
CurrencyCodeCurrency of the invoice. It points to the currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | EDInvoiceTableTR.CurrencyCode |
DimensionDefaultDefault financial dimension values for the invoice. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | EDInvoiceTableTR.DimensionDefault |
EDInvoiceIdIdentifier of the exchange difference invoice. | String (20)EDInvoiceIdTR | Yes | Yes | EDInvoiceTableTR.EDInvoiceId | |
EDTypeKind of exchange difference record: pending invoice, exchange difference invoice, or revaluate and close. | Enum
| No | Yes | EDInvoiceTableTR.EDType | |
EDAmountTotal exchange difference amount of the invoice. | RealAmount | No | Yes | EDInvoiceTableTR.EDAmount | |
InvoiceDateDate of the invoice. | DateInvoiceDate | No | Yes | EDInvoiceTableTR.InvoiceDate | |
InvoiceIdInvoice number. | String (50)InvoiceId | No | Yes | EDInvoiceTableTR.InvoiceId | |
InvoiceTxtShort description of the invoice. | String (60)Description | No | Yes | EDInvoiceTableTR.InvoiceTxt | |
PostedShows whether the invoice has been posted. | EnumPosted
| No | Yes | EDInvoiceTableTR.Posted | |
PostingProfilePosting profile used for the invoice. | StringPostingProfile | No | Yes | EDInvoiceTableTR.PostingProfile | |
ProfitLossAccountRecIdMain account used for the exchange difference. It points to the main account record. | Int64MainAccountRecId | No | No (private) | MainAccount.RecId | EDInvoiceTableTR.ProfitLossAccountRecId |
RefVoucherVoucher number of the referenced transaction. | String (20)Voucher | No | Yes | EDInvoiceTableTR.RefVoucher | |
RefVoucherDateDate of the referenced voucher. | DateInvoiceDate | No | Yes | EDInvoiceTableTR.RefVoucherDate | |
TaxAmountSales tax amount; currency not stated in the metadata. | RealTaxAmount | No | Yes | EDInvoiceTableTR.TaxAmount | |
TaxGroupSales tax group applied to the invoice. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | EDInvoiceTableTR.TaxGroup |
TaxItemGroupItem sales tax group applied to the invoice. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | EDInvoiceTableTR.TaxItemGroup |
TaxWriteCodeCode used when printing the tax. | StringTaxWriteCode | No | Yes | EDInvoiceTableTR.TaxWriteCode | |
TransRecIdSystem record ID of the customer or vendor transaction the invoice comes from. | Int64RefRecId | No | No (private) | CustTrans.RecIdVendTrans.RecId | EDInvoiceTableTR.TransRecId |
VoucherUnique voucher number of the exchange difference invoice. | String (20)EDVoucherTR | No | Yes | EDInvoiceTableTR.Voucher | |
IsExcludedShows whether the record is excluded. | EnumNoYesId
| No | Yes | EDInvoiceTableTR.IsExcluded | |
MailSendedShows whether a reconciliation statement has been sent. | EnumNoYesId
| No | Yes | EDInvoiceTableTR.MailSended | |
IsApprovedShows whether the invoice has been approved. | EnumNoYesId
| No | Yes | EDInvoiceTableTR.IsApproved | |
ApproveDateDate on which the invoice was approved. | DateTransDate | No | Yes | EDInvoiceTableTR.ApproveDate | |
MainAccountLedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
MainAccountMainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
LedgerChartOfAccountsNameName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name | |
DimensionDefaultDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DescriptionFree-text description of the record. | String (60)Description | No | Yes | EDInvoiceTableTR.Description | |
EDAmountReportingExchange difference amount in the reporting currency. | RealAmount | No | Yes | EDInvoiceTableTR.EDAmountReporting |
Foreign keys (10)
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.
AccountNum→CustTable.AccountNum(key of CustTable)Relation also requires AccountType = null.
Many EDInvoiceTableTR records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AccountNum→VendTable.AccountNum(key of VendTable)Relation also requires AccountType = 1.
Many EDInvoiceTableTR records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many EDInvoiceTableTR records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DimensionDefault→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many EDInvoiceTableTR records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
ProfitLossAccountRecId→MainAccount.RecId(key of MainAccount)Many EDInvoiceTableTR records → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
TaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many EDInvoiceTableTR records → exactly one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
TaxItemGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many EDInvoiceTableTR records → exactly one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
TransRecId→CustTrans.RecId(key of CustTrans)Relation also requires AccountType = null.
Many EDInvoiceTableTR records → zero or one CustTrans record
CustTrans details: see BusinessDocumentCustTransEntity, BusinessDocumentCustTransV2Entity, BusinessDocumentSalesInvoiceBaseEntity
TransRecId→VendTrans.RecId(key of VendTrans)Relation also requires AccountType = 1.
Many EDInvoiceTableTR records → zero or one VendTrans record
VendTrans details: see VendorPaymentJournalLineSettledInvoiceEntity, VendTransBiEntity, VendTransCDREntity
MainAccountLedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, CPRediscountTableEntity
Need help with EDInvoiceTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.