A knowledge-based platform for the classification of accounting documents