Skip to main content

1. What is the Lockbox Process?

Lockbox is an electronic banking service where customers send their payments (usually checks) to a bank’s lockbox address instead of the company’s mailing address.

The bank processes the checks, prepares a lockbox file (BAI2, BAI, or EDI 823 format), and sends it to the company.

SAP reads this file via FLB2 (Lockbox Processing) or via EDI/IDoc in newer versions.

Based on the file, SAP:

  • Updates customer incoming payments (clears open items in AR).
  • Posts to G/L accounts if customer reference is missing.
  • Places unapplied cash in “unallocated” accounts for manual follow-up.

Goal: Automate cash application, reduce manual reconciliation, and improve Days Sales Outstanding (DSO).

2. Lockbox Process Flow in SAP

  • Customer mails check → Bank Lockbox.
  • Bank receives check, deposits money, and creates a lockbox file.
  • Company uploads file into SAP using T-code FLB2.
  • SAP interprets data (customer number, invoice reference, check number).
  • System clears AR open items automatically.
  • If match not found → unapplied cash posted to a suspense/clearing account.

Configuration Steps in SAP (SPRO Path + T-codes)

A) Define House Banks and Accounts

  • T-code: FI12
  • Maintain bank key, house bank, bank accounts for lockbox deposits.

B) Define Lockbox Keys

Path: SPRO → Financial Accounting → Bank Accounting → Business Transactions → Payment Transactions → Lockbox → Define Lockbox.

Enter:

  • Lockbox ID (e.g., LB01)
  • Bank key
  • Account ID (House bank account)

C) Define Posting Data for Lockbox

Path: SPRO → Financial Accounting → Bank Accounting → Business Transactions → Payment Transactions → Lockbox → Define Posting Data.

Assign:

  • G/L accounts for unallocated cash (temporary clearing account).
  • Tolerance groups.

D) Define Lockbox Data Mapping (EDI/BAI2/823)

  • Configure mapping of bank file fields to SAP fields.
  • Example: Check number, invoice reference → SAP customer open item search.

E) Customer Master Setup

  • Payment transactions tab → Enter customer bank details, tolerance groups, and Lockbox details for automatic matching.

F) Run Lockbox Processing

  • T-code: FLB2
  • Input: Lockbox file path, posting date, bank key, lockbox ID.
  • System processes → Generates batch input session (SM35) for review/posting.

Scenarios in Lockbox Processing

Scenario 1: Perfect Match

Customer payment references correct invoice number + customer account.
SAP clears the open item automatically.
FI Posting:

  • Dr Bank Account
  • Cr Customer Account (clearing open invoice)

Scenario 2: Customer Found, Invoice Missing

Customer is identified, but invoice reference not found.
SAP posts unapplied cash to customer account (on-account posting).
FI Posting:

  • Dr Bank Account
  • Cr Customer Account (on-account, unapplied)

AR team clears manually later.

Scenario 3: Invoice Found, Customer Not Found

Invoice reference exists but customer master missing or mismatch.
System posts to Unallocated Cash G/L account (clearing/suspense account).
FI Posting:

  • Dr Bank Account
  • Cr Unallocated Cash Account

Scenario 4: Short Payment (Partial Payment)

Customer pays less than invoice amount.
System clears partial amount and leaves remainder open.
FI Posting:

  • Dr Bank Account (amount received)
  • Cr Customer Account (partial clearing)
  • Open AR balance remains.

Scenario 5: Over Payment

Customer pays more than invoice.
Excess goes to customer account as credit (on-account posting).
FI Posting:

  • Dr Bank Account (full check amount)
  • Cr Customer Account (invoice cleared + excess on-account)

Scenario 6: Check with No References

Neither invoice nor customer can be identified.
SAP posts to unallocated cash G/L.
FI Posting:

  • Dr Bank Account
  • Cr Unallocated Cash Account

5. Reports and Monitoring

  • Customer Line Item Display → FBL5N (check cleared, on-account, unapplied cash).
  • Bank Account Line Item Display → FF7A (bank reconciliation).
  • Batch Input Sessions → SM35 (monitor lockbox posting jobs).
  • Cash Application Reports – Custom Z-reports or via SAP FSCM (Collections & Dispute Mgmt).

6. Best Practices & Governance

  • Automate FLB2 via background job for daily cash application.
  • Define clear unapplied cash G/Ls to avoid misstatements.
  • Reconcile daily between bank statement and lockbox posting.
  • Use BTE (Business Transaction Events) for customer-specific enhancements (like invoice matching logic).
  • Audit Trail: Keep lockbox files archived for audit purposes.

    This will close in 0 seconds

    Innovation: Pioneering the Future, Together

    • Narrative: "In today's rapidly evolving landscape, standing still is not an option. We empower our clients to embrace innovation as a catalyst for competitive advantage. By leveraging cutting-edge technologies and fostering a culture of creative problem-solving, we help you identify and capitalize on emerging opportunities. We don't just follow trends; we set them. Our team of experts works alongside you to develop bespoke solutions that anticipate future challenges and drive sustainable growth. We will make sure that those solutions are scalable, and reliable. We are not just thinking outside the box, we are redesigning the box."
    • Messaging: "We are your innovation partner, turning visionary ideas into tangible realities."

    This will close in 0 seconds

    Execution: Turning Strategy into Action

    • Narrative: "A brilliant strategy is only as effective as its execution. At Blue Marlin Consultant Group, we pride ourselves on our ability to translate complex plans into actionable steps. Our rigorous project management methodologies, coupled with our deep industry expertise, ensure seamless implementation and timely delivery. We are committed to achieving measurable results, holding ourselves accountable for every milestone. We focus on clear communication, and transparency, to ensure that our clients are always informed, and confident in the process. We will make sure to bring your vision to reality."
    • Messaging: "We deliver results, on time and on budget, every time."

    This will close in 0 seconds

    Efficiency: Optimizing for Peak Performance

    • Narrative: "In today's competitive environment, maximizing efficiency is paramount. We help our clients streamline operations, eliminate waste, and optimize resource allocation. By leveraging data-driven insights and implementing best-in-class processes, we empower you to achieve peak performance. We understand that every dollar counts, and we will work hard to ensure that your investments are providing the best return. We will help you to do more with less."
    • Messaging: "We drive operational excellence, unlocking hidden potential and maximizing your bottom line."

    This will close in 0 seconds

    Strategy: Charting a Course for Sustainable Success

    • Narrative: "A clear and well-defined strategy is the cornerstone of long-term success. At Blue Marlin Consultant Group, we work closely with our clients to develop comprehensive strategic roadmaps that align with their unique goals and market dynamics. We provide deep industry analysis and foresight, which allows our clients to make informed decisions. We help you to navigate complex challenges and capitalize on emerging opportunities. We will provide you with the strategic tools you need to succeed."
    • Messaging: "We are your strategic advisors, guiding you towards sustainable growth and market leadership."

    This will close in 0 seconds

    Transformation: Driving Organizational Evolution

    • Narrative: "The ability to adapt and evolve is critical for sustained success. We help our clients navigate complex transformations, from digital modernization to organizational restructuring. Our change management expertise ensures smooth transitions and minimal disruption. We empower your teams to embrace change and drive sustainable growth. We understand that change can be difficult, and we are here to support you every step of the way."
    • Messaging: "We are your transformation partners, driving organizational agility and future-proofing your business."

    This will close in 0 seconds

    Growth: Fueling Sustainable Expansion

    • Narrative: "Ultimately, our goal is to drive sustainable growth for our clients. We help you identify new markets, expand your customer base, and increase revenue. By leveraging data-driven insights and implementing innovative growth strategies, we empower you to achieve your full potential. We are dedicated to your long term success, and we will work tirelessly to help you achieve your growth goals. We will provide you with the tools, knowledge, and strategies to expand your reach."
    • Messaging: "We are your growth engine, accelerating your business and unlocking new opportunities."

    This will close in 0 seconds

    Brochure


      This will close in 0 seconds