---
id: object/page/5023
type: object
title: Page 5023 "Service Declaration"
summary: Page 5023 "Service Declaration" in ServiceDeclaration (Microsoft.Service.Reports). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - servicedeclaration
versions:
  introduced: "29"
  last_changed: null
  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: 8b15131edc8f223802d0605d047f9dee54dc0b2c6f6b8adc291157275c6477cc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclaration.Page.al
    title: src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclaration.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration
    title: Set Up and Use the Service Declaration Extension
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration
  objects: []
  features: []
  topics:
    - topic/business-central/development-and-administration/customize-business-central/customize-with-extensions
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5023
name: Service Declaration
namespace: Microsoft.Service.Reports
app: ServiceDeclaration
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/finance-how-setup-use-service-declaration.md
counts:
  fields: 0
  procedures: 0
  events: 0
  subscribers: 0
  controls: 9
  actions: 5
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 5023 "Service Declaration"

> Page 5023 "Service Declaration" in ServiceDeclaration (Microsoft.Service.Reports). Introduced in BC29, still in BC30.

ServiceDeclaration · Microsoft.Service.Reports · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclaration.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | Service Declaration Header |
| PageType | Card |

## 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/5023.md#fields) | Specifies the code of the service declaration. |
|  | Config. Code | [Config. Code](../table/5023.md#fields) | Specifies the configuration code that uses for lines suggestion and file creation. |
|  | Starting Date | [Starting Date](../table/5023.md#fields) | Specifies the starting date of a service declaration. |
|  | Ending Date | [Ending Date](../table/5023.md#fields) | Specifies the ending date of a service declaration. |
|  | Status | [Status](../table/5023.md#fields) | Specifies the status of the service declaration. |
|  | Reported | [Reported](../table/5023.md#fields) | Specifies whether the entry has already been reported to the authorities. |
|  | Export Date | [Export Date](../table/5023.md#fields) | Specifies the date when the declaration has been exported. |
|  | Export Time | [Export Time](../table/5023.md#fields) | Specifies the time when the declaration has been exported. |
| Content | Lines | part [Page 5024 "Service Declaration Subform"](../page/5024.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Suggest Lines | Suggests transactions to be reported and fills in the journal. |  |
| Release | Release | Release the document to the next stage of processing. You must reopen the document before you can make changes to it. |  |
|  | Reopen | Reopen the document to change it after it has been approved. Approved documents have the Released status and must be opened before they can be changed. |  |
| Processing | Overview | Opens the overview with the service declaration lines grouped and summarized as in the exported file. |  |
|  | Create File | Create the reporting file. |  |

## Triggers

OnOpenPage

## Relations

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

## Pages and codeunits on this table

- [Page 5022 "Service Declarations"](../page/5022.md) (card page)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Documented on Microsoft Learn

- [Set Up and Use the Service Declaration Extension](https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration)

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). 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 Declaration")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
