Professional Documents
Culture Documents
2007 Wells Fargo Bank, N.A. All rights reserved. Member FDIC.
CONTENTS
Introduction File Structure File Record Specifications Table Key Type 1 Record Immediate Address Header Type 2 Record Service Type 5 Record Lockbox Header Type 6 Record Detail Type 4 Record Overflow Type 7 Record Batch Total Type 8 Record Service Total Type 9 Record Destination Trailer Sample File
4 5 8 8 8 9 9 10 11 12 13 13 14
Introduction
Our Automated Lockbox System allows you to efficiently post customer remittances to your accounts receivable system by providing lockbox transaction information in a data file. This specification describes the structure and content of data files based on the industry-standard BAI 2 (Bank Administration Institute version 2) format. When receiving data files from the Automated Lockbox System:
There is typically one transmission per deposit date. Multiple transmissions are available, if needed. A file contains all acceptable remittances processed and deposited to your account for that deposit date. Remittances are grouped by lockbox for transmission. Within each lockbox group, remittances are sub-grouped into one or more batches with item and dollar totals at the batch level. Within each batch, remittances are uniquely identified by a transmission sequence number. Remittance data includes the information from the MICR line on the check, the remittance amount, and invoice information.
File Structure
Wholesale Lockbox BAI-format files are composed of the following record types. Type 1 Immediate address header record marks the beginning of a file and identifies both the source (Wells Fargo) and the destination (your company) of the data. Service record identifies the purpose, content, and physical characteristics of the data. Lockbox header record provides information that is common to all items for the lockbox. Detail record contains the data associated with a check. There is one detail record per remittance. Overflow record contains invoice information related to the check. Batch total record marks the end of a batch. Used for balance and control purposes. Service total record marks the end of all batches for a lockbox. Used for balance and control purposes. Destination trailer record marks the end of a file and includes the total number of records transmitted.
Each Wholesale Lockbox BAI-format file is structured as shown in the following diagram.
Type 1 immediate address header record Type 2 service record
a b c d
Type 5 lockbox header record Type 6 detail record Type 4 overflow record
Type 7 batch total record Type 8 service total record Type 9 destination trailer record
Each file begins with a type 1 and type 2 record and ends with a type 9 record. Each lockbox reported in the file begins with a type 5 record and ends with a type 8 record. Within each lockbox section are one or more batches. The end of each batch is marked with a type 7 record. Information for each check and remittance is contained in a type 6 record and one or more type 4 records.
FILE STRUCTURE
Example 1
One lockbox ( ). One batch ( ). Three items. The first two items ( and ) have one type 4 record each, and the third item ( ) has two type 4 records.
Type 1 immediate address header record Type 2 service record Type 5 lockbox header record Type 6 detail record
c a b d
Type 6 detail record Type 4 overflow record Type 4 overflow record Type 7 batch total record Type 8 service total record Type 9 destination trailer record
e
Example 2
and
).
Type 4 overflow record Type 6 detail record Type 4 overflow record Type 7 batch total record Type 8 service total record Type 9 destination trailer record
FILE STRUCTURE
Description
34 300 267 AN
43 300 258 AN
41 300 260 AN
Remittance account 27 36 number Check number Check level userdefined field 1 Filler 37 46 47 76 77 80 81 87 88 93
12 Check level remitter 94 123 name 13 Check level remitter 124 153 account number 14 Postmark date 15 Remitter zip code. 154 159 160 168
16 Envelope sequence 169 171 number 17 Check level userdefined field 2 18 Check level userdefined field 3 19 Check level user defined dollar field 1 20 Reserved 172 201 202 231 232 242
243 300
58
AN
Space-filled.
10
4 5 6 7 8 9
Overflow type
1 2 1 15 10 30 14 6 11 11 30
N N N AN N AN AN AN N N AN
Overflow sequence 9 10 number Last indicator. Invoice number Invoice amount Invoice level userdefined field 1 11 12 26 27 36 37 66 67 80 81 86 87 97 98 108 109 138
10 Filler 11 Invoice date 12 Gross invoice amount 13 Discount invoice amount 14 Invoice remitter account number with lockbox customer
15 Envelope sequence 139 141 number 16 Invoice amount due 142 152 17 Invoice level userdefined field 2 18 Invoice level userdefined field 3 19 Invoice level userdefined field 4 20 Invoice level userdefined dollar field 1 153 182 183 212 213 242 243 253
3 11 30 30 30 11
N N AN AN AN N
11
No Field 21 Invoice level userdefined dollar field 2 22 Invoice level userdefined dollar field 3 23 Invoice level userdefined dollar field 4 24 Invoice level userdefined date field 25 Reserved
265 275
11
276 286
11
6 8
AN AN
34 300 267 AN
12
10 Reserved
13
Sample File
1001234567890121000248 0611101648 21234567890121000248 000000000040008000801 500000077777770611101234567890121000248 6001001000000111112100024812345678902433440001Check User Defined Field 1 0000VID060401Remitter Name Account Number 060804012345678001Check User Defined Field 2 Check User Defined Field 3 00000000000 400100160194873201 0000001111Invoice User Defined Field 1 0611010000000111100000001111 00000001111Invoice User Defined Field 2 Invoice User Defined Field 3 Invoice User Defined Field 4 00000000000000000000000000000000000000000000111111 6001002000000222212100024812345678902433440002Check User Defined Field 1 0000VID060401Remitter Name Account Number 060804012345678002Check User Defined Field 2 Check User Defined Field 3 00000000000 400100260104873202 0000001111 0611010000000111100000001111 00000001111Invoice User Defined Field 2 Invoice User Defined Field 3 Invoice User Defined Field 4 00000000000000000000000000000000000000000000111111 400100260294873202 0000001111 0611010000000111100000001111 00000001111Invoice User Defined Field 2 Invoice User Defined Field 3 Invoice User Defined Field 4 00000000000000000000000000000000000000000000111111 6001003000000333312100024812345678902433440003Check User Defined Field 1 0000VID060401Remitter Name Account Number 060804012345678003Check User Defined Field 2 Check User Defined Field 3 00000000000 700100377777770611100030000006666 800100377777770611100030000036666 001 9000012
You can also click on the following icon to open the sample file in a text editor.
WholesaleLockbox_BAI_SampleFile.txt
14