Key Features
Structured JSON Output: Product comparison, cost summary, financial analysis
Product-Level Fields: Specification, Make, Brand, UOM, Productwise Grade
Cost Breakdown: GST, Freight, Loading/Unloading, Other Charges (separate lines)
Financial Calculations: Credit Benefit, Lead Time Cost, Adjusted Total Cost
L1/L2/L3 Ranking: Based on Adjusted Total Cost (not just base price)
Total Landed Cost + Recommended Buying Cost
API Endpoints
POST /compare/comprehensive
Full structured JSON analysis with all fields
POST /compare/quick
Quick structured JSON ranking
Optional param: datas - JSON string with product names from Odoo for matching
POST /compare/price-focused
Detailed cost analysis with structured JSON
Supported File Formats
.xls, .pdf, .doc, .txt, .docx, .csv, .xlsx
Max file size: 50MB per file