---
id: object/codeunit/12411-ru
type: object
title: Codeunit 12411 "VAT Settlement Management" (RU)
summary: Codeunit 12411 "VAT Settlement Management" (RU) in the RU country layer. 44 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - ru 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: 3a36bebd8739edadeb9f668cd765f0101f3b6a8b61dfc68658cdbd02679281cc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/RU/BaseApp/Local/VATSettlementManagement.Codeunit.al
    title: src/Layers/RU/BaseApp/Local/VATSettlementManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 12411
name: VAT Settlement Management
namespace: null
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: RU
counts:
  fields: 0
  procedures: 49
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 12411 "VAT Settlement Management" (RU)

> Codeunit 12411 "VAT Settlement Management" (RU) in the RU country layer. 44 public procedures. Introduced in BC29, still in BC30.

RU country layer · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/RU/BaseApp/Local/VATSettlementManagement.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "VAT Entry" = imd, TableData "VAT Document Entry Buffer" = i |

## Procedures

- `CalcAmount(var GenJnlLine: Record "Gen. Journal Line"): Decimal`
- `TransferVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry"; var CVLedgEntry: Record "CV Ledger Entry Buffer")`
- `TransferCustLedgEntry(var CustLedgEntry: Record "Cust. Ledger Entry"; var CVLedgEntry: Record "CV Ledger Entry Buffer")`
- `InsertLine(var GenJnlLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; CVLedgEntry: Record "CV Ledger Entry Buffer"; CVType: Enum "Gen. Journal Account Type"; VATSettlementPart: Option; PostingDate: Date; VATAmount: Decimal; BaseAmount: Decimal; NextTransactionNo: Integer)`
- `CheckDuplicate(GenJnlLine: Record "Gen. Journal Line")`
- `IsLastOperation(GenJnlLine: Record "Gen. Journal Line"): Boolean`
- `IsLastApplication(GenJnlLine: Record "Gen. Journal Line"): Boolean`
- `IsLastSettlement(GenJnlLine: Record "Gen. Journal Line"): Boolean`
- `GetLastPosted(UnrealVATEntryNo: Integer; VATSettlementPart: Option " ",Full,"1/6","1/12","28FL"): Integer`
- `CheckDate(GenJnlLine: Record "Gen. Journal Line")`
- `CalcUnrealVATPart(GenJnlLine: Record "Gen. Journal Line"): Decimal`
- `PartiallyRealized(UnrealVATEntryNo: Integer; VATSettlementPart: Option " ",Full,"1/6","1/12","28FL"): Boolean`
- `GetRemUnrealVAT(EntryNo: Integer; AtDate: Date): Decimal`
- `CalcPaidAmount(FromDate: Date; ToDate: Date; UnrealVATEntryNo: Integer; AddRealVAT: Option ,Add,Deduct,RealVATOnly,Correction): Decimal`
- `GetCustPaidAmount(VATEntry: Record "VAT Entry"; FromDate: Date; ToDate: Date; var OriginalAmount: Decimal): Decimal`
- `GetVendPaidAmount(VATEntry: Record "VAT Entry"; FromDate: Date; ToDate: Date; var OriginalAmount: Decimal): Decimal`
- `VATIsPostponed(VATEntry: Record "VAT Entry"; VATSettlementPart: Option " ",Full,"1/6","1/12","28FL"; PostingDate: Date): Boolean`
- `GetPart(UnrealVATEntryNo: Integer): Integer`
- `GetVATPercent(UnrealVATEntryNo: Integer): Decimal`
- `Recalculate(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry")`
- `AppliedToCrMemo(GenJnlLine: Record "Gen. Journal Line"): Boolean`
- `CheckForUnapplyByEntryNo(EntryNo: Integer; ContragentType: Option Customer,Vendor)`
- `CheckForUnapplyByTransNo(TransactionNo: Integer)`
- `CopyDimensions(var GenJournalLine: Record "Gen. Journal Line"; CVType: Option " ",Customer,Vendor; TransactionNo: Integer)`
- `CheckForPDUnapply(CVLedgEntryNo: Integer)`
- `CheckFPE(var GenJnlLine: Record "Gen. Journal Line")`
- `UpdateRealEntries(UnrealVAtEntryNo: Integer; CVEntryNo: Integer)`
- `FillCVEntryNo(TransactionNo: Integer; CVEntryNo: Integer)`
- `Generate(var TempVATDocBuf: Record "VAT Document Entry Buffer" temporary; Type: Option ,Purchase,Sale,"Fixed Asset","Future Expense")`
- `CheckFixedAsset(var VATEntry: Record "VAT Entry"; var PostingDate: Date; Type: Option " ",Purchase,Sale,"Fixed Asset","Future Expense"): Boolean`
- `UpdateDocVATAlloc(var VATAmtToAlloc: Decimal; CVLedgEntryNo: Integer; var PostingDate: Date)`
- `CreateAllocation(VATEntryNo: Integer)`
- `InsertInitEntry(VATEntryNo: Integer)`
- `ApplyDefaultAllocation(VATEntryNo: Integer): Boolean`
- `InsertVATAlloc(var DefaultVATAlloc: Record "Default VAT Allocation Line"; VATEntry: Record "VAT Entry")`
- `CalculateAllocation(VATEntryNo: Integer; Amount: Decimal; var PostingDate: Date)`
- `RecalculateAllocation(VATEntryNo: Integer; var PostingDate: Date)`
- `SetDateFormula(var MinDateFormula: DateFormula; DateFormula: DateFormula)`
- `GetLastRealVATEntryDate(var LastPostingDate: Date; UnrealVATEntryNo: Integer; DateFormula: DateFormula)`
- `CopyToJnl(var EntryToPost: Record "VAT Document Entry Buffer" temporary; var VATEntry: Record "VAT Entry")`
- `SetGroupVATAlloc(var VATEntry: Record "VAT Entry"; var EntryNo: Record "Integer"): Boolean`
- `GetGroupVATAlloc(var GroupVATAllocLine: Record "Default VAT Allocation Line" temporary): Boolean`
- `CheckVATAllocation(GenJnlLine: Record "Gen. Journal Line")`
- `GetFPEMode(UnrealVATEntryNo: Integer; var Mode: Option Any,Depreciation,General)`

Plus 5 local procedures.

## Triggers

OnRun

## 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: "codeunit", object_name: "VAT Settlement Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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