{"title":"purchaseCreditMemoLine resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_purchasecreditmemoline/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchasecreditmemoline, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchasecreditmemoline","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A purchase credit memo line object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"purchaseCreditMemoLine resource type","slug":"purchasecreditmemoline-resource-type","at":0,"chars":4875},{"level":2,"title":"Methods","slug":"methods","at":257,"chars":529},{"level":2,"title":"Navigation","slug":"navigation","at":786,"chars":646},{"level":2,"title":"Properties","slug":"properties","at":1432,"chars":2258},{"level":2,"title":"JSON representation","slug":"json-representation","at":3690,"chars":923},{"level":2,"title":"Related information","slug":"related-information","at":4613,"chars":262}],"text":"# purchaseCreditMemoLine resource type\nRepresents a purchase credit memo line in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_purchasecreditmemoline_get|purchaseCreditMemoLine|Gets a purchase credit memo line object.\n../api/dynamics_purchasecreditmemoline_delete|none|Deletes a purchase credit memo line object.\nPOST purchaseCreditMemoLine<../api/dynamics_purchasecreditmemoline_create>|purchaseCreditMemoLine|Creates a purchase credit memo line object.\nPATCH purchaseCreditMemoLine<../api/dynamics_purchasecreditmemoline_update>|purchaseCreditMemoLine|Updates a purchase credit memo line object.\n## Navigation\nNavigation|Return Type|Description\ndynamics_purchasecreditmemo|purchaseCreditMemo|Gets the purchasecreditmemo of the purchaseCreditMemoLine.\ndynamics_item|item|Gets the item of the purchaseCreditMemoLine.\ndynamics_account|account|Gets the account of the purchaseCreditMemoLine.\ndynamics_unitofmeasure|unitOfMeasure|Gets the unitofmeasure of the purchaseCreditMemoLine.\ndynamics_itemvariant|itemVariant|Gets the itemvariant of the purchaseCreditMemoLine.\ndynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the purchaseCreditMemoLine.\ndynamics_location|location|Gets the location of the purchaseCreditMemoLine.\n## Properties\n|Property|Type|Description|\n|id|GUID|The unique ID of the purchase credit memo line. Non-editable.|\n|documentId|GUID|The ID of the parent purchase credit memo line.|\n|sequence|integer|The line sequence number.|\n|itemId|GUID|The ID of the item in the purchase credit memo line.|\n|accountId|GUID|The id of the account that the purchase credit memo line is related to.|\n|lineType|NAV.invoiceLineAggLineType|The type of the purchase credit memo line. It can be \"Comment\", \"Account\", \"Item\", \"Resource\" Value\", \"Fixed Asset\" or \"Charge\".|\n|lineObjectNumber|string|The number of the object (account or item) of the purchase credit memo line.|\n|description|string|Specifies the description of the purchase credit memo line.|\n|unitOfMeasureId|GUID|The ID of unit of measure for the purchase credit memo line.|\n|unitOfMeasureCode|string|The code of unit of measure for the purchase credit memo line.|\n|unitCost|decimal|The unit cost of each individual item in the purchase credit memo line.|\n|quantity|decimal|The quantity of the item in the purchase credit memo line.|\n|discountAmount|decimal|The purchase credit memo line discount amount.|\n|discountPercent|decimal|The line discount percent.|\n|discountAppliedBeforeTax|boolean|Specifies whether the discount is applied before tax.|\n|amountExcludingTax|decimal|The line amount excluding the tax. Read-Only.|\n|taxCode|string|The tax code for the line.|\n|taxPercent|decimal|The tax percent for the line. Read-Only.|\n|totalTaxAmount|decimal|The total tax amount for the purchase credit memo line. Read-Only.|\n|amountIncludingTax|decimal|The total amount for the line including tax. Read-Only.|\n|invoiceDiscountAllocation|decimal|The purchase credit memo line discount allocation is the purchase credit memo line discount distributed on the total amount. Read-Only.|\n|netAmount|decimal|The net amount is the amount including all discounts (taken from the purchase credit memo line). Read-Only.|\n|netTaxAmount|decimal|The net tax amount is the tax amount calculated from net amount. Read-Only.|\n|netAmountIncludingTax|decimal|The net amount including tax is the total net amount including tax. Read-Only.|\n|itemVariantId|GUID|The ID of the item variant in the purchase credit memo line.|\n|locationId|GUID||\n## JSON representation\nHere's a JSON representation of the purchaseCreditMemoLine resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"documentId\": \"GUID\",\n    \"sequence\": \"integer\",\n    \"itemId\": \"GUID\",\n    \"accountId\": \"GUID\",\n    \"lineType\": \"NAV.invoiceLineAggLineType\",\n    \"lineObjectNumber\": \"string\",\n    \"description\": \"string\",\n    \"unitOfMeasureId\": \"GUID\",\n    \"unitOfMeasureCode\": \"string\",\n    \"unitCost\": \"decimal\",\n    \"quantity\": \"decimal\",\n    \"discountAmount\": \"decimal\",\n    \"discountPercent\": \"decimal\",\n    \"discountAppliedBeforeTax\": \"boolean\",\n    \"amountExcludingTax\": \"decimal\",\n    \"taxCode\": \"string\",\n    \"taxPercent\": \"decimal\",\n    \"totalTaxAmount\": \"decimal\",\n    \"amountIncludingTax\": \"decimal\",\n    \"invoiceDiscountAllocation\": \"decimal\",\n    \"netAmount\": \"decimal\",\n    \"netTaxAmount\": \"decimal\",\n    \"netAmountIncludingTax\": \"decimal\",\n    \"itemVariantId\": \"GUID\",\n    \"locationId\": \"GUID\"\n}\n```\n## Related information\n../api/dynamics_purchasecreditmemoline_get\n../api/dynamics_purchasecreditmemoline_delete\nPOST purchaseCreditMemoLine<../api/dynamics_purchasecreditmemoline_create>\nPATCH purchaseCreditMemoLine<../api/dynamics_purchasecreditmemoline_update>"}