BPA data model

Fact - Sales invoice

BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026

One row is one sales invoice line, identified by the sales invoice key and linked to the invoice number, line number, sales order number and sub-ledger number. It belongs to the Order to cash value chain. It holds amounts in transaction and accounting currency, so it helps answer questions about invoiced sales, charges, discounts, tax and quantities by product, customer or category.

Key: Sales invoice key.

Kind
Fact
Value chains
Order to cash
Source table
dmo_salesinvoicefact
Columns
36
Measures
8

Use it in Power BI and Fabric

Power BI table
Fact - Sales invoice
Fabric / SQL table
dmo_salesinvoicefact
Column reference
'Fact - Sales invoice'[Amount (Accounting)]

Columns (36)

Column and descriptionTypeKey and relationships
Accounting date keySource column dmo_accountingdatekeyKey that links the row to the accounting date in the accounting date table.int64
Amount (Accounting)Source column dmo_salesinvoiceaccountingamountLine amount in the accounting currency.decimal—
Amount (Charge)Source column dmo_salesinvoicechargeamountCharge amount on the line; currency not stated in the model.decimal—
Amount (Discount)Source column dmo_salesinvoicediscountamountDiscount amount on the line; currency not stated in the model.decimal—
Amount (Transaction)Source column dmo_salesinvoiceamountLine amount in the transaction currency.decimal—
Buying party keySource column dmo_buyingpartykeyKey that links the row to the buying party table.int64
Buying party postal address keySource column dmo_buyingpartypostaladdresskeyKey for the postal address of the buying party; no relationship is given in the model.int64—
CurrencySource column dmo_salesinvoicecurrencyCurrency code stored as text for the invoice line.string—
Date (Cash discount)Source column dmo_salesinvoicecashdiscountdateDate up to which a cash discount applies.dateTime—
Date (Document)Source column dmo_salesinvoicedocumentdateDate of the source document.dateTime—
Date (Due)Source column dmo_salesinvoiceduedateDate on which payment is due.dateTime—
Date (Sales invoice)Source column dmo_salesinvoicedateDate of the sales invoice.dateTime—
Delivery TermSource column dmo_salesinvoicedeliverytermDelivery term that applies to the invoice.string—
DescriptionSource column dmo_salesinvoicedescriptionFree text description of the invoice line.string—
Discount codeSource column dmo_salesinvoicediscountcodeCode for the discount applied.string—
Discount PercentSource column dmo_salesinvoicediscountpercentDiscount given as a percentage.decimal—
Sales invoice keySource column dmo_salesinvoicekeyOwn key of the fact row, one value per invoice line.int64Key
Ledger keySource column dmo_ledgerkeyKey that links the row to the ledger dimension source table (dmo_ledgerdimension).int64
Line number keySource column dmo_salesinvoicelinenumberkeyKey that links the row to the sales invoice line number table.int64
Number keySource column dmo_salesinvoicenumberkeyKey that links the row to the sales invoice number table.int64
Party keySource column dmo_partykeyKey that links the row to the party table.int64
Payment methodSource column dmo_salesinvoicepaymentmethodPayment method set for the invoice.string—
Payment termSource column dmo_salesinvoicepaymenttermPayment term set for the invoice.string—
Primary nameSource column dmo_salesinvoiceprimarynamePrimary name held on the invoice row, for example of the party.low confidencestring—
Product keySource column dmo_productkeyKey that links the row to the product table.int64
QuantitySource column dmo_salesinvoicequantityInvoiced quantity on the line.decimal—
Sales category keySource column dmo_salescategorykeyKey that links the row to the sales category table.int64
Sales order number keySource column dmo_salesordernumberkeyKey that links the row to the sales order number table.int64
Storage location keySource column dmo_storagelocationkeyKey that links the row to the storage location table.int64
Sub-ledger number keySource column dmo_subledgernumberkeyKey that links the row to the sub-ledger number table.int64
Tax amount (Accounting)Source column dmo_salesinvoicetaxaccountingamountTax amount on the line in the accounting currency.decimal—
Tax amount (Transaction)Source column dmo_salesinvoicetaxamountTax amount on the line in the transaction currency.decimal—
TypeSource column dmo_salesinvoicetypeText that gives the type of the invoice line.low confidencestring—
Unit of measureSource column dmo_salesinvoiceunitofmeasureUnit of measure used for the invoiced quantity.string—
Unit priceSource column dmo_salesinvoiceunitpricePrice per unit on the line; currency not stated in the model.decimal—
Accounting dateSource column dmo_accountingdateAccounting date of the invoice line.dateTime—

Measures on this table (8)

What each measure calculates, and the columns and measures it uses. All measures

Relationships (11)

From this table (11)

Related tableColumnsCardinalityCross-filterStatus
Dim - Date (Accounting)Accounting date key → Date keyMany to oneSingle directionActive
Dim - Buying partyBuying party key → Buying party keyMany to oneSingle directionActive
Ledger dimension (dmo_ledgerdimension)Ledger key → dmo_ledgerkeyMany to oneSingle directionActive
Dim - Sales invoice line numberLine number key → Sales invoice line number keyMany to oneSingle directionActive
Dim - Sales invoice numberNumber key → Sales invoice number keyMany to oneSingle directionActive
Dim - PartyParty key → Party keyMany to oneSingle directionActive
Dim - ProductProduct key → Product keyMany to oneSingle directionActive
Dim - Sales categorySales category key → Sales category keyMany to oneSingle directionActive
Dim - Sales order numberSales order number key → Sales order number keyMany to oneSingle directionActive
Dim - Storage locationStorage location key → Storage location keyMany to oneSingle directionActive
Dim - Sub-ledger numberSub-ledger number key → Sub-ledger number keyMany to oneSingle directionActive

Source F&O entities

Source F&O entities: not determined from the metadata of BPA 2.11.3518.3. The F&O entities BPA reads are listed for the model as a whole.

Building on BPA in Power BI or Fabric? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk