purchaseCreditMemoLine resource type
Represents a purchase 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
Method | Return Type | Description |
---|---|---|
GET purchaseCreditMemoLine | purchaseCreditMemoLine | Gets a purchase credit memo line object. |
DELETE purchaseCreditMemoLine | none | Deletes a purchase credit memo line object. |
POST purchaseCreditMemoLine | purchaseCreditMemoLine | Creates a purchase credit memo line object. |
PATCH purchaseCreditMemoLine | purchaseCreditMemoLine | Updates a purchase credit memo line object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
purchaseCreditMemo | purchaseCreditMemo | Gets the purchasecreditmemo of the purchaseCreditMemoLine. |
item | item | Gets the item of the purchaseCreditMemoLine. |
account | account | Gets the account of the purchaseCreditMemoLine. |
unitOfMeasure | unitOfMeasure | Gets the unitofmeasure of the purchaseCreditMemoLine. |
itemVariant | itemVariant | Gets the itemvariant of the purchaseCreditMemoLine. |
dimensionSetLines | dimensionSetLines | Gets the dimensionsetlines of the purchaseCreditMemoLine. |
location | location | Gets the location of the purchaseCreditMemoLine. |
Properties
Property | Type | Description |
---|---|---|
id | GUID | The unique ID of the purchase credit memo line. Non-editable. |
documentId | GUID | The ID of the parent purchase credit memo line. |
sequence | integer | The line sequence number. |
itemId | GUID | The ID of the item in the purchase credit memo line. |
accountId | GUID | The id of the account that the purchase credit memo line is related to. |
lineType | NAV.invoiceLineAggLineType | The type of the purchase credit memo line. It can be "Comment", "Account", "Item", "Resource" Value", "Fixed Asset" or "Charge". |
lineObjectNumber | string | The number of the object (account or item) of the purchase credit memo line. |
description | string | Specifies the description of the purchase credit memo line. |
unitOfMeasureId | GUID | The ID of unit of measure for the purchase credit memo line. |
unitOfMeasureCode | string | The code of unit of measure for the purchase credit memo line. |
unitCost | decimal | The unit cost of each individual item in the purchase credit memo line. |
quantity | decimal | The quantity of the item in the purchase credit memo line. |
discountAmount | decimal | The purchase credit memo line discount amount. |
discountPercent | decimal | The line discount percent. |
discountAppliedBeforeTax | boolean | Specifies whether the discount is applied before tax. |
amountExcludingTax | decimal | The line amount excluding the tax. Read-Only. |
taxCode | string | The tax code for the line. |
taxPercent | decimal | The tax percent for the line. Read-Only. |
totalTaxAmount | decimal | The total tax amount for the purchase credit memo line. Read-Only. |
amountIncludingTax | decimal | The total amount for the line including tax. Read-Only. |
invoiceDiscountAllocation | decimal | The purchase credit memo line discount allocation is the purchase credit memo line discount distributed on the total amount. Read-Only. |
netAmount | decimal | The net amount is the amount including all discounts (taken from the purchase credit memo line). Read-Only. |
netTaxAmount | decimal | The net tax amount is the tax amount calculated from net amount. Read-Only. |
netAmountIncludingTax | decimal | The net amount including tax is the total net amount including tax. Read-Only. |
itemVariantId | GUID | The ID of the item variant in the purchase credit memo line. |
locationId | GUID |
JSON representation
Here is a JSON representation of the purchaseCreditMemoLine resource.
{
"id": "GUID",
"documentId": "GUID",
"sequence": "integer",
"itemId": "GUID",
"accountId": "GUID",
"lineType": "NAV.invoiceLineAggLineType",
"lineObjectNumber": "string",
"description": "string",
"unitOfMeasureId": "GUID",
"unitOfMeasureCode": "string",
"unitCost": "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",
"itemVariantId": "GUID",
"locationId": "GUID"
}
See Also
GET purchaseCreditMemoLine DELETE purchaseCreditMemoLine POST purchaseCreditMemoLine PATCH purchaseCreditMemoLine
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour