borjafp.SepaWriter
2.1.0
dotnet add package borjafp.SepaWriter --version 2.1.0
NuGet\Install-Package borjafp.SepaWriter -Version 2.1.0
<PackageReference Include="borjafp.SepaWriter" Version="2.1.0" />
<PackageVersion Include="borjafp.SepaWriter" Version="2.1.0" />
<PackageReference Include="borjafp.SepaWriter" />
paket add borjafp.SepaWriter --version 2.1.0
#r "nuget: borjafp.SepaWriter, 2.1.0"
#:package borjafp.SepaWriter@2.1.0
#addin nuget:?package=borjafp.SepaWriter&version=2.1.0
#tool nuget:?package=borjafp.SepaWriter&version=2.1.0
SepaWriter
Manage SEPA (Single Euro Payments Area) Credit and Debit Transfer for SEPA or international order. Only one PaymentInformation is managed but it can manage multiple transactions.
- The debtor is common to all transactions in a Credit transfer.
- The creditor is common to all transactions in a Debit transfer.
It follow "Customer Credit Transfer Initiation" <pain.001.001.03> defined in ISO 20022 but also some specific french rules (field used size != allowed size). Debit uses <pain.008.001.02> defined in ISO 20022 and the same french restrictions.
NuGet Package
This library is available as a NuGet package: borjafp.SepaWriter
dotnet add package borjafp.SepaWriter
Requirements
- .NET 8.0 or later
- .NET 6.0 or later
- .NET Standard 2.0 compatible frameworks
English usage guide : http://www.swift.com/assets/corporates/documents/our_solution/implementing_your_project_2009_iso20022_usage_guide.pdf
French usage guide : http://www.cfonb.org/fichiers/20130612091605_3_15_Guide_ISO20022_remises_informatisees_d_ordres_de_paiement_20100602_virement_V2.0_2010_06.pdf http://cfonb.inie.makoa.fr/fichiers/20131206162450_2_11_Guide_ISO20022_remises_informatisees_dordres_de_prelevement_SEPA_pain.008__v1.2__2013_12.pdf
Sample
Sample for a quick single transaction :
public class MySepaCreditTransfer
{
private static SepaCreditTransfer GetCreditTransfertSample(decimal amount, string bic, string iban,
string name, string comment)
{
var transfert = new SepaCreditTransfer
{
MessageIdentification = "uniqueCreditTransfertId",
InitiatingPartyName = "Your name",
// Below, your bank data
Debtor = new SepaIbanData {Bic = "SOGEFRPPXXX", Iban = "FR7030002005500000157845Z02", Name = "My Corp"}
};
transfert.AddCreditTransfer(new SepaCreditTransferTransaction
{
Creditor = new SepaIbanData {
Bic = bic,
Iban = iban,
Name = name
},
Amount = amount,
RemittanceInformation = comment
});
return transfert;
}
public MySepaCreditTransfer()
{
var transfert = GetCreditTransfertSample(123.45m, "AGRIFRPPXXX", "FR1420041010050500013M02606",
"THEIR_NAME", "Payment sample");
transfert.Save("sample.xml");
}
}
Used libraries:
- NUnit 4.2.2 for unit tests
- Log4net 3.0.1 for logging (used in XML validator)
License:
Copyright 2013-2025 PERRICHOT Florian
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- log4net (>= 3.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net6.0
- log4net (>= 3.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
net8.0
- log4net (>= 3.0.1)
- System.Text.Encoding.CodePages (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.