When closing debt with FIFO method, the transaction incurring deficit balance and has not been used in other closing operations and that has the earliest due date or operation date – regarding your preference in Finance Parameters > Date to Consider in FIFO Debt Closing parameter in System Settings module – is used for FIFO closing. Debt and credit transactions, which will be listed in ascending order by Due Date or Operation Date, (according to your selection in the above mentioned parameter) close each other in the relevant order.
Click "Undo" option to cancel closing. You can access and view the slip / invoice related to the debit or credit transaction with Source Transaction option.
In addition to the order of fate, the type of operations is another crucial factor in terms of closing priorities.