---
id: object/table/5992
type: object
title: Table 5992 "Service Invoice Header"
summary: Table 5992 "Service Invoice Header" in Base Application (Microsoft.Service.History). 147 fields, 12 public procedures, 7 events. Present since at least BC23, still in BC30, changed in BC24-28, BC30.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 3d2190f577b004869d7a39c621a60d997168216a700d7409e75ae6db59a7c57d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/History/ServiceInvoiceHeader.Table.al
    title: src/Layers/W1/BaseApp/Service/History/ServiceInvoiceHeader.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sustainability-management/sustainability-value-chain
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12290
object_type: table
object_id: 5992
name: Service Invoice Header
namespace: Microsoft.Service.History
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 147
  procedures: 20
  events: 7
  subscribers: 0
relations:
  out: 68
  referenced_by: 4
  pages: 4
  extended_by: 3
  event_subscribers: 2
  calls: 4
  called_by: 0
  implements: 0
---

# Table 5992 "Service Invoice Header"

> Table 5992 "Service Invoice Header" in Base Application (Microsoft.Service.History). 147 fields, 12 public procedures, 7 events. Present since at least BC23, still in BC30, changed in BC24-28, BC30.

Base Application · Microsoft.Service.History · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/History/ServiceInvoiceHeader.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5978 "Posted Service Invoice"](../page/5978.md) (1 Learn page), [Page 6033 "Service Invoice Statistics"](../page/6033.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Service Invoice Header |
| DataClassification | CustomerContent |
| Permissions | TableData "Service Order Allocation" = rimd |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 2 | Customer No. | Code[20] | Specifies the number of the customer who owns the items on the invoice. | TableRelation [Table 18 "Customer"](../table/18.md); NotBlank |
| 3 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. |  |
| 4 | Bill-to Customer No. | Code[20] | Specifies the number of the customer that you send or sent the invoice or credit memo to. | TableRelation [Table 18 "Customer"](../table/18.md); NotBlank |
| 5 | Bill-to Name | Text[100] | Specifies the name of the customer that you send or sent the invoice or credit memo to. |  |
| 6 | Bill-to Name 2 | Text[50] | Specifies an additional part of the name of the customer that you send or sent the invoice to. |  |
| 7 | Bill-to Address | Text[100] | Specifies the address of the customer to whom you sent the invoice. |  |
| 8 | Bill-to Address 2 | Text[50] | Specifies an additional line of the address. |  |
| 9 | Bill-to City | Text[30] | Specifies the city of the address. | TableRelation [Table 225 "Post Code"](../table/225.md) ("Post Code".City) |
| 10 | Bill-to Contact | Text[100] | Specifies the name of the contact person at the customer's billing address. |  |
| 11 | Your Reference | Text[35] | Specifies a customer reference, which will be used when printing service documents. |  |
| 12 | Ship-to Code | Code[10] | Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment. | TableRelation [Table 222 "Ship-to Address"](../table/222.md) ("Ship-to Address".Code where("Customer No." = field("Customer No."))) |
| 13 | Ship-to Name | Text[100] | Specifies the name of the customer at the address that the items are shipped to. |  |
| 14 | Ship-to Name 2 | Text[50] | Specifies an additional part of thethe name of the customer at the address that the items are shipped to. |  |
| 15 | Ship-to Address | Text[100] | Specifies the address that the items are shipped to. |  |
| 16 | Ship-to Address 2 | Text[50] | Specifies an additional part of the ship-to address, in case it is a long address. |  |
| 17 | Ship-to City | Text[30] | Specifies the city of the address that the items are shipped to. | TableRelation [Table 225 "Post Code"](../table/225.md) ("Post Code".City) |
| 18 | Ship-to Contact | Text[100] | Specifies the name of the contact person at the address that the items are shipped to. |  |
| 19 | Order Date | Date | — | NotBlank |
| 20 | Posting Date | Date | Specifies the date when the invoice was posted. |  |
| 22 | Posting Description | Text[100] | — |  |
| 23 | Payment Terms Code | Code[10] | — | TableRelation [Table 3 "Payment Terms"](../table/3.md) (Payment Terms) |
| 24 | Due Date | Date | Specifies when the related invoice must be paid. |  |
| 25 | Payment Discount % | Decimal | — |  |
| 26 | Pmt. Discount Date | Date | — |  |
| 27 | Shipment Method Code | Code[10] | Specifies the code that represents the shipment method for the invoice. | TableRelation [Table 10 "Shipment Method"](../table/10.md) (Shipment Method) |
| 28 | Location Code | Code[10] | Specifies the location, such as warehouse or distribution center, from which the service was shipped. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 29 | Shortcut Dimension 1 Code | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))) |
| 30 | Shortcut Dimension 2 Code | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))) |
| 31 | Customer Posting Group | Code[20] | Specifies the customer's market type to link business transactions to. | TableRelation [Table 92 "Customer Posting Group"](../table/92.md) (Customer Posting Group); not editable |
| 32 | Currency Code | Code[10] | Specifies the currency code for the amounts on the invoice. | TableRelation [Table 4 "Currency"](../table/4.md); not editable |
| 33 | Currency Factor | Decimal | — |  |
| 34 | Customer Price Group | Code[10] | — | TableRelation [Table 6 "Customer Price Group"](../table/6.md) (Customer Price Group) |
| 35 | Prices Including VAT | Boolean | — |  |
| 37 | Invoice Disc. Code | Code[20] | — |  |
| 40 | Customer Disc. Group | Code[20] | — | TableRelation [Table 340 "Customer Discount Group"](../table/340.md) (Customer Discount Group) |
| 41 | Language Code | Code[10] | — | TableRelation [Table 8 "Language"](../table/8.md) |
| 42 | Format Region | Text[80] | — | TableRelation "Language Selection"."Language Tag" |
| 43 | Salesperson Code | Code[20] | Specifies the code of the salesperson associated with the invoice. | TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md) (Salesperson/Purchaser) |
| 44 | Order No. | Code[20] | Specifies the number of the service order from which this invoice was posted. |  |
| 46 | Comment | Boolean | — | FlowField: exist("Service Comment Line" where("Table Name" = const("Service Invoice Header"), "No." = field("No."), Type = const(General))); not editable |
| 47 | No. Printed | Integer | Specifies how many times the document has been printed. | not editable |
| 52 | Applies-to Doc. Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md) |
| 53 | Applies-to Doc. No. | Code[20] | — |  |
| 55 | Bal. Account No. | Code[20] | — | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 270 "Bank Account"](../table/270.md) (if ("Bal. Account Type" = const("G/L Account")) "G/L Account" else if ("Bal. Account Type" = const("Bank Account")) "Bank Account") |
| 60 | Amount | Decimal | Specifies the total invoice amount excluding VAT. | FlowField: sum("Service Invoice Line".Amount where("Document No." = field("No."))); not editable |
| 61 | Amount Including VAT | Decimal | Specifies the total invoice amount including VAT. | FlowField: sum("Service Invoice Line"."Amount Including VAT" where("Document No." = field("No."))); not editable |
| 62 | Shipping No. | Code[20] | — |  |
| 63 | Posting No. | Code[20] | — |  |
| 64 | Last Shipping No. | Code[20] | — | TableRelation [Table 110 "Sales Shipment Header"](../table/110.md) (Sales Shipment Header); not editable |
| 65 | Last Posting No. | Code[20] | — | TableRelation [Table 112 "Sales Invoice Header"](../table/112.md) (Sales Invoice Header); not editable |
| 70 | VAT Registration No. | Text[20] | — |  |
| 73 | Reason Code | Code[10] | — | TableRelation [Table 231 "Reason Code"](../table/231.md) (Reason Code) |
| 74 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 75 | EU 3-Party Trade | Boolean | Specifies if the transaction is related to trade with a third party within the EU. |  |
| 76 | Transaction Type | Code[10] | — | TableRelation [Table 258 "Transaction Type"](../table/258.md) (Transaction Type) |
| 77 | Transport Method | Code[10] | — | TableRelation [Table 259 "Transport Method"](../table/259.md) (Transport Method) |
| 78 | VAT Country/Region Code | Code[10] | — | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 79 | Name | Text[100] | Specifies the name of the customer on the service invoice. |  |
| 80 | Name 2 | Text[50] | Specifies an additional part of the name of the customer on the service credit memo. |  |
| 81 | Address | Text[100] | Specifies the address of the customer on the invoice. |  |
| 82 | Address 2 | Text[50] | Specifies additional address information. |  |
| 83 | City | Text[30] | Specifies the city of the address. | TableRelation [Table 225 "Post Code"](../table/225.md) ("Post Code".City) |
| 84 | Contact Name | Text[100] | Specifies the name of the contact person at the customer company. |  |
| 85 | Bill-to Post Code | Code[20] | Specifies the postal code of the customer's billing address. | TableRelation [Table 225 "Post Code"](../table/225.md) (Post Code) |
| 86 | Bill-to County | Text[30] | Specifies the county in the customer's address. |  |
| 87 | Bill-to Country/Region Code | Code[10] | Specifies the country/region code of the customer's billing address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 88 | Post Code | Code[20] | Specifies the postal code. | TableRelation [Table 225 "Post Code"](../table/225.md) (Post Code) |
| 89 | County | Text[30] | Specifies the county in the customer's address. |  |
| 90 | Country/Region Code | Code[10] | Specifies the country/region of the address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 91 | Ship-to Post Code | Code[20] | Specifies the postal code of the address that the items are shipped to. | TableRelation [Table 225 "Post Code"](../table/225.md) (Post Code) |
| 92 | Ship-to County | Text[30] | Specifies the county in the customer's address. |  |
| 93 | Ship-to Country/Region Code | Code[10] | Specifies the country/region in the customer's address. | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region) |
| 94 | Bal. Account Type | enum "Payment Balance Account Type" | — | enum [Enum 96 "Payment Balance Account Type"](../enum/96.md) |
| 97 | Exit Point | Code[10] | — | TableRelation [Table 282 "Entry/Exit Point"](../table/282.md) (Entry/Exit Point) |
| 98 | Correction | Boolean | — |  |
| 99 | Document Date | Date | Specifies the date when the related document was created. |  |
| 100 | External Document No. | Code[35] | Specifies the external document number that is entered on the service header that this line was posted from. |  |
| 101 | Area | Code[10] | — | TableRelation [Table 284 "Area"](../table/284.md) |
| 102 | Transaction Specification | Code[10] | — | TableRelation [Table 285 "Transaction Specification"](../table/285.md) (Transaction Specification) |
| 104 | Payment Method Code | Code[10] | Specifies how the customer must pay for products on the service document, such as with bank transfer, cash, or check. | TableRelation [Table 289 "Payment Method"](../table/289.md) (Payment Method) |
| 105 | Shipping Agent Code | Code[10] | Specifies which shipping agent is used to transport the items on the service document to the customer. | TableRelation [Table 291 "Shipping Agent"](../table/291.md) (Shipping Agent) |
| 107 | Pre-Assigned No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series); not editable |
| 108 | No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 109 | Shipping No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 110 | Order No. Series | Code[20] | — | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 111 | Pre-Assigned No. | Code[20] | Specifies the number of the service document from which the posted invoice was created. |  |
| 112 | User ID | Code[50] | — | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 113 | Source Code | Code[10] | — | TableRelation [Table 230 "Source Code"](../table/230.md) (Source Code) |
| 114 | Tax Area Code | Code[20] | Specifies the code of the tax area where the customer is located. | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area) |
| 115 | Tax Liable | Boolean | Specifies if the customer is liable for sales tax. |  |
| 116 | VAT Bus. Posting Group | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group) |
| 119 | VAT Base Discount % | Decimal | — |  |
| 129 | Company Bank Account Code | Code[20] | Specifies the bank account to use for bank information when the document is printed. | TableRelation [Table 270 "Bank Account"](../table/270.md) ("Bank Account" where("Currency Code" = field("Currency Code"))) |
| 131 | VAT Reporting Date | Date | Specifies the VAT date on the invoice. | not editable |
| 180 | Payment Reference | Code[50] | Specifies the payment of the service invoice. |  |
| 200 | Work Description | BLOB | — |  |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 710 | Document Exchange Identifier | Text[50] | — |  |
| 711 | Document Exchange Status | Enum "Service Document Exchange Status" | Specifies the status of the document if you are using a document exchange service to send it as an electronic document. The status values are reported by the document exchange service. | enum [Enum 712 "Service Document Exchange Status"](../enum/712.md) |
| 712 | Doc. Exch. Original Identifier | Text[50] | — |  |
| 1200 | Direct Debit Mandate ID | Code[35] | — | TableRelation [Table 1230 "SEPA Direct Debit Mandate"](../table/1230.md) ("SEPA Direct Debit Mandate" where("Customer No." = field("Bill-to Customer No."))); DataClassification SystemMetadata |
| 5052 | Contact No. | Code[20] | Specifies the number of the contact at the customer to whom you shipped the service. | TableRelation [Table 5050 "Contact"](../table/5050.md) |
| 5053 | Bill-to Contact No. | Code[20] | Specifies the number of the contact person at the customer's billing address. | TableRelation [Table 5050 "Contact"](../table/5050.md) |
| 5700 | Responsibility Center | Code[10] | Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. | TableRelation [Table 5714 "Responsibility Center"](../table/5714.md) (Responsibility Center) |
| 5794 | Shipping Agent Service Code | Code[10] | Specifies which shipping agent service is used to transport the items on the service document to the customer. | TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md) ("Shipping Agent Services".Code where("Shipping Agent Code" = field("Shipping Agent Code"))) |
| 5902 | Description | Text[100] | — |  |
| 5904 | Service Order Type | Code[10] | — | TableRelation [Table 5903 "Service Order Type"](../table/5903.md) (Service Order Type) |
| 5905 | Link Service to Service Item | Boolean | — |  |
| 5907 | Priority | Option | — | OptionCaption: Low,Medium,High; not editable |
| 5911 | Allocated Hours | Decimal | — | FlowField: sum("Service Order Allocation"."Allocated Hours" where("Document Type" = const(Order), "Document No." = field("No."), "Resource No." = field("Resource Filter"), Status = filter(Active \| Finished), "Resource Group No." = field("Resource Group Filter"))); not editable |
| 5915 | Phone No. | Text[30] | — |  |
| 5916 | E-Mail | Text[80] | Email <small>caption</small> |  |
| 5917 | Phone No. 2 | Text[30] | — |  |
| 5918 | Fax No. | Text[30] | — |  |
| 5921 | No. of Unallocated Items | Integer | — | FlowField: count("Service Item Line" where("Document Type" = const(Order), "Document No." = field("No."), "No. of Active/Finished Allocs" = const(0))); not editable |
| 5923 | Order Time | Time | — | NotBlank |
| 5924 | Default Response Time (Hours) | Decimal | — |  |
| 5925 | Actual Response Time (Hours) | Decimal | — | not editable |
| 5926 | Service Time (Hours) | Decimal | — | not editable |
| 5927 | Response Date | Date | — | not editable |
| 5928 | Response Time | Time | — | not editable |
| 5929 | Starting Date | Date | — |  |
| 5930 | Starting Time | Time | — |  |
| 5931 | Finishing Date | Date | — |  |
| 5932 | Finishing Time | Time | — |  |
| 5933 | Contract Serv. Hours Exist | Boolean | — | FlowField: exist("Service Hour" where("Service Contract No." = field("Contract No."))); not editable |
| 5934 | Reallocation Needed | Boolean | — | FlowField: exist("Service Order Allocation" where(Status = const("Reallocation Needed"), "Resource No." = field("Resource Filter"), "Document Type" = const(Order), "Document No." = field("No."), "Resource Group No." = field("Resource Group Filter"))); not editable |
| 5936 | Notify Customer | Option | — | OptionCaption: No,By Phone 1,By Phone 2,By Fax,By Email |
| 5937 | Max. Labor Unit Price | Decimal | — |  |
| 5938 | Warning Status | Option | — | OptionCaption: ,First Warning,Second Warning,Third Warning |
| 5939 | No. of Allocations | Integer | — | FlowField: count("Service Order Allocation" where("Document Type" = const(Order), "Document No." = field("No."), "Resource No." = field("Resource Filter"), "Resource Group No." = field("Resource Group Filter"), Status = filter(Active \| Finished))); not editable |
| 5940 | Contract No. | Code[20] | — | TableRelation [Table 5965 "Service Contract Header"](../table/5965.md) ("Service Contract Header"."Contract No." where("Contract Type" = const(Contract), "Customer No." = field("Customer No."), "Ship-to Code" = field("Ship-to Code"), "Bill-to Customer No." = field("Bill-to Customer No."))) |
| 5951 | Type Filter | Option | — | FlowFilter; OptionCaption: ,Resource,Item,Service Cost,Service Contract |
| 5952 | Customer Filter | Code[20] | — | TableRelation Customer."No."; FlowFilter |
| 5953 | Resource Filter | Code[20] | — | TableRelation [Table 156 "Resource"](../table/156.md); FlowFilter |
| 5954 | Contract Filter | Code[20] | — | TableRelation [Table 5965 "Service Contract Header"](../table/5965.md) ("Service Contract Header"."Contract No." where("Contract Type" = const(Contract))); FlowFilter |
| 5955 | Ship-to Fax No. | Text[30] | — |  |
| 5956 | Ship-to E-Mail | Text[80] | Ship-to Email <small>caption</small> |  |
| 5957 | Resource Group Filter | Code[20] | — | TableRelation [Table 152 "Resource Group"](../table/152.md) (Resource Group); FlowFilter |
| 5958 | Ship-to Phone | Text[30] | Specifies the telephone number of the company's shipping address. |  |
| 5959 | Ship-to Phone 2 | Text[30] | — |  |
| 5966 | Service Zone Filter | Code[10] | — | TableRelation [Table 5957 "Service Zone"](../table/5957.md) ("Service Zone".Code); FlowFilter |
| 5968 | Service Zone Code | Code[10] | — | TableRelation [Table 5957 "Service Zone"](../table/5957.md) ("Service Zone".Code); not editable |
| 5981 | Expected Finishing Date | Date | — |  |
| 7000 | Price Calculation Method | Enum "Price Calculation Method" | — | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md) |
| 7001 | Allow Line Disc. | Boolean | — |  |
| 9001 | Quote No. | Code[20] | Specifies the number of the service quote document if a quote was used to start the service process. |  |

## Keys

- Key1: No. (clustered)
- Key2: Order No.
- Key3: Customer No., Order Date
- Key4: Contract No., Posting Date
- Key5: Response Date, Response Time, Priority
- Key6: Priority, Response Date, Response Time
- Key7: Posting Date

## Events published

- `OnBeforePrintRecords(var ServiceInvoiceHeader: Record "Service Invoice Header"; ShowRequestPage: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeSendProfile(var ServiceInvoiceHeader: Record "Service Invoice Header"; var DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean)` (integration)
- `OnBeforeSendRecords(var ServiceInvoiceHeader: Record "Service Invoice Header"; var IsHandled: Boolean)` (integration)
- `OnBeforeSetSecurityFilterOnRespCenter(var ServiceInvoiceHeader: Record "Service Invoice Header"; var IsHandled: Boolean)` (integration)
- `OnOpenStatisticsOnAfterSetStatPageID(var ServiceInvoiceHeader: Record "Service Invoice Header"; var StatPageID: Integer)` (integration, obsolete 27.0)
- `OnLookupAppliestoDocNoOnAfterSetFilters(ServiceInvoiceHeader: Record "Service Invoice Header"; var CustLedgerEntry: Record "Cust. Ledger Entry")` (integration)
- `OnBeforeOnDelete(var ServiceInvoiceHeader: Record "Service Invoice Header")` (integration)

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 6459 "Serv. Document Attachment Mgt."](../codeunit/6459.md) DeleteAttachedDocumentsOnAfterDeleteServiceInvoiceHeader
- OnBeforeInsertEvent: [Codeunit 5999 "Service Experience Tier"](../codeunit/5999.md) BlockInsertServiceInvoiceHeader

## Procedures

- `Navigate()`
- `SendRecords()`
- `SendProfile(var DocumentSendingProfile: Record "Document Sending Profile")`
- `PrintRecords(ShowRequestPage: Boolean)`
- `LookupAdjmtValueEntries()`
- `ShowDimensions()`
- `SetSecurityFilterOnRespCenter()`
- `OpenStatistics()` (obsolete 27.0: The statistics action will be replaced with the ServiceStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour.)
- `ShowActivityLog()`
- `GetDocExchStatusStyle(): Text`
- `PrintToDocumentAttachment(var ServiceInvoiceHeader: Record "Service Invoice Header")`
- `GetWorkDescription(): Text`

Plus 1 local procedures.

## Triggers

OnDelete

## Relations

- drill-down page [Page 5977 "Posted Service Invoices"](../page/5977.md)
- lookup page [Page 5977 "Posted Service Invoices"](../page/5977.md)
- Shipment Method Code: TableRelation [Table 10 "Shipment Method"](../table/10.md)
- Last Shipping No.: TableRelation [Table 110 "Sales Shipment Header"](../table/110.md)
- Last Posting No.: TableRelation [Table 112 "Sales Invoice Header"](../table/112.md)
- Direct Debit Mandate ID: TableRelation [Table 1230 "SEPA Direct Debit Mandate"](../table/1230.md)
- Salesperson Code: TableRelation [Table 13 "Salesperson/Purchaser"](../table/13.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Bal. Account No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- Resource Group Filter: TableRelation [Table 152 "Resource Group"](../table/152.md)
- Resource Filter: TableRelation [Table 156 "Resource"](../table/156.md)
- Bill-to Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Ship-to Code: TableRelation [Table 222 "Ship-to Address"](../table/222.md)
- Bill-to City: TableRelation [Table 225 "Post Code"](../table/225.md)
- Bill-to Post Code: TableRelation [Table 225 "Post Code"](../table/225.md)
- City: TableRelation [Table 225 "Post Code"](../table/225.md)
- Post Code: TableRelation [Table 225 "Post Code"](../table/225.md)
- Ship-to City: TableRelation [Table 225 "Post Code"](../table/225.md)
- Ship-to Post Code: TableRelation [Table 225 "Post Code"](../table/225.md)
- Source Code: TableRelation [Table 230 "Source Code"](../table/230.md)
- Reason Code: TableRelation [Table 231 "Reason Code"](../table/231.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Transaction Type: TableRelation [Table 258 "Transaction Type"](../table/258.md)
- Transport Method: TableRelation [Table 259 "Transport Method"](../table/259.md)
- Bal. Account No.: TableRelation [Table 270 "Bank Account"](../table/270.md) (conditional)
- Company Bank Account Code: TableRelation [Table 270 "Bank Account"](../table/270.md)
- Exit Point: TableRelation [Table 282 "Entry/Exit Point"](../table/282.md)
- Area: TableRelation [Table 284 "Area"](../table/284.md)
- Transaction Specification: TableRelation [Table 285 "Transaction Specification"](../table/285.md)
- Payment Method Code: TableRelation [Table 289 "Payment Method"](../table/289.md)
- Shipping Agent Code: TableRelation [Table 291 "Shipping Agent"](../table/291.md)
- Payment Terms Code: TableRelation [Table 3 "Payment Terms"](../table/3.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Order No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Pre-Assigned No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Shipping No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- Customer Disc. Group: TableRelation [Table 340 "Customer Discount Group"](../table/340.md)
- Shortcut Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Shortcut Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Bill-to Contact No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Contact No.: TableRelation [Table 5050 "Contact"](../table/5050.md)
- Responsibility Center: TableRelation [Table 5714 "Responsibility Center"](../table/5714.md)
- Shipping Agent Service Code: TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md)
- No. of Unallocated Items: CalcFormula [Table 5901 "Service Item Line"](../table/5901.md)
- Service Order Type: TableRelation [Table 5903 "Service Order Type"](../table/5903.md)
- Comment: CalcFormula [Table 5906 "Service Comment Line"](../table/5906.md)
- Contract Serv. Hours Exist: CalcFormula [Table 5910 "Service Hour"](../table/5910.md)
- Allocated Hours: CalcFormula [Table 5950 "Service Order Allocation"](../table/5950.md)
- No. of Allocations: CalcFormula [Table 5950 "Service Order Allocation"](../table/5950.md)
- Reallocation Needed: CalcFormula [Table 5950 "Service Order Allocation"](../table/5950.md)
- Service Zone Code: TableRelation [Table 5957 "Service Zone"](../table/5957.md)
- Service Zone Filter: TableRelation [Table 5957 "Service Zone"](../table/5957.md)
- Contract Filter: TableRelation [Table 5965 "Service Contract Header"](../table/5965.md)
- Contract No.: TableRelation [Table 5965 "Service Contract Header"](../table/5965.md)
- Amount: CalcFormula [Table 5993 "Service Invoice Line"](../table/5993.md)
- Amount Including VAT: CalcFormula [Table 5993 "Service Invoice Line"](../table/5993.md)
- Customer Price Group: TableRelation [Table 6 "Customer Price Group"](../table/6.md)
- Language Code: TableRelation [Table 8 "Language"](../table/8.md)
- Bill-to Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Ship-to Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- VAT Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)
- Customer Posting Group: TableRelation [Table 92 "Customer Posting Group"](../table/92.md)

## Referenced by

4 fields in 4 objects relate to this table (TableRelation or CalcFormula).

- [Table 5900 "Service Header"](../table/5900.md): Last Posting No.
- [Table 5909 "Service Shipment Buffer"](../table/5909.md): Document No.
- [Table 5993 "Service Invoice Line"](../table/5993.md): Document No.
- [Table 6010 "Service Header Archive"](../table/6010.md): Last Posting No.

## Pages and codeunits on this table

- [Page 1356 "Posted Service Inv. - Update"](../page/1356.md) (source table)
- [Page 5977 "Posted Service Invoices"](../page/5977.md) (source table)
- [Page 5978 "Posted Service Invoice"](../page/5978.md) (source table)
- [Page 6033 "Service Invoice Statistics"](../page/6033.md) (source table)
- [Codeunit 1412 "Service Inv. Header - Edit"](../codeunit/1412.md) (codeunit runs on it)
- [Codeunit 5902 "Service Inv.-Printed"](../codeunit/5902.md) (codeunit runs on it)

## Extended by

- [Table extension 5032 "Serv. Decl. Serv. Inv. Header"](../tableextension/5032.md)
- [Table extension 6170 "Posted Service Invoice with QR"](../tableextension/6170.md)
- [Table extension 6274 "Sust. Service Invoice Header"](../tableextension/6274.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 10 "Type Helper"](../codeunit/10.md) (2 calls: `GetWorkDescription → LFSeparator`, `GetWorkDescription → TryReadAsTextWithSepAndFieldErrMsg`)
- [Codeunit 452 "Report Distribution Management"](../codeunit/452.md) (2 calls: `SendProfile → GetFullDocumentTypeText`, `SendRecords → GetFullDocumentTypeText`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 5700 "User Setup Management"](../codeunit/5700.md) (1 call: `SetSecurityFilterOnRespCenter → GetServiceFilter`)

## Recent changes

- 2026-10-06 [#12290 Remove CLEAN27 from Service Management](../../changes/bcapps/12290.md) (main, BC30, refactor)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-28, BC30

## Deprecations

- procedure OnOpenStatisticsOnAfterSetStatPageID: Pending 27.0 (#if not CLEAN27), "The statistics action will be replaced with the ServiceStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour."
- procedure OpenStatistics: Pending 27.0 (#if not CLEAN27), "The statistics action will be replaced with the ServiceStatistics action. The new action uses RunObject and does not run the action trigger. Use a page extension to modify the behaviour."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Service Invoice Header")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
