How ardaekiz0/kdv-capraz-kontrol works
KDV Çapraz Kontrol is a Turkish VAT invoice reconciliation desktop application with a batch CLI. Users select invoices and a control ledger, the application reads supported formats, matches invoice and ledger records, and presents discrepancies for review and reporting. Optional taxpayer workflows retrieve e-Arşiv invoices from GİB or Luca ledger data. The README also documents history, dashboards, declaration comparison, Ba/Bs forms, filtering and email. Edges reflect README statements and the supplied source index; several UI and auxiliary modules were not sampled, so uncertain internal links are omitted.
Main entry points: main.py Desktop app · matcher.py Invoice matching · dosya.py File dispatch · mukellef_panel.py Taxpayer panel
Components 31
Entry and retrieval
- Desktop app
main.py - Batch CLI
cli.py - Taxpayer panel
mukellef_panel.py - GİB retrieval
gib_cekme.py - Luca retrieval
luca_cekme.py
Document ingestion
- File dispatch
dosya.py - PDF invoices
efatura.py - XML invoices
xml_oku.py - Excel invoices
excel_oku.py - MAHSUP slips
fis_listesi.py - Scanned invoices
ocr.py - Ledger parsing
cetvel.py - Luca ledger import
luca_cekme.py
Reconciliation
- Invoice matching
matcher.py - Returns parsing
iade_ayristirici.py - VAT rules
kurallar.py - Data utilities
utils.py
Review and analysis
- Results review
main.py - Invoice details
fatura_detay_pencere.py - Advanced filters
filtre_dialog.py - Dashboard
dashboard.py - Rate validation
oran_kontrol.py - Declaration compare
beyanname.py - Ba/Bs form
muhtasar_ba_formu.py
Reports and history
- Check history
db.py - Excel report
report.py - PDF report
report_pdf.py - Report email
email_gonder.py
Other components
- Accountant
- GİB service
- Luca service
Connections 37
- Accountant → Desktop app: selects files
README.md - Accountant → Batch CLI: runs batch
README.md - Desktop app → File dispatch: loads files
README.md - Batch CLI → File dispatch: loads files
- File dispatch → PDF invoices: dispatches PDF
dosya.py - File dispatch → XML invoices: dispatches XML
dosya.py - File dispatch → Excel invoices: dispatches Excel
dosya.py - File dispatch → MAHSUP slips: dispatches slips
dosya.py - PDF invoices → Scanned invoices: uses OCR
efatura.py - Ledger parsing → PDF invoices: uses PDF reader
cetvel.py - Ledger parsing → Scanned invoices: uses OCR
cetvel.py - GİB retrieval → GİB service: downloads invoices
README.md - GİB retrieval → Excel invoices: parses downloads
gib_cekme.py - Luca retrieval → Luca service: downloads ledger
README.md - Taxpayer panel → GİB retrieval: starts retrieval
mukellef_panel.py - Taxpayer panel → Luca retrieval: starts retrieval
mukellef_panel.py - Taxpayer panel → Ledger parsing: loads ledger
README.md - Desktop app → Invoice matching: checks records
README.md - Batch CLI → Invoice matching: checks records
- Invoice matching → VAT rules: checks VAT rules
matcher.py - Invoice matching → Returns parsing: checks returns
matcher.py - Invoice matching → Data utilities: uses utilities
matcher.py - Desktop app → Results review: shows results
README.md - Results review → Invoice details: opens details
README.md - Results review → Advanced filters: filters results
README.md - Results review → Dashboard: summarizes results
README.md - Dashboard → Invoice matching: uses results
dashboard.py - Desktop app → Rate validation: checks rates
README.md - Desktop app → Declaration compare: compares periods
README.md - Desktop app → Ba/Bs form: creates form
README.md - Desktop app → Check history: saves checks
README.md - Desktop app → Excel report: exports report
README.md - Desktop app → PDF report: exports report
README.md - Excel report → Invoice matching: uses results
report.py - Excel report → Data utilities: uses utilities
report.py - PDF report → Invoice matching: uses results
report_pdf.py - Desktop app → Report email: sends report
README.md