The TCode F-54 in SAP is used to clear a vendor down payment.
F-54 – Clear Vendor Down Payment
This transaction is part of the SAP FI (Financial Accounting) module and is used when you want to apply a previously posted down payment to a vendor invoice (i.e., clear the advance against a bill).
Typical Use Case:
You posted a down payment to a vendor using TCode F-48.
Later, the vendor sends an invoice, which you post using TCode FB60 or MIRO (if related to a PO).
Then, you use F-54 to clear the down payment against that invoice.