Table
EDInvoiceTableTR
Exchange difference invoicing
Header records for exchange difference invoicing, used for Turkey. Each row is for a customer or vendor account and holds the invoice type, amounts, tax details, voucher references and approval status. It links to the originating customer or vendor transaction.
- Table name
EDInvoiceTableTR- Module
Cross-module and platform- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNameName of the customer or vendor account. | String (60)AccountName | No | EDInvoiceTableEntity | |
AccountNumAccount number of the customer or vendor. | String (20)CustVendAC | No | CustTable.AccountNumVendTable.AccountNum | EDInvoiceTableEntity |
AccountTypeShows whether the account is a customer or a vendor. | EnumCustVendACType (enum) | No | EDInvoiceTableEntity | |
ApproveDateDate on which the invoice was approved. | DateTransDate | No | EDInvoiceTableEntity | |
CurrencyCodeCurrency of the invoice. It points to the currency record. | String (3)CurrencyCode | No | Currency.CurrencyCode | EDInvoiceTableEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the record. | String (60)Description | No | EDInvoiceTableEntity | |
DimensionDefaultDefault financial dimension values for the invoice. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | EDInvoiceTableEntity |
EDAmountTotal exchange difference amount of the invoice. | RealAmount | No | EDInvoiceTableEntity | |
EDAmountReportingExchange difference amount in the reporting currency. | RealAmount | No | EDInvoiceTableEntity | |
EDInvoiceIdIdentifier of the exchange difference invoice. | String (20)EDInvoiceIdTR | Yes | EDInvoiceTableEntity | |
EDTypeKind of exchange difference record: pending invoice, exchange difference invoice, or revaluate and close. | EnumEDTypeTR (enum) | No | EDInvoiceTableEntity | |
InvoiceDateDate of the invoice. | DateInvoiceDate | No | EDInvoiceTableEntity | |
InvoiceIdInvoice number. | String (50)InvoiceId | No | EDInvoiceTableEntity | |
InvoiceTxtShort description of the invoice. | String (60)Description | No | EDInvoiceTableEntity | |
IsApprovedShows whether the invoice has been approved. | EnumNoYesIdNoYes (enum) | No | EDInvoiceTableEntity | |
IsExcludedShows whether the record is excluded. | EnumNoYesIdNoYes (enum) | No | EDInvoiceTableEntity | |
MailSendedShows whether a reconciliation statement has been sent. | EnumNoYesIdNoYes (enum) | No | EDInvoiceTableEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostedShows whether the invoice has been posted. | EnumPostedNoYes (enum) | No | EDInvoiceTableEntity | |
PostingProfilePosting profile used for the invoice. | StringPostingProfile | No | EDInvoiceTableEntity | |
ProfitLossAccountRecIdMain account used for the exchange difference. It points to the main account record. | Int64MainAccountRecId | No | MainAccount.RecId | EDInvoiceTableEntity |
PSPrefixTRSerial prefix for the e-invoice. It relates to the e-invoice serial table. | StringPSPrefixTR | No | None | |
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 | |
RefVoucherVoucher number of the referenced transaction. | String (20)Voucher | No | EDInvoiceTableEntity | |
RefVoucherDateDate of the referenced voucher. | DateInvoiceDate | No | EDInvoiceTableEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountSales tax amount; currency not stated in the metadata. | RealTaxAmount | No | EDInvoiceTableEntity | |
TaxCodeSales tax code applied. | StringTaxCode | No | None | |
TaxGroupSales tax group applied to the invoice. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | EDInvoiceTableEntity |
TaxItemGroupItem sales tax group applied to the invoice. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | EDInvoiceTableEntity |
TaxWriteCodeCode used when printing the tax. | StringTaxWriteCode | No | EDInvoiceTableEntity | |
TransRecIdSystem record ID of the customer or vendor transaction the invoice comes from. | Int64RefRecId | No | CustTrans.RecIdVendTrans.RecId | EDInvoiceTableEntity |
VoucherUnique voucher number of the exchange difference invoice. | String (20)EDVoucherTR | No | EDInvoiceTableEntity |
Indexes (2)
ExcAdjInvoiceIdxUnique, alternate key.
PSIdxAccountType,Posted,EDType,EDAmount,PartitionNot unique.
Relations (10)
Each relation joins EDInvoiceTableTR to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany EDInvoiceTableTR records → exactly one Currency record
CustTable→CustTableJoin on
AccountType = null,AccountNum = CustTable.AccountNumMany EDInvoiceTableTR records → zero or one CustTable record
CustTrans→CustTransJoin on
AccountType = null,TransRecId = CustTrans.RecIdMany EDInvoiceTableTR records → zero or one CustTrans record
DimensionDefault→DimensionAttributeValueSetJoin on
DimensionDefault = DimensionAttributeValueSet.RecIdMany EDInvoiceTableTR records → zero or one DimensionAttributeValueSet record
MainAccount→MainAccountJoin on
ProfitLossAccountRecId = MainAccount.RecIdMany EDInvoiceTableTR records → zero or one MainAccount record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany EDInvoiceTableTR records → exactly one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany EDInvoiceTableTR records → exactly one TaxItemGroupHeading record
VendTable→VendTableJoin on
AccountType = 1,AccountNum = VendTable.AccountNumMany EDInvoiceTableTR records → zero or one VendTable record
VendTrans→VendTransJoin on
AccountType = 1,TransRecId = VendTrans.RecIdMany EDInvoiceTableTR records → zero or one VendTrans record
PSSerialTableTR→PSSerialTableTRJoin on
PSPrefixTR = PSSerialTableTR.Prefix,PSSerialTableTR.SerialType = PSSerialTypeTR::InvoiceMany EDInvoiceTableTR records → zero or one PSSerialTableTR record
Get this data out
Tables are not exposed directly. These public entities read from EDInvoiceTableTR; use one of them in Power BI, Power Platform or a data management project.
EDInvoiceTableEntity· 28 fields from this table
Need help with EDInvoiceTableTR in a report, an integration or a migration? Talk to Dr Dynamics.