---
id: object/page/10744-es
type: object
title: Page 10744 "340 Declaration Lines" (ES)
summary: Page 10744 "340 Declaration Lines" (ES) in the ES country layer (Microsoft.Finance.VAT.Reporting). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - 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: 99acbd7ec5db5846607b546f473654068571054771cb2363f8d8d065145b6f4d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/VAT/Reporting/340DeclarationLines.Page.al
    title: src/Layers/ES/BaseApp/Local/Finance/VAT/Reporting/340DeclarationLines.Page.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: page
object_id: 10744
name: 340 Declaration Lines
namespace: Microsoft.Finance.VAT.Reporting
app: Base Application
extends: null
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: 0
  procedures: 1
  events: 0
  subscribers: 0
  controls: 14
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Page 10744 "340 Declaration Lines" (ES)

> Page 10744 "340 Declaration Lines" (ES) in the ES country layer (Microsoft.Finance.VAT.Reporting). Introduced in BC29, still in BC30.

ES country layer · Microsoft.Finance.VAT.Reporting · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/VAT/Reporting/340DeclarationLines.Page.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | 340 Declaration Lines |
| SourceTable | 340 Declaration Line |
| PageType | List |

## 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 |
|---|---|---|---|
| Control1 | Document No. | `Rec."Document No."` | Specifies the document number on the declaration entry. |
|  | Document Type | `Rec."Document Type"` | Specifies the document type associated with the declaration entry. |
|  | Document Date | `Rec."Document Date"` | Specifies the document date of the posted document. |
|  | Customer/Vendor No. | `Rec."Customer/Vendor No."` | Specifies the customer or vendor number that is associated with the posted invoice or credit memo. |
|  | Base | `Rec.Base` | Specifies the total invoice amount, excluding the VAT amount and EC amount on the declaration entry. |
|  | VAT % | `Rec."VAT %"` | Specifies the VAT percentage on the declaration entry. |
|  | EC % | `Rec."EC %"` | Specifies the percent of Equivalence Charge (EC) on the declaration entry. |
|  | VAT Amount / EC Amount | `Rec."VAT Amount / EC Amount"` | Specifies the VAT amount and Equivalence Charge (EC) amount. |
|  | VAT Amount | `Rec."VAT Amount"` | Specifies the VAT amount that is calculated from the entries, based on the same VAT percentage. |
|  | EC Amount | `Rec."EC Amount"` | Specifies the calculated Equivalence Charge (EC) amount. |
|  | Amount Including VAT / EC | `Rec."Amount Including VAT / EC"` | Specifies the total amount including VAT amount and EC amount on the declaration line. |
|  | Operation Code | `Rec."Operation Code"` | Specifies the operation code for the posted document. |
|  | Property Location | `Rec."Property Location"` | Specifies the property location associated with the declaration entry. |
|  | Property Tax Account No. | `Rec."Property Tax Account No."` | Specifies the property tax account number for the Property Location for the operation code R. |

## Procedures

1 local procedures, no public ones.

## Triggers

OnAfterGetRecord, OnInit, OnNewRecord, OnQueryClosePage

## Across versions

- Present in: BC29-30
- 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: "page", object_name: "340 Declaration Lines")`, 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.
