Overview What is a lockbox? A company can create accounts called called 'lockbox' accounts accounts at its bank (or banks) that act as payment collection collection accounts for customer customer payments. payments. The company then then informs their customers that that all open item payments for their accounts must be submitted submitted to one of the established bank lockbox accounts. The bank collects these payments along with the customers' remittance information that indicates what open items the customer payments intend to clear. Data entry clerks at the bank manually enters the information information into an electronic file for transmission to the company to which the lockbox account belongs. These files are typically transferred nightly to the various lockbox owners owners (companies). The files adhere to one of two customized, 30 year old Bank Administration Administration Institute Institute banking industry transmission transmission formats. The original, created in 1970, 1970, was known as BAI Lockbox Communications Communications Standards. It provided only basic payment details, without without invoice details. Since that time, modifications modifications have been made by users to this BAI Lockbox standard format and this modified version has become known as "BAI2". This new 'non Bank Administration Administration Institute' sanctioned format format now included full invoice details details with payments, payments, and is considered the ‘latest, ‘latest, most robust’ format for lockbox lockbox transmissions. transmissions. What is the difference? d ifference? As defined by SAP, as well well as by the lockbox lockbox staff at most banks, BAI BAI and BAI2 BAI2 formats differ differ in their level level of information information detail. ‘BAI’ format format does not separate separate out the incoming incoming check line items by invoice subtotal reference. reference. Instead, one check total amount simply has all invoices listed listed underneath it. Thus, in BAI format files, the entire entire check amount must match perfectly (or within configured configured payment difference tolerances) tolerances) the total amount for all invoices listed. Otherwise, the entire check check will enter into SAP as: 1. An "On account" posting (if the payment and invoice totals don't match, but a customer is identified by MICR), or 2. An "Unprocessed" posting (if no customer account and documents could be identified from the transmission). In these scenarios, scenarios, your Accounts Accounts Receivable cash cash application clerks clerks will have have to perform semi-manual semi-manual post processing application application within SAP SAP to clear unmatched payments payments against open items items on the proper proper accounts. Conversely, ‘BAI2’ format splits the check total into separate invoice references and associated payment amounts. Thus, within a large batch, BAI2 format format files will allow a "Partially applied" applied" status in which some identifiable payments payments within the check total will be matched and cleared, others will will land on account. As a result, your 'hit rate' percentage of payment-to-invoice matching from each transmission is likely to be higher when using ‘BAI2’ rather than ‘BAI’ formats.
analysis. ‘BAI2’ is a more robust What format should you use? This decision is dictated by a cost-benefit analysis. file format, but you pay more more for this information information richness. richness. ‘BAI’ is cheaper, but may not offer you a suitable 'hit rate' for automatically matching matching payments to customer open items. If you receive a large volume of lockbox payment transmissions transmissions each day, especially if many items are are paid per single single check and deductions deductions occur commonly, it is recommended recommended that you use BAI2. Otherwise, a significant significant portion of your A/R staff time and effort will be spent on applying failed lockbox payments. payments. However, if you only receive a small portion of your customer payments via lockbox transmissions, transmissions, then BAI format is likely likely to provide adequate results. You will have to inquire with your bank to ensure that they still utilize the ‘BAI’ format.
Page 1 of 24
Page 2 of 24
CONFIGURATION OF LOCKBOX IN SAP
First we have to create house bank accounts
Configuration: Defining House Banks Functional Area: Finance Path: IMG Select Financial Accounting (New) Banks Path T-Code: FI12
Bank Accounting
Bank Accounts
Define House
Configuration Item: Defining House Banks
Procedure 0
1.
Follow menu path
2. Enter company code U009
Page 3 of 24
3. Click on the
Page 4 of 24
4. Double click on
5. House Bank has been created with Bank Account.
Page 5 of 24
Configuration: Defining Lockbox Accounts for House Banks Functional Area: Finance
Page 6 of 24
Path: IMG Select Financial Accounting (New) Bank Accounting for House Banks T-Code: OB10 Configuration Item: Define Lockboxes for House Banks
Bank Accounts
Define Lockboxes
Description: In this step, you define your lockbox accounts at the house banks. Thus, on the outgoing invoice you can inform your customer of the lockbox to which payment is to be made. By specifying this, you can optimize the payment transactions. The lockbox procedure is currently used only in the USA. Activities 1. Specify your lockbox links (company code; key of the lockbox to house bank ID; lockbox number at your house bank).
which the customer is to pay;
2. For customer master data, you can determine to which lockbox number the customer is to pay in the application menu ("Payment Transactions / Company code data").
Page 7 of 24
Procedure0
1.
Follow menu path
2.0
Select Execute
Page 8 of 24
3.0
Double-click
Enter House Bank, Lockbox and Lockbox number then press
Save.
Page 9 of 24
So here we have created -
The Co Code to which lockbox belongs
-
A name of the lockbox to be used in customer master
-
Name of the house bank to which lockbox belongs
-
Lockbox (account number) at the house bank
Assign the same in customer master data.
Page 10 of 24
Result You have successfully created the lockbox identifiers. Comments
Configuration: Defining Lockbox Control parameters for House Banks Path: IMG Select Financial Accounting (New) Bank Accounting Business Transactions Transactions Define Lockbox Define Control Parameters T-Code: OBAY
Payment
Configuration Item: Define Lockbox Control Parameters
Page 11 of 24
Description: In this activity you store control data for the lockbox procedure. Currently, only the procedure LOCKBOX is supported. This data is needed for importing lockbox files sent by banks. Currently, only BAI and BAI2 file formats are supported by SAP. It includes the following: Procedure0
1.
Follow menu path
2. Press Execute
3. Then Double click on
format
Page 12 of 24
BAI Record Format: Specify the length of the document numbers (10 in the standard SAP System) and the number of document numbers in record types 6 and 4 of the BAI file. Your bank must agree on this format information. BAI2 Record Format: It is not necessary to specify the length of the document and the number of document numbers in record types 6 and 4. This is because BAI2 file is designed that each document number is on a different record type 4 with its corresponding payment and deduction amounts. Your bank must agree on this format information.
Explanations of other field are as under
-
G/L account posting: Activate it (recommended), if you want the system to generate G/L account postings (debit bank, credit cash receipt account).
-
Incoming Customer payment: Activate it (recommended), if you want the system to execute incoming payments postings to customer sub ledger accounts to clear customer account and create residual postings.
-
Insert bank details : activate it , if you want to create a batch input session (text session name) that update bank details (MICR) of customers in their master records for whose who either changed their bank or did not have information. It is important if invoice c an not found that check can be applied to customer based on MICR information. Page 13 of 24
Partial Payment: With this indicator, you can specify that payments received with this flag
active will be posted as partial payments in that case where the payment is insufficient for full clearing. The default behavior is to generate residual items with such payment receipt.
-
Configuration: Defining Lockbox Posting data for House Banks Path: IMG Select Financial Accounting (New) Bank Accounting Transactions Define Lockbox Define Posting Data T-Code: OBAX
Business Transactions
Payment
Page 14 of 24
Configuration Item: Define Lockbox Posting Data
Procedure0
1.
Follow menu path
2. Press Execute
3. Click on
and enter new Destination and Origin and other Bank Information
Page 15 of 24
4. Then Press Save button Control Parameters will be created.
Description: In this activity you store information needed to process particular lockbox data and generate postings. The Destination and Origin are routing information and defined by your bank. Destination: This field contains the destination code the bank submits to you in your lockbox file. Origin: This field should contain your lockbox (bank account) number at bank.
For every unique destination/origin, posting information is needed to create the following postings:
Page 16 of 24
•
G/L posting - G/L account number (bank and/or bank sub-account- check deposit clearing account) for the lockbox holder in the company code.
•
A/R posting – Initial entry made by lockbox is debit check deposit clearing account and credit bank clearing account. System then debit bank clearing account and credit customer AR account for all customers matches it able to make. For unmatched items credit remains in bank clearing account to be settled manually. Afterwards EBS will debit our bank main account and credit check deposit clearing account.
In addition, specify the document types and posting keys for these postings.
This posting key is used in lockbox processing when posting residual Items or differences to customer accounts.
ANNEXURE-1
LOCKBOX BAI2 TEMPLATE
FOR
USE WITHIN
THE
LOCKBOX DATA
IMPORT PROGRAM
Sample Lockbox file: 100YPCCDESTINYPCCORIGIN9812151202 2YPCCDESTINYPCCORIGIN 50020010012345981215YPCCDESTINYPCCORIGIN 60020020000090000011000390556677889 010203419 4002003601716000002 00000100000000000000gh 4002004602918000018 00001000000000000000gh 700200500123459812150020000090000 80020060012345981215000200000900009 0090000 0090000 9000002 The Principle:
What is different between the ‘BAI’ and ‘BAI2’ formats?
In the BAI format, the file can use the “6 Record” to hold the first three invoices, and consecutive “4 Records” to hold the overflow of up to 6 invoices each, per check. The payment amount is given for that entire check, not for each individual invoice as well as the check payment total. The BAI and BAI2 formats use the same record types and formats for Records 1, 2, 5, 7, 8, and 9.
Page 17 of 24
In the BAI2 format, the file uses the “6 Record” as an identifier of the check dollar amount(net), the MICR number and the check number. No invoices Following the “6 Record” are a series of “4 are contained in this record. Records” which contain one invoice each, providing the invoice number, invoice open item amount (gross), deduction amount and external reason code. This level of detail in the BAI2 record improves the “hit rate” for the lockbox program. Thus, it costs more. Why? Because the bank has its clerks enter in more information into the file, which takes more time/effort. However, cost-benefit analysis should be performed by each customer to justify the decision.
The following pages provide a breakdown of the lockbox BAI2 file components. By identifying what elements go in which place, you can insert your own specific MICR and invoice numbers, lockbox number, date, payment amount(s), check number(s), and batch numbers to create a valid test file. The record data is color-coded below to make it easier to interpret this file. All files should be saved in a text tab-delimited format (.txt).
* All items marked with an asterisk are items that you will change each time you run the lockbox with this file.
* A red asterisk indicates a conditional change item. Record 1: 1 2
3
Table FLB01 4
5
6
7
100DC026 79960 9910200012 (customer-specific format example) 100 YPCCDESTIN YPCCORIGIN9812151202000001111122222333334444455555666667777 78888899
*
*
* *
1. This is the first record of the Lockbox. The item in blue is the Record Type indicator. There will only be one Record Type 1 in the Lockbox file. Record Type 1 is the “Header Record” . (Field name HR001) 2. The item in green is the Priority Code of the Lockbox. This item will have 2 characters (must fill both spaces, i.e. “1” is “01”). (Field name HR002)
3. The item in dark red is the Immediate Destination for the Lockbox. This will contain up to 10 characters (use blank spaces to fill up excess space if less than 10 characters exist in this item). Most customers use left-justified, blank-padded right format.(Field name HR003) 4. The next item in black is the Origin of the Transmission. This item may contain up to 10 characters (again filling up all ten characters/spaces). Most customers will use left-justified, blank-padded right format. (Field name HR004)
5. – 6. Following that are the File Date in dark blue and the File Time in purple . They will have six and four characters respectively. The date is in YYMMDD format and time is in HHMM format. (Field name HR005) 7. The remainder of the record is made up of 47 characters of filler in gray. (Field name HR006) •
The total length for this record is 80 characters. Spacing is critical because the Lockbox program reads the file based on character position.
Page 18 of 24
Therefore, use spaces or zeros to make up the excess space not used by an item within the record. For example, if your Origin of Transmission only uses 8 characters, then it should be followed by two blank spaces. Most customers do not need the values in HR006.
Record 2: Table FLB02
------SAP Lockbox DOES NOT NEED TO USE RECORD 2 ----1
2
3
2 YPCCDESTIN YPCCORIGIN
*
*
1. The item in blue is the Record Type indicator. Record 2 is the “Service . From an SAP perspective, the 2 Record is not a mandatory record Record” for lockbox importing. Some banks will utilize a 2 Record, others will not. Sometimes the information contained within this record will not adhere to the ‘proper’ definition, but rather be a restatement of the Record 1 (as shown above). If used, there can only be one Record Type 2 per lockbox transmission. There can be many lockbox transmissions within a single file, thus many 2 Records within the file. (Field name SR001) 2. The item in green is the lockbox Destination/Origin. This item will have 2 characters. (Field name SR002) 3. The item in dark red is the Reference Code for the lockbox. It is not generally used, but may be filled with information. This will contain up to 10 characters.(Field name SR003) NOTE: SAP does not need the next five fields, but they are listed here for info.
The next item in this format is the Service Code for the lockbox, which the banks use for their own purposes to identify the transfer as a lockbox transfer. This item will use 3 characters/spaces. (Field name SR004)
Following that is the Record Length, which will use 3 characters/spaces. (Field name SR005)
Next is the Block Size of the lockbox (3 characters/spaces). (Field name SR006)
The Format Code for the lockbox follows in order(1 characters/spaces). (Field name SR007)
The remainder of the record is made up of 40 characters of filler.
(Field
name SR008) •
The total length for this record is 80 characters. to spacing!
Be sure to pay attention
Record 5: Table FLB 05 1
2
3
4
5
6
7
8
501200179960 991020DC026 79960 (customer-specific format example) 50020010012345981215 YPCCDESTIN YPCCORIGIN11111222223333344444555556666677
* *
*
*
*
*
1. The item in blue is the Record Type indicator. There will be one Record Type 5 in each batch within the Lockbox file. Record 5 is the “Detail . There can be many batches in a lockbox transmission. If Header Record” there are four batches, there will be four 5 Records. (Field name DH001)
Page 19 of 24
2. The item in green is the Batch Number for the Lockbox. This item will have 3 characters. (Field name DH002) 3. The item in dark red is the Batch Item Number for the Lockbox. This will contain up to 3 characters (and must fill all 3 spaces). (Field name DH003) 4. The next item in black is the Lockbox Number. This item will use 7 spaces. Most customers prefer to have the number left-justified and blank-padded right. However, the bank may require that you include significant ‘leading zeros’ if that is part of their own internal lockbox numbering scheme. (Field name DH004) 5. Following that is the Deposit Date in dark blue, which will use 6 spaces. (Field name DH005)
6. In purple is the Immediate Destination of the Lockbox (10 chars/spaces). Most customers will use left-justification and blank-padding right. (Field name DH006)
7. In dark yellow is the Origin of Transmission – transit routing (10 chars/spaces). DCI will use left-justification and blank-padding right. (Field name DH007)
8. The remainder of the record is made up of 40 characters of filler in gray. DCI will not use this field. (Field name DH008) •
The total length for this record is 80 characters. to spacing!
Be sure to pay attention
Record 6: Table FLB26 1
2
3
4
5
6
7
60120020001800000051000020321654987 CK991412 (customer-specific format example) 60020020000090000011000390556677889 010203412
* *
*
*
*
*
1. The item in blue is the Record Type indicator. Record Type 6 can appear numerous times in the Lockbox file or in each batch, but only once per check. A new 6 Record marks the start of a new item number. Record 6 is the “Detail Record” which applies to a particular check in the Lockbox. (Field name DR001)
2. The item in green is the Batch Number for the Lockbox. This item will have 3 characters. (Field name DR002) The bank sets the rules for how a batch is defined. For example, some banks will deliver up to a maximum of 50 checks in one batch. If there are 51 checks in a lockbox, thus there would be at least 2 batches. 3. The item in dark red is the Batch Item Number for the Lockbox. This will contain up to 3 characters (and must fill all 3 spaces). (Field name DR003) 4. The next item in black is the Remittance Amount for the Lockbox Record. This item will use 10 characters/spaces (use zeros if necessary in front of the amount). (Field name DR004)
5. Following that is the Remitter Identifier: Transit Routing No. in dark blue, which will use 9 characters/spaces. (Field name DR005) 6. In purple is the Remitter Identifier: Account Number (10 characters/spaces). In the event that account numbers are less than 10 digits, customers will use left-justification and blank-padding right. it has been a recent trend (due to (Field name DR006) AN IMPORTANT NOTE:
Page 20 of 24
mergers) that some large banks are now moving to 13-digit customer bank account numbers. As a result, you have two options (until SAP makes table/field changes to increase the size of the account field): ask your banks to ‘concatenate’ the number back to a 10-digit number, or make your own field length modification to the related Data Element REID2_FLB with SAP registration. Both carry their own inherent risks, but it is probably best to make a field length change and protect the change until the standard field length is changed by SAP. 7. In dark yellow is the Check Number (9 characters/spaces). If the customer’s check number is greater than 9 characters, then customers will request the last 9 characters of the check number in this field. (Field name DR007) •
After the check number is the Data Element for the Article field, a userdefined field. The total length for this record is 35 characters. You may use dummy numbers to fill out this record, or you may leave it blank. It’s best not to use this field. Further, if the customer account number (DR006) is expanded to accommodate account numbers of greater than 10 characters, then this final field will be encroached upon. (Field name DR008)
Page 21 of 24
Record 4: Table FLB24 1
2
3
4 5
6
7
8
9
10
401200360171800000041 example) 401200440171800000065
00006000000000000000
4002003401716000002 4002004402918000018
00000100000000000000 00001000000000000000gh
00012000000000000000
*
*
*
(customer-specific format “
*
1. The item in blue is the Record Type indicator. Record Type 4 can appear numerous times in the Lockbox file. Record 4 is the “Item Record” and it is used to hold one invoice each. (Field name OR001) 2. The item in green is the Batch Number for the Lockbox. This item will have 3 characters. (Field name OR002) 3. The item in red is the Batch Item Number for the Lockbox. This item will have 3 characters/spaces. (Field name OR003) 4. The item in purple Type of Overflow record (1 space). In this case, it is a ‘4 record’ because it contains only its own item, not an item overflowed from a preceding 6 Record. SAP does not pay particular note to the value in this field. (Field name OR004) 5. Bright green is the Sequence Number for the record (2 spaces). SAP does not pay particular note to this field. (Field name OR005) 6. The item in yellow is the End Indicator for the Lockbox. A ‘9’ indicates the last record of a Lockbox (1 space). SAP does not pay particular note to this field. (Field name OR006)
7. The next items in black are the Invoice Numbers (16 characters/spaces each). Only 1 invoice is placed into each 4 Record. (Field name IVCNR) The best field format convention would be to use left-justification, blankpadding right for the invoice number(as shown in the Record 4 above). Customers will sometimes receive payments for SAP document numbers (10digit) and also legacy system invoice numbers. 8. In dark yellow are the Payment Amounts per invoice (10 chars/spaces). (Field name PYAMT)
9. The items in gray are the Deduction Amounts per invoice (10 chars/spaces). Customers will not use these fields. (Field name DDAMT) 10. Dark Blue is the External Reason Code for the payment. Customers do not have to use these fields. (Field name RESTG) •
Up to the next 30 character spaces are available for short text. They may be left blank if desired. Most customers will not use these fields (Field name OR011)
Record 7: Table FLB07 1
2
3
4
701200579960
5
6
7
9910200020001800000 (customer-specific format example)
700200500123459812150020000090000
* *
*
*
*
* Page 22 of 24
1. The item in blue is the Record Type indicator. Record Type 7 appears only once per batch in the Lockbox file. Record 7 is the “Batch Total Record” which signifies the end of the batch within the lockbox. If you have five batches in a lockbox, you will have five 7 Records. (Field name DH001)
2. The item in green is the Batch Number for the Lockbox. This item will have 3 characters. (Field name DH002) 3. The item in dark red is the Batch Item Number for the Lockbox. This will contain up to 3 characters (and must fill all 3 character spaces). (Field name DH003)
4. The next item in black is the Lockbox Number (7 characters/spaces). Customers will often use a left-justified and blank-padded right value. (Field name DH004)
5. Following that is the Lockbox Deposit Date in dark blue, which will use 6 characters/spaces. (Field name DH005) 6. In purple is the Number of Remittances Indicator (3 characters/spaces) for the batch within the lockbox. This should change based on the number of remittances in the lockbox file. (Field name DH006) 7. In dark yellow is the Remittance Dollar Total for this Lockbox (10 characters/spaces – fill with spaces or zeros to take up space). These items should be changed to reflect the batch totals from the checks on the 6 Records in the lockbox. (Field name DH007) •
Filler spaces or characters may take up the remaining 47 positions. Customers don’t often use this field. (Field name DH008)
Record 8: Table FLB08 1
2
3
4
5
801200679960
6
7
8
9
99102000020001800000
(customer-
specific format example)
80020060012345981215000200000900009
* *
*
*
*
*
*
0090000
0090000
*
1. The item in blue is the Record Type indicator. Record Type 8 appears only once in the Lockbox file. Record 8 is the “Service Total Record” which signifies the end of all Lockbox bundles. (Field name ST001) 2. The item in green is the Batch Number for the Lockbox. This item will have 3 characters. (Field name ST002) 3. The item in dark red is the Batch Item Number for the Lockbox. This will contain up to 3 characters (and must fill all 3 spaces). (Field name ST003) 4. The next item in black is the Lockbox Number (7 characters/spaces). (Field name ST004)
5. Following that is the Lockbox Deposit Date in dark blue, which will use 6 characters/spaces. (Field name ST005) 6. In purple is the Number of Remittances Indicator (4 characters/spaces). (Field name ST006)
7. In dark yellow is the Remittance Dollar Total for this Lockbox (10 characters/spaces – fill with spaces or zeros to take up space). (Field name ST007)
Page 23 of 24
The following fields in the file are optional – the file will function without any data provided in these fields, although they may appear in some files and thus will be read: 8. Last Record Indicator(1 space):
A ‘9’ indicates the end of the record.
(Field name ST008)
9. TM Amount and MTD Amount for the Lockbox (11 spaces each). (Field name ST009ST010)
10.
The remainder of the record is made up of 22 characters of filler in gray. (Field name ST011)
•
The total length for this record is 79 characters. to spacing!
Be sure to pay attention
SAP does not require that these fields be filled in. Record 9: 1
2
3
900001085555555555555lkjasflkj589880000000000000000000000000000000000000000 0000 1. The item in blue is the Record Type indicator. Record Type 9 appears only once in the Lockbox file. Record 9 is the “Trailer Record” which signifies the end of the Lockbox file. (Field name TR001) 2. The item in green is the Number of Records indicator. This item will have 6 characters. (Field name TR002) 3. Following this record item, there will be a Filler Record of 73 spaces, which can be either filled with characters or left blank. (Field name TR003) •
Following this record item, there will be a Filler Record of 73 spaces, which can be either filled with characters or left blank. (Field name TR003)
Page 24 of 24