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

Method Return Type Description
GET purchaseReceiptLine purchaseReceiptLine Gets a purchase receipt line object.
Navigation Return Type Description
purchaseReceipt purchaseReceipt Gets the purchasereceipt of the purchaseReceiptLine.
dimensionSetLines dimensionSetLines Gets the dimensionsetlines of the purchaseReceiptLine.

Properties

Property Type Description
id GUID The unique ID of the purchase receipt line. Non-editable.
documentId GUID The ID of the parent purchase receipt line.
sequence integer The line sequence number.
lineType NAV.purchaseLineType The type of the purchase receipt line. It can be " ", "G/L Account", "Item", "Resource", "Fixed Asset" or "Charge Item".
lineObjectNumber string The number of the object (account or item) of the purchase receipt line.
description string Specifies the description of the purchase receipt line.
description2 string
unitOfMeasureCode string The code of unit of measure for the purchase receipt line.
unitCost decimal The unit cost of each individual item in the purchase receipt line.
quantity decimal The quantity of the item in the purchase receipt line.
discountPercent decimal The line discount percent.
taxPercent decimal The tax percent for the line. Read-Only.
expectedReceiptDate date The date the item in the line is expected to be received.

JSON representation

Here is 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"
}

See Also

GET purchaseReceiptLine