Extract INV/ number and Amount from Flutter Canvas on EDC.com.kh portal
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 🤞