How amit1886/jaistechkhatabooksystem works
This repository appears to be a Django business-management platform spanning commerce, procurement, tax, analytics, messaging, and SaaS administration. Its clearest sampled transaction path is order placement: an initiating user submits an order, which the order engine prices items, updates order records and stock, then calculates commission and assigns delivery. Separate sampled workflows cover invoice extraction and purchase-draft approval, WhatsApp replies, and demand forecasting. The README provides no product detail, and unsampled modules are represented only where their paths and responsibilities are clear from the tree.
Main entry points: order_engine.py Order engine · ocr_engine.py Invoice OCR · forecast_engine.py Demand forecasting · bot_engine.py WhatsApp bot
Components 20
Commerce and procurement
- Order engine
orders/services/order_engine.py - Order records
orders/services/order_engine.py - Commission calculator
commission/services/calculator.py - Delivery assignment
delivery/services/assignment.py - Purchase automation
procurement/automation_engine.py
AI and automation
- Invoice OCR
ai_ocr/ocr_engine.py - Demand forecasting
ai_engine/services/forecast_engine.py - Forecast records
ai_engine/services/forecast_engine.py - AI services
ai_engine/services/runner.py
Platform services
- Tax compliance
superapp/services/tax_engine.py - Accounts
accounts/views.py - SaaS administration
apps/platform/saas_ecosystem - Reporting
apps/platform/reporting
Messaging and integrations
- WhatsApp bot
whatsapp/services/bot_engine.py - Order conversation
commerce/services/whatsapp_conversation.py - Chatbot flows
chatbot/services/flow_engine.py
Other components
- Business user
- OpenAI
- Tesseract OCR
- PyMuPDF
Connections 10
- Business user → Order engine: places order
- Order engine → Order records: creates and updates
- Order engine → Commission calculator: calculates commission
- Order engine → Delivery assignment: assigns partner
- WhatsApp bot → Order conversation: runs order action
- Demand forecasting → Order records: reads sales history
- Demand forecasting → Forecast records: writes forecasts
- Invoice OCR → OpenAI: requests extraction
- Invoice OCR → Tesseract OCR: falls back to
- Invoice OCR → PyMuPDF: extracts PDF text