| API | Path |
|---|---|
| purchaseInvoiceLines | businesscentralPrefix/softera/softeraEInvoice/v2.0/companies({{companyId}})/purchaseInvoiceLines |
Methods
| Method | Return Type | Description |
|---|---|---|
| GET purchaseInvoiceLine | purchaseInvoiceLine | Gets a purchase invoice line object. |
| POST purchaseInvoiceLine | purchaseInvoiceLine | Creates a purchase invoice line object. |
| PATCH purchaseInvoiceLine | purchaseInvoiceLine | Updates a purchase invoice line object. |
| DELETE purchaseInvoiceLine | none | Deletes a purchase invoice line object. |
Fields
| Name | Type | MaxLength | Description |
|---|---|---|---|
| id | Guid | Read-only | |
| documentId | Guid | ||
| sequence | Int32 | ||
| itemId | Guid | ||
| accountId | Guid | ||
| lineType | String | ||
| lineObjectNumber | String | 20 | |
| locationCode | String | 10 | |
| 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 | |
| expectedReceiptDate | Date | ||
| itemVariantId | Guid | ||
| shortcutDimension1Code | String | ||
| shortcutDimension2Code | String |
Related API's (expand)
| Name | Type | Description |
|---|---|---|
| item | Microsoft.NAV.item | |
| unitOfMeasure | Microsoft.NAV.unitOfMeasure | |
| itemVariant | Microsoft.NAV.itemVariant | |
| esfDimensionSetLines | Collection(Microsoft.NAV.dimensionSetLine) | |
| location | Microsoft.NAV.location | |
| purchaseInvoice | Microsoft.NAV.purchaseInvoice |