BPA data model

Fact - Purchase invoice

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

One row is one purchase invoice line, linked to an invoice number, a purchase order and a sub-ledger number. It belongs to the Procure to pay value chain. It helps answer questions about invoiced amounts, charges and tax by selling party, product, project or procurement category.

Key: Purchase invoice key.

Kind
Fact
Value chains
Procure to pay
Source table
dmo_purchaseinvoicefact
Columns
40
Measures
10

Use it in Power BI and Fabric

Power BI table
Fact - Purchase invoice
Fabric / SQL table
dmo_purchaseinvoicefact
Column reference
'Fact - Purchase invoice'[Amount (Allocated charge)]

Columns (40)

Column and descriptionTypeKey and relationships
Accounting date keySource column dmo_accountingdatekeyKey that links each row to the accounting date table.int64
Amount (Allocated charge)Source column dmo_purchaseinvoiceallocatedchargeamountCharge amount allocated to the invoice line; currency not stated in the model.decimal—
Amount (Allocated tax)Source column dmo_purchaseinvoiceallocatedtaxamountTax amount allocated to the invoice line; currency not stated in the model.decimal—
Amount (Line accounting)Source column dmo_purchaseinvoicelineaccountingamountInvoice line amount in the accounting currency.decimal—
Amount (Line charge)Source column dmo_purchaseinvoicelinechargeamountCharge amount on the invoice line; currency not stated in the model.decimal—
Amount (Line tax)Source column dmo_purchaseinvoicelinetaxamountTax amount on the invoice line; currency not stated in the model.decimal—
Amount (Line)Source column dmo_purchaseinvoicelineamountAmount of the invoice line; currency not stated in the model.decimal—
Asset keySource column dmo_assetkeyKey that links to the asset table.int64
CurrencySource column dmo_purchaseinvoicecurrencyCurrency code of the invoice line, linked to the currency table.string
Date (Discount)Source column dmo_purchaseinvoicediscountdateDiscount date of the invoice; it has an inactive link to the accounting date table.dateTime
Date (Invoice due)Source column dmo_purchaseinvoiceduedateDue date of the invoice; it has an inactive link to the accounting date table.dateTime
Date (Invoice)Source column dmo_purchaseinvoicedateDate of the invoice.dateTime—
Invoice number keySource column dmo_purchaseinvoicenumberkeyKey that links to the purchase invoice number table.int64
Purchase invoice keySource column dmo_purchaseinvoicekeyUnique key of each purchase invoice row in this table.int64Key
Ledger keySource column dmo_ledgerkeyKey that links to the ledger dimension table.int64
Line descriptionSource column dmo_purchaseinvoicelinedescriptionFree text description of the invoice line.string—
Line discount codeSource column dmo_purchaseinvoicelinediscountcodeCode of the discount applied to the line.string—
Line entry timestamp UTCSource column dmo_purchaseinvoicelineentrytimestamputcDate and time, in UTC, when the line was entered.dateTime—
Line number keySource column dmo_purchaseinvoicelinenumberkeyKey that links to the purchase invoice line number table.int64
Line payment statusSource column dmo_purchaseinvoicelinepaymentstatusPayment status of the invoice line.string—
Line payment termSource column dmo_purchaseinvoicelinepaymenttermPayment term set on the invoice line.string—
Line posted statusSource column dmo_purchaseinvoicelinepostedstatusPosting status of the invoice line.string—
Line project categorySource column dmo_purchaseinvoicelineprojectcategoryProject category assigned to the line.string—
Line project line activitySource column dmo_purchaseinvoicelineprojectlineactivityProject activity assigned to the line.string—
Line project line propertySource column dmo_purchaseinvoicelineprojectlinepropertyProject line property assigned to the line.string—
Line unit of measureSource column dmo_purchaseinvoicelineunitofmeasureUnit of measure of the line quantity.string—
Line unit priceSource column dmo_purchaseinvoicelineunitpricePrice per unit on the invoice line; currency not stated in the model.decimal—
Matched document number keySource column dmo_purchasematcheddocumentnumberkeyKey that links to the purchase matched document number table.int64
Matching document number keySource column dmo_purchasematchingdocumentnumberkeyKey for the matching document number; the model gives no link for it.low confidenceint64—
Order number keySource column dmo_purchaseordernumberkeyKey that links to the purchase order number table.int64
Party keySource column dmo_partykeyKey that links to the party table.int64
Postal address keySource column dmo_sellingpartypostaladdresskeyKey that links to the selling party postal address table.int64
Procurement category keySource column dmo_procurementcategorykeyKey that links to the procurement category table.int64
Product keySource column dmo_productkeyKey that links to the product table.int64
Project keySource column dmo_productkeyKey that links to the project table.int64
Quantity (Line)Source column dmo_purchaseinvoicelinequantityQuantity invoiced on the line.decimal—
Selling party keySource column dmo_sellingpartykeyKey that links to the selling party table.int64
Storage location keySource column dmo_storagelocationkeyKey that links to the storage location table.int64
Sub-ledger number keySource column dmo_subledgernumberkeyKey that links to the sub-ledger number table.int64
Accounting dateSource column dmo_accountingdateAccounting date of the invoice line.dateTime—

Measures on this table (10)

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

Metrics › Amount

Metrics

Relationships (18)

From this table (18)

Related tableColumnsCardinalityCross-filterStatus
Dim - Date (Accounting)Accounting date key → Date keyMany to oneSingle directionActive
Dim - AssetAsset key → Asset keyMany to oneSingle directionActive
Dim - CurrencyCurrency → CurrencyMany to oneSingle directionActive
Dim - Date (Accounting)Date (Discount) → DateMany to manySingle directionInactiveInactive: activate it in a measure (USERELATIONSHIP)
Dim - Date (Accounting)Date (Invoice due) → DateMany to manySingle directionInactiveInactive: activate it in a measure (USERELATIONSHIP)
Dim - Purchase invoice numberInvoice number key → Purchase invoice number keyMany to oneSingle directionActive
Ledger dimension (dmo_ledgerdimension)Ledger key → dmo_ledgerkeyMany to oneSingle directionActive
Dim - Purchase invoice line numberLine number key → Purchase invoice line number keyMany to oneSingle directionActive
Dim - Purchase matched document numberMatched document number key → Purchase matched document number keyMany to oneSingle directionActive
Dim - Purchase order numberOrder number key → Purchase order number keyMany to oneSingle directionActive
Dim - PartyParty key → Party keyMany to oneSingle directionActive
Dim - Selling party postal addressPostal address key → Selling party postal address keyMany to oneSingle directionActive
Dim - Procurement categoryProcurement category key → Procurement category keyMany to oneSingle directionActive
Dim - ProductProduct key → Product keyMany to oneSingle directionActive
Dim - ProjectProject key → Project keyMany to oneSingle directionActive
Dim - Selling partySelling party key → Selling party 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