---
title: "Codeunit 10091 Export Payments (RB)"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10091-export-payments-rb/
type: codeunit
id: 10091
name: "Export Payments (RB)"
app: "Base Application"
namespace: Microsoft.Bank.Payment
versions: "17-29"
build: 29.0.54011.55644
countries: "US"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 10091 Export Payments (RB)

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10091-export-payments-rb/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Bank.Payment |
| Versions | 17-29 |
| Minors | US 17.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/10091-export-payments-rb/editions.json) |
| Source file | Local/Bank/Payment/ExportPaymentsRB.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| StartExportFile | (BankAccountNo: Code[20]; GenJnlLine: Record "Gen. Journal Line") | - | public | 17-29 | - | - |
| ExportElectronicPayment | (GenJnlLine: Record "Gen. Journal Line"; PaymentAmount: Decimal; SettleDate: Date) | Code[30] | public | 17-29 | - | - |
| EndExportFile | () | Boolean | public | 17-29 | - | - |
| AddFedIDToPrnString | (var PrnString: Text[250]; FedID: Text[30]; StartPos: Integer; Length: Integer) | - | public | 17-29 | - | - |
| TransmitExportedFile | (BankAccountNo: Code[20]; FName: Text) | - | public | 17-29 | - | - |
| ExportPrnString | (var PrnString: Text[250]) | - | public | 18-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeEndExportFile | (var BankAccount: Record "Bank Account"; var FileControlRec: Text[250]; var NoOfRec: Integer; var TotalFileCredit: Decimal; var FileIsInProcess: Boolean; var IsHandled: Boolean) | 18-29 | - | - |
| Integration event | OnBeforeExportPrnString | (var BankAccount: Record "Bank Account"; var PrnString: Text[250]; var NoOfRec: Integer; var ExportFile: File; var RecordLength: Integer; var IsHandled: Boolean) | 18-29 | - | - |
| Integration event | OnBeforeWriteStartDataBlock | (GenJnlLine: Record "Gen. Journal Line"; var BankAccount: Record "Bank Account"; var RecordLength: Integer; var FileHeaderRec: Text[250]; var IsHandled: Boolean) | 18-29 | - | - |
| Integration event | OnBeforeWriteRecord | (var GenJournalLine: Record "Gen. Journal Line"; var Transactions: Integer; var DetailRec: Text[250]; var TraceNo: Integer; NoOfRec: Integer; var BankAccount: Record "Bank Account"; var AcctName: Text[30]; var SettleDate: Date; var RecipientBankNo: Text[20]; var RecipientTransitNo: Text[20]; var PaymentAmount: Decimal; var RecipientBankAcctNo: Text[30]; var IsHandled: Boolean) | 18-29 | - | - |

## Source

Symbols: Microsoft.BaseApplication.US.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
