---
id: object/tableextension/10790-es
type: object
title: Table extension 10790 "Service Header ES" (ES)
summary: Table extension 10790 "Service Header ES" (ES) in the ES country layer (Microsoft.Service.Document), extends "Service Header". 17 fields, 5 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - es layer
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: 5d7523c3e4955854e44df8515e6db11278a3670b49bc6166b84b5734599d8aa5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/Document/ServiceHeaderES.TableExt.al
    title: src/Layers/ES/BaseApp/Service/Local/Document/ServiceHeaderES.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: tableextension
object_id: 10790
name: Service Header ES
namespace: Microsoft.Service.Document
app: Base Application
extends: Service Header
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: ES
counts:
  fields: 17
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 10790 "Service Header ES" (ES)

> Table extension 10790 "Service Header ES" (ES) in the ES country layer (Microsoft.Service.Document), extends "Service Header". 17 fields, 5 public procedures. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Service.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/Document/ServiceHeaderES.TableExt.al) · facts from BC29

An object of the [ES localization](../../localizations/es.md), not part of W1.

## 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 |
|---|---|---|---|---|
| 10705 | Corrected Invoice No. | Code[20] | — | DataClassification CustomerContent |
| 10707 | Invoice Type | Enum "SII Sales Invoice Type" | — | enum SII Sales Invoice Type; DataClassification CustomerContent |
| 10708 | Cr. Memo Type | Enum "SII Sales Credit Memo Type" | — | enum SII Sales Credit Memo Type; DataClassification CustomerContent |
| 10709 | Special Scheme Code | Enum "SII Sales Special Scheme Code" | — | enum SII Sales Special Scheme Code; DataClassification CustomerContent |
| 10710 | Operation Description | Text[250] | — | DataClassification CustomerContent |
| 10711 | Correction Type | Option | — | OptionCaption: ,Replacement,Difference,Removal; DataClassification CustomerContent |
| 10712 | Operation Description 2 | Text[250] | — | DataClassification CustomerContent |
| 10720 | Succeeded Company Name | Text[250] | — | DataClassification CustomerContent |
| 10721 | Succeeded VAT Registration No. | Text[20] | — | DataClassification CustomerContent |
| 10722 | ID Type | Option | — | OptionCaption: ,02-VAT Registration No.,03-Passport,04-ID Document,05-Certificate Of Residence,06-Other Probative Document,07-Not On The Census; DataClassification CustomerContent |
| 10724 | Do Not Send To SII | Boolean | — | DataClassification CustomerContent |
| 10725 | Issued By Third Party | Boolean | — | DataClassification CustomerContent |
| 10726 | SII First Summary Doc. No. | Blob | First Summary Doc. No. <small>caption</small> | DataClassification CustomerContent |
| 10727 | SII Last Summary Doc. No. | Blob | Last Summary Doc. No. <small>caption</small> | DataClassification CustomerContent |
| 7000000 | Applies-to Bill No. | Code[20] | — | DataClassification CustomerContent |
| 7000001 | Cust. Bank Acc. Code | Code[20] | — | TableRelation "Customer Bank Account".Code where("Customer No." = field("Bill-to Customer No.")); DataClassification CustomerContent |
| 7000003 | Pay-at Code | Code[10] | — | obsolete Removed 25.0; #if not CLEANSCHEMA25; TableRelation Microsoft.Sales.Receivables."Customer Pmt. Address".Code where("Customer No." = field("Bill-to Customer No.")); DataClassification CustomerContent |

## Procedures

- `GetSIIFirstSummaryDocNo(): Text`
- `GetSIILastSummaryDocNo(): Text`
- `SetSIIFirstSummaryDocNo(SIISummaryDocNoText: Text)`
- `SetSIILastSummaryDocNo(SIISummaryDocNoText: Text)`
- `ValidatePaymentTerms()`: Validates payment terms and calculates due date and payment discount date based on document type and payment terms configuration.

## Across versions

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

## Deprecations

- field Pay-at Code: Removed 25.0 (#if not CLEANSCHEMA25), "Address is taken from the fields Bill-to Address, Bill-to City, etc."

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

A ES country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
