Batch File Format for Payment of Upfront MIP for New Purchase and Conventional Refinance Cases

The batch file format described below is used to transmit to HUD (CPU to CPU) a Single Family upfront mortgage insurance premium (MIP) payment for new purchase and conventional refinance cases. Collection processing of the transmitted payment is performed by Pay.gov

Note: If the mortgage is being refinanced and was not FHA-insured, it is referred to as a conventional refinance case.

The batch file must include the following records, in this order:

The file can have only one Header Record, Deposit Control Record, and Deposit Total Record. The file can contain multiple Detail and Supplemental Overflow Records. For each Detail Record, there must be a Supplemental Overflow Record. These two records contain information for one case transaction.

For information on batch file naming conventions, see Upfront Mortgage Insurance Premium Batch Payment Processing Instructions for CPU to CPU Transmissions.

Field NamePositionLengthTypeFormatDescription
Record Type11Numeric9(1)This field must always have the value 1.
Filler2-32Numeric9(2)Zero (0) fill.
Filler4-1310AlphanumericX(10)Blank fill.
Filler14-185Numeric9(5)Zero (0) fill.
Company Number19-235Numeric9(5)Number identifying the file format. This field must always have the value 00054.
Transmission Date24-296NumericYYMMDDEstimated date the file is transmitted.
Transmission Time30-334NumericHHMMEstimated time the file is transmitted (Eastern Time).
Override Duplicate Unit Deposit341AlphanumericX(1)

Options for handling duplicate case payments per day:

  • Blank space: System rejects duplicate dollar amounts for a Mortgagee ID within the same day and duplicate files within the past 10 days.
  • U: System permits duplicate dollar amounts for a Mortgagee ID within the same day but rejects duplicate files within the past 10 days.
  • C: System rejects duplicate dollar amounts for a Mortgagee ID within the same day but permits duplicate files within the past 10 days.
  • B: System permits duplicate payment.
Filler35-8046AlphanumericX(46)Blank fill.

Detail Record

Field NamePositionLengthTypeFormatDescription
Record Type11Numeric9(1)This field must always have the value 6.
Filler2-43Numeric9(3)Zero (0) fill.
Mortgagee / Lender ID Number5-1410Numeric

9(10)

 

Ten-digit FHA Title II identifier assigned to the lending institution making the payment.

Right justify and zero (0) fill.
Filler15-173Numeric9(3)Zero (0) fill.
Total Transaction Amount18-247Numeric9(5)V99Sum of the Premium Amount, Late Charge Amount, and Interest Charge Amount for the specified FHA Case Number. Must equal the Total Amount in the Supplemental Record.

Right justify and zero (0) fill.
Supplemental Indicator251AlphanumericX(1)This field must always have the value S.
Filler26-305Numeric9(5)Zero (0) fill.
FHA Case Number31-4010Numeric9(10)Unique 10-digit identifier assigned by the FHA to the new mortgage loan for which FHA insurance is being requested.

Right justify and zero (0) fill.
Closing Date41-466NumericMMDDYYDate of the signing of the mortgage documents or the disbursement of funds necessary to consummate the loan transaction.
Filler47-6317Numeric9(17)Zero (0) fill.
Premium Amount64-707Numeric9(5)V99Upfront MIP payment amount for the specified FHA Case Number.

Right justify and zero (0) fill.
Effective Date71-766NumericMMDDYYThis field is not currently applicable and can be zero (0) filled.
Filler77-804AlphanumericX(4)Blank fill.

Supplemental Overflow Record

Field NamePositionLengthTypeFormatDescription
Record Type11Numeric9(1)This field must always have the value 4.
Sequence Number of Overflow2-32Numeric9(2)This field must always have the value 01.
Last Record Indicator41Numeric9(1)This field must always have the value 9.
Filler5-1410Numeric9(10)Zero (0) fill.
Late Charge Amount15-195Numeric9(3)V99Late charge payment amount for the specified FHA Case Number.

Right justify and zero (0) fill.
Filler20-278Numeric9(8)Zero (0) fill.
Interest Charge Amount28-347Numeric9(5)V99Interest charge payment amount for the specified FHA Case Number.

Right justify and zero (0) fill.
Filler35-428Numeric9(8)Zero (0) fill.
Total Amount43-497Numeric9(5)V99Sum of the Premium Amount, Late Charge Amount, and Interest Charge Amount for the specified FHA Case Number. Must equal the Total Transaction Amount in the Detail Record.

Right justify and zero (0) fill.
Filler50-8031AlphanumericX(31)Blank fill.

Deposit Control Record

Field NamePositionLengthTypeFormatDescription
Record Type11Numeric9(1)This field must always have the value 8.
Company Number2-65Numeric9(5)This field must always have the value 00054.
Total Deposit Reports7-115Numeric9(5)Count of all the Detail Records in the file.

Right justify and zero (0) fill.
Total Deposits12-2211Numeric9(9)V99Sum of the Total Transaction Amount for all Detail Records. Total amount paid for all cases specified in the file.

Right justify and zero (0) fill.
Filler23-8058AlphanumericX(58)Blank fill.

Deposit Total Record

Field NamePositionLengthTypeFormatDescription
Record Type11Numeric9(1)This field must always have the value 9.
Total Record Count2-76Numeric9(6)Total number of records in the file, including the Header Record (Record Type 1) and Deposit Total Record (Record Type 9).

Right justify and zero (0) fill.
Filler8-8073AlphanumericX(73)Blank fill.

See also Upfront MIP batch file formats for: