Skip to main content

Inventory endpoints

Items, categories, attributes, locations and units of measure, plus the item ledger and value entries behind inventory quantities and costing.

All URLs on this page are relative to the company URL, https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/datawareness/endpoints/v1.0/companies({companyId})/. See Construction of the URL.

Master data​

EndpointDescriptionBusiness keySource tableTier
genProductPostingGroupsGeneral product posting group definitions.codeGen. Product Posting GroupPremium
inventoryPostingGroupsInventory posting group definitions.codeInventory Posting GroupPremium
itemAttributesItem attribute definitions (color, size, etc.).idItem AttributePremium
itemAttributeValueMappingsAssignment of item attribute values to items.tableId&&no&&itemAttributeId&&itemAttributeValueIdItem Attribute Value MappingPremium
itemAttributeValuesAllowed values for each item attribute.attributeId&&idItem Attribute ValuePremium
itemCategoriesItem category definitions.codeItem CategoryPremium
itemDimensionsDefault dimensions assigned to items.itemNo&&dimensionCodeDefault DimensionPremium
itemsItem master data.noItemFree
locationsLocation master data.codeLocationPremium
unitsOfMeasureUnit of measure definitions.codeUnit of MeasurePremium

Transactional data​

EndpointDescriptionBusiness keySource tableTier
itemApplicationEntriesItem application entries for cost tracking.entryNoItem Application EntryPremium
itemLedgerEntriesItem ledger entries.entryNoItem Ledger EntryPremium
valueEntriesValue entries for inventory costing.entryNoValue EntryPremium

Example queries​

Item movements for a month​

GET .../itemLedgerEntries?$filter=postingDate ge 2026-01-01 and postingDate lt 2026-02-01
&$select=entryNo,itemNo,postingDate,entryType,documentNo,locationCode,quantity

Stock on hand by item and location​

GET .../itemLedgerEntries?$filter=open eq true
&$select=itemNo,locationCode,remainingQuantity

Sum remainingQuantity per itemNo and locationCode.

Inventory cost​

GET .../valueEntries?$filter=postingDate le 2026-12-31
&$select=entryNo,itemNo,postingDate,itemLedgerEntryType,costAmountActual,costPostedToGL

Tips​

  • Free tier: items is available without a Premium subscription.
  • Attributes: itemAttributeValueMappings links items to itemAttributeValues, which belong to itemAttributes.
  • Fields: every endpoint's fields, with types, are listed by properties — see Metadata discovery. The same list is on the endpoint's page under BI Endpoints in Business Central.