← All projects Polski
Real problem from work2026

DocCompare

Compares import documents line by line and stops a delivery before a quantity or price mismatch reaches customs clearance.

Order compared with a proforma, the quantity difference highlighted in red

Outcome: A mismatch between the order, the proforma and the invoice shows up as a red row before the documents go to the customs agency.

My role: Process analysis, requirements, application

  • Process analysis
  • Requirements
  • Data model
  • Python
  • Flask
  • OCR
  • PostgreSQL

The demo requires a login – a guest account is coming. Screenshots in the repository show how it works (the “Code” button).

Demo is upLast code change:

Key decisions

  1. Deterministic rules first, AI only as an adviser
  2. Hard and soft gates in the delivery steps
  3. Supplier profiles with tolerances instead of global rules

Full decision log (Polish)