Skip to content

Blog / Workday Financials & Integrations

Workday Financials: Suggesting Spend Categories from Invoice Descriptions

Supplier invoice descriptions often contain enough information to suggest a spend category. For example, a description containing cloud backup storage would normally relate to Cloud Hosting, while annual licence renewal could relate to Software Licences. The difficulty comes when descriptions are inconsistent, incomplete or too generic.

Workday Financials: Suggesting Spend Categories from Invoice Descriptions

I explored whether a simple text classification model could help with spend category selection during supplier invoice processing.

Using Python, I generated 3,000 synthetic invoice lines across 10 spend categories. The descriptions included spelling mistakes, supplier names, different text formats and generic entries such as “invoice for services”.

I used TF-IDF to convert the descriptions into numerical features and logistic regression to predict the spend category. The model was trained on 80% of the data and tested on the remaining 20%.

The overall classification accuracy was around 95%. What I found more useful was the confidence score. With a confidence threshold of 60%, the model accepted approximately 95% of the test lines, all of which were correctly classified. The remaining lines were marked for manual review.

A generic description such as “invoice for services” received a confidence score of only 19%, which is understandable given the limited information available.

For Workday Financials, this could be explored as a spend category suggestion or validation step during invoice processing rather than replacing the existing approval process.

The test uses synthetic descriptions with predefined categories. Actual supplier invoices would contain much more variation, so the model would need to be tested against historical invoice data before considering any automated assignment.