Data entity

CustInvoiceLineBiEntity

Read-only data for lines on customer free text invoices, for BI and analytics. Each record holds the line amount, description, invoice text, main account, dimensions and billing code. It also holds fixed asset and customs details.

Entity name
CustInvoiceLineBiEntity
Public entity name
CustInvoiceLineBiEntity
OData collection
CustInvoiceLineBiEntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CustInvoiceLineBiEntities
Dataverse virtual table
mserp_custinvoicelinebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • CustInvoiceLine · root · read-only

Fields (92)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingDistributionTemplatePoints to the accounting distribution template used for the line.Int64
AccountingDistributionTemplateRecId
NoYesAccountingDistributionTemplate.RecIdCustInvoiceLine.AccountingDistributionTemplate
AmountCurLine amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceLine.AmountCur
AmountDetailsLong free text with extra details about the amount.String (-1)
AmountDetails
NoYesCustInvoiceLine.AmountDetails
AssetBookIdFixed asset book that the line refers to.String
AssetBookIdPurchSalesInvent
NoYesAssetBookTable.BookIdCustInvoiceLine.AssetBookId
AssetIdFixed asset number that the line refers to.String (20)
AssetIdOpen
NoYesAssetTable.AssetIdCustInvoiceLine.AssetId
AssetId_RUFixed asset inventory number, used for Russia.String (20)
RAssetIdOpen
NoYesRAssetTable.AccountNumCustInvoiceLine.AssetId_RU
BillingCodeBilling code entered on the line.String
BillingCode
NoYesCustInvoiceLine.BillingCode
Brand_MXProduct brand code, used for Mexico.String (30)
BrandCode_MX
NoYesBrandTable_MX.BrandCodeCustInvoiceLine.Brand_MX
CFOPTable_BRPoints to a CFOP code, used for Brazil.Int64
RefRecId
NoYesCFOPTable_BR.RecIdCustInvoiceLine.CFOPTable_BR
Consignment_MXYes/No flag for a consignment shipping operation, used for Mexico.Enum
Consignment_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.Consignment_MX
CorrectedCustInvoiceLinePoints to the invoice line that this line corrects.Int64
RefRecId
NoYesCustInvoiceLine.RecIdCustInvoiceLine.CorrectedCustInvoiceLine
CountryName_RUShort country or region name, used for Russia.String (255)
LogisticsAddressCountryRegionShortName
NoYesCustInvoiceLine.CountryName_RU
CreditNoteInternalRef_PLPoints to the invoice line referred to by a credit note, used for Poland.Int64
CreditNoteInternalRef_W
NoYesCustInvoiceLine.RecIdCustInvoiceLine.CreditNoteInternalRef_PL
CustBillingCodePoints to the customer billing code record.Int64
BillingCodeRefRecId
NoYesCustBillingCode.RecIdCustInvoiceLine.CustBillingCode
CustDirective_PSNPoints to a directive record, used for public sector.Int64
CustVendDirectiveRecId_PSN
NoYesCustDirective_PSN.RecIdCustInvoiceLine.CustDirective_PSN
CustInvoiceLineTemplatePoints to the free text invoice template line that the line came from.Int64
RefRecId
NoYesCustInvoiceLineTemplate.RecIdCustInvoiceLine.CustInvoiceLineTemplate
CustomsDocDate_MXCustoms document date, used for Mexico.Date
CustomsDocDate_MX
NoYesCustInvoiceLine.CustomsDocDate_MX
CustomsDocNumber_MXCustoms document number, used for Mexico.String (21)
CustomsDocNumber_MX
NoYesCustInvoiceLine.CustomsDocNumber_MX
CustomsName_MXCustoms office name, used for Mexico.String (60)
CustomsName_MX
NoYesCustInvoiceLine.CustomsName_MX
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCustInvoiceLine.DataAreaId
DescriptionText describing the line.String (512)
TransactionTextLarge
NoYesCustInvoiceLine.Description
EInvoiceAccountCodeDimension account code used for electronic invoicing.String (35)
EInvoiceAccountCode
NoYesCustInvoiceLine.EInvoiceAccountCode
ExternalInvoiceIdInvoice number from an external source, up to 60 characters.String (60)
CustomerExternalInvoiceId
NoYesCustInvoiceLine.ExternalInvoiceId
FinTagPoints to the financial tag on the line.Int64
FinTagRecId
NoYesFinTag.RecIdCustInvoiceLine.FinTag
IntrastatCommodityPoints to the commodity category used for Intrastat reporting.Int64
IntrastatCommodityId
NoYesEcoResCategory.RecIdCustInvoiceLine.IntrastatCommodity
InvoiceGtd_RUCustoms declaration (GTD) number, used for Russia.String (30)
CustFreeInvoiceGTDId_RU
NoYesCustInvoiceLine.InvoiceGtd_RU
InvoiceTxtLong free text note for the invoice line.String (-1)
Notes
NoYesCustInvoiceLine.InvoiceTxt
LedgerDimensionMain account and dimension combination for the line.Int64
LedgerDimensionDefaultAccount
NoYesDimensionAttributeValueCombination.RecIdCustInvoiceLine.LedgerDimension
LineNumPosition number of the line within the invoice.Real
LineNum
NoYesCustInvoiceLine.LineNum
NGPCodesTable_FRPoints to an NGP code, used for France.Int64
NGPCodesTableFRId
NoYesNGPCodesTable_FR.RecIdCustInvoiceLine.NGPCodesTable_FR
OrderLineReference_NOReference to an order line, used for Norway.String (30)
OrderLineReference_NO
NoYesCustInvoiceLine.OrderLineReference_NO
OrigCountryRegionIdCountry or region of origin, linked to the country/region list.String
ItemOrigCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdCustInvoiceLine.OrigCountryRegionId
OrigStateState of origin, linked to the state list for the country or region of origin.String
ItemOrigStateId
NoYesLogisticsAddressState.StateIdCustInvoiceLine.OrigState
OverrideSalesTaxYes/No flag to override the sales tax set by tax calculation.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.OverrideSalesTax
ParentRecIdPoints to the customer free text invoice that this line belongs to.Int64
CustInvoiceTableRefRecId
NoYesCustInvoiceTable.RecIdCustInvoiceLine.ParentRecId
PeriodChargeInvoiceLineBaseFromDateStart date of the period used as the line invoice base.Date
MarkupPeriodChargeInvoiceLineBaseFromDate
NoYesCustInvoiceLine.PeriodChargeInvoiceLineBaseFromDate
PeriodChargeInvoiceLineBaseToDateEnd date of the period used as the line invoice base.Date
MarkupPeriodChargeInvoiceLineBaseToDate
NoYesCustInvoiceLine.PeriodChargeInvoiceLineBaseToDate
PKWiUCode_PLPKWiU classification code, used for Poland.String (20)
PlPKWiUCode
NoYesCustInvoiceLine.PKWiUCode_PL
PortPort used for Intrastat reporting.String
IntrastatPortId
NoYesIntrastatPort.PortIdCustInvoiceLine.Port
ProjCategoryIdProject category of the line.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdCustInvoiceLine.ProjCategoryId
ProjFundingSourcePoints to the project funding source.Int64
ProjFundingSourceRefId
NoYesProjFundingSource.RecIdCustInvoiceLine.ProjFundingSource
ProjIdProject that the line belongs to.String (20)
ProjId
NoYesProjTable.ProjIdCustInvoiceLine.ProjId
ProjTransIdIdentifier of the related project transaction.String (20)
ProjTransIdBase
NoYesCustInvoiceLine.ProjTransId
PropertyNumber_MXProperty number, used for Mexico.String (20)
PropertyNumber_MX
NoYesCustInvoiceLine.PropertyNumber_MX
QuantityInvoiced quantity on the line.Real
InvoiceQuantity
NoYesCustInvoiceLine.Quantity
ReasonRefRecIdPoints to the reason reference for the line.Int64
ReasonRefRecID
NoYesReasonTableRef.RecIdCustInvoiceLine.ReasonRefRecId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCustInvoiceLine.RecId
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesCustInvoiceLine.RecVersion
RefReturnInvoiceTrans_WPoints to the customer invoice line of a returned invoice.Int64
RefReturnInvoiceTrans_W
NoYesCustInvoiceTrans.RecIdCustInvoiceLine.RefReturnInvoiceTrans_W
SalesUnit_RUUnit of measurement, used for Russia.String
SalesUnit
NoYesUnitOfMeasure.SymbolCustInvoiceLine.SalesUnit_RU
Samples_MXYes/No flag for a samples shipping operation, used for Mexico.Enum
Samples_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.Samples_MX
SATCustomsQty_MXQuantity declared for customs, used for Mexico.Real
SATCustomsQty_MX
NoYesCustInvoiceLine.SATCustomsQty_MX
SATCustomUnitOfMeasure_MXSAT customs unit of measure code, used for Mexico.String
SATCustomUnitOfMeasure_MX
NoYesCustInvoiceLine.SATCustomUnitOfMeasure_MX
SATProductCode_MXSAT product classification code, used for Mexico.String
SATProductCode_MX
NoYesCustInvoiceLine.SATProductCode_MX
SATTariffFraction_MXSAT tariff fraction code, used for Mexico.String
SATTariffFraction_MX
NoYesCustInvoiceLine.SATTariffFraction_MX
SATUnitCode_MXSAT unit classification code, used for Mexico.String
SATUnitCode_MX
NoYesCustInvoiceLine.SATUnitCode_MX
ServiceInvoice_BRYes/No flag marking a service invoice, used for Brazil.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.ServiceInvoice_BR
SourceDocumentLinePoints to the related source document line.Int64
RefRecId
NoYesSourceDocumentLine.RecIdCustInvoiceLine.SourceDocumentLine
StatProcIdStatistics procedure used for Intrastat reporting.String
IntrastatProcId
NoYesCustInvoiceLine.StatProcId
TaxAmountSales tax amount on the line.Real
TaxAmount
NoYesCustInvoiceLine.TaxAmount
TaxAutogeneratedYes/No flag labelled Auto, relating to tax on the line.low confidenceEnum
TaxAutoGenerated
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.TaxAutogenerated
TaxGroupSales tax group applied to the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupCustInvoiceLine.TaxGroup
TaxItemGroupItem sales tax group applied to the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupCustInvoiceLine.TaxItemGroup
TaxServiceCode_BRTax service code, used for Brazil.String
TaxServiceCodeId_BR
NoYesCustInvoiceLine.TaxServiceCode_BR
TaxWithholdGroupWithholding tax group applied to the line.String
TaxWithholdGroup
NoYesTaxWithholdGroupHeading.TaxWithholdGroupCustInvoiceLine.TaxWithholdGroup
TaxWithholdItemGroupHeading_THPoints to the item withholding tax group, used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoYesTaxWithholdItemGroupHeading_TH.RecIdCustInvoiceLine.TaxWithholdItemGroupHeading_TH
TaxWriteCodePrint code related to tax.low confidenceString
TaxWriteCode
NoYesCustInvoiceLine.TaxWriteCode
TransactionCodeTransaction code used for Intrastat reporting.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeCustInvoiceLine.TransactionCode
TransportTransport method used for Intrastat reporting.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeCustInvoiceLine.Transport
UnitPricePrice per unit on the invoice line.Real
InvoiceUnitPrice
NoYesCustInvoiceLine.UnitPrice
WeightTotal weight of the line.Real
Weight
NoYesCustInvoiceLine.Weight
DefaultDimensionPoints to the set of default financial dimension values for the line.Int64
LedgerDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdCustInvoiceLine.DefaultDimension
CompanyLocation_INReference to the company location, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.CompanyLocation_IN
CustomerTaxInformation_INReference to customer tax information, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.CustomerTaxInformation_IN
CustomsTariffCodeTable_INReference to a customs tariff code, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.CustomsTariffCodeTable_IN
CustomerLocation_INReference to the customer location, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.CustomerLocation_IN
ExciseRecordType_INExcise record type: None, RG23A, RG23C or RG23D. Used for India.Enum
ExciseRecordType_IN
  • None 0
  • RG23A 1
  • RG23C 2
  • RG23D 3
NoYesCustInvoiceLine.ExciseRecordType_IN
ExciseTariffCodes_INReference to an excise tariff code, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.ExciseTariffCodes_IN
Exempt_INYes/No flag for an exemption, used for India. The label is missing.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceLine.Exempt_IN
ExciseType_INExcise type: None, Manufacturer or Trader. Used for India.Enum
ExciseType_IN
  • None 0
  • Manufacturer 1
  • Trader 2
NoYesCustInvoiceLine.ExciseType_IN
GTAServiceCategory_INService category: Inward, Inter unit or input, or Others. Used for India.Enum
GTAServiceCategory_IN
  • Inward 0
  • OutwardInterUnit 1
  • Others 2
NoYesCustInvoiceLine.GTAServiceCategory_IN
HSNCodeTable_INReference to an HSN code, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.HSNCodeTable_IN
ITCCategory_INInput tax credit category: Input, Capital Goods or Others. Used for India.Enum
ITCCategory_IN
  • Input 0
  • CapitalGoods 1
  • Others 2
NoYesCustInvoiceLine.ITCCategory_IN
ServiceAccountingCodeTable_INReference to a service accounting code, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.ServiceAccountingCodeTable_IN
SalesTaxFormTypes_INReference to a sales tax form type, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.SalesTaxFormTypes_IN
ServiceCodeTable_INReference to a service code, used for India. No related table is given.low confidenceInt64
RefRecId
NoYesCustInvoiceLine.ServiceCodeTable_IN
AssessableValue_INAssessable amount in the transaction currency, used for India.Real
AmountCur
NoYesCustInvoiceLine.AssessableValue_IN
MaximumRetailPrice_INMaximum retail price, used for India.Real
MaximumRetailPrice_IN
NoYesCustInvoiceLine.MaximumRetailPrice_IN
MaxRetailPricePerUnit_INMaximum retail price per unit, used for India.Real
MaximumRetailPrice_IN
NoYesCustInvoiceLine.MaxRetailPricePerUnit_IN
TCSGroup_INWithholding tax group for TCS, used for India.String
TaxWithholdGroup
NoYesCustInvoiceLine.TCSGroup_IN
TDSGroup_INWithholding tax group for TDS, used for India.String
TaxWithholdGroup
NoYesCustInvoiceLine.TDSGroup_IN
ItemCodeIdCommodity code. The underlying type name suggests it is outdated.low confidenceString
DEL_IntrastatItemCodeId
NoYesCustInvoiceLine.ItemCodeId

Foreign keys (33)

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

Email sales@drdynamics.co.uk