--- title: "API purchaseCreditMemoLine" slug: "api-purchasecreditmemoline" description: "Detailed Softera Purchase Credit Memo Line API covering line types, quantities, costs, taxes, dimensions, variants and receipt details." tags: ["Business Central API", "Integration", "API", "Softera sprendimai", "Integracija", "Business Central"] updated: 2026-09-09T16:01:39Z published: 2026-09-09T16:01:39Z canonical: "instrukcijos.softera.lt/api-purchasecreditmemoline" --- > ## Documentation Index > Fetch the complete documentation index at: https://instrukcijos.softera.lt/llms.txt > Use this file to discover all available pages before exploring further. # purchaseCreditMemoLine Not supported in older versions Available from Business Central version 22.2 and higher. | **API** | **Path** | | --- | --- | | purchaseCreditMemoLines | businesscentralPrefix/softera/softeraEInvoice/v2.0/companies({{companyId}})/purchaseCreditMemoLines | **Methods** | Method | Return Type | Description | | --- | --- | --- | | GET purchaseCreditMemoLine | purchaseCreditMemoLine | Gets 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. | | DELETE purchaseCreditMemoLine | none | Deletes a purchase credit memo line object. | **Fields** | Name | Type | MaxLength | Description | | --- | --- | --- | --- | | documentId | Guid | | | | sequence | Int32 | | | | id | Guid | | Read-only | | itemId | Guid | | | | accountId | Guid | | | | lineType | String | | | | lineObjectNumber | String | 20 | | | description | String | 100 | | | unitOfMeasureId | Guid | | | | unitOfMeasureCode | String | 10 | | | unitCost | Decimal | | | | quantity | Decimal | | | | discountAmount | Decimal | | | | discountPercent | Decimal | | | | discountAppliedBeforeTax | Boolean | | Read-only | | amountExcludingTax | Decimal | | Read-only | | taxCode | String | 50 | | | taxPercent | Decimal | | Read-only | | totalTaxAmount | Decimal | | Read-only | | amountIncludingTax | Decimal | | Read-only | | invoiceDiscountAllocation | Decimal | | Read-only | | netAmount | Decimal | | Read-only | | netTaxAmount | Decimal | | Read-only | | netAmountIncludingTax | Decimal | | Read-only | | depreciationBookCode | String | | | | salvageValue | Decimal | | | | expectedReceiptDate | Date | | | | itemVariantId | Guid | | | | locationId | Guid | | | | locationCode | String | 10 | | | shortcutDimension1Code | String | | | | shortcutDimension2Code | String | | | **Related API's (expand)** | Name | Type | Description | | --- | --- | --- | | purchaseCreditMemo | Microsoft.NAV.purchaseCreditMemo | | | item | Microsoft.NAV.item | | | unitOfMeasure | Microsoft.NAV.unitOfMeasure | | | itemVariant | Microsoft.NAV.itemVariant | | | dimensionSetLines | Collection(Microsoft.NAV.dimensionSetLine) | | | location | Microsoft.NAV.location | |