EDC Invoice OCR

Extract INV/ number and Amount from Flutter Canvas on EDC.com.kh portal

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
lychanraksmey
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
0
Βαθμολογίες
0 0 0
Έκδοση
2.1
Δημιουργήθηκε την
20/11/2025
Ενημερώθηκε την
20/11/2025
Μέγεθος
7 KB
Άδεια
MIT
Εφαρμόζεται σε

Challenge:
While essential for record-keeping, the Invoice Number (INV/) on bills from EDC (Electricity of Cambodia | Electricité du Cambodge) is not directly copiable.

Solution:
This simple script utilizes OCR to reliably extract both the non-copiable Invoice Number (INV/) and the associated cost from the bill.

Note:
As of the time of writing, the cost price can be copied directly from the EDC site without running the script's OCR function ("Scan for ៛").
The script includes this function as a safeguard against future website updates that might remove the ability to copy the cost.

Hopefully, EDC will eventually enable direct copying of the Invoice Number (INV/) as well! Fingers crossed 🤞