salesCreditMemoLine resource type

Represents a sales credit memo 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 salesCreditMemoLinesalesCreditMemoLineGets a sales credit memo line object.
DELETE salesCreditMemoLinenoneDeletes a sales credit memo line object.
POST salesCreditMemoLinesalesCreditMemoLineCreates a sales credit memo line object.
PATCH salesCreditMemoLinesalesCreditMemoLineUpdates a sales credit memo line object.
NavigationReturn TypeDescription
salesCreditMemosalesCreditMemoGets the salescreditmemo of the salesCreditMemoLine.
itemitemGets the item of the salesCreditMemoLine.
accountaccountGets the account of the salesCreditMemoLine.
unitOfMeasureunitOfMeasureGets the unitofmeasure of the salesCreditMemoLine.
itemVariantitemVariantGets the itemvariant of the salesCreditMemoLine.
dimensionSetLinesdimensionSetLinesGets the dimensionsetlines of the salesCreditMemoLine.
locationlocationGets the location of the salesCreditMemoLine.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the sales credit memo line. Non-editable.
documentIdGUIDThe ID of the parent sales credit memo line.
sequenceintegerThe line sequence number.
itemIdGUIDThe ID of the item in the sales credit memo line.
accountIdGUIDThe id of the account that the sales credit memo line is related to.
lineTypeNAV.invoiceLineAggLineTypeThe type of the sales credit memo line. It can be "Comment", "Account", "Item", "Resource" Value", "Fixed Asset" or "Charge".
lineObjectNumberstringThe number of the object (account or item) of the sales credit memo line.
descriptionstringSpecifies the description of the sales credit memo line.
description2string
unitOfMeasureIdGUIDThe ID of unit of measure for the sales credit memo line.
unitOfMeasureCodestringThe code of unit of measure for the sales credit memo line.
unitPricedecimalSpecifies the price for one unit of the item in the specified sales credit memo line.
quantitydecimalThe quantity of the item in the sales credit memo line.
discountAmountdecimalThe sales credit memo line discount amount.
discountPercentdecimalThe line discount percent.
discountAppliedBeforeTaxbooleanSpecifies whether the discount is applied before tax.
amountExcludingTaxdecimalThe line amount excluding the tax. Read-Only.
taxCodestringThe tax code for the line.
taxPercentdecimalThe tax percent for the line. Read-Only.
totalTaxAmountdecimalThe total tax amount for the sales credit memo line. Read-Only.
amountIncludingTaxdecimalThe total amount for the line including tax. Read-Only.
invoiceDiscountAllocationdecimalThe sales credit memo line discount allocation is the sales credit memo line discount distributed on the total amount. Read-Only.
netAmountdecimalThe net amount is the amount including all discounts (taken from the sales credit memo line). Read-Only.
netTaxAmountdecimalThe net tax amount is the tax amount calculated from net amount. Read-Only.
netAmountIncludingTaxdecimalThe net amount including tax is the total net amount including tax. Read-Only.
shipmentDatedateThe date the item in the line is expected to ship.
itemVariantIdGUIDThe ID of the item variant in the sales credit memo line.
locationIdGUID

JSON representation

Here's a JSON representation of the salesCreditMemoLine resource.

{
    "id": "GUID",
    "documentId": "GUID",
    "sequence": "integer",
    "itemId": "GUID",
    "accountId": "GUID",
    "lineType": "NAV.invoiceLineAggLineType",
    "lineObjectNumber": "string",
    "description": "string",
    "description2": "string",
    "unitOfMeasureId": "GUID",
    "unitOfMeasureCode": "string",
    "unitPrice": "decimal",
    "quantity": "decimal",
    "discountAmount": "decimal",
    "discountPercent": "decimal",
    "discountAppliedBeforeTax": "boolean",
    "amountExcludingTax": "decimal",
    "taxCode": "string",
    "taxPercent": "decimal",
    "totalTaxAmount": "decimal",
    "amountIncludingTax": "decimal",
    "invoiceDiscountAllocation": "decimal",
    "netAmount": "decimal",
    "netTaxAmount": "decimal",
    "netAmountIncludingTax": "decimal",
    "shipmentDate": "date",
    "itemVariantId": "GUID",
    "locationId": "GUID"
}

GET salesCreditMemoLine
DELETE salesCreditMemoLine
POST salesCreditMemoLine
PATCH salesCreditMemoLine