---
id: object/page/5010
type: object
title: Page 5010 "Service Declaration Setup"
summary: Page 5010 "Service Declaration Setup" 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: ed1b961597aa3d176e8220883f098dda56bdd2baa9af5e79554e31215c8591b2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/Setup/ServiceDeclarationSetup.Page.al
    title: src/Apps/W1/ServiceDeclaration/app/src/Setup/ServiceDeclarationSetup.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: 5010
name: Service Declaration Setup
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: 11
  actions: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 5010 "Service Declaration Setup"

> Page 5010 "Service Declaration Setup" 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/Setup/ServiceDeclarationSetup.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | Service Declaration Setup |
| PageType | Card |
| UsageCategory | Administration |
| ApplicationArea | Basic, Suite |

## 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 | Declaration No. Series | [Declaration No. Series](../table/5010.md#fields) | Specifies the no. series for the service declarations. |
|  | Report Item Charges | [Report Item Charges](../table/5010.md#fields) | Specifies whether the item charges have to be reported in the service declaration. If enabled, system checks the service transaction code for item charges and include them into service declarations. |
|  | Sell-To/Bill-To Customer No. | [Sell-To/Bill-To Customer No.](../table/5010.md#fields) | Specifies which customer must be taken to compare his country code with the country code from the Company Information page. Only documents where these two codes are different will be considered for the service declaration. Bill-To.: The country code will be taken from the Bill-to Customer. Sell-To. ... |
|  | Buy-From/Pay-To Vendor No. | [Buy-From/Pay-To Vendor No.](../table/5010.md#fields) | Specifies which vendor must be taken to compare his country code with the country code from the Company Information page. Only documents where these two codes are different will be considered for the service declaration. Buy-From.: The country code will be taken from the Buy-From Vendor. Pay-To. : T... |
|  | Data Exch. Def. Code | [Data Exch. Def. Code](../table/5010.md#fields) | Specifies the data exchange definition code used to generate the exported file for the service declaration. |
|  | Enable VAT Registration No. | [Enable VAT Registration No.](../table/5010.md#fields) | Specifies whether the VAT Registration No. is enabled for the service declaration. |
|  | Enable Serv. Trans. Types | [Enable Serv. Trans. Types](../table/5010.md#fields) | Specifies whether the service transaction types are enabled for the service declaration. |
|  | Vend. VAT Reg. No. Type | [Vend. VAT Reg. No. Type](../table/5010.md#fields) | Specifies how a vendor's VAT registration number exports to the file. 0 is the value of the VAT Reg. No. field, 1 adds the country code as a prefix, and 2 removes the country code. |
|  | Cust. VAT Reg. No. Type | [Cust. VAT Reg. No. Type](../table/5010.md#fields) | Specifies how a customer's VAT registration number exports to the file. 0 is the value of the VAT Reg. No. field, 1 adds the country code as a prefix, and 2 removes the country code. |
|  | Def. Customer/Vendor VAT No. | [Def. Customer/Vendor VAT No.](../table/5010.md#fields) | Specifies the VAT registration number that will be used if customer or vendor company does not have its own VAT registration number. |
|  | Def. Private Person VAT No. | [Def. Private Person VAT No.](../table/5010.md#fields) | Specifies the VAT registration number that will be used if customer or vendor private person does not have its own VAT registration number. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Create Default Data Exch. Def. | Create/Restore Default Data Exchange Definition(-s) |  |

## Relations

- source table [Table 5010 "Service Declaration Setup"](../table/5010.md)

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