purchaseReceiptLine resource type

Represents a purchase receipt line in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET purchaseReceiptLinepurchaseReceiptLineGets a purchase receipt line object.
NavigationReturn TypeDescription
purchaseReceiptpurchaseReceiptGets the purchasereceipt of the purchaseReceiptLine.
dimensionSetLinesdimensionSetLinesGets the dimensionsetlines of the purchaseReceiptLine.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the purchase receipt line. Non-editable.
documentIdGUIDThe ID of the parent purchase receipt line.
sequenceintegerThe line sequence number.
lineTypeNAV.purchaseLineTypeThe type of the purchase receipt line. It can be " ", "G/L Account", "Item", "Resource", "Fixed Asset" or "Charge Item".
lineObjectNumberstringThe number of the object (account or item) of the purchase receipt line.
descriptionstringSpecifies the description of the purchase receipt line.
description2string
unitOfMeasureCodestringThe code of unit of measure for the purchase receipt line.
unitCostdecimalThe unit cost of each individual item in the purchase receipt line.
quantitydecimalThe quantity of the item in the purchase receipt line.
discountPercentdecimalThe line discount percent.
taxPercentdecimalThe tax percent for the line. Read-Only.
expectedReceiptDatedateThe date the item in the line is expected to be received.

JSON representation

Here's a JSON representation of the purchaseReceiptLine resource.

{
    "id": "GUID",
    "documentId": "GUID",
    "sequence": "integer",
    "lineType": "NAV.purchaseLineType",
    "lineObjectNumber": "string",
    "description": "string",
    "description2": "string",
    "unitOfMeasureCode": "string",
    "unitCost": "decimal",
    "quantity": "decimal",
    "discountPercent": "decimal",
    "taxPercent": "decimal",
    "expectedReceiptDate": "date"
}

GET purchaseReceiptLine