Expense analysis workflow

Analyze the picture of an expense receipt stored in Amazon S3 using the AnalyzeExpense API call of Amazon Textract. The extracted expense data is persisted in DynamoDB.

Uploading an image of a receipt in the provided S3 bucket will trigger the workflow.
The workflow uses Amazon Rekognition to detect if the image is a receipt. If the Receipt label is found and it has a confidence score greater than 80, then it uses Amazon Textract to analyze the expense
The extracted invoce data is saved in DynamoDb.

< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/textract-analyze-expense-tf/cd step-functions-workflows-collection/textract-analyze-expense-tf/

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: terraform destroy.

Additional resources

Created by:

Lorenzo Micheli

Lorenzo Micheli

Lorenzo is a Principal Cloud Architect in AWS Professional Services. He is passionate about Software Engineering, Serverless and Event-Driven Architectures.

Follow on LinkedIn