{"title":"salesInvoiceLine resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.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/v2.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/v2.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":"A sales invoice line object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"salesInvoiceLine resource type","slug":"salesinvoiceline-resource-type","at":0,"chars":4730},{"level":2,"title":"Methods","slug":"methods","at":244,"chars":447},{"level":2,"title":"Navigation","slug":"navigation","at":691,"chars":586},{"level":2,"title":"Properties","slug":"properties","at":1277,"chars":2251},{"level":2,"title":"JSON representation","slug":"json-representation","at":3528,"chars":976},{"level":2,"title":"Related information","slug":"related-information","at":4504,"chars":226}],"text":"# salesInvoiceLine resource type\nRepresents a sales invoice line 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|salesInvoiceLine|Gets a sales invoice line object.\n../api/dynamics_salesinvoiceline_delete|none|Deletes a sales invoice line object.\nPOST salesInvoiceLine<../api/dynamics_salesinvoiceline_create>|salesInvoiceLine|Creates a sales invoice line object.\nPATCH salesInvoiceLine<../api/dynamics_salesinvoiceline_update>|salesInvoiceLine|Updates a sales invoice line object.\n## Navigation\nNavigation|Return Type|Description\ndynamics_salesinvoice|salesInvoice|Gets the salesinvoice of the salesInvoiceLine.\ndynamics_item|item|Gets the item of the salesInvoiceLine.\ndynamics_account|account|Gets the account of the salesInvoiceLine.\ndynamics_unitofmeasure|unitOfMeasure|Gets the unitofmeasure of the salesInvoiceLine.\ndynamics_itemvariant|itemVariant|Gets the itemvariant of the salesInvoiceLine.\ndynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the salesInvoiceLine.\ndynamics_location|location|Gets the location of the salesInvoiceLine.\n## Properties\n|Property|Type|Description|\n|id|GUID|The unique ID of the sales invoice line. Non-editable.|\n|documentId|GUID|The ID of the parent sales invoice line.|\n|sequence|integer|The line sequence number.|\n|itemId|GUID|The ID of the item in the sales invoice line.|\n|accountId|GUID|The id of the account that the sales invoice line is related to.|\n|lineType|NAV.invoiceLineAggLineType|The type of the sales invoice line. It can be \"Comment\", \"Account\", \"Item\", \"Resource\" Value\", \"Fixed Asset\" or \"Charge\".|\n|lineObjectNumber|string|The number of the object (account or item) of the sales invoice line.|\n|description|string|Specifies the description of the sales invoice line.|\n|description2|string||\n|unitOfMeasureId|GUID|The ID of unit of measure for the sales invoice line.|\n|unitOfMeasureCode|string|The code of unit of measure for the sales invoice line.|\n|quantity|decimal|The quantity of the item in the sales invoice line.|\n|unitPrice|decimal|Specifies the price for one unit of the item in the specified sales invoice line.|\n|discountAmount|decimal|The sales invoice line discount amount.|\n|discountPercent|decimal|The line discount percent.|\n|discountAppliedBeforeTax|boolean|Specifies whether the discount is applied before tax.|\n|amountExcludingTax|decimal|The line amount excluding the tax. Read-Only.|\n|taxCode|string|The tax code for the line.|\n|taxPercent|decimal|The tax percent for the line. Read-Only.|\n|totalTaxAmount|decimal|The total tax amount for the sales invoice line. Read-Only.|\n|amountIncludingTax|decimal|The total amount for the line including tax. Read-Only.|\n|invoiceDiscountAllocation|decimal|The sales invoice line discount allocation is the sales invoice line discount distributed on the total amount. Read-Only.|\n|netAmount|decimal|The net amount is the amount including all discounts (taken from the sales invoice line). Read-Only.|\n|netTaxAmount|decimal|The net tax amount is the tax amount calculated from net amount. Read-Only.|\n|netAmountIncludingTax|decimal|The net amount including tax is the total net amount including tax. Read-Only.|\n|shipmentDate|date|The date the item in the line is expected to ship.|\n|itemVariantId|GUID|The ID of the item variant in the sales invoice line.|\n|locationId|GUID||\n## JSON representation\nHere's a JSON representation of the salesInvoiceLine resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"documentId\": \"GUID\",\n    \"sequence\": \"integer\",\n    \"itemId\": \"GUID\",\n    \"accountId\": \"GUID\",\n    \"lineType\": \"NAV.invoiceLineAggLineType\",\n    \"lineObjectNumber\": \"string\",\n    \"description\": \"string\",\n    \"description2\": \"string\",\n    \"unitOfMeasureId\": \"GUID\",\n    \"unitOfMeasureCode\": \"string\",\n    \"quantity\": \"decimal\",\n    \"unitPrice\": \"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    \"itemVariantId\": \"GUID\",\n    \"locationId\": \"GUID\"\n}\n```\n## Related information\n../api/dynamics_salesinvoiceline_get\n../api/dynamics_salesinvoiceline_delete\nPOST salesInvoiceLine<../api/dynamics_salesinvoiceline_create>\nPATCH salesInvoiceLine<../api/dynamics_salesinvoiceline_update>"}