---
id: object/report/10707-es
type: object
title: Report 10707 "Make 347 Declaration" (ES)
summary: Report 10707 "Make 347 Declaration" (ES) in the ES country layer (Microsoft.Finance.VAT.Reporting). 16 public procedures, 5 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - report
  - 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: fbf6471feb79201ea27cb6c9306ef4dc1b9ce10454991abad6d0f2c14e7e47e8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Finance/VAT/Reporting/Make347Declaration.Report.al
    title: src/Layers/ES/BaseApp/Local/Finance/VAT/Reporting/Make347Declaration.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10878
object_type: report
object_id: 10707
name: Make 347 Declaration
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: 57
  events: 5
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Report 10707 "Make 347 Declaration" (ES)

> Report 10707 "Make 347 Declaration" (ES) in the ES country layer (Microsoft.Finance.VAT.Reporting). 16 public procedures, 5 events. 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/Make347Declaration.Report.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | Make 347 Declaration |
| UsageCategory | ReportsAndAnalysis |
| ApplicationArea | Basic, Suite |

## Events published

- `OnAfterIsCountryCodeInSpainOrOutsideEU(CountryCode: Code[10]; var Result: Boolean)` (integration)
- `OnBeforeCreateCountryRegionFilter(var CountryRegionFilter: Text; var IsHandled: Boolean)` (integration)
- `OnBeforeAppendLine(var Content: Text)` (integration)
- `OnAfterAppendLine(Content: Text)` (integration)
- `OnBeforeWriteLinesToFile(var TextList: List of [Text])` (integration)

## Procedures

- `StatementNo(FullText: Text[30]): Text[5]`
- `AmtEuro(Amount: Decimal): Text[15]`
- `CreateFileHeader()`
- `GetFilterStringFromColumnGLAcc()`
- `CheckExcludedGLAccount(): Boolean`
- `RetrieveGLAccount(StringFilter: Text[250]): Integer`
- `FormatTextName(NameString: Text[100]; ClearNumerico: Boolean): Text[100]`
- `FormatTextName(InputString: Text[100]): Text[100]`
- `GetCountyCode(IsCustomer: Boolean)`
- `CheckSameVATRegNoCust(): Decimal`
- `CheckSameVATRegNoVend(var Amt: Decimal; var ISPAmt: Decimal)`
- `CheckCustDocTypeCrMemo(CustLedgEntry: Record "Cust. Ledger Entry"; Customer: Record Customer)`
- `CheckVendDocTypeInvoice(VendorLedgerEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor)`
- `CheckVendDocTypeCrMemo(VendorLedgerEntry: Record "Vendor Ledger Entry"; Vendor: Record Vendor)`
- `SetSilentMode(ServerFileName: Text)`
- `SetCollectionInCashMode(NewCollectionInCashMode: Boolean)`

Plus 36 local procedures.

## Triggers

OnInitReport, OnPostReport, OnPreReport

## Recent changes

- 2026-09-03 [#10878 Ruleset hardening: promote five low-risk rules to Error](../../changes/bcapps/10878.md) (main, BC30, refactor)

## 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: "report", object_name: "Make 347 Declaration")`, 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.
