---
id: object/page/5933
type: object
title: Page 5933 "Service Invoice"
summary: Page 5933 "Service Invoice" in Base Application (Microsoft.Service.Document). 2 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: 62247ab91f67b7d3013e36d1712d32c93871076dccdc7f6c53a74a6d72f13fc5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/ServiceInvoice.Page.al
    title: src/Layers/W1/BaseApp/Service/Document/ServiceInvoice.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service
    title: Sustainability value chain in Service Management
    date: null
    commit: null
    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: page
object_id: 5933
name: Service Invoice
namespace: Microsoft.Service.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/value-chain-howto-service.md
counts:
  fields: 0
  procedures: 18
  events: 1
  subscribers: 0
  controls: 78
  actions: 15
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 3
  event_subscribers: 2
  calls: 7
  called_by: 3
  implements: 0
---

# Page 5933 "Service Invoice"

> Page 5933 "Service Invoice" in Base Application (Microsoft.Service.Document). 2 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| Caption | Service Invoice |
| SourceTable | Service Header |
| PageType | Document |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | No. | [No.](../table/5900.md#fields) | Specifies the number of the involved entry or record, according to the specified number series. <small>from the table field</small> |
|  | Customer No. | [Customer No.](../table/5900.md#fields) | Specifies the number of the customer who owns the items in the service document. <small>from the table field</small> |
|  | Contact No. | [Contact No.](../table/5900.md#fields) | Specifies the number of the contact to whom you will deliver the service. <small>from the table field</small> |
| Sell-to | Name | [Name](../table/5900.md#fields) | Specifies the name of the customer to whom the items on the document will be shipped. <small>from the table field</small> |
|  | Name 2 | [Name 2](../table/5900.md#fields) | Specifies an additional part of the name of the customer to whom the items on the document will be shipped. <small>from the table field</small> |
|  | Address | [Address](../table/5900.md#fields) | Specifies the address of the customer to whom the service will be shipped. <small>from the table field</small> |
|  | Address 2 | [Address 2](../table/5900.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | City | [City](../table/5900.md#fields) | Specifies the city of the address. <small>from the table field</small> |
| Control13 | County | [County](../table/5900.md#fields) | Specifies the county in the customer's address. <small>from the table field</small> |
| Sell-to | Post Code | [Post Code](../table/5900.md#fields) | Specifies the postal code. <small>from the table field</small> |
|  | Country/Region Code | [Country/Region Code](../table/5900.md#fields) | Specifies the country/region of the address. <small>from the table field</small> |
|  | Contact Name | [Contact Name](../table/5900.md#fields) | Specifies the name of the contact who will receive the service. <small>from the table field</small> |
|  | Phone No. | `SellToContact."Phone No."` | Specifies the telephone number of the contact person who will receive the service. |
|  | Mobile Phone No. | `SellToContact."Mobile Phone No."` | Specifies the mobile telephone number of the contact person who will receive the service. |
|  | Email | `SellToContact."E-Mail"` | Specifies the email address of the contact person who will receive the service. |
| General | Posting Date | [Posting Date](../table/5900.md#fields) | Specifies the date when the service document should be posted. <small>from the table field</small> |
|  | VAT Reporting Date | [VAT Reporting Date](../table/5900.md#fields) | Specifies the date used to include entries on VAT reports in a VAT period. This is either the date that the document was created or posted, depending on your setting on the General Ledger Setup page. <small>from the table field</small> |
|  | Document Date | [Document Date](../table/5900.md#fields) | Specifies the date when the related document was created. <small>from the table field</small> |
|  | External Document No. | [External Document No.](../table/5900.md#fields) | Specifies a document number that refers to the customer's or vendor's numbering system. <small>from the table field</small> |
|  | Salesperson Code | [Salesperson Code](../table/5900.md#fields) | Specifies the code of the salesperson assigned to this service document. <small>from the table field</small> |
|  | Responsibility Center | [Responsibility Center](../table/5900.md#fields) | Specifies the code of the responsibility center, such as a distribution hub, that is associated with the involved user, company, customer, or vendor. <small>from the table field</small> |
|  | Assigned User ID | [Assigned User ID](../table/5900.md#fields) | Specifies the ID of the user who is responsible for the document. <small>from the table field</small> |
| Content | ServLines | part [Page 5934 "Service Invoice Subform"](../page/5934.md) | — |
| Invoicing | Bill-to Customer No. | [Bill-to Customer No.](../table/5900.md#fields) | Specifies the number of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Bill-to Contact No. | [Bill-to Contact No.](../table/5900.md#fields) | Specifies the number of the contact person at the customer's billing address. <small>from the table field</small> |
| Bill-to | Name | [Bill-to Name](../table/5900.md#fields) | Specifies the name of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Name 2 | [Bill-to Name 2](../table/5900.md#fields) | Specifies an additional part of the name of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Address | [Bill-to Address](../table/5900.md#fields) | Specifies the address of the customer to whom you will send the invoice. <small>from the table field</small> |
|  | Address 2 | [Bill-to Address 2](../table/5900.md#fields) | Specifies an additional line of the address. <small>from the table field</small> |
|  | City | [Bill-to City](../table/5900.md#fields) | Specifies the city of the address. <small>from the table field</small> |
| Control21 | Bill-to County | [Bill-to County](../table/5900.md#fields) | Specifies the county in the customer's address. <small>from the table field</small> |
| Bill-to | Post Code | [Bill-to Post Code](../table/5900.md#fields) | Specifies the postal code of the customer's billing address. <small>from the table field</small> |
|  | Country/Region | [Bill-to Country/Region Code](../table/5900.md#fields) | Specifies the country/region in the customer's address. <small>from the table field</small> |
|  | Contact | [Bill-to Contact](../table/5900.md#fields) | Specifies the name of the contact person at the customer's billing address. <small>from the table field</small> |
|  | Phone No. | `BillToContact."Phone No."` | Specifies the telephone number of the contact person at the customer's billing address. |
|  | Mobile Phone No. | `BillToContact."Mobile Phone No."` | Specifies the mobile telephone number of the contact person at the customer's billing address. |
|  | Email | `BillToContact."E-Mail"` | Specifies the email address of the contact person at the customer's billing address. |
| Invoicing | Your Reference | [Your Reference](../table/5900.md#fields) | Specifies a customer reference, which will be used when printing service documents. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/5900.md#fields) | 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. <small>from the table field</small> |
|  | Shortcut Dimension 2 Code | [Shortcut Dimension 2 Code](../table/5900.md#fields) | 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. <small>from the table field</small> |
|  | Customer Posting Group | [Customer Posting Group](../table/5900.md#fields) | Specifies the customer's market type to link business transactions to. <small>from the table field</small> |
|  | Payment Terms Code | [Payment Terms Code](../table/5900.md#fields) | Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount. <small>from the table field</small> |
|  | EU 3-Party Trade | [EU 3-Party Trade](../table/5900.md#fields) | Specifies if the transaction is related to trade with a third party within the EU. <small>from the table field</small> |
|  | Due Date | [Due Date](../table/5900.md#fields) | Specifies when the related invoice must be paid. |
|  | Payment Discount % | [Payment Discount %](../table/5900.md#fields) | Specifies the percentage of payment discount given, if the customer pays by the date entered in the Pmt. Discount Date field. <small>from the table field</small> |
|  | Pmt. Discount Date | [Pmt. Discount Date](../table/5900.md#fields) | Specifies the date on which the amount in the entry must be paid for a payment discount to be granted. <small>from the table field</small> |
|  | Payment Method Code | [Payment Method Code](../table/5900.md#fields) | Specifies how to make payment, such as with bank transfer, cash, or check. <small>from the table field</small> |
|  | Direct Debit Mandate ID | [Direct Debit Mandate ID](../table/5900.md#fields) | Specifies the direct-debit mandate that the customer has signed to allow direct debit collection of payments. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/5900.md#fields) | Specifies the currency code for various amounts on the service lines. <small>from the table field</small> |
|  | Company Bank Account Code | [Company Bank Account Code](../table/5900.md#fields) | Specifies the bank account to use for bank information when the document is printed. <small>from the table field</small> |
|  | Prices Including VAT | [Prices Including VAT](../table/5900.md#fields) | Specifies if the Unit Price and Line Amount fields on document lines should be shown with or without VAT. <small>from the table field</small> |
|  | Tax Liable | [Tax Liable](../table/5900.md#fields) | Specifies if the customer or vendor is liable for sales tax. <small>from the table field</small> |
|  | Tax Area Code | [Tax Area Code](../table/5900.md#fields) | Specifies the tax area that is used to calculate and post sales tax. <small>from the table field</small> |
| Shipping | Ship-to Code | [Ship-to Code](../table/5900.md#fields) | 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. <small>from the table field</small> |
| Ship-to | Name | [Ship-to Name](../table/5900.md#fields) | Specifies the name of the customer at the address that the items are shipped to. <small>from the table field</small> |
|  | Name 2 | [Ship-to Name 2](../table/5900.md#fields) | Specifies an additional part of thethe name of the customer at the address that the items are shipped to. <small>from the table field</small> |
|  | Address | [Ship-to Address](../table/5900.md#fields) | Specifies the address that the items are shipped to. <small>from the table field</small> |
|  | Address 2 | [Ship-to Address 2](../table/5900.md#fields) | Specifies an additional part of the ship-to address, in case it is a long address. <small>from the table field</small> |
|  | City | [Ship-to City](../table/5900.md#fields) | Specifies the city of the address that the items are shipped to. <small>from the table field</small> |
| Control29 | Ship-to County | [Ship-to County](../table/5900.md#fields) | Specifies the county in the customer's address. <small>from the table field</small> |
| Ship-to | Post Code | [Ship-to Post Code](../table/5900.md#fields) | Specifies the postal code of the address that the items are shipped to. <small>from the table field</small> |
|  | Country/Region Code | [Ship-to Country/Region Code](../table/5900.md#fields) | Specifies the country/region in the customer's address. <small>from the table field</small> |
|  | Phone No. | [Ship-to Phone](../table/5900.md#fields) | Specifies the telephone number of the company's shipping address. <small>from the table field</small> |
|  | Contact | [Ship-to Contact](../table/5900.md#fields) | Specifies the name of the contact person at the address that the items are shipped to. <small>from the table field</small> |
| Shipping | Location Code | [Location Code](../table/5900.md#fields) | Specifies the code of the location (for example, warehouse or distribution center) of the items specified on the service item lines. When you select the customer and the customer has a location assigned, the value is taken from the Customer card. If the customer has no location, but a Responsibility... <small>from the table field</small> |
| Foreign Trade | Transaction Type | [Transaction Type](../table/5900.md#fields) | Specifies the type of transaction that the document represents, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Transaction Specification | [Transaction Specification](../table/5900.md#fields) | Specifies a specification of the document's transaction, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Transport Method | [Transport Method](../table/5900.md#fields) | Specifies the transport method, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
|  | Exit Point | [Exit Point](../table/5900.md#fields) | Specifies the point of exit through which you ship the items out of your country/region, for reporting to Intrastat. <small>from the table field</small> |
|  | Area | [Area](../table/5900.md#fields) | Specifies the area of the customer or vendor, for the purpose of reporting to INTRASTAT. <small>from the table field</small> |
| FactBoxes | Document Check | part [Page 9117 "Service Doc. Check Factbox"](../page/9117.md) | — |
|  | Documents | part [Page 1178 "Doc. Attachment List Factbox"](../page/1178.md) | — |
|  | Control1902018507 | part [Page 9082 "Customer Statistics FactBox"](../page/9082.md) | — |
|  | Control1900316107 | part [Page 9084 "Customer Details FactBox"](../page/9084.md) | — |
|  | IncomingDocAttachFactBox | part [Page 193 "Incoming Doc. Attach. FactBox"](../page/193.md) | — |
|  | Control1907829707 | part [Page 9085 "Service Hist. Sell-to FactBox"](../page/9085.md) | — |
|  | Control1902613707 | part [Page 9086 "Service Hist. Bill-to FactBox"](../page/9086.md) | — |
|  | Control1906530507 | part [Page 9088 "Service Item Line FactBox"](../page/9088.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Invoice | Statistics <small>obsolete Pending 27.0; #if not CLEAN27</small> | View statistical information, such as the value of posted entries, for the record. |  |
|  | Statistics | View statistical information, such as the value of posted entries, for the record. | [Page 6030 "Service Statistics"](../page/6030.md) |
|  | Card | View or change detailed information about the record on the document or journal line. | [Page 21 "Customer Card"](../page/21.md) |
|  | Comments | View or add comments for the record. | [Page 5911 "Service Comment Sheet"](../page/5911.md) |
|  | Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to journal lines to distribute costs and analyze transaction history. |  |
|  | Attachments | Add a file as an attachment. You can attach images as well as documents. |  |
|  | Service Document Log | View a list of the service document changes that have been logged. The program creates entries in the window when, for example, the response time or service order status changed, a resource was allocated, a service order was shipped or invoiced, and so on. Each line in this window identifies the eve... |  |
| Functions | Calculate Invoice Discount | Calculate the invoice discount that applies to the service order. |  |
|  | Get Std. Service Codes | Insert service order lines that you have set up for recurring services. |  |
| Posting | Test Report | View a test report so that you can find and correct any errors before you perform the actual posting of the journal or document. |  |
|  | Post | Finalize the document or journal by posting the amounts and quantities to the related accounts in your company books. |  |
|  | Preview Posting | Review the different types of entries that will be created when you post the document or journal. |  |
|  | Post and Send | Finalize and prepare to send the document according to the customer's sending profile, such as attached to an email. The Send document to window opens first so you can confirm or select a sending profile. |  |
|  | Post and Print | Finalize and prepare to print the document or journal. The values and quantities are posted to the related accounts. A report request window where you can specify what to include on the print-out. |  |
|  | Post Batch | Post several documents at once. A report request window opens where you can specify which documents to post. |  |

## Events published

- `OnAfterOnAfterGetRecord(var ServiceHeader: Record "Service Header")` (integration)
  - subscribers: [Codeunit 6478 "Serv. Document Errors Mgt."](../codeunit/6478.md) OnAfterOnAfterGetRecordServiceInvoice

## Trigger event subscribers

- OnModifyRecordEvent: [Codeunit 6478 "Serv. Document Errors Mgt."](../codeunit/6478.md) OnModifyRecordEventServiceInvoice

## Procedures

- `RunBackgroundCheck()`
- `SetPostingGroupEditable()`

Plus 15 local procedures.

## Triggers

OnAfterGetCurrRecord, OnDeleteRecord, OnFindRecord, OnNewRecord, OnOpenPage, OnAfterGetRecord, OnQueryClosePage

## Relations

- source table [Table 5900 "Service Header"](../table/5900.md)

## Pages and codeunits on this table

- [Page 9319 "Service Invoices"](../page/9319.md) (card page)

## Extended by

- [Page extension 5042 "SD Serv. Invoice"](../pageextension/5042.md)
- [Page extension 5589 "Dig. Voucher Serv. Invoice"](../pageextension/5589.md)
- [Page extension 6130 "E-Doc. Service Invoice"](../pageextension/6130.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 1330 "Instruction Mgt."](../codeunit/1330.md) (3 calls: `ShowPostedConfirmationMessage → ShowConfirm`, `ShowPostedConfirmationMessage → ShowPostedConfirmationMessageCode`, `ShowPostedConfirmationMessage → ShowPostedDocument`)
- [Codeunit 9070 "Document Errors Mgt."](../codeunit/9070.md) (2 calls: `ActivateFields → BackgroundValidationEnabled`, `CheckShowBackgrValidationNotification → CheckShowEnableBackgrValidationNotification`)
- [Codeunit 365 "Format Address"](../codeunit/365.md) (1 call: `ActivateFields → UseCounty`)
- [Codeunit 5700 "User Setup Management"](../codeunit/5700.md) (1 call: `OnNewRecord → GetServiceFilter`)
- [Codeunit 5906 "ServLogManagement"](../codeunit/5906.md) (1 call: `OnDeleteRecord → ServHeaderManualDelete`)
- [Codeunit 6477 "Serv. Document No. Visibility"](../codeunit/6477.md) (1 call: `SetDocNoVisible → ServiceDocumentNoIsVisible`)
- [Codeunit 799 "VAT Reporting Date Mgt"](../codeunit/799.md) (1 call: `OnOpenPage → IsVATDateEnabled`)

## Called by

- [Codeunit 6469 "Serv. Payment Registration"](../codeunit/6469.md) (1 call: `ShowServiceHeaderRecords → (object)`)
- [Codeunit 6494 "Serv. Navigate Mgt."](../codeunit/6494.md) (1 call: `ShowServiceHeaderRecords → (object)`)
- [Page 5968 "Service Document Registers"](../page/5968.md) (1 call: `OpenRelatedCard → (object)`)

## 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

## Documented on Microsoft Learn

- [Sustainability value chain in Service Management](https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service)

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: "page", object_name: "Service Invoice")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
