diff --git a/App.Config b/App.Config
new file mode 100644
index 0000000..52230cd
--- /dev/null
+++ b/App.Config
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Baget/nuget.exe b/Baget/nuget.exe
new file mode 100644
index 0000000..94aada9
Binary files /dev/null and b/Baget/nuget.exe differ
diff --git a/Baget/tsl5v2.nuspec b/Baget/tsl5v2.nuspec
new file mode 100644
index 0000000..92bcd55
--- /dev/null
+++ b/Baget/tsl5v2.nuspec
@@ -0,0 +1,18 @@
+
+
+
+ tsl5
+ 3.0.2
+ Manuel
+ Tecnosis S.A.
+ false
+ Utilidades varias de tecnosis.
+ tsl5 .net48
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Bancos/Bancos.vb b/Bancos/Bancos.vb
new file mode 100644
index 0000000..e3239d3
--- /dev/null
+++ b/Bancos/Bancos.vb
@@ -0,0 +1,804 @@
+Imports System.Text
+Imports tsl5.Extensiones
+Imports tsl5.Extensiones.StringExtensions
+Namespace Bancos
+ 'Namespace AEB_19
+ ' Public Class DatosFichero
+ ' Property FechaSoporte As Date
+ ' Property FechaCargo As Date
+ ' Property Presentador As New DatosPresentador
+ ' Property Ordenantes As New List(Of DatosOrdenante)
+ ' End Class
+ ' Public Class DatosPresentador
+ ' Property Nombre As String
+ ' Property NIF As String
+ ' Property EntidadReceptora As String
+ ' Property Oficina As String
+ ' End Class
+ ' Public Class DatosOrdenante
+ ' Property Nombre As String
+ ' Property NIF As String
+ ' Property CuentaAbono As New CuentaBancaria
+ ' Property Procedimiento As String
+ ' Property DatosRecibo As New List(Of DatosRecibo)
+ ' End Class
+ ' Public Class DatosRecibo
+ ' Property NIF_Cliente As String
+ ' Property CodigoReferencia As String
+ ' Property NombreTitularDomiciliacion As String
+ ' Property CuentaAdeudo As New CuentaBancaria
+ ' Property Importe As Double
+ ' Property Conceptos As String()
+ ' Property CamposOpcionales As New CamposOpcionales
+ ' End Class
+ ' Public Class CamposOpcionales
+ ' Property NombreTitularCuenta As String
+ ' Property DomicilioTitularCuenta As String
+ ' Property PlazaDomicilioTitularCuenta As String
+ ' Property CodigoPostalTitularCuenta As String
+ ' End Class
+ ' Public Class CuentaBancaria
+ ' Property Entidad As String
+ ' Property Oficina As String
+ ' Property DC As String
+ ' Property NumeroCuenta As String
+ ' End Class
+ ' Public Class Utilidades
+ ' Public Shared Sub GeneraFichero(Datos As DatosFichero, Fichero As String, Optional ByVal Sobreescribir As Boolean = False)
+ ' If Sobreescribir Then
+ ' If IO.File.Exists(Fichero) Then IO.File.Delete(Fichero)
+ ' Else
+ ' If IO.File.Exists(Fichero) Then Throw New Exception("Fichero " & Fichero & " existente")
+ ' End If
+ ' Dim fs As New IO.FileStream(Fichero, IO.FileMode.CreateNew)
+ ' GeneraFichero(Datos, fs)
+ ' fs.Close()
+ ' End Sub
+ ' Public Shared Sub GeneraFichero(Datos As DatosFichero, ByRef st As IO.Stream)
+ ' ' CompruebaDatos(Datos)
+ ' Try
+ ' Dim Registro As String
+ ' ' Dim ms As New IO.MemoryStream
+ ' Dim sw As New IO.StreamWriter(st, System.Text.Encoding.GetEncoding("iso-8859-1"))
+
+ ' Dim iNumRegOrdenante, iNumRegPresentador As Integer
+
+ ' ' REGISTRO DE CABECERA 1 (PRESENTADOR)
+
+ ' Registro = "51"
+ ' Registro &= "80"
+ ' Registro &= Datos.Presentador.NIF.Substring(0, Math.Min(Datos.Presentador.NIF.Length, 9)).PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= FechaAEB(Datos.FechaSoporte)
+ ' Registro &= "".PadLeft(6, " ")
+ ' Registro &= Datos.Presentador.Nombre.Substring(0, Math.Min(Datos.Presentador.Nombre.Length, 40)).PadRight(40, " ")
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= Datos.Presentador.EntidadReceptora
+ ' Registro &= Datos.Presentador.Oficina
+ ' Registro &= "".PadRight(12, " ")
+ ' Registro &= "".PadRight(40, " ")
+ ' Registro &= "".PadRight(14, " ")
+ ' iNumRegPresentador += 1
+ ' sw.WriteLine(Registro)
+
+ ' ' REGISTRO DE CABECERA 2 (ORDENANTE)
+ ' Dim ordenante As tsl5.Bancos.AEB_19.DatosOrdenante
+
+ ' Dim dTotalOrd, dTotalGen As Double
+
+ ' For Each ordenante In Datos.Ordenantes
+ ' iNumRegOrdenante = 0
+ ' dTotalOrd = 0
+ ' Registro = "53"
+ ' Registro &= "80"
+ ' Registro &= ordenante.NIF.Substring(0, Math.Min(ordenante.NIF.Length, 9)).PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= FechaAEB(Datos.FechaSoporte)
+ ' Registro &= FechaAEB(Datos.FechaCargo)
+ ' Registro &= ordenante.Nombre.Substring(0, Math.Min(ordenante.Nombre.Length, 40)).PadRight(40, " ")
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= ordenante.CuentaAbono.Entidad
+ ' Registro &= ordenante.CuentaAbono.Oficina
+ ' Registro &= ordenante.CuentaAbono.DC
+ ' Registro &= ordenante.CuentaAbono.NumeroCuenta
+ ' Registro &= "".PadRight(8, " ")
+ ' Registro &= ordenante.Procedimiento
+ ' Registro &= "".PadRight(10, " ")
+ ' Registro &= "".PadRight(40, " ")
+ ' Registro &= "".PadRight(14, " ")
+ ' iNumRegOrdenante += 1
+ ' sw.WriteLine(Registro)
+
+ ' Dim dr As tsl5.Bancos.AEB_19.DatosRecibo
+ ' For Each dr In ordenante.DatosRecibo
+ ' ' REGISTRO INDIVIDUAL OBLIGATORIO
+
+ ' Registro = "56"
+ ' Registro &= "80"
+ ' Registro &= ordenante.NIF.PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= dr.CodigoReferencia.PadRight(12, " ")
+ ' Registro &= dr.NombreTitularDomiciliacion.Substring(0, Math.Min(dr.NombreTitularDomiciliacion.Length, 40)).PadRight(40, " ")
+ ' Registro &= dr.CuentaAdeudo.Entidad.PadLeft(4, "0")
+ ' Registro &= dr.CuentaAdeudo.Oficina.PadLeft(4, "0")
+ ' Registro &= dr.CuentaAdeudo.DC.PadLeft(2, "0")
+ ' Registro &= dr.CuentaAdeudo.NumeroCuenta.PadLeft(10, "0")
+ ' Registro &= (Math.Round(dr.Importe, 2) * 100).ToString.PadLeft(10, "0")
+ ' dTotalOrd += Math.Round(dr.Importe, 2)
+ ' Registro &= "".PadRight(6, " ")
+ ' Registro &= "".PadRight(10, " ")
+ ' Registro &= dr.Conceptos(0).Substring(0, Math.Min(dr.Conceptos(0).Length, 40)).PadRight(40, " ")
+ ' Registro &= "".PadRight(8, " ")
+ ' iNumRegOrdenante += 1
+ ' sw.WriteLine(Registro)
+ ' ' REGISTROS INDIVIDUALES OPCIONALES (DEL 1 AL 5)
+ ' For i = 1 To 15 Step 3
+ ' If dr.Conceptos.Length >= i + 1 Then
+ ' Registro = "56"
+ ' Registro &= (81 + (i \ 3)).ToString
+ ' Registro &= ordenante.NIF.Substring(0, Math.Min(ordenante.NIF.Length, 9)).PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= dr.CodigoReferencia.PadRight(12, " ")
+ ' Registro &= dr.Conceptos(i).Substring(0, Math.Min(dr.Conceptos(i).Length, 40)).PadRight(40, " ")
+ ' If dr.Conceptos.Length >= i + 2 Then
+ ' Registro &= dr.Conceptos(i + 1).Substring(0, Math.Min(dr.Conceptos(i + 1).Length, 40)).PadRight(40, " ")
+ ' If dr.Conceptos.Length >= i + 3 Then
+ ' Registro &= dr.Conceptos(i + 2).Substring(0, Math.Min(dr.Conceptos(i + 2).Length, 40)).PadRight(40, " ")
+ ' Else
+ ' Registro &= "".PadRight(40, " ")
+ ' End If
+ ' Else
+ ' Registro &= "".PadRight(40, " ")
+ ' Registro &= "".PadRight(40, " ")
+ ' End If
+ ' Registro &= "".PadRight(14, " ")
+ ' iNumRegOrdenante += 1
+ ' sw.WriteLine(Registro)
+ ' Else
+ ' Exit For
+ ' End If
+ ' Next
+ ' ' REGISTRO OPCIONAL 6º
+ ' If dr.CamposOpcionales.NombreTitularCuenta <> "" Or dr.CamposOpcionales.DomicilioTitularCuenta <> "" Or dr.CamposOpcionales.PlazaDomicilioTitularCuenta <> "" Or dr.CamposOpcionales.CodigoPostalTitularCuenta <> "" Then
+ ' Registro = "56"
+ ' Registro &= "86"
+ ' Registro &= ordenante.NIF.PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= dr.CodigoReferencia.PadRight(12, " ")
+ ' Registro &= dr.CamposOpcionales.NombreTitularCuenta.Substring(0, Math.Min(dr.CamposOpcionales.NombreTitularCuenta.Length, 40)).PadRight(40, " ")
+ ' Registro &= dr.CamposOpcionales.DomicilioTitularCuenta.Substring(0, Math.Min(dr.CamposOpcionales.DomicilioTitularCuenta.Length, 40)).PadRight(40, " ")
+ ' Registro &= dr.CamposOpcionales.PlazaDomicilioTitularCuenta.Substring(0, Math.Min(dr.CamposOpcionales.PlazaDomicilioTitularCuenta.Length, 35)).PadRight(35, " ")
+ ' Registro &= dr.CamposOpcionales.CodigoPostalTitularCuenta.Substring(0, Math.Min(dr.CamposOpcionales.CodigoPostalTitularCuenta.Length, 5)).PadRight(5, " ")
+ ' Registro &= "".PadRight(14, " ")
+ ' iNumRegOrdenante += 1
+ ' sw.WriteLine(Registro)
+ ' End If
+ ' Next
+ ' ' REGISTRO TOTAL DE ORDENANTE
+
+ ' Registro = "58"
+ ' Registro &= "80"
+ ' Registro &= Datos.Presentador.NIF.PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= "".PadLeft(12, " ")
+ ' Registro &= "".PadLeft(40, " ")
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= (Math.Round(dTotalOrd, 2) * 100).ToString.PadLeft(10, "0")
+ ' Registro &= "".PadLeft(6, " ")
+ ' Registro &= ordenante.DatosRecibo.Count.ToString.PadLeft(10, "0")
+ ' iNumRegOrdenante += 1
+ ' Registro &= (iNumRegOrdenante).ToString.PadLeft(10, "0")
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= "".PadLeft(18, " ")
+ ' sw.WriteLine(Registro)
+ ' iNumRegPresentador += iNumRegOrdenante
+ ' dTotalGen += dTotalOrd
+ ' Next
+ ' ' REGISTRO DE CABECERA 2 (PRESENTADOR)
+
+ ' Registro = "58"
+ ' Registro &= "80"
+ ' Registro &= Datos.Presentador.NIF.PadLeft(9, "0")
+ ' Registro &= "".PadLeft(3, " ")
+ ' Registro &= "".PadLeft(12, " ")
+ ' Registro &= "".PadLeft(40, " ")
+
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= (dTotalGen * 100).ToString.PadLeft(10, "0")
+ ' Registro &= "".PadLeft(6, " ")
+ ' Registro &= Datos.Ordenantes.Count.ToString.PadLeft(10, "0")
+ ' iNumRegPresentador += 1
+ ' Registro &= (iNumRegPresentador).ToString.PadLeft(10, "0")
+ ' Registro &= "".PadLeft(20, " ")
+ ' Registro &= "".PadLeft(18, " ")
+ ' sw.WriteLine(Registro)
+ ' sw.Close()
+ ' st.Close()
+ ' Catch ex As Exception
+ ' Throw ex
+ ' End Try
+ ' End Sub
+ ' Public Shared Function FechaAEB(Fecha As Date) As String
+ ' Return Fecha.Day.ToString.PadLeft(2, "0") & Fecha.Month.ToString.PadLeft(2, "0") & (Fecha.Year Mod 100).ToString.PadLeft(2, "0")
+ ' End Function
+ ' End Class
+ 'End Namespace
+ Public Enum TiposAdeudosEnum
+ '''
+ ''' Último pago
+ '''
+ '''
+ FNAL
+ '''
+ ''' Primer pago
+ '''
+ '''
+ FRST
+ '''
+ ''' Pago Único
+ '''
+ '''
+ OOFF
+ '''
+ ''' Pago Recurrente
+ '''
+ '''
+ RCUR
+ End Enum
+
+ '''
+ ''' Overall description
+ '''
+ '''
+ Public Enum CategoriaPropositoEnum
+ '''
+ ''' Transferencia de gestión de efectivo. La transacción es una instrucción general de gestión de efectivo
+ '''
+ '''
+ CASH
+ '''
+ ''' Pago de Tarjeta de Crédito. La transacción está relacionada con un pago de tarjeta de crédito.
+ '''
+ '''
+ CCRD
+ '''
+ ''' Pago de liquidación de operaciones. La transacción está realizada con la liquidación de una operación.Por ejemplo: una operación de compraventa de divisa o una operación de valores.
+ '''
+ '''
+ CORT
+ '''
+ ''' Pago de Tarjeta de Débito. La transacción está relacionada con un pago de tarjeta de débito.
+ '''
+ '''
+ DCRD
+ '''
+ ''' Dividendos. La transacción es el pago de dividendos.
+ '''
+ '''
+ DIVI
+ '''
+ ''' Pago de la administración. La transacción es el pago a o de un departamento de la administración pública.
+ '''
+ '''
+ GOVT
+ '''
+ ''' Cobertura. La transacción está relacionada con el pago de una operación de cobertura.
+ '''
+ '''
+
+ HEDG
+ '''
+ ''' Pago de tarjeta de crédito irrevocable. La transacción es un reembolso de un pago de tarjeta de crédito.
+ '''
+ '''
+
+ ICCP
+ '''
+ ''' Pago de tarjeta de débito irrevocable. La transacción es un reembolso de un pago de tarjeta de débito.
+ '''
+ '''
+ IDCP
+ '''
+ ''' Pago intra-compañía. La transacción es un pago intra-compañía. Por ejemplo: un pago entre dos compañías pertenecientes a un mismo grupo.
+ '''
+ '''
+ INTC
+ '''
+ ''' Intereses. La transacción es un pago de intereses.
+ '''
+ '''
+ INTE
+ '''
+ '''Préstamos. La transacción está relacionada con la transferencia de un préstamo a un prestatario.
+ '''
+ '''
+ LOAN
+ '''
+ ''' Pago de pensión. La transacción es el pago de una pensión
+ '''
+ '''
+ PENS
+ '''
+ ''' Nóminas. La transacción es el pago de nóminas.
+ '''
+ '''
+ SALA
+ '''
+ ''' Valores. La transacción es el pago de valores.
+ '''
+ '''
+ SECU
+ '''
+ ''' Valores. La transacción es el pago de valores.
+ '''
+ '''
+ SSBE
+ '''
+ ''' Pago de asistencia a Seguridad Social. La transacción es de una asistencia de S.S. Por ejemplo: el pago hecho por la S.S. para el mantenimiento de individuos.
+ '''
+ '''
+ SUPP
+ '''
+ ''' Pago de impuestos. La transacción está relacionada con el pago de impuestos.
+ '''
+ '''
+ TAXS
+ '''
+ ''' Comercio. La transacción está relacionada con el pago de una transacción comercial.
+ '''
+ '''
+ TRAD
+ '''
+ ''' Pago de tesorería. La transacción está relacionada con operaciones de tesorería.
+ '''
+ '''
+ TREA
+ '''
+ ''' IVA. La transacción es el pago del IVA.
+ '''
+ '''
+ VATX
+ '''
+ ''' Retenciones. La transacción está relacionada con el pago de retenciones (impuestos)
+ '''
+ '''
+ WHLD
+ End Enum
+ Public Class Genericas
+
+ Public Shared Function CalcularDigitoControlBancario(Banco As Integer, Oficina As Integer, Cuenta As Double) As String
+ Dim sBank As String
+ Dim sSubBank As String
+ Dim sAccount As String
+ Dim Temporal As Integer
+
+ sBank = Format(Banco, "0000")
+ sSubBank = Format(Oficina, "0000")
+ sAccount = Format(Cuenta, "0000000000")
+
+ Temporal = 0
+ Temporal = Temporal + Mid(sBank, 1, 1) * 4
+ Temporal = Temporal + Mid(sBank, 2, 1) * 8
+ Temporal = Temporal + Mid(sBank, 3, 1) * 5
+ Temporal = Temporal + Mid(sBank, 4, 1) * 10
+ Temporal = Temporal + Mid(sSubBank, 1, 1) * 9
+ Temporal = Temporal + Mid(sSubBank, 2, 1) * 7
+ Temporal = Temporal + Mid(sSubBank, 3, 1) * 3
+ Temporal = Temporal + Mid(sSubBank, 4, 1) * 6
+ Temporal = 11 - (Temporal Mod 11)
+ If Temporal = 11 Then
+ CalcularDigitoControlBancario = "0"
+ ElseIf Temporal = 10 Then
+ CalcularDigitoControlBancario = "1"
+ Else
+ CalcularDigitoControlBancario = Format(Temporal, "0")
+ End If
+
+ Temporal = 0
+ Temporal = Temporal + Mid(sAccount, 1, 1) * 1
+ Temporal = Temporal + Mid(sAccount, 2, 1) * 2
+ Temporal = Temporal + Mid(sAccount, 3, 1) * 4
+ Temporal = Temporal + Mid(sAccount, 4, 1) * 8
+ Temporal = Temporal + Mid(sAccount, 5, 1) * 5
+ Temporal = Temporal + Mid(sAccount, 6, 1) * 10
+ Temporal = Temporal + Mid(sAccount, 7, 1) * 9
+ Temporal = Temporal + Mid(sAccount, 8, 1) * 7
+ Temporal = Temporal + Mid(sAccount, 9, 1) * 3
+ Temporal = Temporal + Mid(sAccount, 10, 1) * 6
+ Temporal = 11 - (Temporal Mod 11)
+ If Temporal = 11 Then
+ CalcularDigitoControlBancario = CalcularDigitoControlBancario + "0"
+ ElseIf Temporal = 10 Then
+ CalcularDigitoControlBancario = CalcularDigitoControlBancario + "1"
+ Else
+ CalcularDigitoControlBancario = CalcularDigitoControlBancario + Format(Temporal, "0")
+ End If
+ End Function
+
+ Public Shared Function IBANCorrecto(IBAN As String) As Boolean
+ 'Try
+ ' If IBAN.NothingAVacio.Length <> 24 Then
+ ' Return False
+ ' Else
+ ' Dim CodigoPais As String = IBAN.Substring(0, 2)
+ ' Dim CodigoBanco As String = IBAN.Substring(4, 4)
+ ' Dim CodigoOficina As String = IBAN.Substring(8, 4)
+ ' Dim DigitoControl As String = IBAN.Substring(12, 2)
+ ' Dim Cuenta As String = IBAN.Substring(14, 10)
+ ' Dim sIBAN = CalcularIBAN(CodigoPais, CodigoBanco, CodigoOficina, DigitoControl, Cuenta)
+ ' Return sIBAN = IBAN
+ ' End If
+ 'Catch ex As Exception
+ ' Return False
+ 'End Try
+ If IBAN.NothingAVacio <> "" Then
+ IBAN = IBAN.Replace(" ", "")
+ Dim validator As New IbanNet.IbanValidator
+ Return validator.Validate(IBAN).IsValid
+ Else
+ Return False
+ End If
+ End Function
+ Public Shared Function CalcularIBAN(ByVal CodigoPais As String,
+ ByVal CodigoBanco As String,
+ ByVal CodigoOficina As String,
+ ByVal DigitoControl As String,
+ ByVal Cuenta As String) As String
+
+ Dim s1 As String = CodigoBanco + CodigoOficina + DigitoControl + Cuenta + CodigoPais + "00", s2 As String = ""
+
+ 'Substitute letters
+ For i As Integer = 0 To s1.Length - 1
+ If IsNumeric(s1.Substring(i, 1)) = True Then
+ s2 += s1.Substring(i, 1)
+ Else
+ s2 += Convert.ToString(Asc(s1.Substring(i, 1)) - 55).PadLeft(2, "0")
+ End If
+ Next
+
+ 'Return the IBAN
+ Return CodigoPais + MOD_97_10(s2) + CodigoBanco + CodigoOficina + DigitoControl + Cuenta
+ End Function
+ Public Shared Function CalcularIBAN_ES(ByVal CCC As String) As String
+ Return CalcularIBAN("ES", CCC.Split("-")(0), CCC.Split("-")(1), CCC.Split("-")(2), CCC.Split("-")(3))
+ End Function
+
+ Public Shared Function CalcularIdentificadorSEPA(ByVal CIF As String, Optional CodigoPais As String = "ES", Optional Sufijo As String = "000") As String
+ Try
+ Dim s As String = CIF.Trim & CodigoPais & "00"
+ Dim sResultado As String = ""
+ Dim c As Char
+ For Each c In s
+ If Char.IsNumber(c) Then
+ sResultado &= c.ToString
+ Else
+ sResultado &= (Asc(c) - 55).ToString
+ End If
+ Next
+ Return CodigoPais & MOD_97_10(sResultado) & Sufijo & CIF
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Function
+ Private Shared Function MOD_97_10(ByVal s As String) As String
+
+ Dim s1 As String, s2 As String
+ Dim l1 As Integer, l2 As Integer
+
+ s1 = s.Substring(0, 9)
+ s2 = s.Substring(s1.Length)
+ l1 = Convert.ToInt32(s1)
+ l2 = l1 Mod 97
+
+ While s2 <> ""
+ If Len(s2) > 7 Then
+ s1 = Convert.ToString(l2).PadLeft(2, "0") + s2.Substring(0, 7)
+ s2 = s2.Substring(7)
+ Else
+ s1 = Convert.ToString(l2).PadLeft(2, "0") + s2
+ s2 = ""
+ End If
+ l1 = Convert.ToInt32(s1)
+ l2 = l1 Mod 97
+ End While
+
+ Return Convert.ToString(98 - l2).PadLeft(2, "0")
+
+ End Function
+
+
+ End Class
+ Namespace SEPA
+ Public Class DatosFichero
+ Property FechaSoporte As DateTime
+ Property FechaCargo As Date
+ Property Presentador As New DatosPresentador
+ Property Acreedores As New List(Of DatosAcreedor)
+ Property ReferenciaIdentificativa As String
+
+
+ End Class
+ Public Class DatosPresentador
+ Property Nombre As String
+ Property NIF As String
+ Property Sufijo As String
+ Property EntidadReceptora As String
+ Property Oficina As String
+
+ Property DOMICILIO As String
+
+ Property NUMERO As String
+
+ Property CPO As String
+
+ Property CIUDAD As String
+
+ Property PAIS As String
+
+
+
+ End Class
+ Public Class DatosAcreedor
+ Property Nombre As String
+ Property NIF As String
+ Property Sufijo As String
+ Property CuentaAbono As New CuentaBancaria
+ Property Procedimiento As String
+ Property FechaCobro As DateTime
+ Property Direccion As String
+ Property CodigoPostal As String
+ Property Municipio As String
+ Property Provincia As String
+ Property CodigoPais As String
+
+ Property DatosRecibo As New List(Of DatosRecibo)
+
+ Property Libre1 As String
+
+ Property Libre2 As String
+
+ Property DOMICILIO As String
+
+ Property NUMERO As String
+
+ Property CPO As String
+
+ Property CIUDAD As String
+
+ Property PAIS As String
+
+
+
+ End Class
+ Public Class DatosRecibo
+ Property CodigoReferencia As String
+ Property CodigoReferenciaMandato As String
+ Property FechaMandato As Date
+
+ Property NombreDeudor As String
+ Property DireccionDeudor1 As String
+ Property DireccionDeudor2 As String
+ Property DireccionDeudor3 As String
+ Property CodigoPaisDeudor As String
+ Property TipoIdentificacionDeudor As String
+ Property IdentificacionDeudor As String
+ Property IdentificacionDeudorEmisorCodigo As String
+ Property CuentaAdeudo As New CuentaBancaria
+ Property TipoAdeudo As TiposAdeudosEnum
+ Property CategoriaProposito As CategoriaPropositoEnum
+ Property Importe As Double
+ Property CamposOpcionales As New CamposOpcionales
+ Property PropositoAdeudo As String
+ Property Concepto As String
+ Property Libre As String
+ Property NombreUltimoAcreedor As String
+ Property TipoIdentificacionUltimoAcreedor As String 'Campo 7 Opcional 2
+ Property IdentificacionUltimoAcreedor As String 'campo 8 opcional 2
+ Property IdentificacionUltimoAcreedorEmisorCodigo As String 'CAMPO 9 Opcional 2
+ Property NombreTitularDomiciliacion As String 'CAMPO 10 Opcional 2
+ Property TITitularDomiciliacion As String 'CAMPO 11 Opcional 2
+ Property IdentificacionTitularDomiciliacion As String 'CAMPO 12 Opcional 2
+ Property IdentificacionTitularDomiciliacionEmisorCodigo As String ' CAMPO 13 Opcional 2
+ Property Libre2 As String ' CAMPO 14 Opcional 2
+
+ End Class
+ Public Class CamposOpcionales
+ Property NombreTitularCuenta As String
+ Property DomicilioTitularCuenta As String
+ Property PlazaDomicilioTitularCuenta As String
+ Property CodigoPostalTitularCuenta As String
+ End Class
+ Public Class CuentaBancaria
+ Property BIC As String
+ Property IBAN As String
+ ReadOnly Property EntidadBancariaEspaña As String
+ Get
+ If IBAN.NothingAVacio.Length = 24 AndAlso IBAN.Substring(0, 2) = "ES" Then
+ Return IBAN.Substring(4, 4)
+ Else
+ Return ""
+ End If
+ End Get
+ End Property
+ End Class
+ Public Class Utilidades
+ Public Shared Sub GeneraFichero(Datos As DatosFichero, Fichero As String, Optional ByVal Sobreescribir As Boolean = False)
+ If Sobreescribir Then
+ If IO.File.Exists(Fichero) Then IO.File.Delete(Fichero)
+ Else
+ If IO.File.Exists(Fichero) Then Throw New Exception("Fichero " & Fichero & " existente")
+ End If
+ Dim fs As New IO.FileStream(Fichero, IO.FileMode.CreateNew)
+ GeneraFichero19_14(Datos, fs)
+ fs.Close()
+ End Sub
+ Public Shared Sub GeneraFichero19_14(Datos As DatosFichero, ByRef st As IO.Stream)
+ Try
+ Dim Registro As String
+ ' Dim ms As New IO.MemoryStream
+ Dim sw As New IO.StreamWriter(st, System.Text.Encoding.GetEncoding("iso-8859-1"))
+
+ 'Dim iNumRegAcreedor , iNumRegPresentador As Integer
+
+ ' REGISTRO DE CABECERA 1 (PRESENTADOR)
+ Dim dTotalAcreedorFP, dTotalAcreedor, dTotalPresentador As Double
+ Dim iNumRegistrosAcreedorFP, iNumRegistrosAcreedor, iNumRegistrosPresentador As Integer
+ Dim iNumAdeudosAcreedorFP, iNumAdeudosAcreedor, iNumAdeudosPresentador As Integer
+ Registro = "01" ' CAMPO 1
+ Registro &= "19154" ' CAMPO 2 'ANTES 19143
+ Registro &= "001" ' CAMPO 3
+ Registro &= Bancos.Genericas.CalcularIdentificadorSEPA(Datos.Presentador.NIF, , Datos.Presentador.Sufijo).PadRight(35, " ") ' CAMPO 4
+ Registro &= Datos.Presentador.Nombre.ConvierteAAlfanumerico.PadRight(70, " ") ' CAMPO 5
+ Registro &= FechaSEPA(Datos.FechaSoporte) ' CAMPO 6
+ Registro &= "PRE" & FechaHoraSEPA(Now) & Datos.ReferenciaIdentificativa.PadRight(13, " ") ' CAMPO 7
+ Registro &= Datos.Presentador.EntidadReceptora.PadRight(4, " ") ' CAMPO 8
+ Registro &= Datos.Presentador.Oficina.PadRight(4, " ") ' CAMPO 9
+ Registro &= "".PadLeft(434, " ") ' CAMPO 10
+ sw.WriteLine(Registro)
+
+ ' REGISTRO DE CABECERA 2 (ACREEDOR)
+ Dim acreedor As New tsl5.Bancos.SEPA.DatosAcreedor
+
+ ' Dim dTotalOrd, dTotalGen As Double
+ ' Dim iTotalRegAcreedor As Integer
+
+ For Each acreedor In Datos.Acreedores
+ iNumAdeudosAcreedor = 0
+ iNumAdeudosAcreedorFP = 0
+ iNumRegistrosAcreedor = 1
+ iNumRegistrosAcreedorFP = 1
+
+
+ Registro = "02" ' CAMPO 1
+ Registro &= "19154" ' CAMPO 2 'ANTES 19143
+ Registro &= "002" ' CAMPO 3
+ Registro &= Bancos.Genericas.CalcularIdentificadorSEPA(acreedor.NIF, , acreedor.Sufijo).PadRight(35, " ") 'CAMPO 4
+ Registro &= FechaSEPA(acreedor.FechaCobro) 'CAMPO 5
+ Registro &= acreedor.Nombre.ConvierteAAlfanumerico.Substring(0, Math.Min(acreedor.Nombre.Length, 70)).PadRight(70, " ") 'CAMPO 6
+ Registro &= acreedor.Direccion.Substring(0, Math.Min(acreedor.Direccion.Length, 50)).PadRight(50, " ") ' CAMPO 7
+ Dim sCodPosMun As String = acreedor.CodigoPostal & " " & acreedor.Municipio
+ Registro &= sCodPosMun.Substring(0, Math.Min(sCodPosMun.Length, 50)).PadRight(50, " ") ' CAMPO 8
+ Registro &= acreedor.Provincia.Substring(0, Math.Min(acreedor.Provincia.Length, 40)).PadRight(40, " ") ' CAMPO 9
+ Registro &= acreedor.CodigoPais.Substring(0, Math.Min(acreedor.Provincia.Length, 2)).PadRight(2, " ") ' CAMPO 10
+ Registro &= acreedor.CuentaAbono.IBAN.PadRight(34, " ") ' CAMPO 11
+ Registro &= "".PadRight(301, " ") ' CAMPO 12
+ sw.WriteLine(Registro)
+ Dim dr As tsl5.Bancos.SEPA.DatosRecibo
+ For Each dr In acreedor.DatosRecibo
+ ' REGISTRO INDIVIDUAL OBLIGATORIO
+
+ iNumAdeudosAcreedor += 1
+ iNumAdeudosAcreedorFP += 1
+ iNumRegistrosAcreedor += 1
+ iNumRegistrosAcreedorFP += 1
+
+
+ Registro = "03" 'CAMPO 1
+ Registro &= "19154" ' CAMPO 2 'ANTES 19143
+ Registro &= "003" 'CAMPO 3
+ Registro &= dr.CodigoReferencia.Substring(0, Math.Min(dr.CodigoReferencia.Length, 35)).PadRight(35, " ") 'CAMPO 4
+ Registro &= dr.CodigoReferenciaMandato.Substring(0, Math.Min(dr.CodigoReferenciaMandato.Length, 35)).PadRight(35, " ") 'CAMPO 5
+ Registro &= dr.TipoAdeudo.ToString.PadRight(4, " ") 'CAMPO 6
+ Registro &= dr.CategoriaProposito.ToString.PadRight(4, " ") 'CAMPO 7
+ Registro &= (Math.Round(dr.Importe, 2, MidpointRounding.AwayFromZero) * 100).ToString.PadLeft(11, "0") 'CAMPO 8
+ Registro &= FechaSEPA(dr.FechaMandato) 'CAMPO 9
+ Registro &= dr.CuentaAdeudo.BIC.NothingAVacio.Substring(0, Math.Min(dr.CuentaAdeudo.BIC.NothingAVacio.Length, 11)).PadRight(11, " ") 'CAMPO 10
+ Registro &= dr.NombreDeudor.ConvierteAAlfanumerico.Substring(0, Math.Min(dr.NombreDeudor.Length, 70)).PadRight(70, " ") 'CAMPO 11
+ Registro &= dr.DireccionDeudor1.Substring(0, Math.Min(dr.DireccionDeudor1.Length, 50)).PadRight(50, " ") 'CAMPO 12
+ Registro &= dr.DireccionDeudor2.Substring(0, Math.Min(dr.DireccionDeudor2.Length, 50)).PadRight(50, " ") 'CAMPO 13
+ Registro &= dr.DireccionDeudor3.Substring(0, Math.Min(dr.DireccionDeudor3.Length, 40)).PadRight(40, " ") 'CAMPO 14
+ Registro &= dr.CodigoPaisDeudor.Substring(0, Math.Min(dr.CodigoPaisDeudor.Length, 2)).PadRight(2, " ") 'CAMPO 15
+ If dr.IdentificacionDeudor.Length > 0 Then
+ If "01234567890X".Contains(dr.IdentificacionDeudor.Substring(0, 1)) Then
+ Registro &= dr.TipoIdentificacionDeudor.PadRight(1, "2") 'CAMPO 16
+ dr.IdentificacionDeudor = "J" & dr.IdentificacionDeudor
+ Else
+ Registro &= dr.TipoIdentificacionDeudor.PadRight(1, "1") 'CAMPO 16
+ dr.IdentificacionDeudor = "I" & dr.IdentificacionDeudor
+ End If
+ Else
+ Registro &= dr.TipoIdentificacionDeudor.PadRight(1, " ") 'CAMPO 16
+ End If
+ Registro &= dr.IdentificacionDeudor.Substring(0, Math.Min(dr.IdentificacionDeudor.Length, 36)).PadRight(36, " ") 'CAMPO 17
+ Registro &= dr.IdentificacionDeudorEmisorCodigo.Substring(0, Math.Min(dr.IdentificacionDeudorEmisorCodigo.Length, 35)).PadRight(35, " ") 'CAMPO 18
+ Registro &= "A" 'dr.IdentificadorCuentaDeudor 'CAMPO 19
+ Dim sIBAN As String = dr.CuentaAdeudo.IBAN
+ Registro &= sIBAN.Substring(0, Math.Min(sIBAN.Length, 34)).PadRight(34, " ") 'CAMPO 20
+ Registro &= dr.PropositoAdeudo.Substring(0, Math.Min(dr.PropositoAdeudo.Length, 4)).PadRight(4, " ") 'CAMPO 21
+ Registro &= dr.Concepto.Substring(0, Math.Min(dr.Concepto.Length, 140)).PadRight(140, " ") 'CAMPO 22
+ Registro &= dr.Libre.Substring(0, Math.Min(dr.Libre.Length, 19)).PadRight(19, " ") 'CAMPO 23
+
+ dTotalAcreedorFP += Math.Round(dr.Importe, 2, MidpointRounding.AwayFromZero)
+ dTotalAcreedor += Math.Round(dr.Importe, 2, MidpointRounding.AwayFromZero)
+ sw.WriteLine(Registro)
+ If dr.NombreTitularDomiciliacion <> "" Then
+ Registro = "03" 'CAMPO 1
+ Registro &= "19154" ' CAMPO 2 'ANTES 19143
+ Registro &= "004" 'CAMPO 3
+ Registro &= dr.CodigoReferencia.Substring(0, Math.Min(dr.CodigoReferencia.Length, 35)).PadRight(35, " ") 'CAMPO 4
+ Registro &= dr.CodigoReferenciaMandato.Substring(0, Math.Min(dr.CodigoReferenciaMandato.Length, 35)).PadRight(35, " ") 'CAMPO 5
+ Registro &= dr.NombreUltimoAcreedor.ConvierteAAlfanumerico.Substring(0, Math.Min(dr.NombreUltimoAcreedor.Length, 70)).PadRight(70, " ") 'CAMPO 6
+ Registro &= dr.TipoIdentificacionUltimoAcreedor.PadRight(1, " ") 'CAMPO 7
+ Registro &= dr.IdentificacionUltimoAcreedor.Substring(0, Math.Min(dr.IdentificacionUltimoAcreedor.Length, 36)).PadRight(36, " ") 'CAMPO 8
+ Registro &= dr.IdentificacionUltimoAcreedorEmisorCodigo.Substring(0, Math.Min(dr.IdentificacionUltimoAcreedorEmisorCodigo.Length, 35)).PadRight(35, " ") 'CAMPO 9
+ Registro &= dr.NombreTitularDomiciliacion.ConvierteAAlfanumerico.Substring(0, Math.Min(dr.NombreTitularDomiciliacion.Length, 70)).PadRight(70, " ") 'CAMPO 10
+ Registro &= dr.TITitularDomiciliacion.PadRight(1, " ") 'CAMPO 11
+ Registro &= dr.IdentificacionTitularDomiciliacion.Substring(0, Math.Min(dr.IdentificacionTitularDomiciliacion.Length, 36)).PadRight(36, " ") 'CAMPO 12
+ Registro &= dr.IdentificacionTitularDomiciliacionEmisorCodigo.Substring(0, Math.Min(dr.IdentificacionTitularDomiciliacionEmisorCodigo.Length, 35)).PadRight(35, " ") 'CAMPO 13
+ Registro &= dr.Libre2.Substring(0, Math.Min(dr.Libre2.Length, 236)).PadRight(236, " ") 'CAMPO 14
+ iNumRegistrosAcreedor += 1
+ iNumRegistrosAcreedorFP += 1
+ sw.WriteLine(Registro)
+ End If
+ Next
+ ' REGISTRO TOTAL DE Acreedor por fechas de cobro
+ iNumRegistrosAcreedorFP += 1
+ Registro = "04" 'CAMPO 1
+ Registro &= Bancos.Genericas.CalcularIdentificadorSEPA(acreedor.NIF, , acreedor.Sufijo).PadRight(35, " ") 'CAMPO 2
+ Registro &= FechaSEPA(acreedor.FechaCobro) 'CAMPO 3
+ Registro &= (Math.Round(dTotalAcreedorFP, 2, MidpointRounding.AwayFromZero) * 100).ToString.PadLeft(17, "0") ' CAMPO 4
+ Registro &= iNumAdeudosAcreedorFP.ToString.PadLeft(8, "0") 'CAMPO 4
+ Registro &= iNumRegistrosAcreedorFP.ToString.PadLeft(10, "0") 'CAMPO 5
+ Registro &= acreedor.Libre1.ToString.PadRight(520, " ") 'CAMPO 7
+ sw.WriteLine(Registro)
+ ' REGISTRO TOTAL DE Acreedor
+ iNumRegistrosAcreedor += 2 '1 más por el registro anterior fecha de pago
+ Registro = "05" 'CAMPO 1
+ Registro &= Bancos.Genericas.CalcularIdentificadorSEPA(acreedor.NIF, , acreedor.Sufijo).PadRight(35, " ") 'CAMPO 2
+ Registro &= (Math.Round(dTotalAcreedor, 2, MidpointRounding.AwayFromZero) * 100).ToString.PadLeft(17, "0") 'CAMPO 3
+ Registro &= iNumAdeudosAcreedor.ToString.PadLeft(8, "0") 'CAMPO 4
+ Registro &= iNumRegistrosAcreedor.ToString.PadLeft(10, "0") 'CAMPO 5
+ Registro &= acreedor.Libre2.ToString.PadRight(528, " ") 'CAMPO 6
+ sw.WriteLine(Registro)
+ iNumAdeudosPresentador += iNumAdeudosAcreedor
+ iNumRegistrosPresentador += iNumRegistrosAcreedor
+ dTotalPresentador += dTotalAcreedor
+ Next
+
+ ' REGISTRO TOTALES
+ iNumRegistrosPresentador += 2 'cabecera y total
+ Registro = "99"
+ Registro &= (Math.Round(dTotalPresentador, 2, MidpointRounding.AwayFromZero) * 100).ToString.PadLeft(17, "0")
+ Registro &= iNumAdeudosPresentador.ToString.PadLeft(8, "0")
+ Registro &= iNumRegistrosPresentador.ToString.PadLeft(10, "0")
+ Registro &= acreedor.Libre2.ToString.PadRight(563, " ") 'CAMPO 6
+ sw.WriteLine(Registro)
+ sw.Close()
+ st.Close()
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Sub
+
+ Public Shared Function FechaSEPA(Fecha As Date) As String
+ Return Fecha.Year.ToString & Fecha.Month.ToString.PadLeft(2, "0") & Fecha.Day.ToString.PadLeft(2, "0")
+ End Function
+ Public Shared Function FechaHoraSEPA(Fecha As DateTime) As String
+ Return Fecha.Year.ToString & Fecha.Month.ToString.PadLeft(2, "0") & Fecha.Day.ToString.PadLeft(2, "0") & Fecha.Hour.ToString.PadLeft(2, "0") & Fecha.Minute.ToString.PadLeft(2, "0") & Fecha.Second.ToString.PadLeft(2, "0") & Fecha.Millisecond.ToString.PadLeft(5, "0")
+ End Function
+
+
+ End Class
+
+ End Namespace
+End Namespace
diff --git a/Bancos/SEPA1914xml.vb b/Bancos/SEPA1914xml.vb
new file mode 100644
index 0000000..351d3f4
--- /dev/null
+++ b/Bancos/SEPA1914xml.vb
@@ -0,0 +1,163 @@
+Imports tsl5.Bancos.SEPA
+Imports tsl5.Bancos
+Imports tsl5.SEPA_1914XML
+Imports tsl5.Extensiones
+
+Namespace SEPA1914xml
+
+ Public Class Utilidades
+ Public Shared Sub GeneraFichero19_14xml(Datos As DatosFichero, ByVal FicheroXML As String, Optional Sobreescribir As Boolean = True)
+ Try
+ If Sobreescribir Then
+ If IO.File.Exists(FicheroXML) Then IO.File.Delete(FicheroXML)
+ Else
+ If IO.File.Exists(FicheroXML) Then Throw New Exception("Fichero " & FicheroXML & " existente")
+ End If
+
+ Dim NumTotalRecibos As Integer
+ Dim SumaTotalRecibos As Decimal
+ Dim Document As New SEPA_1914XML.Document
+ Document.CstmrDrctDbtInitn = New SEPA_1914XML.CustomerDirectDebitInitiationV02
+ Document.CstmrDrctDbtInitn.GrpHdr = New SEPA_1914XML.GroupHeader39
+ Document.CstmrDrctDbtInitn.GrpHdr.MsgId = Datos.ReferenciaIdentificativa.ToString 'IDENTIFICACION UNICA
+ Document.CstmrDrctDbtInitn.GrpHdr.CreDtTm = Datos.FechaCargo.Year.ToString & "-" & Datos.FechaCargo.Month.ToString.PadLeft(2, "0") & "-" & Datos.FechaCargo.Day.ToString.PadLeft(2, "0")
+ Document.CstmrDrctDbtInitn.GrpHdr.CtrlSumSpecified = True
+ Document.CstmrDrctDbtInitn.GrpHdr.InitgPty = New SEPA_1914XML.PartyIdentification32
+ Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.Nm = Datos.Presentador.Nombre
+ Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.Id = New Party6Choice
+ Dim org(0) As GenericOrganisationIdentification1
+ Dim core As New OrganisationIdentificationSchemeName1Choice
+ core.Item = "CORE"
+ core.ItemElementName = ItemChoiceType.Cd
+ org(0) = New GenericOrganisationIdentification1 With {.Id = Bancos.Genericas.CalcularIdentificadorSEPA(Datos.Presentador.NIF, , Datos.Presentador.Sufijo),
+ .SchmeNm = core}
+ Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.Id.Item = New OrganisationIdentification4 With {.Othr = org}
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr = New SEPA_1914xml.PostalAddress6
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr.StrtNm = Datos.Presentador.DOMICILIO
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr.BldgNb = Datos.Presentador.NUMERO
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr.PstCd = Datos.Presentador.CPO
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr.TwnNm = Datos.Presentador.CIUDAD
+ 'Document.CstmrDrctDbtInitn.GrpHdr.InitgPty.PstlAdr.Ctry = Datos.Presentador.PAIS
+ Dim ListaPmtInf As New List(Of SEPA_1914XML.PaymentInstructionInformation4)
+ Dim acreedor As New tsl5.Bancos.SEPA.DatosAcreedor
+
+ For Each acreedor In Datos.Acreedores
+ Dim PmtInf As New SEPA_1914XML.PaymentInstructionInformation4
+ PmtInf.PmtInfId = Bancos.Genericas.CalcularIdentificadorSEPA(Datos.Presentador.NIF) & "-" & Datos.ReferenciaIdentificativa.ToString ' acreedor.NIF
+ PmtInf.PmtMtd = SEPA_1914XML.PaymentMethod2Code.DD
+ PmtInf.BtchBookg = True 'False
+ PmtInf.NbOfTxs = acreedor.DatosRecibo.Count
+ PmtInf.CtrlSum = Math.Round(acreedor.DatosRecibo.Sum(Function(x) x.Importe), 2, MidpointRounding.AwayFromZero)
+ NumTotalRecibos += acreedor.DatosRecibo.Count
+ SumaTotalRecibos += PmtInf.CtrlSum
+ PmtInf.PmtTpInf = New SEPA_1914XML.PaymentTypeInformation20
+ ' PmtInf.PmtTpInf.SvcLvl = New SEPA_1914xml.ServiceLevel8Choice With {.ItemElementName = SEPA_1914xml.ItemChoiceType4.Cd, .Item = "SEPA"}
+ PmtInf.PmtTpInf.LclInstrm = New SEPA_1914XML.LocalInstrument2Choice With {.ItemElementName = SEPA_1914XML.ItemChoiceType5.Cd, .Item = "CORE"}
+ PmtInf.PmtTpInf.SeqTpSpecified = True
+ PmtInf.PmtTpInf.SeqTp = SequenceType1Code.RCUR
+
+ PmtInf.PmtTpInf.CtgyPurp = New CategoryPurpose1Choice With {.ItemElementName = ItemChoiceType6.Cd, .Item = "TRAD"}
+ PmtInf.ReqdColltnDt = Datos.FechaCargo
+ PmtInf.Cdtr = New SEPA_1914XML.PartyIdentification32
+ PmtInf.Cdtr.Nm = acreedor.Nombre
+ PmtInf.Cdtr.PstlAdr = New SEPA_1914XML.PostalAddress6
+ PmtInf.Cdtr.PstlAdr.StrtNm = acreedor.Direccion
+ ' PmtInf.Cdtr.PstlAdr.BldgNb = "" ' NUMERO
+ PmtInf.Cdtr.PstlAdr.PstCd = acreedor.CodigoPostal
+ PmtInf.Cdtr.PstlAdr.TwnNm = acreedor.Municipio
+ PmtInf.Cdtr.PstlAdr.Ctry = acreedor.CodigoPais
+ PmtInf.CdtrAcct = New SEPA_1914XML.CashAccount16
+ PmtInf.CdtrAcct.Id = New SEPA_1914XML.AccountIdentification4Choice With {.Item = acreedor.CuentaAbono.IBAN}
+ PmtInf.CdtrAcct.Ccy = "EUR"
+ PmtInf.CdtrAgt = New SEPA_1914XML.BranchAndFinancialInstitutionIdentification4
+ PmtInf.CdtrAgt.FinInstnId = New SEPA_1914XML.FinancialInstitutionIdentification7 With {.BIC = acreedor.CuentaAbono.BIC}
+ PmtInf.ChrgBr = ChargeBearerType1Code.SLEV
+ PmtInf.ChrgBrSpecified = True
+ 'PmtInf.CdtrSchmeId = New sepa_1914xml.PartyIdentification32
+
+ 'Dim oprvtid As New sepa_1914xml.Party6Choice
+ 'oprvtid.Item = New GenericOrganisationIdentification1 With {.Id = Bancos.Genericas.CalcularIdentificadorSEPA(acreedor.NIF, , acreedor.Sufijo), .SchmeNm = New FinancialIdentificationSchemeName1Choice With {.ItemElementName = ItemChoiceType3.Prtry, .Item = "SEPA"}}
+ 'PmtInf.CdtrSchmeId.Id = oprvtid
+
+ PmtInf.CdtrSchmeId = New SEPA_1914XML.PartyIdentification32
+ PmtInf.CdtrSchmeId.Id = New Party6Choice
+ Dim orga(0) As GenericOrganisationIdentification1
+ Dim cora1 As New OrganisationIdentificationSchemeName1Choice
+ cora1.Item = "SEPA"
+ cora1.ItemElementName = ItemChoiceType.Prtry
+ orga(0) = New GenericOrganisationIdentification1 With {.Id = Bancos.Genericas.CalcularIdentificadorSEPA(acreedor.NIF, , acreedor.Sufijo),
+ .SchmeNm = cora1}
+ PmtInf.CdtrSchmeId.Id.Item = New OrganisationIdentification4 With {.Othr = orga}
+
+
+
+ ' tsl5.Utilidades.Serializar(oprvtid, FicheroXML)
+ Dim dr As tsl5.Bancos.SEPA.DatosRecibo
+ Dim recibos As New List(Of DirectDebitTransactionInformation9)
+ Dim FechaAhora = Now.ToString("yyyyMMddhhmmss")
+ Dim i As Integer
+ For Each dr In acreedor.DatosRecibo
+ ' REGISTRO INDIVIDUAL OBLIGATORIO
+ i += 1
+ Dim recibo As New DirectDebitTransactionInformation9
+ recibo.PmtId = New PaymentIdentification1 With {.InstrId = Now.ToString("yyyyMMddhhmmss") & "-" & i.ToString.PadLeft(4, "0"), .EndToEndId = dr.CodigoReferencia}
+ recibo.InstdAmt = New ActiveOrHistoricCurrencyAndAmount With {.Ccy = "EUR", .Value = Math.Round(dr.Importe, 2, MidpointRounding.AwayFromZero)}
+ recibo.DrctDbtTx = New DirectDebitTransaction6 With {.MndtRltdInf = New MandateRelatedInformation6 With {.MndtId = dr.CodigoReferenciaMandato, .DtOfSgntr = dr.FechaMandato, .DtOfSgntrSpecified = True, .AmdmntInd = False}}
+ recibo.DbtrAgt = New BranchAndFinancialInstitutionIdentification4 With {.FinInstnId = New FinancialInstitutionIdentification7 With {.BIC = dr.CuentaAdeudo.BIC}}
+ recibo.Dbtr = New PartyIdentification32
+ recibo.Dbtr.Nm = dr.NombreTitularDomiciliacion
+ If dr.NombreTitularDomiciliacion.NothingAVacio = "" Then Throw New Exception("El recibo " & dr.CodigoReferencia & " No tiene nombre del titular de la cuenta.")
+ recibo.Dbtr.PstlAdr = New PostalAddress6
+ recibo.Dbtr.PstlAdr.Ctry = "ES"
+ If dr.DireccionDeudor1 <> "" Then
+ Dim Direccion(0) As String
+ Direccion(0) = dr.DireccionDeudor1
+ If dr.DireccionDeudor2 <> "" Then
+ ReDim Preserve Direccion(1)
+ Direccion(1) = dr.DireccionDeudor2
+ End If
+ If dr.DireccionDeudor3 <> "" Then
+ ReDim Preserve Direccion(2)
+ Direccion(2) = dr.DireccionDeudor3
+ End If
+ recibo.Dbtr.PstlAdr.AdrLine = Direccion
+ End If
+
+
+
+
+ recibo.Dbtr.Id = New Party6Choice
+ Dim orgr(0) As GenericPersonIdentification1
+ Dim corr1 As New PersonIdentificationSchemeName1Choice
+ corr1.Item = "CORE"
+ corr1.ItemElementName = ItemChoiceType.Cd
+ orgr(0) = New GenericPersonIdentification1
+ If dr.IdentificacionDeudor <> "" Then orgr(0).Id = Bancos.Genericas.CalcularIdentificadorSEPA(dr.IdentificacionDeudor, , acreedor.Sufijo)
+ orgr(0).SchmeNm = corr1
+ recibo.Dbtr.Id.Item = New PersonIdentification5 With {.Othr = orgr}
+
+ recibo.DbtrAcct = New CashAccount16
+ recibo.DbtrAcct.Id = New AccountIdentification4Choice With {.Item = dr.CuentaAdeudo.IBAN}
+ recibo.Purp = New Purpose2Choice With {.ItemElementName = ItemChoiceType8.Cd, .Item = "CASH"}
+ Dim Conceptos(0) As String
+ Conceptos(0) = dr.Concepto
+ recibo.RmtInf = New RemittanceInformation5 With {.Ustrd = Conceptos}
+ recibos.Add(recibo)
+ Next
+ PmtInf.DrctDbtTxInf = recibos.ToArray
+ ListaPmtInf.Add(PmtInf)
+ Next
+ Document.CstmrDrctDbtInitn.GrpHdr.NbOfTxs = NumTotalRecibos
+ Document.CstmrDrctDbtInitn.GrpHdr.CtrlSum = Math.Round(SumaTotalRecibos, 2, MidpointRounding.AwayFromZero)
+ Document.CstmrDrctDbtInitn.PmtInf = ListaPmtInf.ToArray
+
+ tsl5.Utilidades.Serializar(Document, FicheroXML)
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Sub
+
+
+ End Class
+
+End Namespace
diff --git a/Bancos/SEPA3414.vb b/Bancos/SEPA3414.vb
new file mode 100644
index 0000000..2e74d56
--- /dev/null
+++ b/Bancos/SEPA3414.vb
@@ -0,0 +1,159 @@
+Imports tsl5.SEPA_3414
+
+Namespace SEPA3414
+ Public Class Ordenante
+ Property CIF As String
+ Property NOMBRE As String
+ Property DOMICILIO As String
+ Property NUMERO As String
+ Property CPO As String
+ Property CIUDAD As String
+ Property PAIS As String
+ Property IBAN As String
+ Property BIC As String
+ Property SUFIJO As String
+ Property ENELMISMODIA As Boolean = False
+
+ End Class
+ Public Class Beneficiario
+ Property CIF As String
+ Property ImporteTransferencia As Double
+ Property IdentificacionPago As String
+ Property IdentificacionPagoFichero As String
+ Property IBAN As String
+ Property BIC As String
+ Property NOMBRE As String
+ Property Proposito As String
+
+ End Class
+ Public Class Utilidades
+ Public Shared Sub GeneraXML(Ordenante As Ordenante, ListaBeneficiarios As List(Of Beneficiario), FicheroXML As String, FechaEnvio As DateTime, FechaEjecucion As DateTime)
+ Try
+ '
+ ' COMPROBACIONES
+ '
+ Dim benibaninc = ListaBeneficiarios.Where(Function(x) tsl5.Bancos.Genericas.IBANCorrecto(x.IBAN) = False).ToList
+ Dim ListaErrores As String = ""
+ If benibaninc.Count > 0 Then
+ For Each ben In benibaninc
+ ListaErrores &= "El beneficiacio " & ben.NOMBRE & " Pago: " & ben.IdentificacionPago & " tiene un IBAN Incorrecto." & vbCrLf
+ Next
+ End If
+ If ListaErrores <> "" Then Throw New Exception(ListaErrores)
+
+ Dim org(0) As GenericOrganisationIdentification1
+ org(0) = New GenericOrganisationIdentification1 With {.Id = Ordenante.CIF & Ordenante.SUFIJO}
+
+
+ Dim Document As New SEPA_3414.Document
+ Document.CstmrCdtTrfInitn = New SEPA_3414.CustomerCreditTransferInitiationV03
+ Document.CstmrCdtTrfInitn.GrpHdr = New SEPA_3414.GroupHeader32
+ 'Dim GrupoCabecera = Document.CstmrCdtTrfInitn.GrpHdr
+ Document.CstmrCdtTrfInitn.GrpHdr.MsgId = Now.ToString 'IDENTIFICACION UNICA
+ ' Dim FechaEnvio As DateTime = Now
+ ' Dim FechaEjecucion As DateTime = Now
+ Document.CstmrCdtTrfInitn.GrpHdr.CreDtTm = FechaEnvio.ToString("yyyy-MM-ddTHH:mm:ss")
+ Document.CstmrCdtTrfInitn.GrpHdr.NbOfTxs = ListaBeneficiarios.Where(Function(X) X.ImporteTransferencia > 0).Count.ToString
+ Document.CstmrCdtTrfInitn.GrpHdr.CtrlSum = ListaBeneficiarios.Where(Function(X) X.ImporteTransferencia > 0).Sum(Function(x) x.ImporteTransferencia).ToString("F2").Replace(",", ".")
+ Document.CstmrCdtTrfInitn.GrpHdr.CtrlSumSpecified = True
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty = New SEPA_3414.PartyIdentification32
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.Nm = Ordenante.NOMBRE
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.Id = New Party6Choice With {.Item = New OrganisationIdentification4 With {.Othr = org}}
+
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr = New SEPA_3414.PostalAddress6
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr.StrtNm = Ordenante.DOMICILIO
+ If Ordenante.NUMERO <> "" Then Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr.BldgNb = Ordenante.NUMERO
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr.PstCd = Ordenante.CPO
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr.TwnNm = Ordenante.CIUDAD
+ Document.CstmrCdtTrfInitn.GrpHdr.InitgPty.PstlAdr.Ctry = Ordenante.PAIS
+ 'Dim listaInformacionPago As List(Of SEPA_3414.PaymentInstructionInformation3)
+ 'Dim informacionpago As SEPA_3414.PaymentInstructionInformation3
+ Dim ListaPmtInf As New List(Of SEPA_3414.PaymentInstructionInformation3)
+ Dim PmtInf As New SEPA_3414.PaymentInstructionInformation3
+ PmtInf.PmtInfId = Ordenante.CIF
+ PmtInf.PmtMtd = SEPA_3414.PaymentMethod3Code.TRF
+ If Ordenante.BIC = "UCJAES2MXXX" Then
+ PmtInf.BtchBookg = False ' para unicaja
+ PmtInf.BtchBookgSpecified = True ' para unicaja
+ PmtInf.NbOfTxs = Document.CstmrCdtTrfInitn.GrpHdr.NbOfTxs
+ PmtInf.CtrlSum = Math.Round(ListaBeneficiarios.Where(Function(X) X.ImporteTransferencia > 0).Sum(Function(x) x.ImporteTransferencia), 2, MidpointRounding.AwayFromZero)
+ PmtInf.CtrlSumSpecified = True ' para unicaja
+ PmtInf.PmtTpInf = New SEPA_3414.PaymentTypeInformation19
+ PmtInf.PmtTpInf.SvcLvl = New SEPA_3414.ServiceLevel8Choice With {.Item = "SEPA"} ' para Unicaja
+ PmtInf.PmtTpInf.LclInstrm = New SEPA_3414.LocalInstrument2Choice With {.Item = "SDCL"} ' para Unicaja
+ If ListaBeneficiarios(0).Proposito IsNot Nothing AndAlso ListaBeneficiarios(0).Proposito <> "" Then
+ PmtInf.PmtTpInf.CtgyPurp = New SEPA_3414.CategoryPurpose1Choice ' para Unicaja
+ PmtInf.PmtTpInf.CtgyPurp.Item = ListaBeneficiarios(0).Proposito ' para Unicaja
+ End If
+
+ End If
+
+ PmtInf.ReqdExctnDt = FechaEjecucion
+ 'PmtInf.BtchBookg = False
+ PmtInf.Dbtr = New SEPA_3414.PartyIdentification32
+ PmtInf.Dbtr.Id = New Party6Choice
+ PmtInf.Dbtr.Id.Item = New OrganisationIdentification4 With {.Othr = org}
+ PmtInf.Dbtr.Nm = Ordenante.NOMBRE
+ PmtInf.Dbtr.PstlAdr = New SEPA_3414.PostalAddress6
+ PmtInf.Dbtr.PstlAdr.StrtNm = Ordenante.DOMICILIO
+ If Ordenante.NUMERO <> "" Then PmtInf.Dbtr.PstlAdr.BldgNb = Ordenante.NUMERO
+ PmtInf.Dbtr.PstlAdr.PstCd = Ordenante.CPO
+ PmtInf.Dbtr.PstlAdr.TwnNm = Ordenante.CIUDAD
+ PmtInf.Dbtr.PstlAdr.Ctry = Ordenante.PAIS
+ PmtInf.DbtrAcct = New SEPA_3414.CashAccount16
+ PmtInf.DbtrAcct.Id = New SEPA_3414.AccountIdentification4Choice With {.Item = Ordenante.IBAN}
+ PmtInf.DbtrAgt = New SEPA_3414.BranchAndFinancialInstitutionIdentification4
+ PmtInf.DbtrAgt.FinInstnId = New SEPA_3414.FinancialInstitutionIdentification7
+ PmtInf.DbtrAgt.FinInstnId.BIC = Ordenante.BIC
+ 'If Ordenante.ENELMISMODIA Then
+ ' PmtInf.PmtTpInf = New SEPA_3414.PaymentTypeInformation19
+ ' PmtInf.PmtTpInf.SvcLvl = New SEPA_3414.ServiceLevel8Choice With {.Item = "SEPA"}
+ ' PmtInf.PmtTpInf.LclInstrm = New SEPA_3414.LocalInstrument2Choice With {.Item = "SDCL"}
+ 'End If
+ ' PmtInf.Dbtr.Id.Item = Ordenante.CIF & "SEV"
+ Dim cts As New List(Of SEPA_3414.CreditTransferTransactionInformation10)
+ Dim ct As SEPA_3414.CreditTransferTransactionInformation10
+ For Each Beneficiario In ListaBeneficiarios
+ If Beneficiario.ImporteTransferencia > 0 Then
+ ct = New SEPA_3414.CreditTransferTransactionInformation10
+ ct.PmtId = New SEPA_3414.PaymentIdentification1
+ ct.PmtId.InstrId = Beneficiario.IdentificacionPago.Trim.PadRight(35, " ").Substring(0, 35)
+ ct.PmtId.EndToEndId = Beneficiario.IdentificacionPago.Trim.PadRight(35, " ").Substring(0, 35)
+ If Beneficiario.IdentificacionPagoFichero <> "" Then
+ ct.RmtInf = New SEPA_3414.RemittanceInformation5
+ ct.RmtInf.Ustrd = {Beneficiario.IdentificacionPagoFichero}
+ End If
+ If Beneficiario.Proposito <> "" Then
+ ct.PmtTpInf = New SEPA_3414.PaymentTypeInformation19
+ If Ordenante.ENELMISMODIA Then
+ ct.PmtTpInf.SvcLvl = New SEPA_3414.ServiceLevel8Choice With {.Item = "SEPA"}
+ ct.PmtTpInf.LclInstrm = New SEPA_3414.LocalInstrument2Choice With {.Item = "SDCL"}
+ End If
+ ct.PmtTpInf.CtgyPurp = New SEPA_3414.CategoryPurpose1Choice
+ ct.PmtTpInf.CtgyPurp.Item = Beneficiario.Proposito
+ End If
+ Dim sImporteTransferencia = Beneficiario.ImporteTransferencia.ToString("F2").Replace(",", ".")
+ ct.Amt = New SEPA_3414.AmountType3Choice
+ ct.Amt.Item = New SEPA_3414.ActiveOrHistoricCurrencyAndAmount With {.Ccy = "EUR", .Value = sImporteTransferencia}
+ ct.ChrgBr = SEPA_3414.ChargeBearerType1Code.DEBT
+ ct.CdtrAgt = New SEPA_3414.BranchAndFinancialInstitutionIdentification4
+ ct.CdtrAgt.FinInstnId = New SEPA_3414.FinancialInstitutionIdentification7
+ ' ct.CdtrAgt.FinInstnId.BIC = Beneficiario.BIC
+ ct.Cdtr = New SEPA_3414.PartyIdentification32
+ ct.Cdtr.Nm = tsl5.Extensiones.StringExtensions.ConvierteAAlfanumerico(Beneficiario.NOMBRE, "ÁÉÍÓÚáéíóúÑñÜü", "AEIOUaeiouNnUu")
+ ct.CdtrAcct = New SEPA_3414.CashAccount16
+ ct.CdtrAcct.Id = New SEPA_3414.AccountIdentification4Choice With {.Item = Beneficiario.IBAN}
+ cts.Add(ct)
+ End If
+ Next
+ PmtInf.CdtTrfTxInf = cts.ToArray
+ ListaPmtInf.Add(PmtInf)
+ ' Document.CstmrCdtTrfInitn = New SEPA_3414.CustomerCreditTransferInitiationV03
+ Document.CstmrCdtTrfInitn.PmtInf = ListaPmtInf.ToArray
+ tsl5.Utilidades.SerializarUTF8(Document, FicheroXML)
+ Catch ex As Exception
+ Throw New Exception(ex.Message, ex)
+ End Try
+ End Sub
+ End Class
+End Namespace
diff --git a/Bancos/pain_001_001_03.vb b/Bancos/pain_001_001_03.vb
new file mode 100644
index 0000000..630053f
--- /dev/null
+++ b/Bancos/pain_001_001_03.vb
@@ -0,0 +1,4537 @@
+'------------------------------------------------------------------------------
+'
+' Este código fue generado por una herramienta.
+' Versión de runtime:4.0.30319.18444
+'
+' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
+' se vuelve a generar el código.
+'
+'------------------------------------------------------------------------------
+
+Option Strict Off
+Option Explicit On
+
+Imports System.Xml.Serialization
+Namespace SEPA_3414
+ '
+ 'This source code was auto-generated by xsd, Version=4.0.30319.33440.
+ '
+
+ '''
+ _
+ Partial Public Class Document
+
+ Private cstmrCdtTrfInitnField As CustomerCreditTransferInitiationV03
+
+ '''
+ Public Property CstmrCdtTrfInitn() As CustomerCreditTransferInitiationV03
+ Get
+ Return Me.cstmrCdtTrfInitnField
+ End Get
+ Set(value As CustomerCreditTransferInitiationV03)
+ Me.cstmrCdtTrfInitnField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class CustomerCreditTransferInitiationV03
+
+ Private grpHdrField As GroupHeader32
+
+ Private pmtInfField() As PaymentInstructionInformation3
+
+ '''
+ Public Property GrpHdr() As GroupHeader32
+ Get
+ Return Me.grpHdrField
+ End Get
+ Set(value As GroupHeader32)
+ Me.grpHdrField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property PmtInf() As PaymentInstructionInformation3()
+ Get
+ Return Me.pmtInfField
+ End Get
+ Set(value As PaymentInstructionInformation3())
+ Me.pmtInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class GroupHeader32
+
+ Private msgIdField As String
+
+ Private creDtTmField As String
+
+ Private authstnField() As Authorisation1Choice
+
+ Private nbOfTxsField As String
+
+ Private ctrlSumField As String
+
+ Private ctrlSumFieldSpecified As Boolean
+
+ Private initgPtyField As PartyIdentification32
+
+ Private fwdgAgtField As BranchAndFinancialInstitutionIdentification4
+
+ '''
+ Public Property MsgId() As String
+ Get
+ Return Me.msgIdField
+ End Get
+ Set(value As String)
+ Me.msgIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CreDtTm() As String
+ Get
+ Return Me.creDtTmField
+ End Get
+ Set(value As String)
+ Me.creDtTmField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Authstn() As Authorisation1Choice()
+ Get
+ Return Me.authstnField
+ End Get
+ Set(value As Authorisation1Choice())
+ Me.authstnField = value
+ End Set
+ End Property
+
+ '''
+ Public Property NbOfTxs() As String
+ Get
+ Return Me.nbOfTxsField
+ End Get
+ Set(value As String)
+ Me.nbOfTxsField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtrlSum() As String
+ Get
+ Return Me.ctrlSumField
+ End Get
+ Set(value As String)
+ Me.ctrlSumField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CtrlSumSpecified() As Boolean
+ Get
+ Return Me.ctrlSumFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.ctrlSumFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property InitgPty() As PartyIdentification32
+ Get
+ Return Me.initgPtyField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.initgPtyField = value
+ End Set
+ End Property
+
+ '''
+ Public Property FwdgAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.fwdgAgtField
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.fwdgAgtField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class Authorisation1Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum Authorisation1Code
+
+ '''
+ AUTH
+
+ '''
+ FDET
+
+ '''
+ FSUM
+
+ '''
+ ILEV
+ End Enum
+
+ '''
+ _
+ Partial Public Class CreditorReferenceType1Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum DocumentType3Code
+
+ '''
+ RADM
+
+ '''
+ RPIN
+
+ '''
+ FXDR
+
+ '''
+ DISP
+
+ '''
+ PUOR
+
+ '''
+ SCOR
+ End Enum
+
+ '''
+ _
+ Partial Public Class CreditorReferenceType2
+
+ Private cdOrPrtryField As CreditorReferenceType1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property CdOrPrtry() As CreditorReferenceType1Choice
+ Get
+ Return Me.cdOrPrtryField
+ End Get
+ Set(value As CreditorReferenceType1Choice)
+ Me.cdOrPrtryField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class CreditorReferenceInformation2
+
+ Private tpField As CreditorReferenceType2
+
+ Private refField As String
+
+ '''
+ Public Property Tp() As CreditorReferenceType2
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As CreditorReferenceType2)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ref() As String
+ Get
+ Return Me.refField
+ End Get
+ Set(value As String)
+ Me.refField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class DocumentAdjustment1
+
+ Private amtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private cdtDbtIndField As CreditDebitCode
+
+ Private cdtDbtIndFieldSpecified As Boolean
+
+ Private rsnField As String
+
+ Private addtlInfField As String
+
+ '''
+ Public Property Amt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.amtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.amtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtDbtInd() As CreditDebitCode
+ Get
+ Return Me.cdtDbtIndField
+ End Get
+ Set(value As CreditDebitCode)
+ Me.cdtDbtIndField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CdtDbtIndSpecified() As Boolean
+ Get
+ Return Me.cdtDbtIndFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.cdtDbtIndFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Rsn() As String
+ Get
+ Return Me.rsnField
+ End Get
+ Set(value As String)
+ Me.rsnField = value
+ End Set
+ End Property
+
+ '''
+ Public Property AddtlInf() As String
+ Get
+ Return Me.addtlInfField
+ End Get
+ Set(value As String)
+ Me.addtlInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ActiveOrHistoricCurrencyAndAmount
+
+ Private ccyField As String
+
+ Private valueField As String
+
+ '''
+ _
+ Public Property Ccy() As String
+ Get
+ Return Me.ccyField
+ End Get
+ Set(value As String)
+ Me.ccyField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Value() As String
+ Get
+ Return Me.valueField
+ End Get
+ Set(value As String)
+ Me.valueField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum CreditDebitCode
+
+ '''
+ CRDT
+
+ '''
+ DBIT
+ End Enum
+
+ '''
+ _
+ Partial Public Class RemittanceAmount1
+
+ Private duePyblAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private dscntApldAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private cdtNoteAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private taxAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private adjstmntAmtAndRsnField() As DocumentAdjustment1
+
+ Private rmtdAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ '''
+ Public Property DuePyblAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.duePyblAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.duePyblAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DscntApldAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.dscntApldAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.dscntApldAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtNoteAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.cdtNoteAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.cdtNoteAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.taxAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.taxAmtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property AdjstmntAmtAndRsn() As DocumentAdjustment1()
+ Get
+ Return Me.adjstmntAmtAndRsnField
+ End Get
+ Set(value As DocumentAdjustment1())
+ Me.adjstmntAmtAndRsnField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtdAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.rmtdAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.rmtdAmtField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ReferredDocumentType1Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum DocumentType5Code
+
+ '''
+ MSIN
+
+ '''
+ CNFA
+
+ '''
+ DNFA
+
+ '''
+ CINV
+
+ '''
+ CREN
+
+ '''
+ DEBN
+
+ '''
+ HIRI
+
+ '''
+ SBIN
+
+ '''
+ CMCN
+
+ '''
+ SOAC
+
+ '''
+ DISP
+
+ '''
+ BOLD
+
+ '''
+ VCHR
+
+ '''
+ AROI
+
+ '''
+ TSUT
+ End Enum
+
+ '''
+ _
+ Partial Public Class ReferredDocumentType2
+
+ Private cdOrPrtryField As ReferredDocumentType1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property CdOrPrtry() As ReferredDocumentType1Choice
+ Get
+ Return Me.cdOrPrtryField
+ End Get
+ Set(value As ReferredDocumentType1Choice)
+ Me.cdOrPrtryField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ReferredDocumentInformation3
+
+ Private tpField As ReferredDocumentType2
+
+ Private nbField As String
+
+ Private rltdDtField As Date
+
+ Private rltdDtFieldSpecified As Boolean
+
+ '''
+ Public Property Tp() As ReferredDocumentType2
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As ReferredDocumentType2)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nb() As String
+ Get
+ Return Me.nbField
+ End Get
+ Set(value As String)
+ Me.nbField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RltdDt() As Date
+ Get
+ Return Me.rltdDtField
+ End Get
+ Set(value As Date)
+ Me.rltdDtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RltdDtSpecified() As Boolean
+ Get
+ Return Me.rltdDtFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.rltdDtFieldSpecified = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class StructuredRemittanceInformation7
+
+ Private rfrdDocInfField() As ReferredDocumentInformation3
+
+ Private rfrdDocAmtField As RemittanceAmount1
+
+ Private cdtrRefInfField As CreditorReferenceInformation2
+
+ Private invcrField As PartyIdentification32
+
+ Private invceeField As PartyIdentification32
+
+ Private addtlRmtInfField() As String
+
+ '''
+ _
+ Public Property RfrdDocInf() As ReferredDocumentInformation3()
+ Get
+ Return Me.rfrdDocInfField
+ End Get
+ Set(value As ReferredDocumentInformation3())
+ Me.rfrdDocInfField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RfrdDocAmt() As RemittanceAmount1
+ Get
+ Return Me.rfrdDocAmtField
+ End Get
+ Set(value As RemittanceAmount1)
+ Me.rfrdDocAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrRefInf() As CreditorReferenceInformation2
+ Get
+ Return Me.cdtrRefInfField
+ End Get
+ Set(value As CreditorReferenceInformation2)
+ Me.cdtrRefInfField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Invcr() As PartyIdentification32
+ Get
+ Return Me.invcrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.invcrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Invcee() As PartyIdentification32
+ Get
+ Return Me.invceeField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.invceeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property AddtlRmtInf() As String()
+ Get
+ Return Me.addtlRmtInfField
+ End Get
+ Set(value As String())
+ Me.addtlRmtInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class PartyIdentification32
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ Private idField As Party6Choice
+
+ Private ctryOfResField As String
+
+ Private ctctDtlsField As ContactDetails2
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set(value As PostalAddress6)
+ Me.pstlAdrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Id() As Party6Choice
+ Get
+ Return Me.idField
+ End Get
+ Set(value As Party6Choice)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtryOfRes() As String
+ Get
+ Return Me.ctryOfResField
+ End Get
+ Set(value As String)
+ Me.ctryOfResField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtctDtls() As ContactDetails2
+ Get
+ Return Me.ctctDtlsField
+ End Get
+ Set(value As ContactDetails2)
+ Me.ctctDtlsField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class PostalAddress6
+
+ Private adrTpField As AddressType2Code
+
+ Private adrTpFieldSpecified As Boolean
+
+ Private deptField As String
+
+ Private subDeptField As String
+
+ Private strtNmField As String
+
+ Private bldgNbField As String
+
+ Private pstCdField As String
+
+ Private twnNmField As String
+
+ Private ctrySubDvsnField As String
+
+ Private ctryField As String
+
+ Private adrLineField() As String
+
+ '''
+ Public Property AdrTp() As AddressType2Code
+ Get
+ Return Me.adrTpField
+ End Get
+ Set(value As AddressType2Code)
+ Me.adrTpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property AdrTpSpecified() As Boolean
+ Get
+ Return Me.adrTpFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.adrTpFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Dept() As String
+ Get
+ Return Me.deptField
+ End Get
+ Set(value As String)
+ Me.deptField = value
+ End Set
+ End Property
+
+ '''
+ Public Property SubDept() As String
+ Get
+ Return Me.subDeptField
+ End Get
+ Set(value As String)
+ Me.subDeptField = value
+ End Set
+ End Property
+
+ '''
+ Public Property StrtNm() As String
+ Get
+ Return Me.strtNmField
+ End Get
+ Set(value As String)
+ Me.strtNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property BldgNb() As String
+ Get
+ Return Me.bldgNbField
+ End Get
+ Set(value As String)
+ Me.bldgNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PstCd() As String
+ Get
+ Return Me.pstCdField
+ End Get
+ Set(value As String)
+ Me.pstCdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TwnNm() As String
+ Get
+ Return Me.twnNmField
+ End Get
+ Set(value As String)
+ Me.twnNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtrySubDvsn() As String
+ Get
+ Return Me.ctrySubDvsnField
+ End Get
+ Set(value As String)
+ Me.ctrySubDvsnField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ctry() As String
+ Get
+ Return Me.ctryField
+ End Get
+ Set(value As String)
+ Me.ctryField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property AdrLine() As String()
+ Get
+ Return Me.adrLineField
+ End Get
+ Set(value As String())
+ Me.adrLineField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum AddressType2Code
+
+ '''
+ ADDR
+
+ '''
+ PBOX
+
+ '''
+ HOME
+
+ '''
+ BIZZ
+
+ '''
+ MLTO
+
+ '''
+ DLVY
+ End Enum
+
+ '''
+ _
+ Partial Public Class Party6Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class OrganisationIdentification4
+
+ Private bICOrBEIField As String
+
+ Private othrField() As GenericOrganisationIdentification1
+
+ '''
+ Public Property BICOrBEI() As String
+ Get
+ Return Me.bICOrBEIField
+ End Get
+ Set(value As String)
+ Me.bICOrBEIField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Othr() As GenericOrganisationIdentification1()
+ Get
+ Return Me.othrField
+ End Get
+ Set(value As GenericOrganisationIdentification1())
+ Me.othrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class GenericOrganisationIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As OrganisationIdentificationSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set(value As String)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As OrganisationIdentificationSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set(value As OrganisationIdentificationSchemeName1Choice)
+ Me.schmeNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class OrganisationIdentificationSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class PersonIdentification5
+
+ Private dtAndPlcOfBirthField As DateAndPlaceOfBirth
+
+ Private othrField() As GenericPersonIdentification1
+
+ '''
+ Public Property DtAndPlcOfBirth() As DateAndPlaceOfBirth
+ Get
+ Return Me.dtAndPlcOfBirthField
+ End Get
+ Set(value As DateAndPlaceOfBirth)
+ Me.dtAndPlcOfBirthField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Othr() As GenericPersonIdentification1()
+ Get
+ Return Me.othrField
+ End Get
+ Set(value As GenericPersonIdentification1())
+ Me.othrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class DateAndPlaceOfBirth
+
+ Private birthDtField As Date
+
+ Private prvcOfBirthField As String
+
+ Private cityOfBirthField As String
+
+ Private ctryOfBirthField As String
+
+ '''
+ _
+ Public Property BirthDt() As Date
+ Get
+ Return Me.birthDtField
+ End Get
+ Set(value As Date)
+ Me.birthDtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PrvcOfBirth() As String
+ Get
+ Return Me.prvcOfBirthField
+ End Get
+ Set(value As String)
+ Me.prvcOfBirthField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CityOfBirth() As String
+ Get
+ Return Me.cityOfBirthField
+ End Get
+ Set(value As String)
+ Me.cityOfBirthField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtryOfBirth() As String
+ Get
+ Return Me.ctryOfBirthField
+ End Get
+ Set(value As String)
+ Me.ctryOfBirthField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class GenericPersonIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As PersonIdentificationSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set(value As String)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As PersonIdentificationSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set(value As PersonIdentificationSchemeName1Choice)
+ Me.schmeNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class PersonIdentificationSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType1
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType1
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType1)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType1
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class ContactDetails2
+
+ Private nmPrfxField As NamePrefix1Code
+
+ Private nmPrfxFieldSpecified As Boolean
+
+ Private nmField As String
+
+ Private phneNbField As String
+
+ Private mobNbField As String
+
+ Private faxNbField As String
+
+ Private emailAdrField As String
+
+ Private othrField As String
+
+ '''
+ Public Property NmPrfx() As NamePrefix1Code
+ Get
+ Return Me.nmPrfxField
+ End Get
+ Set(value As NamePrefix1Code)
+ Me.nmPrfxField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property NmPrfxSpecified() As Boolean
+ Get
+ Return Me.nmPrfxFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.nmPrfxFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PhneNb() As String
+ Get
+ Return Me.phneNbField
+ End Get
+ Set(value As String)
+ Me.phneNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property MobNb() As String
+ Get
+ Return Me.mobNbField
+ End Get
+ Set(value As String)
+ Me.mobNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property FaxNb() As String
+ Get
+ Return Me.faxNbField
+ End Get
+ Set(value As String)
+ Me.faxNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property EmailAdr() As String
+ Get
+ Return Me.emailAdrField
+ End Get
+ Set(value As String)
+ Me.emailAdrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Othr() As String
+ Get
+ Return Me.othrField
+ End Get
+ Set(value As String)
+ Me.othrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum NamePrefix1Code
+
+ '''
+ DOCT
+
+ '''
+ MIST
+
+ '''
+ MISS
+
+ '''
+ MADM
+ End Enum
+
+ '''
+ _
+ Partial Public Class RemittanceInformation5
+
+ Private ustrdField() As String
+
+ Private strdField() As StructuredRemittanceInformation7
+
+ '''
+ _
+ Public Property Ustrd() As String()
+ Get
+ Return Me.ustrdField
+ End Get
+ Set(value As String())
+ Me.ustrdField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Strd() As StructuredRemittanceInformation7()
+ Get
+ Return Me.strdField
+ End Get
+ Set(value As StructuredRemittanceInformation7())
+ Me.strdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class RemittanceLocation2
+
+ Private rmtIdField As String
+
+ Private rmtLctnMtdField As RemittanceLocationMethod2Code
+
+ Private rmtLctnMtdFieldSpecified As Boolean
+
+ Private rmtLctnElctrncAdrField As String
+
+ Private rmtLctnPstlAdrField As NameAndAddress10
+
+ '''
+ Public Property RmtId() As String
+ Get
+ Return Me.rmtIdField
+ End Get
+ Set(value As String)
+ Me.rmtIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtLctnMtd() As RemittanceLocationMethod2Code
+ Get
+ Return Me.rmtLctnMtdField
+ End Get
+ Set(value As RemittanceLocationMethod2Code)
+ Me.rmtLctnMtdField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RmtLctnMtdSpecified() As Boolean
+ Get
+ Return Me.rmtLctnMtdFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.rmtLctnMtdFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtLctnElctrncAdr() As String
+ Get
+ Return Me.rmtLctnElctrncAdrField
+ End Get
+ Set(value As String)
+ Me.rmtLctnElctrncAdrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtLctnPstlAdr() As NameAndAddress10
+ Get
+ Return Me.rmtLctnPstlAdrField
+ End Get
+ Set(value As NameAndAddress10)
+ Me.rmtLctnPstlAdrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum RemittanceLocationMethod2Code
+
+ '''
+ FAXI
+
+ '''
+ EDIC
+
+ '''
+ URID
+
+ '''
+ EMAL
+
+ '''
+ POST
+
+ '''
+ SMSM
+ End Enum
+
+ '''
+ _
+ Partial Public Class NameAndAddress10
+
+ Private nmField As String
+
+ Private adrField As PostalAddress6
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Adr() As PostalAddress6
+ Get
+ Return Me.adrField
+ End Get
+ Set(value As PostalAddress6)
+ Me.adrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxRecordDetails1
+
+ Private prdField As TaxPeriod1
+
+ Private amtField As ActiveOrHistoricCurrencyAndAmount
+
+ '''
+ Public Property Prd() As TaxPeriod1
+ Get
+ Return Me.prdField
+ End Get
+ Set(value As TaxPeriod1)
+ Me.prdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Amt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.amtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.amtField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxPeriod1
+
+ Private yrField As Date
+
+ Private yrFieldSpecified As Boolean
+
+ Private tpField As TaxRecordPeriod1Code
+
+ Private tpFieldSpecified As Boolean
+
+ Private frToDtField As DatePeriodDetails
+
+ '''
+ _
+ Public Property Yr() As Date
+ Get
+ Return Me.yrField
+ End Get
+ Set(value As Date)
+ Me.yrField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property YrSpecified() As Boolean
+ Get
+ Return Me.yrFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.yrFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Tp() As TaxRecordPeriod1Code
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As TaxRecordPeriod1Code)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property TpSpecified() As Boolean
+ Get
+ Return Me.tpFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.tpFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property FrToDt() As DatePeriodDetails
+ Get
+ Return Me.frToDtField
+ End Get
+ Set(value As DatePeriodDetails)
+ Me.frToDtField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum TaxRecordPeriod1Code
+
+ '''
+ MM01
+
+ '''
+ MM02
+
+ '''
+ MM03
+
+ '''
+ MM04
+
+ '''
+ MM05
+
+ '''
+ MM06
+
+ '''
+ MM07
+
+ '''
+ MM08
+
+ '''
+ MM09
+
+ '''
+ MM10
+
+ '''
+ MM11
+
+ '''
+ MM12
+
+ '''
+ QTR1
+
+ '''
+ QTR2
+
+ '''
+ QTR3
+
+ '''
+ QTR4
+
+ '''
+ HLF1
+
+ '''
+ HLF2
+ End Enum
+
+ '''
+ _
+ Partial Public Class DatePeriodDetails
+
+ Private frDtField As Date
+
+ Private toDtField As Date
+
+ '''
+ _
+ Public Property FrDt() As Date
+ Get
+ Return Me.frDtField
+ End Get
+ Set(value As Date)
+ Me.frDtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ToDt() As Date
+ Get
+ Return Me.toDtField
+ End Get
+ Set(value As Date)
+ Me.toDtField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxAmount1
+
+ Private rateField As Decimal
+
+ Private rateFieldSpecified As Boolean
+
+ Private taxblBaseAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private ttlAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private dtlsField() As TaxRecordDetails1
+
+ '''
+ Public Property Rate() As Decimal
+ Get
+ Return Me.rateField
+ End Get
+ Set(value As Decimal)
+ Me.rateField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RateSpecified() As Boolean
+ Get
+ Return Me.rateFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.rateFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxblBaseAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.taxblBaseAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.taxblBaseAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TtlAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.ttlAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.ttlAmtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Dtls() As TaxRecordDetails1()
+ Get
+ Return Me.dtlsField
+ End Get
+ Set(value As TaxRecordDetails1())
+ Me.dtlsField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxRecord1
+
+ Private tpField As String
+
+ Private ctgyField As String
+
+ Private ctgyDtlsField As String
+
+ Private dbtrStsField As String
+
+ Private certIdField As String
+
+ Private frmsCdField As String
+
+ Private prdField As TaxPeriod1
+
+ Private taxAmtField As TaxAmount1
+
+ Private addtlInfField As String
+
+ '''
+ Public Property Tp() As String
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As String)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ctgy() As String
+ Get
+ Return Me.ctgyField
+ End Get
+ Set(value As String)
+ Me.ctgyField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtgyDtls() As String
+ Get
+ Return Me.ctgyDtlsField
+ End Get
+ Set(value As String)
+ Me.ctgyDtlsField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DbtrSts() As String
+ Get
+ Return Me.dbtrStsField
+ End Get
+ Set(value As String)
+ Me.dbtrStsField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CertId() As String
+ Get
+ Return Me.certIdField
+ End Get
+ Set(value As String)
+ Me.certIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property FrmsCd() As String
+ Get
+ Return Me.frmsCdField
+ End Get
+ Set(value As String)
+ Me.frmsCdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Prd() As TaxPeriod1
+ Get
+ Return Me.prdField
+ End Get
+ Set(value As TaxPeriod1)
+ Me.prdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxAmt() As TaxAmount1
+ Get
+ Return Me.taxAmtField
+ End Get
+ Set(value As TaxAmount1)
+ Me.taxAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property AddtlInf() As String
+ Get
+ Return Me.addtlInfField
+ End Get
+ Set(value As String)
+ Me.addtlInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxAuthorisation1
+
+ Private titlField As String
+
+ Private nmField As String
+
+ '''
+ Public Property Titl() As String
+ Get
+ Return Me.titlField
+ End Get
+ Set(value As String)
+ Me.titlField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxParty2
+
+ Private taxIdField As String
+
+ Private regnIdField As String
+
+ Private taxTpField As String
+
+ Private authstnField As TaxAuthorisation1
+
+ '''
+ Public Property TaxId() As String
+ Get
+ Return Me.taxIdField
+ End Get
+ Set(value As String)
+ Me.taxIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RegnId() As String
+ Get
+ Return Me.regnIdField
+ End Get
+ Set(value As String)
+ Me.regnIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxTp() As String
+ Get
+ Return Me.taxTpField
+ End Get
+ Set(value As String)
+ Me.taxTpField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Authstn() As TaxAuthorisation1
+ Get
+ Return Me.authstnField
+ End Get
+ Set(value As TaxAuthorisation1)
+ Me.authstnField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxParty1
+
+ Private taxIdField As String
+
+ Private regnIdField As String
+
+ Private taxTpField As String
+
+ '''
+ Public Property TaxId() As String
+ Get
+ Return Me.taxIdField
+ End Get
+ Set(value As String)
+ Me.taxIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RegnId() As String
+ Get
+ Return Me.regnIdField
+ End Get
+ Set(value As String)
+ Me.regnIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxTp() As String
+ Get
+ Return Me.taxTpField
+ End Get
+ Set(value As String)
+ Me.taxTpField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxInformation3
+
+ Private cdtrField As TaxParty1
+
+ Private dbtrField As TaxParty2
+
+ Private admstnZnField As String
+
+ Private refNbField As String
+
+ Private mtdField As String
+
+ Private ttlTaxblBaseAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private ttlTaxAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private dtField As Date
+
+ Private dtFieldSpecified As Boolean
+
+ Private seqNbField As Decimal
+
+ Private seqNbFieldSpecified As Boolean
+
+ Private rcrdField() As TaxRecord1
+
+ '''
+ Public Property Cdtr() As TaxParty1
+ Get
+ Return Me.cdtrField
+ End Get
+ Set(value As TaxParty1)
+ Me.cdtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Dbtr() As TaxParty2
+ Get
+ Return Me.dbtrField
+ End Get
+ Set(value As TaxParty2)
+ Me.dbtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property AdmstnZn() As String
+ Get
+ Return Me.admstnZnField
+ End Get
+ Set(value As String)
+ Me.admstnZnField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RefNb() As String
+ Get
+ Return Me.refNbField
+ End Get
+ Set(value As String)
+ Me.refNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Mtd() As String
+ Get
+ Return Me.mtdField
+ End Get
+ Set(value As String)
+ Me.mtdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TtlTaxblBaseAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.ttlTaxblBaseAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.ttlTaxblBaseAmtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property TtlTaxAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.ttlTaxAmtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.ttlTaxAmtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Dt() As Date
+ Get
+ Return Me.dtField
+ End Get
+ Set(value As Date)
+ Me.dtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property DtSpecified() As Boolean
+ Get
+ Return Me.dtFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.dtFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property SeqNb() As Decimal
+ Get
+ Return Me.seqNbField
+ End Get
+ Set(value As Decimal)
+ Me.seqNbField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property SeqNbSpecified() As Boolean
+ Get
+ Return Me.seqNbFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.seqNbFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Rcrd() As TaxRecord1()
+ Get
+ Return Me.rcrdField
+ End Get
+ Set(value As TaxRecord1())
+ Me.rcrdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class StructuredRegulatoryReporting3
+
+ Private tpField As String
+
+ Private dtField As Date
+
+ Private dtFieldSpecified As Boolean
+
+ Private ctryField As String
+
+ Private cdField As String
+
+ Private amtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private infField() As String
+
+ '''
+ Public Property Tp() As String
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As String)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Dt() As Date
+ Get
+ Return Me.dtField
+ End Get
+ Set(value As Date)
+ Me.dtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property DtSpecified() As Boolean
+ Get
+ Return Me.dtFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.dtFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ctry() As String
+ Get
+ Return Me.ctryField
+ End Get
+ Set(value As String)
+ Me.ctryField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Cd() As String
+ Get
+ Return Me.cdField
+ End Get
+ Set(value As String)
+ Me.cdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Amt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.amtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.amtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Inf() As String()
+ Get
+ Return Me.infField
+ End Get
+ Set(value As String())
+ Me.infField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class RegulatoryAuthority2
+
+ Private nmField As String
+
+ Private ctryField As String
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ctry() As String
+ Get
+ Return Me.ctryField
+ End Get
+ Set(value As String)
+ Me.ctryField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class RegulatoryReporting3
+
+ Private dbtCdtRptgIndField As RegulatoryReportingType1Code
+
+ Private dbtCdtRptgIndFieldSpecified As Boolean
+
+ Private authrtyField As RegulatoryAuthority2
+
+ Private dtlsField() As StructuredRegulatoryReporting3
+
+ '''
+ Public Property DbtCdtRptgInd() As RegulatoryReportingType1Code
+ Get
+ Return Me.dbtCdtRptgIndField
+ End Get
+ Set(value As RegulatoryReportingType1Code)
+ Me.dbtCdtRptgIndField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property DbtCdtRptgIndSpecified() As Boolean
+ Get
+ Return Me.dbtCdtRptgIndFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.dbtCdtRptgIndFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Authrty() As RegulatoryAuthority2
+ Get
+ Return Me.authrtyField
+ End Get
+ Set(value As RegulatoryAuthority2)
+ Me.authrtyField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Dtls() As StructuredRegulatoryReporting3()
+ Get
+ Return Me.dtlsField
+ End Get
+ Set(value As StructuredRegulatoryReporting3())
+ Me.dtlsField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum RegulatoryReportingType1Code
+
+ '''
+ CRED
+
+ '''
+ DEBT
+
+ '''
+ BOTH
+ End Enum
+
+ '''
+ _
+ Partial Public Class Purpose2Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType8
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType8
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType8)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType8
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class InstructionForCreditorAgent1
+
+ Private cdField As Instruction3Code
+
+ Private cdFieldSpecified As Boolean
+
+ Private instrInfField As String
+
+ '''
+ Public Property Cd() As Instruction3Code
+ Get
+ Return Me.cdField
+ End Get
+ Set(value As Instruction3Code)
+ Me.cdField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CdSpecified() As Boolean
+ Get
+ Return Me.cdFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.cdFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property InstrInf() As String
+ Get
+ Return Me.instrInfField
+ End Get
+ Set(value As String)
+ Me.instrInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum Instruction3Code
+
+ '''
+ CHQB
+
+ '''
+ HOLD
+
+ '''
+ PHOB
+
+ '''
+ TELB
+ End Enum
+
+ '''
+ _
+ Partial Public Class ChequeDeliveryMethod1Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ChequeDelivery1Code
+
+ '''
+ MLDB
+
+ '''
+ MLCD
+
+ '''
+ MLFA
+
+ '''
+ CRDB
+
+ '''
+ CRCD
+
+ '''
+ CRFA
+
+ '''
+ PUDB
+
+ '''
+ PUCD
+
+ '''
+ PUFA
+
+ '''
+ RGDB
+
+ '''
+ RGCD
+
+ '''
+ RGFA
+ End Enum
+
+ '''
+ _
+ Partial Public Class Cheque6
+
+ Private chqTpField As ChequeType2Code
+
+ Private chqTpFieldSpecified As Boolean
+
+ Private chqNbField As String
+
+ Private chqFrField As NameAndAddress10
+
+ Private dlvryMtdField As ChequeDeliveryMethod1Choice
+
+ Private dlvrToField As NameAndAddress10
+
+ Private instrPrtyField As Priority2Code
+
+ Private instrPrtyFieldSpecified As Boolean
+
+ Private chqMtrtyDtField As Date
+
+ Private chqMtrtyDtFieldSpecified As Boolean
+
+ Private frmsCdField As String
+
+ Private memoFldField() As String
+
+ Private rgnlClrZoneField As String
+
+ Private prtLctnField As String
+
+ '''
+ Public Property ChqTp() As ChequeType2Code
+ Get
+ Return Me.chqTpField
+ End Get
+ Set(value As ChequeType2Code)
+ Me.chqTpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ChqTpSpecified() As Boolean
+ Get
+ Return Me.chqTpFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.chqTpFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChqNb() As String
+ Get
+ Return Me.chqNbField
+ End Get
+ Set(value As String)
+ Me.chqNbField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChqFr() As NameAndAddress10
+ Get
+ Return Me.chqFrField
+ End Get
+ Set(value As NameAndAddress10)
+ Me.chqFrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DlvryMtd() As ChequeDeliveryMethod1Choice
+ Get
+ Return Me.dlvryMtdField
+ End Get
+ Set(value As ChequeDeliveryMethod1Choice)
+ Me.dlvryMtdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DlvrTo() As NameAndAddress10
+ Get
+ Return Me.dlvrToField
+ End Get
+ Set(value As NameAndAddress10)
+ Me.dlvrToField = value
+ End Set
+ End Property
+
+ '''
+ Public Property InstrPrty() As Priority2Code
+ Get
+ Return Me.instrPrtyField
+ End Get
+ Set(value As Priority2Code)
+ Me.instrPrtyField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property InstrPrtySpecified() As Boolean
+ Get
+ Return Me.instrPrtyFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.instrPrtyFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ChqMtrtyDt() As Date
+ Get
+ Return Me.chqMtrtyDtField
+ End Get
+ Set(value As Date)
+ Me.chqMtrtyDtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ChqMtrtyDtSpecified() As Boolean
+ Get
+ Return Me.chqMtrtyDtFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.chqMtrtyDtFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property FrmsCd() As String
+ Get
+ Return Me.frmsCdField
+ End Get
+ Set(value As String)
+ Me.frmsCdField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property MemoFld() As String()
+ Get
+ Return Me.memoFldField
+ End Get
+ Set(value As String())
+ Me.memoFldField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RgnlClrZone() As String
+ Get
+ Return Me.rgnlClrZoneField
+ End Get
+ Set(value As String)
+ Me.rgnlClrZoneField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PrtLctn() As String
+ Get
+ Return Me.prtLctnField
+ End Get
+ Set(value As String)
+ Me.prtLctnField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ChequeType2Code
+
+ '''
+ CCHQ
+
+ '''
+ CCCH
+
+ '''
+ BCHQ
+
+ '''
+ DRFT
+
+ '''
+ ELDR
+ End Enum
+
+ '''
+ _
+ Public Enum Priority2Code
+
+ '''
+ HIGH
+
+ '''
+ NORM
+ End Enum
+
+ '''
+ _
+ Partial Public Class ExchangeRateInformation1
+
+ Private xchgRateField As Decimal
+
+ Private xchgRateFieldSpecified As Boolean
+
+ Private rateTpField As ExchangeRateType1Code
+
+ Private rateTpFieldSpecified As Boolean
+
+ Private ctrctIdField As String
+
+ '''
+ Public Property XchgRate() As Decimal
+ Get
+ Return Me.xchgRateField
+ End Get
+ Set(value As Decimal)
+ Me.xchgRateField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property XchgRateSpecified() As Boolean
+ Get
+ Return Me.xchgRateFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.xchgRateFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property RateTp() As ExchangeRateType1Code
+ Get
+ Return Me.rateTpField
+ End Get
+ Set(value As ExchangeRateType1Code)
+ Me.rateTpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RateTpSpecified() As Boolean
+ Get
+ Return Me.rateTpFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.rateTpFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtrctId() As String
+ Get
+ Return Me.ctrctIdField
+ End Get
+ Set(value As String)
+ Me.ctrctIdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ExchangeRateType1Code
+
+ '''
+ SPOT
+
+ '''
+ SALE
+
+ '''
+ AGRD
+ End Enum
+
+ '''
+ _
+ Partial Public Class EquivalentAmount2
+
+ Private amtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private ccyOfTrfField As String
+
+ '''
+ Public Property Amt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.amtField
+ End Get
+ Set(value As ActiveOrHistoricCurrencyAndAmount)
+ Me.amtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CcyOfTrf() As String
+ Get
+ Return Me.ccyOfTrfField
+ End Get
+ Set(value As String)
+ Me.ccyOfTrfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class AmountType3Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class PaymentIdentification1
+
+ Private instrIdField As String
+
+ Private endToEndIdField As String
+
+ '''
+ Public Property InstrId() As String
+ Get
+ Return Me.instrIdField
+ End Get
+ Set(value As String)
+ Me.instrIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property EndToEndId() As String
+ Get
+ Return Me.endToEndIdField
+ End Get
+ Set(value As String)
+ Me.endToEndIdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class CreditTransferTransactionInformation10
+
+ Private pmtIdField As PaymentIdentification1
+
+ Private pmtTpInfField As PaymentTypeInformation19
+
+ Private amtField As AmountType3Choice
+
+ Private xchgRateInfField As ExchangeRateInformation1
+
+ Private chrgBrField As ChargeBearerType1Code
+
+ Private chrgBrFieldSpecified As Boolean
+
+ Private chqInstrField As Cheque6
+
+ Private ultmtDbtrField As PartyIdentification32
+
+ Private intrmyAgt1Field As BranchAndFinancialInstitutionIdentification4
+
+ Private intrmyAgt1AcctField As CashAccount16
+
+ Private intrmyAgt2Field As BranchAndFinancialInstitutionIdentification4
+
+ Private intrmyAgt2AcctField As CashAccount16
+
+ Private intrmyAgt3Field As BranchAndFinancialInstitutionIdentification4
+
+ Private intrmyAgt3AcctField As CashAccount16
+
+ Private cdtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private cdtrAgtAcctField As CashAccount16
+
+ Private cdtrField As PartyIdentification32
+
+ Private cdtrAcctField As CashAccount16
+
+ Private ultmtCdtrField As PartyIdentification32
+
+ Private instrForCdtrAgtField() As InstructionForCreditorAgent1
+
+ Private instrForDbtrAgtField As String
+
+ Private purpField As Purpose2Choice
+
+ Private rgltryRptgField() As RegulatoryReporting3
+
+ Private taxField As TaxInformation3
+
+ Private rltdRmtInfField() As RemittanceLocation2
+
+ Private rmtInfField As RemittanceInformation5
+
+ '''
+ Public Property PmtId() As PaymentIdentification1
+ Get
+ Return Me.pmtIdField
+ End Get
+ Set(value As PaymentIdentification1)
+ Me.pmtIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PmtTpInf() As PaymentTypeInformation19
+ Get
+ Return Me.pmtTpInfField
+ End Get
+ Set(value As PaymentTypeInformation19)
+ Me.pmtTpInfField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Amt() As AmountType3Choice
+ Get
+ Return Me.amtField
+ End Get
+ Set(value As AmountType3Choice)
+ Me.amtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property XchgRateInf() As ExchangeRateInformation1
+ Get
+ Return Me.xchgRateInfField
+ End Get
+ Set(value As ExchangeRateInformation1)
+ Me.xchgRateInfField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChrgBr() As ChargeBearerType1Code
+ Get
+ Return Me.chrgBrField
+ End Get
+ Set(value As ChargeBearerType1Code)
+ Me.chrgBrField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ChrgBrSpecified() As Boolean
+ Get
+ Return Me.chrgBrFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.chrgBrFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChqInstr() As Cheque6
+ Get
+ Return Me.chqInstrField
+ End Get
+ Set(value As Cheque6)
+ Me.chqInstrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property UltmtDbtr() As PartyIdentification32
+ Get
+ Return Me.ultmtDbtrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.ultmtDbtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt1() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.intrmyAgt1Field
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.intrmyAgt1Field = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt1Acct() As CashAccount16
+ Get
+ Return Me.intrmyAgt1AcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.intrmyAgt1AcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt2() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.intrmyAgt2Field
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.intrmyAgt2Field = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt2Acct() As CashAccount16
+ Get
+ Return Me.intrmyAgt2AcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.intrmyAgt2AcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt3() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.intrmyAgt3Field
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.intrmyAgt3Field = value
+ End Set
+ End Property
+
+ '''
+ Public Property IntrmyAgt3Acct() As CashAccount16
+ Get
+ Return Me.intrmyAgt3AcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.intrmyAgt3AcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.cdtrAgtField
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.cdtrAgtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrAgtAcct() As CashAccount16
+ Get
+ Return Me.cdtrAgtAcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.cdtrAgtAcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Cdtr() As PartyIdentification32
+ Get
+ Return Me.cdtrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.cdtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrAcct() As CashAccount16
+ Get
+ Return Me.cdtrAcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.cdtrAcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property UltmtCdtr() As PartyIdentification32
+ Get
+ Return Me.ultmtCdtrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.ultmtCdtrField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property InstrForCdtrAgt() As InstructionForCreditorAgent1()
+ Get
+ Return Me.instrForCdtrAgtField
+ End Get
+ Set(value As InstructionForCreditorAgent1())
+ Me.instrForCdtrAgtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property InstrForDbtrAgt() As String
+ Get
+ Return Me.instrForDbtrAgtField
+ End Get
+ Set(value As String)
+ Me.instrForDbtrAgtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Purp() As Purpose2Choice
+ Get
+ Return Me.purpField
+ End Get
+ Set(value As Purpose2Choice)
+ Me.purpField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RgltryRptg() As RegulatoryReporting3()
+ Get
+ Return Me.rgltryRptgField
+ End Get
+ Set(value As RegulatoryReporting3())
+ Me.rgltryRptgField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Tax() As TaxInformation3
+ Get
+ Return Me.taxField
+ End Get
+ Set(value As TaxInformation3)
+ Me.taxField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property RltdRmtInf() As RemittanceLocation2()
+ Get
+ Return Me.rltdRmtInfField
+ End Get
+ Set(value As RemittanceLocation2())
+ Me.rltdRmtInfField = value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtInf() As RemittanceInformation5
+ Get
+ Return Me.rmtInfField
+ End Get
+ Set(value As RemittanceInformation5)
+ Me.rmtInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class PaymentTypeInformation19
+
+ Private instrPrtyField As Priority2Code
+
+ Private instrPrtyFieldSpecified As Boolean
+
+ Private svcLvlField As ServiceLevel8Choice
+
+ Private lclInstrmField As LocalInstrument2Choice
+
+ Private ctgyPurpField As CategoryPurpose1Choice
+
+ '''
+ Public Property InstrPrty() As Priority2Code
+ Get
+ Return Me.instrPrtyField
+ End Get
+ Set(value As Priority2Code)
+ Me.instrPrtyField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property InstrPrtySpecified() As Boolean
+ Get
+ Return Me.instrPrtyFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.instrPrtyFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property SvcLvl() As ServiceLevel8Choice
+ Get
+ Return Me.svcLvlField
+ End Get
+ Set(value As ServiceLevel8Choice)
+ Me.svcLvlField = value
+ End Set
+ End Property
+
+ '''
+ Public Property LclInstrm() As LocalInstrument2Choice
+ Get
+ Return Me.lclInstrmField
+ End Get
+ Set(value As LocalInstrument2Choice)
+ Me.lclInstrmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtgyPurp() As CategoryPurpose1Choice
+ Get
+ Return Me.ctgyPurpField
+ End Get
+ Set(value As CategoryPurpose1Choice)
+ Me.ctgyPurpField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ServiceLevel8Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType4
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType4
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType4)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType4
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class LocalInstrument2Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType5
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType5
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType5)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType5
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class CategoryPurpose1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType6
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType6
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType6)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType6
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Public Enum ChargeBearerType1Code
+
+ '''
+ DEBT
+
+ '''
+ CRED
+
+ '''
+ SHAR
+
+ '''
+ SLEV
+ End Enum
+
+ '''
+ _
+ Partial Public Class BranchAndFinancialInstitutionIdentification4
+
+ Private finInstnIdField As FinancialInstitutionIdentification7
+
+ Private brnchIdField As BranchData2
+
+ '''
+ Public Property FinInstnId() As FinancialInstitutionIdentification7
+ Get
+ Return Me.finInstnIdField
+ End Get
+ Set(value As FinancialInstitutionIdentification7)
+ Me.finInstnIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property BrnchId() As BranchData2
+ Get
+ Return Me.brnchIdField
+ End Get
+ Set(value As BranchData2)
+ Me.brnchIdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class FinancialInstitutionIdentification7
+
+ Private bICField As String
+
+ Private clrSysMmbIdField As ClearingSystemMemberIdentification2
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ Private othrField As GenericFinancialIdentification1
+
+ '''
+ Public Property BIC() As String
+ Get
+ Return Me.bICField
+ End Get
+ Set(value As String)
+ Me.bICField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ClrSysMmbId() As ClearingSystemMemberIdentification2
+ Get
+ Return Me.clrSysMmbIdField
+ End Get
+ Set(value As ClearingSystemMemberIdentification2)
+ Me.clrSysMmbIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set(value As PostalAddress6)
+ Me.pstlAdrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Othr() As GenericFinancialIdentification1
+ Get
+ Return Me.othrField
+ End Get
+ Set(value As GenericFinancialIdentification1)
+ Me.othrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ClearingSystemMemberIdentification2
+
+ Private clrSysIdField As ClearingSystemIdentification2Choice
+
+ Private mmbIdField As String
+
+ '''
+ Public Property ClrSysId() As ClearingSystemIdentification2Choice
+ Get
+ Return Me.clrSysIdField
+ End Get
+ Set(value As ClearingSystemIdentification2Choice)
+ Me.clrSysIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property MmbId() As String
+ Get
+ Return Me.mmbIdField
+ End Get
+ Set(value As String)
+ Me.mmbIdField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class ClearingSystemIdentification2Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType2
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType2
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType2)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType2
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class GenericFinancialIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As FinancialIdentificationSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set(value As String)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As FinancialIdentificationSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set(value As FinancialIdentificationSchemeName1Choice)
+ Me.schmeNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class FinancialIdentificationSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType3
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType3
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType3)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType3
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class BranchData2
+
+ Private idField As String
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set(value As String)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set(value As PostalAddress6)
+ Me.pstlAdrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class CashAccount16
+
+ Private idField As AccountIdentification4Choice
+
+ Private tpField As CashAccountType2
+
+ Private ccyField As String
+
+ Private nmField As String
+
+ '''
+ Public Property Id() As AccountIdentification4Choice
+ Get
+ Return Me.idField
+ End Get
+ Set(value As AccountIdentification4Choice)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Tp() As CashAccountType2
+ Get
+ Return Me.tpField
+ End Get
+ Set(value As CashAccountType2)
+ Me.tpField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Ccy() As String
+ Get
+ Return Me.ccyField
+ End Get
+ Set(value As String)
+ Me.ccyField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set(value As String)
+ Me.nmField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class AccountIdentification4Choice
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class GenericAccountIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As AccountSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set(value As String)
+ Me.idField = value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As AccountSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set(value As AccountSchemeName1Choice)
+ Me.schmeNmField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set(value As String)
+ Me.issrField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class AccountSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType7
+
+ '''
+ _
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As String)
+ Me.itemField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ItemElementName() As ItemChoiceType7
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set(value As ItemChoiceType7)
+ Me.itemElementNameField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum ItemChoiceType7
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+ _
+ Partial Public Class CashAccountType2
+
+ Private itemField As Object
+
+ '''
+ _
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set(value As Object)
+ Me.itemField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum CashAccountType4Code
+
+ '''
+ CASH
+
+ '''
+ [CHAR]
+
+ '''
+ COMM
+
+ '''
+ TAXE
+
+ '''
+ CISH
+
+ '''
+ TRAS
+
+ '''
+ SACC
+
+ '''
+ CACC
+
+ '''
+ SVGS
+
+ '''
+ ONDP
+
+ '''
+ MGLD
+
+ '''
+ NREX
+
+ '''
+ MOMA
+
+ '''
+ LOAN
+
+ '''
+ SLRY
+
+ '''
+ ODFT
+ End Enum
+
+ '''
+ _
+ Partial Public Class PaymentInstructionInformation3
+
+ Private pmtInfIdField As String
+
+ Private pmtMtdField As PaymentMethod3Code
+
+ Private btchBookgField As Boolean
+
+ Private btchBookgFieldSpecified As Boolean
+
+ Private nbOfTxsField As String
+
+ Private ctrlSumField As Decimal
+
+ Private ctrlSumFieldSpecified As Boolean
+
+ Private pmtTpInfField As PaymentTypeInformation19
+
+ Private reqdExctnDtField As Date
+
+ Private poolgAdjstmntDtField As Date
+
+ Private poolgAdjstmntDtFieldSpecified As Boolean
+
+ Private dbtrField As PartyIdentification32
+
+ Private dbtrAcctField As CashAccount16
+
+ Private dbtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private dbtrAgtAcctField As CashAccount16
+
+ Private ultmtDbtrField As PartyIdentification32
+
+ Private chrgBrField As ChargeBearerType1Code
+
+ Private chrgBrFieldSpecified As Boolean
+
+ Private chrgsAcctField As CashAccount16
+
+ Private chrgsAcctAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private cdtTrfTxInfField() As CreditTransferTransactionInformation10
+
+ '''
+ Public Property PmtInfId() As String
+ Get
+ Return Me.pmtInfIdField
+ End Get
+ Set(value As String)
+ Me.pmtInfIdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property PmtMtd() As PaymentMethod3Code
+ Get
+ Return Me.pmtMtdField
+ End Get
+ Set(value As PaymentMethod3Code)
+ Me.pmtMtdField = value
+ End Set
+ End Property
+
+ '''
+ Public Property BtchBookg() As Boolean
+ Get
+ Return Me.btchBookgField
+ End Get
+ Set(value As Boolean)
+ Me.btchBookgField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property BtchBookgSpecified() As Boolean
+ Get
+ Return Me.btchBookgFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.btchBookgFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property NbOfTxs() As String
+ Get
+ Return Me.nbOfTxsField
+ End Get
+ Set(value As String)
+ Me.nbOfTxsField = value
+ End Set
+ End Property
+
+ '''
+ Public Property CtrlSum() As Decimal
+ Get
+ Return Me.ctrlSumField
+ End Get
+ Set(value As Decimal)
+ Me.ctrlSumField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CtrlSumSpecified() As Boolean
+ Get
+ Return Me.ctrlSumFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.ctrlSumFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property PmtTpInf() As PaymentTypeInformation19
+ Get
+ Return Me.pmtTpInfField
+ End Get
+ Set(value As PaymentTypeInformation19)
+ Me.pmtTpInfField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ReqdExctnDt() As Date
+ Get
+ Return Me.reqdExctnDtField
+ End Get
+ Set(value As Date)
+ Me.reqdExctnDtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property PoolgAdjstmntDt() As Date
+ Get
+ Return Me.poolgAdjstmntDtField
+ End Get
+ Set(value As Date)
+ Me.poolgAdjstmntDtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property PoolgAdjstmntDtSpecified() As Boolean
+ Get
+ Return Me.poolgAdjstmntDtFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.poolgAdjstmntDtFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property Dbtr() As PartyIdentification32
+ Get
+ Return Me.dbtrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.dbtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DbtrAcct() As CashAccount16
+ Get
+ Return Me.dbtrAcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.dbtrAcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DbtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.dbtrAgtField
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.dbtrAgtField = value
+ End Set
+ End Property
+
+ '''
+ Public Property DbtrAgtAcct() As CashAccount16
+ Get
+ Return Me.dbtrAgtAcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.dbtrAgtAcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property UltmtDbtr() As PartyIdentification32
+ Get
+ Return Me.ultmtDbtrField
+ End Get
+ Set(value As PartyIdentification32)
+ Me.ultmtDbtrField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChrgBr() As ChargeBearerType1Code
+ Get
+ Return Me.chrgBrField
+ End Get
+ Set(value As ChargeBearerType1Code)
+ Me.chrgBrField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property ChrgBrSpecified() As Boolean
+ Get
+ Return Me.chrgBrFieldSpecified
+ End Get
+ Set(value As Boolean)
+ Me.chrgBrFieldSpecified = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChrgsAcct() As CashAccount16
+ Get
+ Return Me.chrgsAcctField
+ End Get
+ Set(value As CashAccount16)
+ Me.chrgsAcctField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ChrgsAcctAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.chrgsAcctAgtField
+ End Get
+ Set(value As BranchAndFinancialInstitutionIdentification4)
+ Me.chrgsAcctAgtField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CdtTrfTxInf() As CreditTransferTransactionInformation10()
+ Get
+ Return Me.cdtTrfTxInfField
+ End Get
+ Set(value As CreditTransferTransactionInformation10())
+ Me.cdtTrfTxInfField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Public Enum PaymentMethod3Code
+
+ '''
+ CHK
+
+ '''
+ TRF
+
+ '''
+ TRA
+ End Enum
+End Namespace
\ No newline at end of file
diff --git a/Bancos/pain_002_001_03.vb b/Bancos/pain_002_001_03.vb
new file mode 100644
index 0000000..c65f7ae
--- /dev/null
+++ b/Bancos/pain_002_001_03.vb
@@ -0,0 +1,3979 @@
+'------------------------------------------------------------------------------
+'
+' Este código fue generado por una herramienta.
+' Versión de runtime:4.0.30319.42000
+'
+' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
+' se vuelve a generar el código.
+'
+'------------------------------------------------------------------------------
+
+Option Strict Off
+Option Explicit On
+
+Imports System.Xml.Serialization
+
+'
+'This source code was auto-generated by xsd, Version=4.6.81.0.
+'
+Namespace Devoluciones
+ '''
+
+ Partial Public Class Document
+
+ Private cstmrPmtStsRptField As CustomerPaymentStatusReportV03
+
+ '''
+ Public Property CstmrPmtStsRpt() As CustomerPaymentStatusReportV03
+ Get
+ Return Me.cstmrPmtStsRptField
+ End Get
+ Set
+ Me.cstmrPmtStsRptField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class CustomerPaymentStatusReportV03
+
+ Private grpHdrField As GroupHeader36
+
+ Private orgnlGrpInfAndStsField As OriginalGroupInformation20
+
+ Private orgnlPmtInfAndStsField() As OriginalPaymentInformation1
+
+ '''
+ Public Property GrpHdr() As GroupHeader36
+ Get
+ Return Me.grpHdrField
+ End Get
+ Set
+ Me.grpHdrField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlGrpInfAndSts() As OriginalGroupInformation20
+ Get
+ Return Me.orgnlGrpInfAndStsField
+ End Get
+ Set
+ Me.orgnlGrpInfAndStsField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property OrgnlPmtInfAndSts() As OriginalPaymentInformation1()
+ Get
+ Return Me.orgnlPmtInfAndStsField
+ End Get
+ Set
+ Me.orgnlPmtInfAndStsField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class GroupHeader36
+
+ Private msgIdField As String
+
+ Private creDtTmField As Date
+
+ Private initgPtyField As PartyIdentification32
+
+ Private fwdgAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private dbtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private cdtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ '''
+ Public Property MsgId() As String
+ Get
+ Return Me.msgIdField
+ End Get
+ Set
+ Me.msgIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CreDtTm() As Date
+ Get
+ Return Me.creDtTmField
+ End Get
+ Set
+ Me.creDtTmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property InitgPty() As PartyIdentification32
+ Get
+ Return Me.initgPtyField
+ End Get
+ Set
+ Me.initgPtyField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property FwdgAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.fwdgAgtField
+ End Get
+ Set
+ Me.fwdgAgtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property DbtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.dbtrAgtField
+ End Get
+ Set
+ Me.dbtrAgtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.cdtrAgtField
+ End Get
+ Set
+ Me.cdtrAgtField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class PartyIdentification32
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ Private idField As Party6Choice
+
+ Private ctryOfResField As String
+
+ Private ctctDtlsField As ContactDetails2
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set
+ Me.nmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set
+ Me.pstlAdrField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Id() As Party6Choice
+ Get
+ Return Me.idField
+ End Get
+ Set
+ Me.idField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CtryOfRes() As String
+ Get
+ Return Me.ctryOfResField
+ End Get
+ Set
+ Me.ctryOfResField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CtctDtls() As ContactDetails2
+ Get
+ Return Me.ctctDtlsField
+ End Get
+ Set
+ Me.ctctDtlsField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class PostalAddress6
+
+ Private adrTpField As AddressType2Code
+
+ Private adrTpFieldSpecified As Boolean
+
+ Private deptField As String
+
+ Private subDeptField As String
+
+ Private strtNmField As String
+
+ Private bldgNbField As String
+
+ Private pstCdField As String
+
+ Private twnNmField As String
+
+ Private ctrySubDvsnField As String
+
+ Private ctryField As String
+
+ Private adrLineField() As String
+
+ '''
+ Public Property AdrTp() As AddressType2Code
+ Get
+ Return Me.adrTpField
+ End Get
+ Set
+ Me.adrTpField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property AdrTpSpecified() As Boolean
+ Get
+ Return Me.adrTpFieldSpecified
+ End Get
+ Set
+ Me.adrTpFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Dept() As String
+ Get
+ Return Me.deptField
+ End Get
+ Set
+ Me.deptField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property SubDept() As String
+ Get
+ Return Me.subDeptField
+ End Get
+ Set
+ Me.subDeptField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property StrtNm() As String
+ Get
+ Return Me.strtNmField
+ End Get
+ Set
+ Me.strtNmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property BldgNb() As String
+ Get
+ Return Me.bldgNbField
+ End Get
+ Set
+ Me.bldgNbField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property PstCd() As String
+ Get
+ Return Me.pstCdField
+ End Get
+ Set
+ Me.pstCdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property TwnNm() As String
+ Get
+ Return Me.twnNmField
+ End Get
+ Set
+ Me.twnNmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CtrySubDvsn() As String
+ Get
+ Return Me.ctrySubDvsnField
+ End Get
+ Set
+ Me.ctrySubDvsnField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Ctry() As String
+ Get
+ Return Me.ctryField
+ End Get
+ Set
+ Me.ctryField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property AdrLine() As String()
+ Get
+ Return Me.adrLineField
+ End Get
+ Set
+ Me.adrLineField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum AddressType2Code
+
+ '''
+ ADDR
+
+ '''
+ PBOX
+
+ '''
+ HOME
+
+ '''
+ BIZZ
+
+ '''
+ MLTO
+
+ '''
+ DLVY
+ End Enum
+
+ '''
+
+ Partial Public Class CreditorReferenceType1Choice
+
+ Private itemField As Object
+
+ '''
+
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum DocumentType3Code
+
+ '''
+ RADM
+
+ '''
+ RPIN
+
+ '''
+ FXDR
+
+ '''
+ DISP
+
+ '''
+ PUOR
+
+ '''
+ SCOR
+ End Enum
+
+ '''
+
+ Partial Public Class CreditorReferenceType2
+
+ Private cdOrPrtryField As CreditorReferenceType1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property CdOrPrtry() As CreditorReferenceType1Choice
+ Get
+ Return Me.cdOrPrtryField
+ End Get
+ Set
+ Me.cdOrPrtryField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set
+ Me.issrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class CreditorReferenceInformation2
+
+ Private tpField As CreditorReferenceType2
+
+ Private refField As String
+
+ '''
+ Public Property Tp() As CreditorReferenceType2
+ Get
+ Return Me.tpField
+ End Get
+ Set
+ Me.tpField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Ref() As String
+ Get
+ Return Me.refField
+ End Get
+ Set
+ Me.refField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class DocumentAdjustment1
+
+ Private amtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private cdtDbtIndField As CreditDebitCode
+
+ Private cdtDbtIndFieldSpecified As Boolean
+
+ Private rsnField As String
+
+ Private addtlInfField As String
+
+ '''
+ Public Property Amt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.amtField
+ End Get
+ Set
+ Me.amtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtDbtInd() As CreditDebitCode
+ Get
+ Return Me.cdtDbtIndField
+ End Get
+ Set
+ Me.cdtDbtIndField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property CdtDbtIndSpecified() As Boolean
+ Get
+ Return Me.cdtDbtIndFieldSpecified
+ End Get
+ Set
+ Me.cdtDbtIndFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Rsn() As String
+ Get
+ Return Me.rsnField
+ End Get
+ Set
+ Me.rsnField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property AddtlInf() As String
+ Get
+ Return Me.addtlInfField
+ End Get
+ Set
+ Me.addtlInfField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class ActiveOrHistoricCurrencyAndAmount
+
+ Private ccyField As String
+
+ Private valueField As Decimal
+
+ '''
+
+ Public Property Ccy() As String
+ Get
+ Return Me.ccyField
+ End Get
+ Set
+ Me.ccyField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property Value() As Decimal
+ Get
+ Return Me.valueField
+ End Get
+ Set
+ Me.valueField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum CreditDebitCode
+
+ '''
+ CRDT
+
+ '''
+ DBIT
+ End Enum
+
+ '''
+
+ Partial Public Class RemittanceAmount1
+
+ Private duePyblAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private dscntApldAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private cdtNoteAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private taxAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ Private adjstmntAmtAndRsnField() As DocumentAdjustment1
+
+ Private rmtdAmtField As ActiveOrHistoricCurrencyAndAmount
+
+ '''
+ Public Property DuePyblAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.duePyblAmtField
+ End Get
+ Set
+ Me.duePyblAmtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property DscntApldAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.dscntApldAmtField
+ End Get
+ Set
+ Me.dscntApldAmtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtNoteAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.cdtNoteAmtField
+ End Get
+ Set
+ Me.cdtNoteAmtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property TaxAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.taxAmtField
+ End Get
+ Set
+ Me.taxAmtField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property AdjstmntAmtAndRsn() As DocumentAdjustment1()
+ Get
+ Return Me.adjstmntAmtAndRsnField
+ End Get
+ Set
+ Me.adjstmntAmtAndRsnField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property RmtdAmt() As ActiveOrHistoricCurrencyAndAmount
+ Get
+ Return Me.rmtdAmtField
+ End Get
+ Set
+ Me.rmtdAmtField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class ReferredDocumentType1Choice
+
+ Private itemField As Object
+
+ '''
+
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum DocumentType5Code
+
+ '''
+ MSIN
+
+ '''
+ CNFA
+
+ '''
+ DNFA
+
+ '''
+ CINV
+
+ '''
+ CREN
+
+ '''
+ DEBN
+
+ '''
+ HIRI
+
+ '''
+ SBIN
+
+ '''
+ CMCN
+
+ '''
+ SOAC
+
+ '''
+ DISP
+
+ '''
+ BOLD
+
+ '''
+ VCHR
+
+ '''
+ AROI
+
+ '''
+ TSUT
+ End Enum
+
+ '''
+
+ Partial Public Class ReferredDocumentType2
+
+ Private cdOrPrtryField As ReferredDocumentType1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property CdOrPrtry() As ReferredDocumentType1Choice
+ Get
+ Return Me.cdOrPrtryField
+ End Get
+ Set
+ Me.cdOrPrtryField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set
+ Me.issrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class ReferredDocumentInformation3
+
+ Private tpField As ReferredDocumentType2
+
+ Private nbField As String
+
+ Private rltdDtField As Date
+
+ Private rltdDtFieldSpecified As Boolean
+
+ '''
+ Public Property Tp() As ReferredDocumentType2
+ Get
+ Return Me.tpField
+ End Get
+ Set
+ Me.tpField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Nb() As String
+ Get
+ Return Me.nbField
+ End Get
+ Set
+ Me.nbField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property RltdDt() As Date
+ Get
+ Return Me.rltdDtField
+ End Get
+ Set
+ Me.rltdDtField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property RltdDtSpecified() As Boolean
+ Get
+ Return Me.rltdDtFieldSpecified
+ End Get
+ Set
+ Me.rltdDtFieldSpecified = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class StructuredRemittanceInformation7
+
+ Private rfrdDocInfField() As ReferredDocumentInformation3
+
+ Private rfrdDocAmtField As RemittanceAmount1
+
+ Private cdtrRefInfField As CreditorReferenceInformation2
+
+ Private invcrField As PartyIdentification32
+
+ Private invceeField As PartyIdentification32
+
+ Private addtlRmtInfField() As String
+
+ '''
+
+ Public Property RfrdDocInf() As ReferredDocumentInformation3()
+ Get
+ Return Me.rfrdDocInfField
+ End Get
+ Set
+ Me.rfrdDocInfField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property RfrdDocAmt() As RemittanceAmount1
+ Get
+ Return Me.rfrdDocAmtField
+ End Get
+ Set
+ Me.rfrdDocAmtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property CdtrRefInf() As CreditorReferenceInformation2
+ Get
+ Return Me.cdtrRefInfField
+ End Get
+ Set
+ Me.cdtrRefInfField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Invcr() As PartyIdentification32
+ Get
+ Return Me.invcrField
+ End Get
+ Set
+ Me.invcrField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Invcee() As PartyIdentification32
+ Get
+ Return Me.invceeField
+ End Get
+ Set
+ Me.invceeField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property AddtlRmtInf() As String()
+ Get
+ Return Me.addtlRmtInfField
+ End Get
+ Set
+ Me.addtlRmtInfField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class RemittanceInformation5
+
+ Private ustrdField() As String
+
+ Private strdField() As StructuredRemittanceInformation7
+
+ '''
+
+ Public Property Ustrd() As String()
+ Get
+ Return Me.ustrdField
+ End Get
+ Set
+ Me.ustrdField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property Strd() As StructuredRemittanceInformation7()
+ Get
+ Return Me.strdField
+ End Get
+ Set
+ Me.strdField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class AmendmentInformationDetails6
+
+ Private orgnlMndtIdField As String
+
+ Private orgnlCdtrSchmeIdField As PartyIdentification32
+
+ Private orgnlCdtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private orgnlCdtrAgtAcctField As CashAccount16
+
+ Private orgnlDbtrField As PartyIdentification32
+
+ Private orgnlDbtrAcctField As CashAccount16
+
+ Private orgnlDbtrAgtField As BranchAndFinancialInstitutionIdentification4
+
+ Private orgnlDbtrAgtAcctField As CashAccount16
+
+ Private orgnlFnlColltnDtField As Date
+
+ Private orgnlFnlColltnDtFieldSpecified As Boolean
+
+ Private orgnlFrqcyField As Frequency1Code
+
+ Private orgnlFrqcyFieldSpecified As Boolean
+
+ '''
+ Public Property OrgnlMndtId() As String
+ Get
+ Return Me.orgnlMndtIdField
+ End Get
+ Set
+ Me.orgnlMndtIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlCdtrSchmeId() As PartyIdentification32
+ Get
+ Return Me.orgnlCdtrSchmeIdField
+ End Get
+ Set
+ Me.orgnlCdtrSchmeIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlCdtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.orgnlCdtrAgtField
+ End Get
+ Set
+ Me.orgnlCdtrAgtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlCdtrAgtAcct() As CashAccount16
+ Get
+ Return Me.orgnlCdtrAgtAcctField
+ End Get
+ Set
+ Me.orgnlCdtrAgtAcctField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlDbtr() As PartyIdentification32
+ Get
+ Return Me.orgnlDbtrField
+ End Get
+ Set
+ Me.orgnlDbtrField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlDbtrAcct() As CashAccount16
+ Get
+ Return Me.orgnlDbtrAcctField
+ End Get
+ Set
+ Me.orgnlDbtrAcctField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlDbtrAgt() As BranchAndFinancialInstitutionIdentification4
+ Get
+ Return Me.orgnlDbtrAgtField
+ End Get
+ Set
+ Me.orgnlDbtrAgtField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlDbtrAgtAcct() As CashAccount16
+ Get
+ Return Me.orgnlDbtrAgtAcctField
+ End Get
+ Set
+ Me.orgnlDbtrAgtAcctField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property OrgnlFnlColltnDt() As Date
+ Get
+ Return Me.orgnlFnlColltnDtField
+ End Get
+ Set
+ Me.orgnlFnlColltnDtField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property OrgnlFnlColltnDtSpecified() As Boolean
+ Get
+ Return Me.orgnlFnlColltnDtFieldSpecified
+ End Get
+ Set
+ Me.orgnlFnlColltnDtFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property OrgnlFrqcy() As Frequency1Code
+ Get
+ Return Me.orgnlFrqcyField
+ End Get
+ Set
+ Me.orgnlFrqcyField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property OrgnlFrqcySpecified() As Boolean
+ Get
+ Return Me.orgnlFrqcyFieldSpecified
+ End Get
+ Set
+ Me.orgnlFrqcyFieldSpecified = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class BranchAndFinancialInstitutionIdentification4
+
+ Private finInstnIdField As FinancialInstitutionIdentification7
+
+ Private brnchIdField As BranchData2
+
+ '''
+ Public Property FinInstnId() As FinancialInstitutionIdentification7
+ Get
+ Return Me.finInstnIdField
+ End Get
+ Set
+ Me.finInstnIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property BrnchId() As BranchData2
+ Get
+ Return Me.brnchIdField
+ End Get
+ Set
+ Me.brnchIdField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class FinancialInstitutionIdentification7
+
+ Private bICField As String
+
+ Private clrSysMmbIdField As ClearingSystemMemberIdentification2
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ Private othrField As GenericFinancialIdentification1
+
+ '''
+ Public Property BIC() As String
+ Get
+ Return Me.bICField
+ End Get
+ Set
+ Me.bICField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property ClrSysMmbId() As ClearingSystemMemberIdentification2
+ Get
+ Return Me.clrSysMmbIdField
+ End Get
+ Set
+ Me.clrSysMmbIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set
+ Me.nmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set
+ Me.pstlAdrField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Othr() As GenericFinancialIdentification1
+ Get
+ Return Me.othrField
+ End Get
+ Set
+ Me.othrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class ClearingSystemMemberIdentification2
+
+ Private clrSysIdField As ClearingSystemIdentification2Choice
+
+ Private mmbIdField As String
+
+ '''
+ Public Property ClrSysId() As ClearingSystemIdentification2Choice
+ Get
+ Return Me.clrSysIdField
+ End Get
+ Set
+ Me.clrSysIdField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property MmbId() As String
+ Get
+ Return Me.mmbIdField
+ End Get
+ Set
+ Me.mmbIdField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class ClearingSystemIdentification2Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType2
+
+ '''
+
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property ItemElementName() As ItemChoiceType2
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set
+ Me.itemElementNameField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum ItemChoiceType2
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+
+ Partial Public Class GenericFinancialIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As FinancialIdentificationSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set
+ Me.idField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As FinancialIdentificationSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set
+ Me.schmeNmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set
+ Me.issrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class FinancialIdentificationSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType3
+
+ '''
+
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property ItemElementName() As ItemChoiceType3
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set
+ Me.itemElementNameField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum ItemChoiceType3
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+
+ Partial Public Class BranchData2
+
+ Private idField As String
+
+ Private nmField As String
+
+ Private pstlAdrField As PostalAddress6
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set
+ Me.idField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set
+ Me.nmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property PstlAdr() As PostalAddress6
+ Get
+ Return Me.pstlAdrField
+ End Get
+ Set
+ Me.pstlAdrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class CashAccount16
+
+ Private idField As AccountIdentification4Choice
+
+ Private tpField As CashAccountType2
+
+ Private ccyField As String
+
+ Private nmField As String
+
+ '''
+ Public Property Id() As AccountIdentification4Choice
+ Get
+ Return Me.idField
+ End Get
+ Set
+ Me.idField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Tp() As CashAccountType2
+ Get
+ Return Me.tpField
+ End Get
+ Set
+ Me.tpField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Ccy() As String
+ Get
+ Return Me.ccyField
+ End Get
+ Set
+ Me.ccyField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Nm() As String
+ Get
+ Return Me.nmField
+ End Get
+ Set
+ Me.nmField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class AccountIdentification4Choice
+
+ Private itemField As Object
+
+ '''
+
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class GenericAccountIdentification1
+
+ Private idField As String
+
+ Private schmeNmField As AccountSchemeName1Choice
+
+ Private issrField As String
+
+ '''
+ Public Property Id() As String
+ Get
+ Return Me.idField
+ End Get
+ Set
+ Me.idField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property SchmeNm() As AccountSchemeName1Choice
+ Get
+ Return Me.schmeNmField
+ End Get
+ Set
+ Me.schmeNmField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Issr() As String
+ Get
+ Return Me.issrField
+ End Get
+ Set
+ Me.issrField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class AccountSchemeName1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType5
+
+ '''
+
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property ItemElementName() As ItemChoiceType5
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set
+ Me.itemElementNameField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum ItemChoiceType5
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+
+ Partial Public Class CashAccountType2
+
+ Private itemField As Object
+
+ '''
+
+ Public Property Item() As Object
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum CashAccountType4Code
+
+ '''
+ CASH
+
+ '''
+ [CHAR]
+
+ '''
+ COMM
+
+ '''
+ TAXE
+
+ '''
+ CISH
+
+ '''
+ TRAS
+
+ '''
+ SACC
+
+ '''
+ CACC
+
+ '''
+ SVGS
+
+ '''
+ ONDP
+
+ '''
+ MGLD
+
+ '''
+ NREX
+
+ '''
+ MOMA
+
+ '''
+ LOAN
+
+ '''
+ SLRY
+
+ '''
+ ODFT
+ End Enum
+
+ '''
+
+ Public Enum Frequency1Code
+
+ '''
+ YEAR
+
+ '''
+ MNTH
+
+ '''
+ QURT
+
+ '''
+ MIAN
+
+ '''
+ WEEK
+
+ '''
+ DAIL
+
+ '''
+ ADHO
+
+ '''
+ INDA
+ End Enum
+
+ '''
+
+ Partial Public Class MandateRelatedInformation6
+
+ Private mndtIdField As String
+
+ Private dtOfSgntrField As Date
+
+ Private dtOfSgntrFieldSpecified As Boolean
+
+ Private amdmntIndField As Boolean
+
+ Private amdmntIndFieldSpecified As Boolean
+
+ Private amdmntInfDtlsField As AmendmentInformationDetails6
+
+ Private elctrncSgntrField As String
+
+ Private frstColltnDtField As Date
+
+ Private frstColltnDtFieldSpecified As Boolean
+
+ Private fnlColltnDtField As Date
+
+ Private fnlColltnDtFieldSpecified As Boolean
+
+ Private frqcyField As Frequency1Code
+
+ Private frqcyFieldSpecified As Boolean
+
+ '''
+ Public Property MndtId() As String
+ Get
+ Return Me.mndtIdField
+ End Get
+ Set
+ Me.mndtIdField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property DtOfSgntr() As Date
+ Get
+ Return Me.dtOfSgntrField
+ End Get
+ Set
+ Me.dtOfSgntrField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property DtOfSgntrSpecified() As Boolean
+ Get
+ Return Me.dtOfSgntrFieldSpecified
+ End Get
+ Set
+ Me.dtOfSgntrFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property AmdmntInd() As Boolean
+ Get
+ Return Me.amdmntIndField
+ End Get
+ Set
+ Me.amdmntIndField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property AmdmntIndSpecified() As Boolean
+ Get
+ Return Me.amdmntIndFieldSpecified
+ End Get
+ Set
+ Me.amdmntIndFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property AmdmntInfDtls() As AmendmentInformationDetails6
+ Get
+ Return Me.amdmntInfDtlsField
+ End Get
+ Set
+ Me.amdmntInfDtlsField = Value
+ End Set
+ End Property
+
+ '''
+ Public Property ElctrncSgntr() As String
+ Get
+ Return Me.elctrncSgntrField
+ End Get
+ Set
+ Me.elctrncSgntrField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property FrstColltnDt() As Date
+ Get
+ Return Me.frstColltnDtField
+ End Get
+ Set
+ Me.frstColltnDtField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property FrstColltnDtSpecified() As Boolean
+ Get
+ Return Me.frstColltnDtFieldSpecified
+ End Get
+ Set
+ Me.frstColltnDtFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property FnlColltnDt() As Date
+ Get
+ Return Me.fnlColltnDtField
+ End Get
+ Set
+ Me.fnlColltnDtField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property FnlColltnDtSpecified() As Boolean
+ Get
+ Return Me.fnlColltnDtFieldSpecified
+ End Get
+ Set
+ Me.fnlColltnDtFieldSpecified = Value
+ End Set
+ End Property
+
+ '''
+ Public Property Frqcy() As Frequency1Code
+ Get
+ Return Me.frqcyField
+ End Get
+ Set
+ Me.frqcyField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property FrqcySpecified() As Boolean
+ Get
+ Return Me.frqcyFieldSpecified
+ End Get
+ Set
+ Me.frqcyFieldSpecified = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Partial Public Class CategoryPurpose1Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType9
+
+ '''
+
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property ItemElementName() As ItemChoiceType9
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set
+ Me.itemElementNameField = Value
+ End Set
+ End Property
+ End Class
+
+ '''
+
+ Public Enum ItemChoiceType9
+
+ '''
+ Cd
+
+ '''
+ Prtry
+ End Enum
+
+ '''
+
+ Partial Public Class LocalInstrument2Choice
+
+ Private itemField As String
+
+ Private itemElementNameField As ItemChoiceType8
+
+ '''
+
+ Public Property Item() As String
+ Get
+ Return Me.itemField
+ End Get
+ Set
+ Me.itemField = Value
+ End Set
+ End Property
+
+ '''
+
+ Public Property ItemElementName() As ItemChoiceType8
+ Get
+ Return Me.itemElementNameField
+ End Get
+ Set
+ Me.itemElementNameField = Value
+ End Set
+ End Property
+ End Class
+
+ '''