---
id: object/tableextension/7000021-es
type: object
title: Table extension 7000021 "SII Sales Inv. Header" (ES)
summary: Table extension 7000021 "SII Sales Inv. Header" (ES) in the ES country layer (Microsoft.EServices.EDocument), extends "Sales Invoice Header". 14 fields, 4 public procedures. Introduced in BC29, gone after BC29.
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: 088e462488e2ce6f62681c843c0374dabe0c404292435ce36b9b61c83459dd1f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/SII/Sales/History/SIISalesInvHeader.TableExt.al
    title: src/Layers/ES/BaseApp/Local/SII/Sales/History/SIISalesInvHeader.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: 7000021
name: SII Sales Inv. Header
namespace: Microsoft.EServices.EDocument
app: Base Application
extends: Sales Invoice Header
first_version: "29"
last_version: "29"
present_in:
  - "29"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: ES
counts:
  fields: 14
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 7000021 "SII Sales Inv. Header" (ES)

> Table extension 7000021 "SII Sales Inv. Header" (ES) in the ES country layer (Microsoft.EServices.EDocument), extends "Sales Invoice Header". 14 fields, 4 public procedures. Introduced in BC29, gone after BC29.

ES country layer · Microsoft.EServices.EDocument · BC29 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/SII/Sales/History/SIISalesInvHeader.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 |

## Procedures

- `GetSIIFirstSummaryDocNo(): Text`
- `GetSIILastSummaryDocNo(): Text`
- `SetSIIFirstSummaryDocNo(SIISummaryDocNoText: Text)`
- `SetSIILastSummaryDocNo(SIISummaryDocNoText: Text)`

## Across versions

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

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: "SII Sales Inv. Header")`, 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.
