Data entity

BusinessDocumentSalesInvoiceLineItemEntity

Read-only lines of posted customer invoices, taken from the customer invoice lines table and joined to the invoice journal. Each row has item, quantity, unit price, discount and amounts. The key is invoice ID, invoice date and line creation sequence number. Some tax fields are used for Italy.

Entity name
BusinessDocumentSalesInvoiceLineItemEntity
Public entity name
BusinessDocumentSalesInvoiceLineItem
OData collection
BusinessDocumentSalesInvoiceLineItems
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
InvoiceId, InvoiceDate, LineCreationSequenceNumber
Staging table
BusinessDocumentSalesInvoiceLineItemStaging

Use it in Power BI and Power Platform

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

  • CustInvoiceTrans · root
  • CustInvoiceJour · InnerJoin to CustInvoiceTrans

Fields (36)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoiceIdInvoice number; links the line to the invoice journal.String (20)
CustInvoiceId
YesYesCustInvoiceTrans.InvoiceId
InvoiceDateDate of the invoice.Date
TransDate
YesYesCustInvoiceTrans.InvoiceDate
ItemIdItem sold on the line.String (20)
ItemId
NoYesInventTable.ItemIdCustInvoiceTrans.ItemId
ItemNameFree-text description of the line.String (1000)
ItemFreeTxtBase
NoYesCustInvoiceTrans.Name
LineAmountLine amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.LineAmount
LineAmountMSTLine amount in the accounting currency.Real
AmountMST
NoYesCustInvoiceTrans.LineAmountMST
LineAmountTaxPart of the line amount that is sales tax.Real
LineAmountTax
NoYesCustInvoiceTrans.LineAmountTax
LineAmountTaxMSTSales tax included in the line amount, in the accounting currency.Real
LineAmountTaxMST
NoYesCustInvoiceTrans.LineAmountTaxMST
QtyInvoiced quantity.Real
SalesInvoicedQty
NoYesCustInvoiceTrans.Qty
SalesPricePrice per unit.Real
SalesPrice
NoYesCustInvoiceTrans.SalesPrice
LineDiscLine discount value.Real
SalesLineDisc
NoYesCustInvoiceTrans.LineDisc
SalesUnitUnit of measure used for sales.String
SalesUnit
NoYesUnitOfMeasure.SymbolCustInvoiceTrans.SalesUnit
LineCreationSequenceNumberNumber showing the order in which lines were created.Integer
CustInvoiceLineCreationSequenceNumber
NoYesCustInvoiceTrans.LineCreationSequenceNumber
ParentRecIdPoints to the invoice journal that owns this line.Int64
RefRecId
NoYesCustInvoiceJour.RecIdCustInvoiceTrans.ParentRecId
DiscAmountDiscount amount on the line.Real
SalesDiscAmount
NoYesCustInvoiceTrans.DiscAmount
DiscPercentDiscount given as a percentage.Real
SalesDiscPercent
NoYesCustInvoiceTrans.DiscPercent
InventDimIdPoints to the inventory dimensions of the line.String (20)
InventDimId
NoYesInventDim.inventDimIdCustInvoiceTrans.InventDimId
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
YesYesCustTable.AccountNumCustInvoiceJour.InvoiceAccount
CustInvoiceTransTableIdA system number that identifies the table.Integer
TableId
NoYesCustInvoiceTrans.TableId
CustInvoiceTransRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCustInvoiceTrans.RecId
ExternalItemDescriptionDescription of the item as used by the customer or an external party.String (60)
Description
NoYesvirtual
ExternalItemIdItem number used by the customer or an external party.String (20)
ExternalItemId
NoYesvirtual
OrigSalesIdOriginal sales order of the line.String (20)
SalesIdOrig
NoYesSalesTable.SalesIdCustInvoiceTrans.OrigSalesId
LedgerVoucherVoucher number linked to the invoice.String (20)
Voucher
NoYesCustInvoiceJour.LedgerVoucher
IsReverseChargeWhole-number flag showing whether reverse charge applies to the line.IntegerNoYesvirtual
TaxRateSales tax rate value for the line.Real
TaxValue
NoYesvirtual
TaxCountryRegionTypeCountry or region type of the tax, shown as text.String (50)
String50
NoYesvirtual
TaxNameName of the sales tax.String (30)
TaxName
NoYesvirtual
TaxExemptCodeReason_ITReason for the tax exempt code, shown as text and used for Italy.String (50)
String50
NoYesvirtual
TaxType_ITTax type shown as text, used for Italy.String (50)
String50
NoYesvirtual
NameFree-text description of the line.String (1000)
ItemFreeTxtBase
NoYesCustInvoiceTrans.Name
PriceUnitNumber of units that the unit price covers.Real
PriceUnit
NoYesCustInvoiceTrans.PriceUnit
ItemBarCodeBar code of the item on the line.String (80)
ItemBarCode
NoYesvirtual
DataAreaThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCustInvoiceTrans.DataAreaId
SumLineDiscTotal line discount amount.Real
SalesSumLineDiscAmount
NoYesCustInvoiceTrans.SumLineDisc
UnitPriceNetPrice unit value for the line, as a number.low confidenceReal
PriceUnit
NoYesvirtual

Foreign keys (6)

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

Email sales@drdynamics.co.uk