7. The method of claim 1 , wherein if the system is unable to identify a match between the set of tokens printed on the check voucher and tokens associated with an open invoice, the method further comprises flagging the check voucher for processing by a user.
1. A computer-implemented method for automating accounting, the method comprising: receiving a check voucher at a system, wherein the check voucher corresponds to a check, wherein the check voucher is neither a check nor an invoice; performing an optical character recognition (OCR) operation on the check voucher to identify a set of tokens printed on the check voucher; searching a dictionary of tokens for open invoices to identify a match between the set of tokens printed on the check voucher and tokens associated with an open invoice; determining an amount of the check by determining the value of an amount token printed on the check voucher; applying a payment for the amount of the check to the open invoice; determining a layout for the check voucher, wherein the layout indicates a position and a type of each token on the check voucher; saving the layout in a library to facilitate processing of subsequent check vouchers with the same layout; determining an identifying token on the check voucher; and using the identifying token to retrieve the layout for the check voucher.