When analyzing documents for AutoFill Keyword Set associations, the Intelligent Capture for AP engine first checks a document for a Document Type Level AutoFill Keyword Set. If none is found, the Intelligent Capture for AP engine then checks the document for any Keyword Type Level AutoFill Keyword Sets. If multiple Keyword Type Level AutoFill Keyword Sets are found, the first one identified is used to attempt to find a matching AutoFill Keyword Set for the document based on the Keyword Type associated with the AutoFill Keyword Set.