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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNameName of the customer or vendor account.String (60)
AccountName
NoEDInvoiceTableEntity
AccountNumAccount number of the customer or vendor.String (20)
CustVendAC
NoCustTable.AccountNumVendTable.AccountNumEDInvoiceTableEntity
AccountTypeShows whether the account is a customer or a vendor.Enum
CustVendACType (enum)
NoEDInvoiceTableEntity
ApproveDateDate on which the invoice was approved.Date
TransDate
NoEDInvoiceTableEntity
CurrencyCodeCurrency of the invoice. It points to the currency record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeEDInvoiceTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the record.String (60)
Description
NoEDInvoiceTableEntity
DimensionDefaultDefault financial dimension values for the invoice.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdEDInvoiceTableEntity
EDAmountTotal exchange difference amount of the invoice.Real
Amount
NoEDInvoiceTableEntity
EDAmountReportingExchange difference amount in the reporting currency.Real
Amount
NoEDInvoiceTableEntity
EDInvoiceIdIdentifier of the exchange difference invoice.String (20)
EDInvoiceIdTR
YesEDInvoiceTableEntity
EDTypeKind of exchange difference record: pending invoice, exchange difference invoice, or revaluate and close.Enum
EDTypeTR (enum)
NoEDInvoiceTableEntity
InvoiceDateDate of the invoice.Date
InvoiceDate
NoEDInvoiceTableEntity
InvoiceIdInvoice number.String (50)
InvoiceId
NoEDInvoiceTableEntity
InvoiceTxtShort description of the invoice.String (60)
Description
NoEDInvoiceTableEntity
IsApprovedShows whether the invoice has been approved.Enum
NoYesId
NoYes (enum)
NoEDInvoiceTableEntity
IsExcludedShows whether the record is excluded.Enum
NoYesId
NoYes (enum)
NoEDInvoiceTableEntity
MailSendedShows whether a reconciliation statement has been sent.Enum
NoYesId
NoYes (enum)
NoEDInvoiceTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedShows whether the invoice has been posted.Enum
Posted
NoYes (enum)
NoEDInvoiceTableEntity
PostingProfilePosting profile used for the invoice.String
PostingProfile
NoEDInvoiceTableEntity
ProfitLossAccountRecIdMain account used for the exchange difference. It points to the main account record.Int64
MainAccountRecId
NoMainAccount.RecIdEDInvoiceTableEntity
PSPrefixTRSerial prefix for the e-invoice. It relates to the e-invoice serial table.String
PSPrefixTR
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefVoucherVoucher number of the referenced transaction.String (20)
Voucher
NoEDInvoiceTableEntity
RefVoucherDateDate of the referenced voucher.Date
InvoiceDate
NoEDInvoiceTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount; currency not stated in the metadata.Real
TaxAmount
NoEDInvoiceTableEntity
TaxCodeSales tax code applied.String
TaxCode
NoNone
TaxGroupSales tax group applied to the invoice.String
TaxGroup
NoTaxGroupHeading.TaxGroupEDInvoiceTableEntity
TaxItemGroupItem sales tax group applied to the invoice.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupEDInvoiceTableEntity
TaxWriteCodeCode used when printing the tax.String
TaxWriteCode
NoEDInvoiceTableEntity
TransRecIdSystem record ID of the customer or vendor transaction the invoice comes from.Int64
RefRecId
NoCustTrans.RecIdVendTrans.RecIdEDInvoiceTableEntity
VoucherUnique voucher number of the exchange difference invoice.String (20)
EDVoucherTR
NoEDInvoiceTableEntity

Indexes (2)

Relations (10)

Each relation joins EDInvoiceTableTR to another table on the fields shown.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many EDInvoiceTableTR records → exactly one Currency record

  • CustTable → CustTable

    Join on AccountType = null, AccountNum = CustTable.AccountNum

    Many EDInvoiceTableTR records → zero or one CustTable record

  • CustTrans → CustTrans

    Join on AccountType = null, TransRecId = CustTrans.RecId

    Many EDInvoiceTableTR records → zero or one CustTrans record

  • DimensionDefault → DimensionAttributeValueSet

    Join on DimensionDefault = DimensionAttributeValueSet.RecId

    Many EDInvoiceTableTR records → zero or one DimensionAttributeValueSet record

  • MainAccount → MainAccount

    Join on ProfitLossAccountRecId = MainAccount.RecId

    Many EDInvoiceTableTR records → zero or one MainAccount record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many EDInvoiceTableTR records → exactly one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many EDInvoiceTableTR records → exactly one TaxItemGroupHeading record

  • VendTable → VendTable

    Join on AccountType = 1, AccountNum = VendTable.AccountNum

    Many EDInvoiceTableTR records → zero or one VendTable record

  • VendTrans → VendTrans

    Join on AccountType = 1, TransRecId = VendTrans.RecId

    Many EDInvoiceTableTR records → zero or one VendTrans record

  • PSSerialTableTR → PSSerialTableTR

    Join on PSPrefixTR = PSSerialTableTR.Prefix, PSSerialTableTR.SerialType = PSSerialTypeTR::Invoice

    Many 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.

Need help with EDInvoiceTableTR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk