---
title: "Table 5993 Service Invoice Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5993-service-invoice-line/
type: table
id: 5993
name: "Service Invoice Line"
app: "Base Application"
namespace: Microsoft.Service.History
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5993-service-invoice-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5993 Service Invoice Line

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5993-service-invoice-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Service.History |
| Versions | 17-28 |
| Source file | Service/History/ServiceInvoiceLine.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 2 | Customer No. | Code[20] | 17-28 | - | - |
| 3 | Document No. | Code[20] | 17-28 | - | - |
| 4 | Line No. | Integer | 17-28 | - | - |
| 5 | Type | Enum Service Line Type | 17-28 | - | - |
| 6 | No. | Code[20] | 17-28 | - | - |
| 7 | Location Code | Code[10] | 17-28 | - | - |
| 8 | Posting Group | Code[20] | 17-28 | - | - |
| 11 | Description | Text[100] | 17-28 | - | - |
| 12 | Description 2 | Text[50] | 17-28 | - | - |
| 13 | Unit of Measure | Text[50] | 17-28 | - | - |
| 15 | Quantity | Decimal | 17-28 | - | - |
| 22 | Unit Price | Decimal | 17-28 | - | - |
| 23 | Unit Cost (LCY) | Decimal | 17-28 | - | - |
| 25 | VAT % | Decimal | 17-28 | - | - |
| 27 | Line Discount % | Decimal | 17-28 | - | - |
| 28 | Line Discount Amount | Decimal | 17-28 | - | - |
| 29 | Amount | Decimal | 17-28 | - | - |
| 30 | Amount Including VAT | Decimal | 17-28 | - | - |
| 32 | Allow Invoice Disc. | Boolean | 17-28 | - | - |
| 34 | Gross Weight | Decimal | 17-28 | - | - |
| 35 | Net Weight | Decimal | 17-28 | - | - |
| 36 | Units per Parcel | Decimal | 17-28 | - | - |
| 37 | Unit Volume | Decimal | 17-28 | - | - |
| 38 | Appl.-to Item Entry | Integer | 17-28 | - | - |
| 40 | Shortcut Dimension 1 Code | Code[20] | 17-28 | - | - |
| 41 | Shortcut Dimension 2 Code | Code[20] | 17-28 | - | - |
| 42 | Customer Price Group | Code[10] | 17-28 | - | - |
| 45 | Job No. | Code[20] | 26-28 | - | - |
| 46 | Job Task No. | Code[20] | 26-28 | - | - |
| 52 | Work Type Code | Code[10] | 17-28 | - | - |
| 63 | Shipment No. | Code[20] | 17-28 | - | - |
| 64 | Shipment Line No. | Integer | 17-28 | - | - |
| 65 | Order No. | Code[20] | 23-28 | - | - |
| 68 | Bill-to Customer No. | Code[20] | 17-28 | - | - |
| 69 | Inv. Discount Amount | Decimal | 17-28 | - | - |
| 74 | Gen. Bus. Posting Group | Code[20] | 17-28 | - | - |
| 75 | Gen. Prod. Posting Group | Code[20] | 17-28 | - | - |
| 77 | VAT Calculation Type | Enum Tax Calculation Type | 17-28 | - | - |
| 78 | Transaction Type | Code[10] | 17-28 | - | - |
| 79 | Transport Method | Code[10] | 17-28 | - | - |
| 80 | Attached to Line No. | Integer | 17-28 | - | - |
| 81 | Exit Point | Code[10] | 17-28 | - | - |
| 82 | Area | Code[10] | 17-28 | - | - |
| 83 | Transaction Specification | Code[10] | 17-28 | - | - |
| 85 | Tax Area Code | Code[20] | 17-28 | - | - |
| 86 | Tax Liable | Boolean | 17-28 | - | - |
| 87 | Tax Group Code | Code[20] | 17-28 | - | - |
| 88 | VAT Clause Code | Code[20] | 17-28 | - | - |
| 89 | VAT Bus. Posting Group | Code[20] | 17-28 | - | - |
| 90 | VAT Prod. Posting Group | Code[20] | 17-28 | - | - |
| 99 | VAT Base Amount | Decimal | 17-28 | - | - |
| 101 | System-Created Entry | Boolean | 17-28 | - | - |
| 103 | Line Amount | Decimal | 17-28 | - | - |
| 104 | VAT Difference | Decimal | 17-28 | - | - |
| 106 | VAT Identifier | Code[20] | 17-28 | - | - |
| 145 | Pmt. Discount Amount | Decimal | 17-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 1019 | Job Planning Line No. | Integer | 26-28 | - | - |
| 5402 | Variant Code | Code[10] | 17-28 | - | - |
| 5403 | Bin Code | Code[20] | 17-28 | - | - |
| 5404 | Qty. per Unit of Measure | Decimal | 17-28 | - | - |
| 5407 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 5415 | Quantity (Base) | Decimal | 17-28 | - | - |
| 5700 | Responsibility Center | Code[10] | 17-28 | - | - |
| 5702 | Substitution Available | Boolean | 17-28 | - | - |
| 5709 | Item Category Code | Code[20] | 17-28 | - | - |
| 5710 | Nonstock | Boolean | 17-28 | - | - |
| 5712 | Product Group Code | Code[10] | 17-25 | Removed 15.0 | Product Groups became first level children of Item Categories. |
| 5725 | Item Reference No. | Code[50] | 24-28 | - | - |
| 5726 | Item Reference Unit of Measure | Code[10] | 24-28 | - | - |
| 5727 | Item Reference Type | Enum Item Reference Type | 24-28 | - | - |
| 5728 | Item Reference Type No. | Code[30] | 24-28 | - | - |
| 5902 | Service Item No. | Code[20] | 17-28 | - | - |
| 5903 | Appl.-to Service Entry | Integer | 17-28 | - | - |
| 5904 | Service Item Line No. | Integer | 17-28 | - | - |
| 5905 | Service Item Serial No. | Code[50] | 17-28 | - | - |
| 5906 | Service Item Line Description | Text[100] | 17-28 | - | - |
| 5907 | Serv. Price Adjmt. Gr. Code | Code[10] | 17-28 | - | - |
| 5908 | Posting Date | Date | 17-28 | - | - |
| 5910 | Needed by Date | Date | 17-28 | - | - |
| 5916 | Ship-to Code | Code[10] | 17-28 | - | - |
| 5918 | Quantity Consumed | Decimal | 17-28 | - | - |
| 5920 | Qty. Consumed (Base) | Decimal | 17-28 | - | - |
| 5928 | Service Price Group Code | Code[10] | 17-28 | - | - |
| 5929 | Fault Area Code | Code[10] | 17-28 | - | - |
| 5930 | Symptom Code | Code[10] | 17-28 | - | - |
| 5931 | Fault Code | Code[10] | 17-28 | - | - |
| 5932 | Resolution Code | Code[10] | 17-28 | - | - |
| 5933 | Exclude Warranty | Boolean | 17-28 | - | - |
| 5934 | Warranty | Boolean | 17-28 | - | - |
| 5936 | Contract No. | Code[20] | 17-28 | - | - |
| 5938 | Contract Disc. % | Decimal | 17-28 | - | - |
| 5939 | Warranty Disc. % | Decimal | 17-28 | - | - |
| 5965 | Component Line No. | Integer | 17-28 | - | - |
| 5966 | Spare Part Action | Option | 17-28 | - | - |
| 5967 | Fault Reason Code | Code[10] | 17-28 | - | - |
| 5968 | Replaced Item No. | Code[20] | 17-28 | - | - |
| 5969 | Exclude Contract Discount | Boolean | 17-28 | - | - |
| 5970 | Replaced Item Type | Option | 17-28 | - | - |
| 5994 | Price Adjmt. Status | Option | 17-28 | - | - |
| 5997 | Line Discount Type | Option | 17-28 | - | - |
| 5999 | Copy Components From | Option | 17-28 | - | - |
| 6608 | Return Reason Code | Code[10] | 17-28 | - | - |
| 7000 | Price Calculation Method | Enum Price Calculation Method | 17-28 | - | - |
| 7001 | Allow Line Disc. | Boolean | 17-28 | - | - |
| 7002 | Customer Disc. Group | Code[20] | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document No., Line No. | 17-28 |
| Key2 | Type, No. | 17-28 |
| Key3 | Service Item No., Type, Posting Date | 17-28 |
| Key4 | Document No., Service Item No. | 17-28 |
| Key5 | Document No., Service Item Line No., Serv. Price Adjmt. Gr. Code | 17-28 |
| Key6 | Document No., Service Item Line No., Type, No. | 17-28 |
| Key7 | Type, No., Variant Code, Location Code, Posting Date, Shortcut Dimension 1 Code, Shortcut Dimension 2 Code | 17-28 |
| Key8 | Appl.-to Service Entry | 17-28 |
| Key9 | Document No., Service Item Line No., Component Line No. | 17-28 |
| Key10 | Fault Reason Code | 17-28 |
| Key11 | Customer No. | 17-28 |
| Key12 | Document No., Type | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ShowItemTrackingLines | () | - | public | 17-28 | - | - |
| CalcVATAmountLines | (Record Service Invoice Header, var Record VAT Amount Line) | - | public | 17-28 | - | - |
| RowID1 | () | Text[250] | public | 17-28 | - | - |
| GetCaptionClass | (Integer) | Text[80] | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| ShowShortcutDimCode | (var Code[20]) | - | public | 17-28 | - | - |
| GetCurrencyCode | () | Code[10] | public | 17-28 | - | - |
| FilterPstdDocLineValueEntries | (var Record Value Entry) | - | public | 17-28 | - | - |
| ShowItemShipmentLines | () | - | public | 17-28 | - | - |
| SetSecurityFilterOnRespCenter | () | - | public | 21-28 | - | - |
| CopyToVATAmountLine | (var Record VAT Amount Line) | - | public | 25-28 | - | - |
| GetVATPct | () | Decimal | internal | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCalcVATAmountLinesOnBeforeInsertLine | (Record Service Invoice Header, var Record VAT Amount Line) | 17-28 | - | - |
| Integration event | OnBeforeSetSecurityFilterOnRespCenter | (var Record Service Invoice Line, var Boolean) | 21-28 | - | - |
| Integration event | OnAfterCopyToVATAmountLine | (Record Service Invoice Line, var Record VAT Amount Line) | 25-28 | - | - |
| Integration event | OnAfterGetVATPct | (var Record Service Invoice Line, var Decimal) | 26-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
