Data entity

VendInvoiceJournalLineEntity

Lines of vendor invoice journals, keyed by journal batch number and line number. Each line carries the account and offset account, debit or credit amount, invoice and document details, due date, cash discount, payment terms and sales tax codes. It links to many related records, including dimensions, workers, postal addresses and tax data for Brazil, China, Iceland and Thailand.

Entity name
VendInvoiceJournalLineEntity
Public entity name
VendInvoiceJournalLine
OData collection
VendInvoiceJournalLines
Category
Document
Module
Accounts payable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
JournalBatchNumber, LineNumber
Staging table
VendInvoiceJournalLineStaging

Use it in Power BI and Power Platform

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

  • LedgerJournalTrans · root
  • Approver_FK (table HcmWorker) · OuterJoin to LedgerJournalTrans · read-only
  • InvoiceDeclarationId_FK (table VendInvoiceDeclaration_IS) · OuterJoin to LedgerJournalTrans · read-only
  • AccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • OffsetAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • LedgerJournalTable · InnerJoin to LedgerJournalTrans · read-only
  • LogisticsPostalAddressBaseEntity · OuterJoin to LedgerJournalTrans · read-only
  • TaxWithholdItemGroupHeading_TH · OuterJoin to LedgerJournalTrans · read-only
  • LedgerVoucherType_CN · OuterJoin to LedgerJournalTrans · read-only
  • DefaultDimensionDSE (table DimensionSetEntity) · OuterJoin to LedgerJournalTrans · read-only
  • LedgerJournalTrans_Asset · OuterJoin to LedgerJournalTrans
  • LedgerJournalTransTaxExtension · OuterJoin to LedgerJournalTrans
  • OffsetDimensionSetEntity (table DimensionSetEntity) · OuterJoin to LedgerJournalTrans · read-only
  • FinTag · OuterJoin to LedgerJournalTrans · read-only
  • OffsetFinTag (table FinTag) · OuterJoin to LedgerJournalTrans · read-only
  • VendInvoiceImportedSalesTaxPendingAllocateTable · OuterJoin to LedgerJournalTrans
  • LedgerJournalTransTaxExtension_BR · OuterJoin to LedgerJournalTrans

Fields (88)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CompanyCompany (legal entity) that the account on the line belongs to.String
SelectableDataArea
NoYesLedgerJournalTrans.Company
AccountTypeKind of account on the line, such as ledger, customer, vendor, bank or fixed asset.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesBankPaymentOrderJour_RU.LedgerACTypeLedgerJournalTrans.AccountType
CreditCredit amount in the transaction currency.Real
AmountCurCredit
NoYesLedgerJournalTrans.AmountCurCredit
DebitDebit amount in the transaction currency.Real
AmountCurDebit
NoYesLedgerJournalTrans.AmountCurDebit
ApprovedYes or no flag showing whether the line has been approved.Enum
Approved
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.Approved
ApprovedByWorker who approved the line.Int64
HcmApprover
NoNo (private)HcmWorker.RecIdLedgerJournalTrans.Approver
CashDiscountAmountCash discount amount.Real
DiscAmount
NoYesLedgerJournalTrans.CashDiscAmount
CashDiscountCash discount code applied to the line.String
CashDiscCode
NoYesCashDisc.CashDiscCodeLedgerJournalTrans.CashDiscCode
CurrencyCurrency of the transaction amounts on the line.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeLedgerJournalTrans.CurrencyCode
CashDiscountDateDate linked to the cash discount.Date
TransDate
NoYesLedgerJournalTrans.DateCashDisc
InvoiceDateDate of the source document.Date
DocumentDate
NoYesLedgerJournalTrans.DocumentDate
DocumentNumber of the source document.String (20)
DocumentNum
NoYesLedgerJournalTrans.DocumentNum
DueDateDue date of the payment.Date
DueDate
NoYesLedgerJournalTrans.Due
GSTHSTTaxTypeGST/HST tax type, such as rebates or self-assessment, used for Canada.Enum
GSTHSTTaxType_CA
  • None 0
  • Rebates111 1
  • TaxOnAcquisition205 2
  • SelfAssessment405 3
NoYesLedgerJournalTrans.GSTHSTTaxType_CA
InvoiceInvoice number.String (50)
InvoiceId
NoYesLedgerJournalTrans.Invoice
JournalBatchNumberUnique journal batch number. It is the key of this table.String (20)
LedgerJournalId
YesYesLedgerJournalTable.JournalNum
AccountAccount of the line, held as a dimension combination record.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerJournalTrans.LedgerDimension
DeliveryDateDelivery date, used for Spain.Date
LedgerJournalDlvDate_ES
NoYesLedgerJournalTrans.LedgerJournalDlvDate_ES
LineNumberLine number within the journal.Real
LineNum
NoYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum
ListcodeList code used for EU trade reporting, such as EU trade or triangular trade.Enum
ListcodeId
Listcode
  • IncludeNot 0
  • EUTrade 1
  • ProductionOnToll 2
  • TriangularEUTrade 3
  • TriangularProductionOnToll 4
  • PropertyMoving_CZ 50
  • TriangularIntermediateRole_HU 51
  • PurchasedOnBehalf_LV 53
NoYesLedgerJournalTrans.Listcode
OffsetAccountTypeKind of offset account, such as ledger, customer, 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
NoYesLedgerJournalTrans.OffsetAccountType
OffsetCompanyCompany of the offset account.String
SelectableDataArea
NoYesLedgerJournalTrans.OffsetCompany
OffsetAccountOffset account of the line, held as a dimension combination record.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerJournalTrans.OffsetLedgerDimension
OffsetTransactionTextText for the offset transaction.String (512)
LedgerJournalTransTxt
NoYesLedgerJournalTrans.OffsetTxt
TypeOfOperationType of operation, such as sale of goods or rent, used for Mexico.Enum
VendorOperationType_MX
  • Blank 0
  • SalesGoods 2
  • ProServices 3
  • RentLease 6
  • ImportGoodsServices 7
  • ImportVirtualTransfer 8
  • Other 85
  • GlobalOperations 87
NoYesLedgerJournalTrans.OperationType_MX
TermsOfPaymentPayment terms code.String (100)
PaymTermId
NoYesPaymTerm.PaymTermIdLedgerJournalTrans.Payment
MethodOfPaymentMethod of payment for the line.String
PaymMode
NoYesCustPaymModeTable.PaymModeVendPaymModeTable.PaymModeLedgerJournalTrans.PaymMode
PaymentSpecificationPayment specification linked to the method of payment.String
PaymSpec
NoYesCustPaymModeSpec.SpecificationVendPaymModeSpec.SpecificationLedgerJournalTrans.PaymSpec
PostingProfilePosting profile used for the account on the line.String
PostingProfile
NoYesEmplLedger_RU.PostingProfileRCashLedger.PostingProfileVendLedger.PostingProfileAssetLedger.PostingProfileCustLedger.PostingProfileVendLedger.PostingProfileLedgerJournalTrans.PostingProfile
ReasonCodePoints to a reason reference record.Int64
ReasonRefRecID
NoNo (private)ReasonTableRef.RecIdLedgerJournalTrans.ReasonRefRecID
SalesTaxCodeSales tax code for the line.String
TaxCode
NoYesTaxTable.TaxCodeLedgerJournalTrans.TaxCode
SalesTaxGroupSales tax group for the line.String
TaxGroupJournal
NoYesTaxGroupHeading.TaxGroupLedgerJournalTrans.TaxGroup
ItemSalesTaxGroupItem sales tax group for the line.String
TaxGroupJournal
NoYesTaxItemGroupHeading.TaxItemGroupLedgerJournalTrans.TaxItemGroup
TransactionTypeType of transaction, such as sales order, purchase order, inventory or project.Enum
LedgerTransType
  • None 0
  • Transfer 1
  • Sales 2
  • Purch 3
  • Invent 4
  • Production 5
  • Project 6
  • Interest 7
  • Cust 8
  • ExchAdjustment 9
  • SummedUp 10
  • Payroll 11
  • FixedAssets 12
  • CollectionLetter 13
  • Vend 14
  • Payment 15
  • Tax 16
  • Bank 17
  • Conversion 18
  • BillOfExchange 19
  • PromissoryNote 20
  • Cost 21
  • Work 22
  • Fee 23
  • Settlement 24
  • Allocation 25
  • Elimination 26
  • CashDiscount 27
  • OverUnder 28
  • PennyDifference 29
  • CrossCompanySettlement 30
  • PurchReq 31
  • InflationAdjustment_MX 32
  • PurchAdvanceApplication 33
  • ConversionReporting 34
  • FixedAssets_RU 79
  • RTax25_BadDebtDebitAmortisation 80
  • RDeferrals 81
  • RTax25_BadDebtCreditAmortisation 82
  • AdvanceAdjustment_RU 83
  • VATTaxAgent_RU 84
  • GainLossCurrencyDeal_RU 85
  • PdsRebateCreditNote 100
  • PdsRebatePassToAP 101
  • WriteOff 35
  • GeneralJournal 36
  • MCRUnderpayWriteOff 250
  • CustVendNetting 188
  • SalesPrepayment 251
  • AssetLeaseLeaseIR
  • AssetLeaseLeaseInterest
  • AssetLeaseLeasePayment
  • AssetLeaseLeaseAdjustment
  • AssetLeaseLeaseIRReversal
  • AssetLeaseLeaseInterestReversal
  • AssetLeaseLeasePaymentReversal
  • AssetLeaseLeaseROUDepreciation
  • AssetLeaseLeaseROUDepreciationReversal
  • AssetLeaseLeaseAdjustmentIncrease
  • AssetLeaseLeaseAdjustmentDecrease
  • AssetLeaseReversePriorLeaseClassification
  • AssetLeaseRecordNewLeaseClassification
  • AssetLeaseLeaseAdjustmentReversal
  • AssetLeaseLeaseAdjustmentIncreaseReversal
  • AssetLeaseLeaseAdjustmentDecreaseReversal
  • AssetLeaseReversePriorLeaseClassificationReversal
  • AssetLeaseRecordNewLeaseClassificationReversal
  • AssetLeaseLeaseExpense
  • AssetLeaseLeaseExpenseReversal
  • AssetLeaseLeaseLiabilityShortTermReclass
  • AssetLeaseLeaseLiabilityShortTermReclassReversal
  • AssetLeaseAssetImpairment
  • AssetLeaseLeaseAssetImpairmentReversal
  • AssetLeaseLeaseTermination
  • AssetLeaseLeaseTerminationReversal
  • ReportingCurrencyAdjustment
  • LedgerSettlement
  • LedgerSettlementReversal
  • LTMInflationAdjustment_AR
  • RevRecSalesOrderRevenueAdjustment
NoYesLedgerJournalTrans.TransactionType
DateTransaction date of the line.Date
TransDate
NoYesBankPaymentOrderJour_RU.JournalTransDateLedgerJournalTrans.TransDate
DescriptionDescription text of the line.String (512)
LedgerJournalTransTxt
NoYesLedgerJournalTrans.Txt
TaxExemptNumberTax exempt number.String (20)
VATNumJournal
NoYesLedgerJournalTrans.VATNumJournal
InvoiceDeclarationPoints to the vendor invoice declaration, used for Iceland.Int64
InvoiceDeclarationId_IS
NoNo (private)VendInvoiceDeclaration_IS.RecIdLedgerJournalTrans.VendInvoiceDeclaration_IS
VoucherVoucher number that groups the lines of one posting.String (20)
Voucher
NoYesBankPaymentOrderJour_RU.VoucherTaxEngineLedgerJournalTransHeader.VoucherLedgerJournalTrans.Voucher
UUIDUnique ID (UUID) of the electronic invoice, used for Mexico.String (36)
EInvoiceCFDIUUID_MX
NoYesLedgerJournalTrans.CFDIUUID_MX
ApproverNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
InvoiceDeclarationIdCode that identifies the invoice declaration.String
InvoiceSlipDeclarationId_IS
NoYesVendInvoiceDeclaration_IS.InvoiceDeclarationId
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
RemittanceAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
RemittanceAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
RemittanceAddressCountryThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
RemittanceAddressCountryISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
RemittanceAddressStateState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
RemittanceAddressCountyCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
RemittanceAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
RemittanceAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
RemittanceAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
RemittanceAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
RemittanceAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
RemittanceAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
RemittanceAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoYesLogisticsPostalAddress.ValidTo
RemittanceAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoYesLogisticsPostalAddress.ValidFrom
FullPrimaryRemittanceAddressThe full address as one formatted text.String (250)
LogisticsAddressing
NoYesLogisticsPostalAddress.Address
RemittanceAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
ItemWithholdingTaxGroupCodeIdentifier of the item withholding tax group. It is the key of the table.String
TaxWithholdItemGroup_TH
NoYesTaxWithholdItemGroupHeading_TH.TaxWithholdItemGroup
ChineseVoucherTypeRecIdPoints to the voucher type, used for China.Int64
LedgerVoucherTypeRefRecId_CN
NoNo (private)LedgerVoucherType_CN.RecIdLedgerJournalTrans.LedgerVoucherType_CN
ChineseVoucherTypeID of the voucher type. It is the key of the table.String
LedgerVoucherTypeId_CN
NoYesLedgerVoucherType_CN.Id
ChineseVoucherChinese voucher number, used for China.String (20)
Voucher_CN
NoYesLedgerJournalTrans.Voucher_CN
IsWithholdingTaxCalculateYes or no flag for calculating withholding tax, used for Thailand.Enum
TaxWithholdCalculate_TH
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTrans.TaxWithholdCalculate_TH
DefaultDimensionDefault financial dimension values for the line, as a dimension set record.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.DefaultDimension
DefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
BankAccountIdBank account ID used on the line.String
CompanyBankAccountId
NoYesBankAccountTable.AccountIDLedgerJournalTrans.BankAccountId
CustVendBankAccountIdIdentification of the customer or vendor bank account.String
BankAccountID
NoYesLedgerJournalTrans.CustVendBankAccountId
Tax1099FieldsPoints to the 1099 box for the line.Int64
Tax1099FieldsRecId
NoYesTax1099Fields.RecIdLedgerJournalTrans.Tax1099Fields
PaymIdPayment ID.String (200)
PaymId
NoYesLedgerJournalTrans.PaymId
BookIdFixed asset book the line applies to.String
AssetBookIdPurchSalesInvent
NoYesAssetBookTable.BookIdLedgerJournalTrans_Asset.BookId
AssetIdNumber of the fixed asset on the journal line.String (20)
AssetId
NoYesAssetTable.AssetIdLedgerJournalTrans_Asset.AssetId
AssetTransTypeType of asset transaction, such as acquisition, depreciation or disposal.Enum
AssetTransTypeJournal
  • None 0
  • Acquisition 1
  • AcquisitionAdj 2
  • Depreciation 3
  • DepreciationAdj 4
  • Revaluation 5
  • WriteUpAdj 6
  • WriteDownAdj 7
  • DisposalSale 8
  • DisposalScrap 9
  • CapitalReserve 10
  • CapitalReserveTransfer 11
  • ExtraordinaryDepreciation 12
  • DerogatoryIncrease 13
  • DerogatoryDecrease 14
  • BonusDepreciation 15
  • Preacquisition_CZ 100
  • NotCostAllocatedPart_PL 102
  • AccumulatedDepreciation_PL 103
  • PostingOffAccDepreciation_PL 104
  • ExpensedRetirmentObligation_JP 105
  • ReductionEntryRepaymentSubsidy_JP 106
  • ReductionEntryRepayment_JP 107
  • ReductionEntryRepaymentProportional_JP 108
  • MajorRepairs_RU 111
  • PartialTakeDown_RU 112
  • Disposal_RU 113
  • Lending_RU 114
  • LendingRet_RU 115
  • CompanyIssue_RU 116
  • CompanyReceipt_RU 117
  • Other_RU 118
  • CurrencyWriteUpAdj_RU 119
  • CurrencyWriteDownAdj_RU 120
  • RevAcqTR
  • RevDepTR
  • RevDepPastTR
  • RentalItemTransfer 50
NoYesLedgerJournalTrans_Asset.TransType
ExchRateExchange rate applied to the line.Real
ExchRate
NoYesLedgerJournalTrans.ExchRate
ExchRateSecondSecondary exchange rate applied to the line.Real
ExchrateSecondary
NoYesLedgerJournalTrans.ExchRateSecond
ReportingCurrencyExchRateExchange rate for the reporting currency.Real
ReportingCurrencyExchRate
NoYesLedgerJournalTrans.ReportingCurrencyExchRate
OverrideSalesTaxYes/No setting that lets the user replace the sales tax found by the tax calculation.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTransTaxExtension.OverrideSalesTax
OffsetDefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetDefaultDimensionDefault financial dimension values for the offset account.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerJournalTrans.OffsetDefaultDimension
FinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue
OffsetFinTagDisplayValueLong text showing the tag values together in a readable form.String (-1)
FinTagDisplayValue
YesYesFinTag.DisplayValue
ImportedSalesTaxTotal sales tax amount that came in with an imported invoice.Real
VendInvoiceImportedSalesTax
NoYesVendInvoiceImportedSalesTaxPendingAllocateTable.ImportedSalesTax
TaxGroup_BRTax group for Brazil tax reform.StringNoYesLedgerJournalTransTaxExtension_BR.TaxGroup_BR
TaxItemGroup_BRItem tax group for Brazil tax reform.StringNoYesLedgerJournalTransTaxExtension_BR.TaxItemGroup_BR
OverrideSalesTax_BRYes/No flag for overriding the sales tax determination on the line; used for Brazil.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerJournalTransTaxExtension_BR.OverrideSalesTax_BR
ITMCostAreaCost area, such as voyage, shipping container, item or purchase order.Enum
ITMCostArea
  • Shipment 0
  • Container 1
  • Folio 2
  • PurchOrder 3
  • Item 4
  • TransferOrderLine 10
NoYesLedgerJournalTrans.ITMCostArea
ITMCostTypeIdCost type code.String (20)
ITMCostTypeId
NoYesITMCostTypeTable.ITMCostTypeIdLedgerJournalTrans.ITMCostTypeId

Foreign keys (37)

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 VendInvoiceJournalLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk