Edit

purchaseInvoiceLine resource type

Represents a purchase invoice line in Business Central.

Methods

Method Return Type Description
GET purchaseInvoiceLine purchaseInvoiceLine Gets a purchaseInvoiceLine object.

Properties

Property Type Description
postingDate Date Specifies the postingDate of the purchaseInvoiceLine.
type string Specifies the type of the purchaseInvoiceLine.
description string Specifies the description of the purchaseInvoiceLine.
documentNo string The primary key of the purchaseInvoiceLine.
lineNo integer The primary key of the purchaseInvoiceLine.
no string Specifies the no of the purchaseInvoiceLine.
locationCode string Specifies the locationCode of the purchaseInvoiceLine.
quantityBase decimal Specifies the quantityBase of the purchaseInvoiceLine.
amount decimal Specifies the amount of the purchaseInvoiceLine.
unitCostLCY decimal Specifies the unitCostLCY of the purchaseInvoiceLine.
returnReasonCode string Specifies the returnReasonCode of the purchaseInvoiceLine.
expectedReceiptDate Date Specifies the expectedReceiptDate of the purchaseInvoiceLine.
dimensionSetID integer Specifies the dimensionSetID of the purchaseInvoiceLine.
projectNo string Specifies the projectNo of the purchaseInvoiceLine.
payToVendorNo string Specifies the payToVendorNo of the purchaseInvoiceLine.
buyFromVendorNo string Specifies the buyFromVendorNo of the purchaseInvoiceLine.
purchaseInvoiceDocumentNo string Specifies the purchaseInvoiceDocumentNo of the purchaseInvoiceLine.
campaignNo string Specifies the campaignNo of the purchaseInvoiceLine.
purchaserCode string Specifies the purchaserCode of the purchaseInvoiceLine.
quoteNo string Specifies the quoteNo of the purchaseInvoiceLine.

JSON representation

Here's a JSON representation of the purchaseInvoiceLine resource.

{
    "postingDate": "2026-01-15",
    "type": "Item",
    "description": "ATHENS Desk",
    "documentNo": "103001",
    "lineNo": 10000,
    "no": "10000",
    "locationCode": "BLUE",
    "quantityBase": 10.00,
    "amount": 1500.00,
    "unitCostLCY": 25.5,
    "returnReasonCode": "RETURN",
    "expectedReceiptDate": "2026-01-18",
    "dimensionSetID": 102,
    "projectNo": "10000",
    "payToVendorNo": "10000",
    "buyFromVendorNo": "10000",
    "purchaseInvoiceDocumentNo": "103001",
    "campaignNo": "10000",
    "purchaserCode": "JR",
    "quoteNo": "10000"
}

GET purchaseInvoiceLine