How does importing of electr. bank stat. work

Can anybody tell me how the import of electronic bank statements work in Axapta 3.0. How does the matching mechanism work on how can u automatticaly settle the imported statement against payments?