TN 265 (04-24)

GN 02402.307 Coding Spanish Bank Data for the Master Beneficiary Record (MBR)

A. Background for coding Spanish bank data

This section describes how to code bank data for international direct deposit (IDD) of Title II benefits to a financial institution (FI) in Spain. We store IDD bank data on the MBR in the same fields used for U.S. direct deposit.

Special coding identifies the bank data as a Spanish direct deposit. This allows us to route benefit payments through the Federal Reserve Bank of Kansas City (FRBKC) and the processor bank in Spain to the beneficiary's local FI.

If you receive an IDD request in a U.S. domestic (i.e, non-border) field office (FO), forward all appropriate information to the Office of Earnings and International Operations, (OEIO), Division of International Operations (DIO) to process.

For detailed instructions on IDD requests and forwarding information, see

  • GN 02402.201 Background and Policy for Direct Deposit Outside the U.S.

  • GN 02402.205 Direct Deposit Enrollment Outside the U.S.

  • GN 01010.255 Adjudication of Foreign Claims

  • GN 01702.310C Routing of Claims for U.S. Benefits Involving Totalization

B. How we receive IDD bank data

We receive requests to input bank data by mail, phone, or fax in the following formats:

  • Blank check;

  • SSA-1199-SP International Direct Deposit Signup Form for Spain; or

  • Any document that contains the required banking information.

If you receive information with discrepancies, see the following instructions:

  • GN 00203.020 Identity of Claimants

  • GN 02402.025 Direct Deposit Post Entitlement Interview

C. Multi-country contract

The processing FI in Spain will have a prefix of "58" at the beginning of the Routing Transit Number (RTN).

D. Overview of IDD for Spain

IDD payments sent to Spain must be in Euro (EUR) accounts at local FIs. The beneficiary must provide complete information to DIO or the Federal Benefits Unit (FBU) for input. DIO will fax incomplete forms to the FBU that serves Spain. The FBU contacts the beneficiary or FI for additional information.

E. Description of Spain IDD bank data

The data for coding IDD for Spain will come from the International Bank Account Number (IBAN) provided to the beneficiary from his or her FI. The IBAN will be 24 characters. However, the bank data reflected on the MBR will consist of 23 characters. Technicians will use the IBAN to derive the RTN and DAN when processing an IDD request.

IMPORTANT: Because the DAN field can only hold up to 16 digits, complete bank information must be coded in for each beneficiary. Additional characters may be required for the IDD payment to process. Therefore, technicians must follow a two-step process to avoid payment rejection:

  1. 1. 

    Input all IDD bank data in, as outlined in Section F; and

  2. 2. 

    Input the allowable number of characters via SSA systems to update the MBR.

F. Procedure for coding Spanish IDD bank data

The FRBKC relies on us to provide the complete bank data to ensure correct posting of payments to a customer’s account. If the information is incomplete, the FRBKC rejects the payment and returns the funds to our agency.

You may establish or change IDD bank data for Spain using an SSA system (e.g. Modernized Claims System (MCS), Manual Adjustment Credit and Award Data Entry (MACADE)).

You must then go to to enter the following data:

  • first and last name of the beneficiary

  • payee indicator

  • enrollment status

  • country

  • account type

  • account ownership

  • International Bank Account Number (IBAN)

  • Society for Worldwide Internet Financial Telecommunication-Business Identifier Code (SWIFT-BIC)

  • beneficiary address

  • reclamation country

1. Obtain SWIFT-BIC code from the FI

The SWIFT code consists of 8 to 11 alphanumeric characters. When an eight-digit code is present, it refers to the primary office:

  • First 4 characters - bank code (alpha only)

  • Next 2 characters - ISO 3166-1 alpha-2 country code (alpha only)

  • Next 2 characters - location code (alpha and numeric) (passive participant will have "1" in the second character)

  • Last 3 characters - branch code, optional ('XXX' for primary office) (alpha and numeric)

2. Process initial award

Secure IBAN and SWIFT-BIC coding from the beneficiary at the time of filing. The FBU inputs an initial IDD claim if the beneficiary elects the option of direct deposit. All initial IDD claims that an FBU takes for Spain require input into and an SSA system (i.e. MCS, MACADE, etc.) on the same day. You must complete all initial claims that the International Benefits Office (IBO) takes. You must input all initial claims involving Spain IDD into and an SSA system (i.e. MCS, MACADE, etc.) on the same day.

NOTE: If there is dire need or hardship involved, advise the beneficiary of the option of initiating payment via a paper check. Inform the beneficiary that the bank may charge for cashing the check. If the beneficiary chooses the option of paper check, the FBU documents and processes the initial claim.

3. Add or update bank data using SSA systems

When you add or update IDD bank data using an SSA system (e.g. Post Entitlement Online System (POS), MACADE), you must:

  • update on the same day;

  • enter all POS direct deposit changes according to normal procedures;

  • use procedures outlined in the following chart when processing within four business days of the current operational month (COM) cutoff date.




Are you coding an initial claim?

  • If yes, go to step 3.

  • If no, go to step 2.


Is the beneficiary's address on the MBR in a foreign country (PCOC = 8)? If no, STOP.

REASON: The MBR will not accept the International Direct Deposit (IDD) information.

If yes, go to step 3.


Is the beneficiary's account a EUR account in Spain? If no, STOP.

REASON: Beneficiary in Spain can only receive IDD payments in EUR accounts.

If yes, go to step 4.


Code the RTN (9 digits total) as follows:

  • 58, the prefix SSA has designated for Spain IDD.

  • 4-digit bank code. If the beneficiary gives you only the name and address of the financial institution, look up the code in the latest version of the bank directory.

  • The first 2 digits of the Sucursal (branch code)

  • Code the U.S check digit, which you will obtain through Title II Interactive Comps.


Code the account type:

  • “S” for savings, or

  • “C” for checking.

If the beneficiary does not indicate an account type, use a “C” for checking account.


Code the DAN field as follows:

  • 3rd and 4th digits of the Sucursal (branch code).

  • 2-digit Digitos de Control.

  • 10-digit Numero de Cuenta.

NOTE: SSA sends IDD payments for Spain in Euros to local FI accounts.


You must take action on the same business day to enter into all the information listed in GN 02402.307F.

You must access or ask a co-worker to update the required information into

REMINDER: When information is not available, FRBKC rejects the payment and returns it to our agency.

G. Example of coding Spanish direct deposit

The customer provides us with a signup form for Spain containing the following information: ES9121000418450200051332

  • The first 2 characters of the Spain IBAN are “ES”, which represents the International Organizational for Standardization (ISO) country code.

  • The third and fourth characters of the IBAN are the IBAN check digits. The technician should never code the IBAN ISO country code or check digit to the MBR.

  • The next four characters represent the bank code.

  • The next four characters represent the branch code (Sucural).

  • The next two characters represent the control code (Digitos de Control).

  • The last ten characters represent the 10-digit account number.

1. Derive the RTN

The technician enters the information for the RTN.

  • Code the prefix of “58” (SSA designated prefix for IDD).

  • Code the 4-digit bank code “2100”;

  • Code the first 2 digits of the branch code “04” (Sucural)

  • Code the U.S. check digit code (i.e., 8) (obtained from the Title II interactive Comps from the Main Menus 07/Sub Menu 16);

  • Code the type of account as a “C” for Checking or an “S” for Savings. If no account type indicated, use a “C” for Checking.

2. Derive the DAN

The technician codes the DAN.

  • Code the last 2 digits of the branch code: “18” (Sucural)

  • Code the 2-digit control code (Digitos de Control): “45”

  • Code the 10-digit account number: “0200051332”

3. Obtain the following information

In IBAN: ES9121000418450200051332 SWIFT: Full code (example: BEPOIT21020)

  • RTN: 582100048

  • Checking

  • DAN: 18-45-0200051332

a. POS reflects the direct deposit information


  • DEPOSITOR ACCOUNT NUMBER: 18-45-0200051332



b. The MBR reflects the following information

  • RTN- 582100048

  • DAN- C18450200051332

H. References

  • GN 00203.020 Identity of Claimants

  • GN 01010.255 Adjudication of Foreign Claims

  • GN 01702.310C Routing of Claims for U.S. Benefits Involving Totalization

  • GN 02402.025 Direct Deposit Post Entitlement Interview

  • GN 02402.201 Background and Policy for Direct Deposit Outside the U.S.

  • GN 02402.205 Direct Deposit Enrollment Outside the U.S.

  • International Treasury Services (U.S. Treasury system)

To Link to this section - Use this URL:
GN 02402.307 - Coding Spanish Bank Data for the Master Beneficiary Record (MBR) - 04/04/2024
Batch run: 04/04/2024