{"title":"salesInvoiceLines resource type (v1.0)","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v1.0/resources/dynamics_salesinvoiceline/","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/v1.0/resources/dynamics_salesinvoiceline, 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/v1.0/resources/dynamics_salesinvoiceline","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":"(v1.0) A sales invoice line in Dynamics 365 Business Central.","date":"2024-05-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"salesInvoiceLines resource type (v1.0)","slug":"salesinvoicelines-resource-type-v10","at":0,"chars":4170},{"level":2,"title":"Methods","slug":"methods","at":382,"chars":451},{"level":2,"title":"Properties","slug":"properties","at":833,"chars":1853},{"level":2,"title":"Relationships","slug":"relationships","at":2686,"chars":265},{"level":2,"title":"JSON representation","slug":"json-representation","at":2951,"chars":935},{"level":2,"title":"Related information","slug":"related-information","at":3886,"chars":284}],"text":"# salesInvoiceLines resource type (v1.0)\n> NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0)<../../v2.0>.\nRepresents a line on a sales invoice 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_salesinvoiceline_get|salesInvoiceLines|Gets a sales invoice line object\nPOST salesInvoiceLines<../api/dynamics_create_salesinvoiceline>|salesInvoiceLines|Creates a sales invoice line object.\nPATCH salesInvoiceLines<../api/dynamics_salesinvoiceline_update>|salesInvoiceLines|Updated a sales invoice line object.\n../api/dynamics_salesinvoiceline_delete|none|Deletes a sales invoice line object.\n## Properties\nProperty|Type|Description\ndocumentId|GUID|The ID of the parent invoice.\nsequence|numeric|The line sequence number.\nitemId|GUID|The Id of the item in the invoice line.\naccountId|GUID|The Id of the Account that will be used for this line. lineType will automatically be set to \"Account\" if this is set.\nlineType|string|The type of the line. Can be Comment,Account,Item,Resource,Fixed Asset,Charge\nlineDetails|complex|The details of the line.\ndescription|string|A description of the item in the invoice line.\nunitOfMeasureId|GUID|The unit of measure for the invoice line.\nunitOfMeasure|NAV.UnitOfMeasure<dynamics_complextypes>|The unit of measure complex type.\nquantity|numeric|The quantity of the item in the invoice line.\nunitPrice|numeric|The unit price of each individual item in the invoice line.\ndiscountAmount|numeric|The line discount amount.\ndiscountPercent|numeric|The line discount percent.\ndiscountAppliedBeforeTax|boolean|Specified if the discount is applied before tax. Read-Only.\namountExcludingTax|numeric|The line amount excluding the tax. Read-Only.\ntaxCode|string|The tax code for the line.\ntaxPercent|numeric|The tax percent for the line. Read-Only.\ntotalTaxAmount|numeric|The total tax amount for the line. Read-Only.\namountIncludingTax|numeric|The total amount for the line including tax. Read-Only.\ninvoiceDiscountAllocation|numeric|The invoice discount allocation is the invoice discount distributed on the total amount. Read-Only.\nnetAmount|numeric|The net amount is the amount including all discounts (taken from invoice header). Read-Only.\nnetTaxAmount|numeric|The net tax amount is the tax amount calculated from net amount. Read-Only.\nnetAmountIncludingTax|numeric|The net amount including tax is the total net amount including tax. Read-Only.\nshipmentDate|date|The date the item in the line is expected to ship.\n## Relationships\nA Sales Invoice (documentId) must exist in the Sales Invoices table.\nAn Item (itemId) must exist in the Item table.\nAn Account (accountId) must exist in the Accounts table.\nA Unit of Measure (unitOfMeasure) must exist in the Unit of Measure table.\n## JSON representation\nHere is a JSON representation of the resource.\n```json\n  \"value\": [\n    {\n      \"documentId\": \"GUID\",\n      \"sequence\": \"decimal\",\n      \"itemId\": \"GUID\",\n      \"accountId\": \"GUID\",\n      \"lineType\": \"string\",\n      \"lineDetails\": {NAV.documentLineObjectDetails},\n      \"description\": \"string\",\n      \"unitOfMeasureId\": \"GUID\",\n      \"unitOfMeasure\": {NAV.UnitOfMeasure},\n      \"unitPrice\": \"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      \"shipmentDate\": \"Date\"\n    }\n  ]\n```\n## Related information\nGet Sales Invoice Line<../api/dynamics_salesinvoiceline_get>\nCreate Sales Invoice Line<../api/dynamics_create_salesinvoiceline>\nUpdate Sales Invoice Line<../api/dynamics_salesinvoiceline_update>\nDelete Sales Invoice Line<../api/dynamics_salesinvoiceline_delete>"}