1. A method of validating a document, the method comprising: receiving, by one or more processors, an image of the document; identifying, by the one or more processors, a plurality of fixed contents of the document; identifying, by the one or more processors, a plurality of field contents of the document; determining, by the one or more processors, a type of the document based, at least in part, on the plurality of fixed contents and the plurality of field contents; validating, by the one or more processors, the plurality of field contents of the document based, at least in part, on rules associated with the type of the document; and generating, by the one or more processors, a validated document.