Data entity

TrvExpTransEntity

Read-only list of expense lines, keyed by expense transaction number. It has amounts in several currencies, tax amounts, approval status, category, per diem dates, meal reductions and the expense report number. It joins cities, ZIP codes, cash advances, workers, locations, dimension sets and financial tags.

Entity name
TrvExpTransEntity
Public entity name
Expenses
OData collection
Expenses
Category
Transaction
Module
Travel and expense
Read-only
Yes
Data management enabled
Yes
Configuration key
Trv
Keys
ExpenseTransactionNumber
Staging table
TrvExpTransStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/Expenses
Dataverse virtual table
mserp_trvexptransentity. 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

  • TrvExpTrans · root
  • AddressCity (table LogisticsAddressCity) · OuterJoin to TrvExpTrans · read-only
  • AddressZipCode (table LogisticsAddressZipCode) · OuterJoin to TrvExpTrans · read-only
  • CashAdvance (table TrvCashAdvance) · OuterJoin to TrvExpTrans · read-only
  • ItemizedLine (table TrvExpTrans) · OuterJoin to TrvExpTrans · read-only
  • LegalEntity (table CompanyInfo) · InnerJoin to TrvExpTrans · read-only
  • SubCategory (table TrvExpSubCategory) · OuterJoin to TrvExpTrans · read-only
  • TrvSharedSubCategory · OuterJoin to SubCategory · read-only
  • TrvExpTableRecID (table TrvExpTable) · OuterJoin to TrvExpTrans · read-only
  • LegalEntity1 (table CompanyInfo) · OuterJoin to TrvExpTableRecID · read-only
  • TrvHcmWorker (table HcmWorker) · InnerJoin to TrvExpTrans · read-only
  • TrvLocations · OuterJoin to TrvExpTrans · read-only
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to TrvExpTrans · read-only
  • FinTag · OuterJoin to TrvExpTrans · read-only

Fields (110)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ExpenseTransactionNumberNumber that identifies the expense line.String (20)
TrvExpTransNumber
NoYesTrvExpTrans.ExpTransNumber
CurrencyCurrency of the transaction amount.String (3)
TrvCurrencyCode
NoYesCurrency.CurrencyCodeTrvExpTrans.ExchangeCode
AmountAmount over budget in company currency.Real
AmountMST
NoYesTrvExpTrans.AccountingCurrencyOverBudgetAmount
ReconciledReconciled amount in company currency.Real
AmountMST
NoYesTrvExpTrans.AccountingCurrencyReconciledAmount
AdditionalInformationFree text with extra details about the expense.String (1000)
ItemFreeTxt
NoYesTrvExpTrans.AdditionalInformation
AddressCityRecord ID of the city linked to the expense.Int64
LogisticsAddressCityRecId
NoNo (private)LogisticsAddressCity.RecIdTrvExpTrans.AddressCity
AddressZipCodeRecord ID of the ZIP/postal code linked to the expense.Int64
LogisticsAddressZipCodeRecId
NoNo (private)LogisticsAddressZipCode.RecIdTrvExpTrans.AddressZipCode
TransactionAmountAmount of the expense in the transaction currency.Real
TrvTransactionCurrencyAmount
NoYesTrvExpTrans.AmountCurr
AmountMSTAmount of the expense in company currency.Real
AmountMST
NoYesTrvExpTrans.AmountMST
ApplyActionYes/No flag. Its exact meaning is not stated.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.ApplyAction
ApprovalStatusApproval status of the line, such as draft, approved or rejected.Enum
TrvAppStatus
  • None 0
  • Create 1
  • Submitted 2
  • Approved 3
  • Returned 4
  • Ready 5
  • Ledger 6
  • Cancelled 8
  • Pending 9
  • Matched 10
NoYesTrvExpTrans.ApprovalStatus
DateApprovedDate the line was approved.Date
TrvDateStd
NoYesTrvExpTrans.ApprovedDate
PurposePurpose of the expense line.String (100)
TrvLinePurposeEDT
NoYesTrvExpTrans.BusinessPurpose
CashAdvanceRecIdRecord ID of the linked cash advance request.Int64
RefRecId
NoNo (private)TrvCashAdvance.RecIdTrvExpTrans.CashAdvanceRecId
CityCity name for the expense.String (60)
AddressCity
NoYesTrvExpTrans.City
ActualSalesTaxAmountActual sales tax amount for the line.Real
TaxAmountJournal
NoYesTrvExpTrans.CorrectedTaxAmount
SalesTaxAmountInCompanyCurrencySales tax amount in company currency.Real
TaxAmount
NoYesTrvExpTrans.CorrectedTaxAmountMST
CostOwnerWho owns the expense: company, employee or customer/others.Enum
TrvCostownerEDT
TrvCostOwner
  • Company 0
  • Employee 1
  • CustomerOther 2
NoYesTrvExpTrans.CostOwner
ExpenseCategoryExpense category of the line.String (30)
TrvCostTypeEDT
YesYesTrvCostType.CostTypeTrvExpTrans.CostType
CountryRegionCountry or region of the expense.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdTrvExpTrans.CountryRegion
EmployeeEmployee who created the line.Int64
TrvHcmWorkerRecId
YesNo (private)HcmWorker.RecIdTrvExpTrans.CreatingWorker
CreditCardLocalCurrencyLocal currency of the credit card transaction.String (3)
TrvCurrencyCode
NoYesCurrency.CurrencyCodeTrvExpTrans.CreditCardTransactionCurrency
CreditCardLocalAmountAmount of the credit card transaction in local currency.Real
TrvTransactionCurrencyAmount
NoYesTrvExpTrans.CreditCardTransactionCurrencyAmount
PerDiemFromDateStart date and time of the per diem period.UtcDateTime
TrvDateTime
NoYesTrvExpTrans.DateFrom
PerDiemToDateEnd date and time of the per diem period.UtcDateTime
TrvDateTime
NoYesTrvExpTrans.DateTo
MealReductionMeal reduction amount.Real
TrvTransactionCurrencyAmount
NoYesTrvExpTrans.Deduktion
BreakfastNumber of breakfasts counted for the meal reduction.Integer
Integer
NoYesTrvExpTrans.DeduktionBreakfest
DinnerNumber of dinners counted for the meal reduction.Integer
Integer
NoYesTrvExpTrans.DeduktionDinner
LunchNumber of lunches counted for the meal reduction.Integer
Integer
NoYesTrvExpTrans.DeduktionLunch
DimensionDefault financial dimension values for the line.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdTrvExpTrans.DefaultDimension
CategoryDescriptionDescription of the expense category.String (60)
TrvExpTransDescription
NoYesTrvExpTrans.Description
LocationOfEntertainmentPlace where the entertainment took place.String (100)
TrvEntertainmentLocation
NoYesTrvExpTrans.EntertainmentLocation
ExchangeRateExchange rate used for the expense.Real
ExchRate
NoYesTrvExpTrans.ExchangeRate
ExpenseReportNumberNumber of the expense report that holds this line.String (20)
TrvExpNumber
NoYesTrvExpTrans.ExpNumber
ExpenseTypeType of expense, such as mileage, per diem, airline or entertainment.Enum
TrvExpTypeEDT
TrvExpType
  • Empty 0
  • Expense 1
  • Advance 2
  • Allowance 3
  • Transport 4
  • Personal 5
  • Airline 6
  • CarRental 7
  • Conference 8
  • Entertainment 9
  • Hotel 10
  • Meals 11
  • Gift 12
YesYesTrvExpTrans.ExpType
IntercompanyBilledYes/No flag for intercompany billing. Its exact meaning is not stated.low confidenceEnum
boolean

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.IntercompanyBilled
IntercompanyProjectCategoryProject category used for intercompany purposes.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdTrvExpTrans.InterCompanyCategory
IntercompanyLegalEntityLegal entity involved in the intercompany expense.String
TrvLegalEntity
NoYesCompanyInfo.DataAreaTrvExpTrans.InterCompanyLE
IntercompanyCurrencyCurrency of the intercompany sales price.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeTrvExpTrans.IntercompanySalesCurrency
IntercompanySalesPriceIntercompany sales price of the expense.Real
ProjSalesPriceCost
NoYesTrvExpTrans.IntercompanySalesPrice
IntercompanyTransferCurrencyCurrency of the intercompany cost price.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeTrvExpTrans.IntercompanyTransferCurrency
IntercompanyCostPriceIntercompany cost price of the expense.Real
ProjCostPriceCost
NoYesTrvExpTrans.IntercompanyTransferPrice
InvoiceAmountAmount on the invoice.Real
AmountCur
NoYesTrvExpTrans.InvoiceAmt
IsPreAuthorizedYes/No flag showing the expense is pre-authorized.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.IsPreAuthorized
IsSplitToPersonalYes/No flag showing the line is split to a personal part.Enum
TrvIsSplit
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.IsSplit
MileageDistance travelled in the employee's own car.Real
TrvMileage
NoYesTrvExpTrans.KMOwnCar
RatePerMileRate paid per distance unit for mileage.Real
TrvCostRate
NoYesTrvExpTrans.KMPrice
LegalEntityLegal entity the line belongs to.Int64
LegalEntity
YesNo (private)CompanyInfo.RecIdTrvExpTrans.LegalEntity
LineNumberNumber of the line in the report.Real
TrvLineNumber
NoYesTrvExpTrans.LineNumber
ExpenseLineTypeKind of line: default, itemized header or itemized line.Enum
TrvExpLineType
  • Default 0
  • ItemizedHeader 1
  • ItemizedLine 2
NoYesTrvExpTrans.LineType
MappedToRequisitionLineRecord ID of the linked travel requisition line.Int64
RefRecId
NoNo (private)TrvRequisitionLine.RecIdTrvExpTrans.MappedToRequisitionLine
MerchantMerchant for the expense.String (255)
TrvExpMerchantId
NoYesTrvExpMerchant.MerchantIdTrvExpTrans.MerchantId
MileageFromAddressStart address of the mileage trip.String (100)
TrvMileageAddress
NoYesTrvExpTrans.MileageFromAddress
MileageToAddressEnd address of the mileage trip.String (100)
TrvMileageAddress
NoYesTrvExpTrans.MileageToAddress
NetTransactionAmountNet amount of the transaction.Real
AmountCur
NoYesTrvExpTrans.NetTransactionAmount
DateRejectedDate the line was rejected.Date
TrvDateStd
NoYesTrvExpTrans.NotApprovedDate
NumberOfPassengersNumber of passengers.Integer
TrvNumberOfPassengers
NoYesTrvExpTrans.NumberOfPassengers
OriginalReceiptsReceivedYes/No flag showing original receipts were received.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.OriginalReceiptsRecvd
OriginalSourceDocumentLineRecord ID of the original source document line.Int64
RefRecId
NoNo (private)SourceDocumentLine.RecIdTrvExpTrans.OriginalSourceDocumentLine
RecIdOfItemizedHeaderRecord ID of the itemized header line that this line belongs to.Int64
RefRecId
NoNo (private)TrvExpTrans.RecIdTrvExpTrans.ParentRecId
PaymentMethodPayment method used for the expense.String
TrvPayMethodEDT
YesYesTrvPayMethod.PayMethodTrvValidatePayment.PayMethodTrvExpTrans.PayMethod
ImportedCreditCardYes/No flag showing the line came from an imported credit card statement.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.PBS_Statement
PBSRecIdRecord ID of the linked credit card record.Int64
RefRecId
NoNo (private)TrvPBSMaindata.RecIdTrvExpTrans.PBSRecId
PostingErrorsText with posting errors for the line.String (100)
TrvPostingErrors
NoYesTrvExpTrans.PostingErrors
ActivityNumberProject activity linked to the expense.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberTrvExpTrans.ProjActivityNumber
ProjectIDProject the expense is charged to.String (20)
ProjId
NoYesProjTable.ProjIdTrvExpTrans.ProjId
StatusResult of the project expense policy check, such as passed, warning or failed.Enum
ProjExpPolicyStatus
  • NoPolicy 0
  • ExpensePassed 1
  • DayPassed 3
  • ReportPassed 2
  • ExpenseWarning 4
  • DayWarning 5
  • ReportWarning 6
  • ExpenseFailed 7
  • DayFailed 8
  • ReportFailed 9
NoYesTrvExpTrans.ProjPolicyStatus
BillableProject line property, shown as billable.String
ProjLinePropertyId
NoYesProjLineProperty.LinePropertyIdTrvExpTrans.ProjStatusId
ReceiptNumberNumber printed on the receipt.String (60)
TrvReceiptNumber
NoYesTrvExpTrans.ReceiptNumber
ReceiptRequiredYes/No flag showing a receipt is required.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.ReceiptRequired
ReceiptsAttachedYes/No flag showing receipts are attached.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.ReceiptsAttached
CompanyCompany the line belongs to.String
DataAreaId
NoYesCompanyInfo.DataAreaTrvExpTrans.ReferenceDataAreaId
ReimbursementAmountAmount to reimburse.Real
AmountCur
NoYesTrvExpTrans.ReimburseAmt
SourceDocumentLineRecord ID of the linked source document line.Int64
RefRecId
NoNo (private)SourceDocumentLine.RecIdTrvExpTrans.SourceDocumentLine
ExpenseSubcategoryRecord ID of the expense subcategory.Int64
TrvExpSubCategoryEDT
NoNo (private)TrvExpSubCategory.RecIdTrvExpTrans.SubCategoryRecId
SalesTaxGroupSales tax group for the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupTrvExpTrans.TaxGroup
TaxIncludedYes/No flag showing the amount includes tax.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.TaxIncluded
ItemSalesTaxGroupItem sales tax group for the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupTrvExpTrans.TaxItemGroup
TicketClassClass of the ticket, such as for a flight.String (60)
Description
NoYesTrvExpTrans.TicketClass
TicketNumberNumber of the ticket.String (60)
Description
NoYesTrvExpTrans.TicketNumber
TicketUsedYes/No flag showing the ticket was used.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.TicketUsed
InternalNoteInternal note about the transaction.String (60)
TransTxt
NoYesTrvExpTrans.TransactionText
TransactionDateDate of the transaction.Date
TrvDateStd
YesYesTrvExpTrans.TransDate
TransRowNumRow number of the transaction.low confidenceInteger
Integer
NoYesTrvExpTrans.TransRowNum
ExpenseReportRecIdRecord ID of the expense report that holds the line.Int64
RefRecId
NoNo (private)TrvExpTable.RecIdTrvExpTrans.TrvExpTable
LocationRecord ID of the travel location.Int64
RefRecId
NoNo (private)TrvLocations.RecIdTrvExpTrans.TrvLocations
VehicleTypeType of vehicle used for mileage.String (30)
TrvVehicleType
NoYesTrvExpTrans.VehicleType
VoucherVoucher number linked to the line.String (20)
Voucher
NoYesTrvExpTrans.Voucher
MobileStatementYes/No flag. It probably shows the line came from the mobile app.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.Mobile_Statement
ProjectTransactionIDProject transaction ID linked to the line.String (20)
ProjCostTransId
NoYesTrvExpTrans.ProjTransId
AddressStateState or province of the expense.String
LogisticsAddressStateId
NoYesTrvExpTrans.AddressState
ExpenseLineLevelPostingYes/No flag for posting at expense line level.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTrvExpTrans.LineLevelPosting
PostAccountIdentificationOffset account for the expense line.String (20)
LedgerJournalAC
NoYesTrvExpTrans.PostAccount
PostOffsetAccountTypeType of the offset account, such as ledger, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesTrvExpTrans.PostAccountType
SplitLineTypeKind of split line: default, split header or split line.Enum
TrvExpSplitLineType
  • NoSplit 0
  • SplitHeader 1
  • SplitLine 2
NoYesTrvExpTrans.SplitLineType
AddressCityNameName of the city.String (60)
LogisticsAddressCityName
NoYesLogisticsAddressCity.Name
AddressZipCodeDetailsThe ZIP or postal code.String
LogisticsAddressZipCodeId
NoYesLogisticsAddressZipCode.ZipCode
CashAdvanceNumberUnique number of the cash advance request.String (20)
TrvCashAdvanceNumber
NoYesTrvCashAdvance.CashAdvanceNumber
ItemizedLineTransNumberNumber that identifies the expense line.String (20)
TrvExpTransNumber
NoYesTrvExpTrans.ExpTransNumber
LegalEntityDataAreaIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
SubCategoryCostTypeExpense category the subcategory belongs to.String (30)
TrvCostTypeEDT
NoYesTrvCostType.CostTypeTrvExpSubCategory.CostType
SharedSubCategoryRecord ID of the shared subcategory that gives this record its name.Int64
RefRecId
YesNo (private)TrvSharedSubCategory.RecIdTrvExpSubCategory.TrvSharedSubCategory
SharedSubCategoryNameName of the expense subcategory.String (40)
TrvExpSubCategoryName
NoYesTrvSharedSubCategory.Name
LegalEntityRecIdLegal entity the report belongs to.Int64
LegalEntity
NoNo (private)CompanyInfo.RecIdTrvExpTable.LegalEntity
EmployeePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
LocationsLocationName of the travel location.String (128)
TrvLocation
NoYesTrvLocations.Location
LocationsCountryRegionIdCountry/region of the location. It points to a country/region record.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdTrvLocations.CountryRegionId
LocationsStateIdState or province of the location. It points to a state record in the same country/region.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdTrvLocations.StateId
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
FinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue

Foreign keys (36)

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.

Need help with TrvExpTransEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk