---
id: object/tableextension/10792-es
type: object
title: Table extension 10792 "Service Invoice Header ES" (ES)
summary: Table extension 10792 "Service Invoice Header ES" (ES) in the ES country layer (Microsoft.Service.History), extends "Service Invoice Header". 17 fields, 4 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: c692c35f3c70c9cbae0c6a22842f1d97508c7a20e66c92787ff243474cdee156
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/History/ServiceInvoiceHeaderES.TableExt.al
    title: src/Layers/ES/BaseApp/Service/Local/History/ServiceInvoiceHeaderES.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: 10792
name: Service Invoice Header ES
namespace: Microsoft.Service.History
app: Base Application
extends: Service Invoice 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: 4
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 10792 "Service Invoice Header ES" (ES)

> Table extension 10792 "Service Invoice Header ES" (ES) in the ES country layer (Microsoft.Service.History), extends "Service Invoice Header". 17 fields, 4 public procedures. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Service.History · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/History/ServiceInvoiceHeaderES.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 |
|---|---|---|---|---|
| 10706 | SII Status | Enum "SII Document Status" | — | FlowField: lookup("SII Doc. Upload State".Status where("Document Source" = const("Customer Ledger"), "Document Type" = const(Invoice), "Document No." = field("No."))); enum SII Document Status |
| 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 |
| 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 | Enum "SII ID Type" | — | enum SII ID Type; DataClassification CustomerContent |
| 10723 | Sent to SII | Boolean | — | FlowField: exist("SII Doc. Upload State" where("Document Source" = const("Customer Ledger"), "Document Type" = const(Invoice), "Document No." = field("No."))); not editable |
| 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 "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)`

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