An
image processing apparatus includes a storage destination setting unit configured to set a storage destination for storing image data acquired by reading an image of a document by using a reading unit, an input unit configured to input first image data, which is acquired by reading an image of the document by using the reading unit, and second image data, which is acquired by reading an image of a document including a description of a
processing instruction by using the reading unit, a determination unit configured to acquire
processing instruction information by analyzing the second image data and to determine whether a description included in a
processing target field of the first image data is appropriate according to processing target field information and a processing code included in the acquired
processing instruction information, a transmission unit configured, if it is determined by the determination unit that the description in the processing target field is appropriate, to transmit the first image data to the storage destination set by the storage destination setting unit, a generation unit configured, if it is determined by the determination unit that the description in the processing target field is not appropriate, to generate
processing instruction information to be used in re-storage processing including the storage destination, and an output unit configured to output data including the
processing instruction information generated by the generation unit to a printing unit.