---
id: object/codeunit/32000000-fi
type: object
title: Codeunit 32000000 "Ref. Payment Management" (FI)
summary: Codeunit 32000000 "Ref. Payment Management" (FI) in the FI country layer (Microsoft.Bank.Payment). 9 public procedures, 4 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - fi 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: d809bbf52fc7a62cb5b103b86b7c27336a7f4bc6a4bfa48b9801c63ba04da798
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/FI/BaseApp/Local/BankMgt/Payment/RefPaymentManagement.Codeunit.al
    title: src/Layers/FI/BaseApp/Local/BankMgt/Payment/RefPaymentManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/fi
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 32000000
name: Ref. Payment Management
namespace: Microsoft.Bank.Payment
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: FI
counts:
  fields: 0
  procedures: 15
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 32000000 "Ref. Payment Management" (FI)

> Codeunit 32000000 "Ref. Payment Management" (FI) in the FI country layer (Microsoft.Bank.Payment). 9 public procedures, 4 events. Introduced in BC29, still in BC30.

FI country layer · Microsoft.Bank.Payment · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/FI/BaseApp/Local/BankMgt/Payment/RefPaymentManagement.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Gen. Journal Line" = rimd |

## Events published

- `OnCombineVendPmtOnBeforeFindRefPaymentExported(var RefPmtExported: Record "Ref. Payment - Exported")` (integration)
- `OnMatchLinesOnAfterCustLedgEntrySetFilters(RefPmtImport: Record "Ref. Payment - Imported"; var CustLedgEntry: Record "Cust. Ledger Entry")` (integration)
- `OnSetLinesOnBeforeGenJnlLineInsert(CustLedgEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"; RefPaymentImported: Record "Ref. Payment - Imported")` (integration)
- `OnBeforeSetLineNo(var LineNoIncrement: Integer; var GenJnlLine: Record "Gen. Journal Line")` (integration)

## Procedures

- `SetLines(RefPaymentImported: Record "Ref. Payment - Imported"; JnlBatchName: Code[20]; JnlTemplateName: Code[20])`
- `GetNroSeries(JnlBatchName: Code[20]; JnlTemplateName: Code[20])`
- `MatchLines(JnlTemplateName: Code[20]; JnlBatchName: Code[20])`
- `CombineVendPmt(PaymentType: Option Domestic,Foreign,SEPA)`
- `VendPaymApply(VendNo: Code[20])`
- `OEM2ANSI(OEMString: Text[250]): Text[250]`
- `CheckIfPaidInFull(var GenJnlLine2: Record "Gen. Journal Line")`
- `UpdateDiscountPossible(var GenJnlLine2: Record "Gen. Journal Line"; PaymentAmount: Decimal)`
- `GetRefPmtImportTemp(RefPmtImport: Record "Ref. Payment - Imported")`

Plus 2 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: "Ref. Payment Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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