Invoice Extraction and Standardization API
This API allows you to upload an invoice image and extract its details in a standardized JSON format. The extracted data is merged with a master template to ensure consistency across different invoices.
Features
- Upload an invoice image and receive extracted data in JSON format.
- Standardize the JSON output with a predefined master template.
- Ensure consistency in units and metrics across different invoices.
Setup Instructions
Prerequisites
- Node.js (version 14 or later)
- npm (version 6 or later)
Installation
- Clone the Repository:
git clone <repository-url> cd <repository-directory>
- Install Dependencies:
npm install
- Create a .env file
MISTRAL_API_KEY=your_mistral_api_key_here
- Start the server by running:
node server.js
Description
Languages
JavaScript
100%