FEATURED POST

Transforming Invoice Processing with an Advanced AI-Driven Solution : A Case Study of LSMills

Client : LSMills

Prepared by : Workmates Core2Cloud Solution Pvt Ltd

July 17, 2024


Executive Summary

LS Mills is a vertically integrated textile company specializing in spinning, weaving, and fabric manufacturing, with a legacy dating back to 1979. The company's growth is driven by innovation, technology adoption, and a commitment to excellence, all while nurturing a free-spirited work culture. Led by Managing Director Mr. S. Manivannan, LS Mills continues to expand its capabilities, offering high-quality products and services that meet global standards. Each division operates as an independent profit center, ensuring sustained growth and innovation. The company’s core values of putting people first, embracing new technologies, and delivering exceptional client service remain at the heart of its success.

Customer Challenges
  1. Inefficient Invoice Processing: LS Mills struggled with processing a high volume of invoices efficiently. The manual processing was slow, prone to errors, and required significant time and resources.
  2. Data Extraction Issues: The company experienced difficulties in accurately extracting and validating key data fields from invoices. This led to frequent errors and discrepancies in their financial records, impacting the reliability of their financial data.
  3. Lack of Seamless ERP Integration: Integrating invoice data with their existing ERP system was challenging. The absence of an automated solution led to manual data entry, increasing the risk of errors and reducing operational efficiency.
  4. Inaccurate Financial Reporting: LS Mills needed reliable and precise financial reporting to make informed decisions. The existing process struggled to ensure the integrity of financial data, impacting decision-making and strategic planning.
  5. Reduced Productivity and Efficiency: The manual approach to invoice processing was time-consuming and inefficient. This led to reduced productivity, as employees spent excessive time on repetitive tasks instead of focusing on strategic activities.

Solution Approach:

  1. Analysis and Planning: We conducted an in-depth analysis of LS Mills' invoice processing requirements to pinpoint areas where AI could add value. A comprehensive implementation plan was developed, outlining the integration of AWS Bedrock and AWS Textract Services to automate and enhance invoice management.
  2. Implementation of AI-Powered Invoice Processing: AWS Textract was integrated to extract key data fields from invoices, while AWS Bedrock’s generative AI was used to validate and ensure the accuracy of the extracted data, streamlining the overall process.
  3. Customization for LS Mills: The AI features were tailored specifically to LS Mills' operational and financial reporting needs. The system was configured to meet their unique requirements, ensuring relevance and effectiveness in automating invoice workflows.
  4. Model Selection: We chose Claude Haiku for its robust capabilities in generating coherent and contextually relevant text. Amazon Bedrock enhances Claude Haiku by providing a scalable and secure environment that simplifies deployment. The platform integrates seamlessly with other AWS services, enabling efficient data handling and real-time model updates. Furthermore, Bedrock’s pre-built integrations allow for rapid experimentation and customization of the model, ensuring it meets specific user needs effectively​
  5. Guardrails Implementation: Amazon Bedrock guardrails were established to monitor outputs and maintain compliance with ethical guidelines, including user confirmation for critical interactions.
  6. Performance Evaluation with BLEU Scoring:We employed BLEU scoring to compare generated text against reference outputs, focusing on n-gram precision and implementing a brevity penalty for accuracy​
  7. Integration with ROUGE Scoring: We used ROUGE scoring to measure recall and precision, evaluating the model's ability to capture essential information and ensuring comprehensive content coverage​
  8. User Experience Enhancements: We prioritized session management to maintain contextual continuity in interactions, supported by AWS services for scalable performance.
  9. Data Extraction and Validation: We leveraged AWS Textract’s advanced data extraction capabilities to accurately capture necessary invoice fields. Using AWS Bedrock’s AI, we cross-validated the data to eliminate errors and ensure precision.
  10. Enhanced User Interface: The user interface was optimized to display extracted and validated data in an intuitive and structured tabular format, simplifying the review and analysis process for LS Mills' staff.
  11. Seamless ERP Integration: We ensured smooth integration of the invoice processing system with LS Mills' existing ERP, automating the import of validated invoice data directly into the system, reducing manual entry and associated errors.
  12. Real-time Invoice Processing: Our solution enabled real-time invoice processing, drastically reducing processing time and ensuring invoices are immediately available for review and approval after submission.
  13. Unified Workflow Integration: Using AWS Lambda and Amazon API Gateway, we integrated the new AI-powered features into LS Mills' existing financial systems, ensuring a seamless workflow and minimizing operational disruptions.
  14. Security Implementation: We implemented AWS security best practices, including data encryption and IAM role-based access control, to safeguard sensitive financial data. Regular security audits were conducted to maintain robust data protection.
  15. Regulatory Compliance: The solution was built to comply with industry standards and regulatory requirements, ensuring data security and privacy through stringent compliance checks and regular audits.

Key Services Used:

Key AWS Services Amazon Textract, Amazon Bedrock, EC2, ALB, S3, CloudFormation, Autoscaling, Lambda, CloudTrail, VPC Endpoint, CloudWatch Logs, AWS Config, Security Hub, AWS SNS.
Other Services SSL VPN
Solution Architecture:
Security Considerations:
Results and Benefits: