Você está na página 1de 6

Documentacion de swift

El mensaje Swift consiste en 4 o 5 partes basicamente:


Basic Header Block o Bloque cabecera basico
Esta es la parte 1 la cual tiene como subpartes:
a) Block ID:
Este siempre sera igual a 1 ya que es el primer bloque.
Ejemplo: {1: }
b) Aplication ID:
F = FIN (Financial application (aplicacion finanicier))
A = GPA (General purpose application (aplicacion
para propositos generales)
L = GPA (General purpose application (Para logins, y
asi sucesivamente)
Ejemplo: {1:F}
c) Service ID:
01 = FIN/GPA
21 = ACK/NAK (Acknowledge (acuse de recibo) /Not
acknowledge (acuse de recibo negativo))
Ejemplo: {1:F01}
d) Logical terminal (LT) (Entidad por lo cual un usuario recibe
y manda un FIN message)
Ejemplo:
e) 2222 = Session number. It is generated by the user's
computer and is padded with zeros.

f) 123456 = Sequence number that is generated by the user's


computer. It is padded with zeros.

{2: Application Header Block}


Esta es la parte 2 la cual tiene como subpartes:
a) Block ID:
Este siempre sera igual a 1 ya que es el primer bloque.
Ejemplo: {2: }
b) I||O -> Informs you that youre in Input mode (i.e. the
Sender), O would indicate Output mode so you would be
the recipient of the message
c) Message type
Ejemplo:{3:I103}
d) Receiver's address with X in position 9/ It is padded
with Xs if no branch is required.
Ejemplo: {3:I103BANKDEFFXXXX }
e) U = the message priority as follows:
S = System
N = Normal
U = Urgent
Ejemplo: {3:I103BANKDEFFXXXXU }
f) 3 = Delivery monitoring field is as follows:
1 = Non delivery warning (MT010)
2 = Delivery notification (MT011)
3 = Both valid = U1 or U3, N2 or N

g) 003 = Obsolescence period. It specifies when a non-


delivery notification is generated as follows:
Valid for U = 003 (15 minutes)
Valid for N = 020 (100 minutes)
h)

{3: User Header Block}


a) 3: = Block ID (always 3)
b) 113:xxxx = Optional banking priority code
c) This is the Message User Reference (MUR) used by
applications for reconciliation with ACK.
Ejemplos: {3: {113:xxxx} {108:abcdefgh12345678}
}

{4: Text Block or body}


a) {4: \r\n (CRLF --> CR (retorno de carro) y LF (salto de
lnea)
b) Campo 20 Sender reference
00028
c) Campo 23B Bank Operation Code
Ejemplo: CRED||..
d) Campo 32A : Value Date, Currency Code, Amt
Fecha: YYMMDD
Divisa: USD|| DOP||EUR
MONTO: 0000,00 (es con coma)
Ejemplo: 32A:000612USD5443,99
e) Campo 50k: Account, name, address format
Cuenta del usuario
Nombre del usuario
Direccion??
i. Ejemplo: 50K: 133122111 //Primera la linea
i. Puesto del Bolsa //Segun
f) Campo 54 Receiver's Correspondent (Bank)
BIC {codigo)
g) Campo 59 cliente beneficiario:
Account (Cuenta en BCRD entidad receptora)
Nombre de la entidad receptora
Cedula /RNC/Pasaporte
Address 2
Address 3
Country
Ejemplo:
i.
h) Campo 71A :Details of Charges
BEN, means you do not pay any charge
SHA (shared) means you only pay your bank's outgoing transfer charge
OUR means you pay all transfer charges
i) Campo 72 sender to receiver info (detalles adicionales
para quien recibe el mensake)
ACC Instructions following are for the account with
institution.
INS The institution which instructed the Sender to
execute the transaction.
INT Instructions following are for the intermediary
institution.
REC Instructions following are for the Receiver of
the message.
Nota: Codes must be placed between slashes and at the beginning of a
line. Additional explanatory information, which may be continued in the
next lines, is preceded by a double slash '//'.

Ejemplo:
i. /REC/**TP//<Mas detalles>

**TP = Transferencia Puesto de Bolsa


{5: Trailer Block}

Você também pode gostar