How acc-tax-reighteen/ar-orderan-machinelearning works
This repository synchronizes AR invoice data into product-specific Google Sheets, using a locally trained customer-name resolver to match order entries with AR records. The workflow has two branches: historical order data is prepared and used to train the hybrid matcher offline; the runtime pipeline extracts AR data, formats dates, then repeatedly resolves customers and writes values and invoice summaries to Sheets. The README documents several runtime capabilities not visible in the partial injector excerpt; their internals are kept within that component. The automation script’s checks mention files absent from the supplied tree, so those are not mapped.
Main entry points: 1_CopyData.py AR extraction · 3_InjectDataToSS.py Sync and resolve · Jalankan Automasi.py Automation runner · LookupData.py Historical data lookup
Components 14
Offline training
- Historical data lookup
ML/LookupData.py - Training workbook
- Hybrid model training
ML/TrainingModel.py
AR preparation
- AR extraction
Dapur/1_CopyData.py - Clean AR data
- Customer feedback data
- Date formatting
Dapur/2_AdjDateFormat.py
Order synchronization
- Automation runner
Jalankan Automasi.py - Sync and resolve
Dapur/3_InjectDataToSS.py
External data and services
- Historical orders
- Trained model data
- ARVIEWER workbook
- Product order sheets
Other components
- Operator
Connections 17
- Operator → Automation runner: starts
Jalankan Automasi.py - Automation runner → AR extraction: runs
Jalankan Automasi.py - Automation runner → Date formatting: runs
Jalankan Automasi.py - Automation runner → Sync and resolve: runs
Jalankan Automasi.py - Historical orders → Historical data lookup: provides files
README.md - Historical data lookup → Training workbook: fills columns
README.md - Training workbook → Hybrid model training: trains from
README.md - Hybrid model training → Trained model data: produces
README.md - ARVIEWER workbook → AR extraction: provides sheets
Dapur/1_CopyData.py - AR extraction → Clean AR data: extracts
Dapur/1_CopyData.py - AR extraction → Customer feedback data: extracts
Dapur/1_CopyData.py - Trained model data → AR extraction: copied by config
README.md - Clean AR data → Date formatting: reads and rewrites
Dapur/2_AdjDateFormat.py - Clean AR data → Sync and resolve: loads for matching
README.md - Customer feedback data → Sync and resolve: preloads
README.md - Trained model data → Sync and resolve: preloads resolver
README.md - Sync and resolve → Product order sheets: updates values and notes
README.md