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 |