I've been happily using paperwork for this task ; https://gitlab.gnome.org/World/OpenPaperwork/paperwork/
A simple button for scanning a document, the software does all the processing for you (rotation, OCR,..). You can apply tags to documents, search them, export them. The storage format is more than open (a png file + OCR results as an HTML page,...)