--- title: "API purchaseInvoiceLine" slug: "api-purchaseinvoiceline" description: "Detailed Softera Purchase Invoice Line API reference covering item lines, quantities, costs, taxes, discounts, dimensions, variants, and receipt dates." tags: ["Business Central API", "Integration", "API", "Softera sprendimai", "Integracija", "Business Central"] updated: 2026-09-09T16:01:28Z published: 2026-09-09T16:01:28Z canonical: "instrukcijos.softera.lt/api-purchaseinvoiceline" --- > ## 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. # purchaseInvoiceLine | **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 | |