The following example illustrates the automatic payment allocation that takes place if Agency Setup > Accounting Options has a check in Automatically Apply Receipts to Oldest Invoices.
In this example, $1000 of the $10,000 payment is applied to Invoice #23 (Inv Date 1/11/05) and the remaining $9000 is applied to Invoice #22 (Inv Date 2/4/05).