commit 199d03ae9f3d0e7ba681efb6264d5b4fe6e5f1e5 Author: Kevin L'Hereec Date: Thu Jul 30 12:12:47 2026 +0200 Initial: factures scannées + articles.json + CSV récapitulatif diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82c2e25 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +__pycache__/ +*.pyc +csv_output/ +.~lock.* diff --git a/ACTION_02-06-2026_415110190014021.png b/ACTION_02-06-2026_415110190014021.png new file mode 100644 index 0000000..450efab Binary files /dev/null and b/ACTION_02-06-2026_415110190014021.png differ diff --git a/GIFI_13-06-2026_001517.png b/GIFI_13-06-2026_001517.png new file mode 100644 index 0000000..91e4452 Binary files /dev/null and b/GIFI_13-06-2026_001517.png differ diff --git a/LECLERC_05-06-2026_0260006580.png b/LECLERC_05-06-2026_0260006580.png new file mode 100644 index 0000000..4e35ac0 Binary files /dev/null and b/LECLERC_05-06-2026_0260006580.png differ diff --git a/MR-BRICOLAGE_13-06-2026_118520.png b/MR-BRICOLAGE_13-06-2026_118520.png new file mode 100644 index 0000000..463a23c Binary files /dev/null and b/MR-BRICOLAGE_13-06-2026_118520.png differ diff --git a/MR-BRICOLAGE_13-06-2026_118645.png b/MR-BRICOLAGE_13-06-2026_118645.png new file mode 100644 index 0000000..f18fb24 Binary files /dev/null and b/MR-BRICOLAGE_13-06-2026_118645.png differ diff --git a/MR-BRICOLAGE_15-06-2026_165677.png b/MR-BRICOLAGE_15-06-2026_165677.png new file mode 100644 index 0000000..8641247 Binary files /dev/null and b/MR-BRICOLAGE_15-06-2026_165677.png differ diff --git a/TEDI_06-2026.png b/TEDI_06-2026.png new file mode 100644 index 0000000..5c14c46 Binary files /dev/null and b/TEDI_06-2026.png differ diff --git a/WELDOM_02-06-2026_69302-0265216.png b/WELDOM_02-06-2026_69302-0265216.png new file mode 100644 index 0000000..1519567 Binary files /dev/null and b/WELDOM_02-06-2026_69302-0265216.png differ diff --git a/articles.json b/articles.json new file mode 100644 index 0000000..03b86fa --- /dev/null +++ b/articles.json @@ -0,0 +1 @@ +{"tickets": [{"id": 1,"enseigne": "SAS GIFI MAG","adresse": "Lieu-dit Keringant, 22700 St Quay Perros","numero_ticket": "001517","date": "13/06/2026","heure": "17:43:58","retours": [{ "article": "SEAU ESSOREUR", "prix": -19.99 }],"achats": [{ "article": "SEAU COMPLET VI", "prix": 29.99 },{ "article": "PANIERE PLA POI", "prix": 1.94 },{ "article": "Eco-mobilier", "prix": 0.05 },{ "article": "PLANTE ARTIFICIELLE", "prix": 2.99 },{ "article": "VERRE BAS X6 VE", "prix": 6.79 },{ "article": "FILM VITRE PVC", "prix": 2.98 }],"total_ttc": 24.75,"mode_paiement": "CB NFC","tva": { "taux": "5-20%", "montant_tva": 4.12, "montant_ht": 20.63 }},{"id": 2,"enseigne": "ACTION","adresse": "4151 Lannion, 7 Zone commerciale de Saint-Marc","numero_facture": "415110190014021","date": "02-06-2026","heure": "15:27:02","client": "L HEREEC KEVIN, 22300 LANNION","achats": [{ "code": "3207249", "article": "Mug à café avec texte céram. 220ml (3x0,99)", "prix": 2.97 },{ "code": "3207249", "article": "Mug à café avec texte céram. 220ml (3x0,99)", "prix": 2.97 },{ "code": "3219761", "article": "Masterchef coupe-pizza inox 21cm", "prix": 0.89 },{ "code": "2542658", "article": "Cuillères 4pcs inox", "prix": 1.62 },{ "code": "2542658", "article": "Cuillères 4pcs inox", "prix": 1.62 },{ "code": "3219765", "article": "Masterchef fouet inox 31cm", "prix": 0.99 },{ "code": "3220655", "article": "Royal Leerdam verre vin alba 3pcs 380ml", "prix": 2.98 },{ "code": "2577709", "article": "Curver terrazzo panier 36x27x14cm", "prix": 2.29 },{ "code": "2517949", "article": "Manche à balai métal 140cm", "prix": 0.89 },{ "code": "3223091", "article": "Multy i-scrub éponges 3pcs", "prix": 0.99 },{ "code": "2560969", "article": "Cuillères à dessert 5pcs inox", "prix": 1.58 },{ "code": "2526286", "article": "Passoire/tamis 2 poignées inox 25cm", "prix": 1.79 },{ "code": "2525237", "article": "Pelle+balayette plastique", "prix": 0.89 },{ "code": "3007936", "article": "Set ustensiles cuisine+support bambou", "prix": 2.99 },{ "code": "3222126", "article": "Brosse WC support", "prix": 0.99 },{ "code": "2517533", "article": "Balai env. 30cm", "prix": 1.59 },{ "code": "3203585", "article": "The Pink Stuff nett. multi-usages 850ml", "prix": 1.85 },{ "code": "2513667", "article": "Tapis antidérapant 125x45cm (5x1,62)", "prix": 8.10 },{ "code": "2542656", "article": "Fourchettes 4pcs inox (2x1,62)", "prix": 3.24 },{ "code": "2567689", "article": "Raclette vitre/douche", "prix": 0.47 }],"retours": [{ "date": "16-06-2026", "code": "2513667", "article": "Tapis antidérapant 125x45cm (-3x1,62)", "prix": -4.86 }],"total_ttc": 41.70,"nombre_articles": 29,"mode_paiement": { "type": "Espèces", "montant_recu": 51.70, "monnaie_rendue": 10.00 },"tva": { "taux": "20%", "montant_tva": 6.95, "montant_ht": 34.75 }},{"id": 3,"enseigne": "TEDi Distribution SAS","adresse": "6 Chemin de Kerzolles, 22300 Lannion","achats": [{ "categorie": "Auxiliaires de cuisine", "code": "846350010010000", "prix": 2.55 },{ "categorie": "Pâtisserie", "code": "546960010510000", "prix": 1.55 },{ "categorie": "Auxiliaires de cuisine", "code": "974010010010000", "prix": 1.00 },{ "categorie": "Ustensiles de cuisine", "code": "362530010010000", "prix": 2.55 },{ "categorie": "Articles de cuisine", "code": "501710034210000", "prix": 1.00 },{ "categorie": "Articles de cuisine", "code": "501710034210000", "prix": 1.00 },{ "categorie": "Articles de cuisine", "code": "578050034310000", "prix": 2.55 },{ "categorie": "Articles de cuisine", "code": "827150034310000", "prix": 4.00 },{ "categorie": "Linge de maison", "code": "834690019210000", "prix": 1.00 },{ "categorie": "Linge de maison", "code": "834690019210000", "prix": 1.00 },{ "categorie": "Linge de maison", "code": "834690019210000", "prix": 1.00 },{ "categorie": "Linge de maison", "code": "834690019210000", "prix": 1.00 }],"total_ttc": 98.50,"mode_paiement": { "type": "Autre", "montant": 98.50 },"tva": { "taux": "20%", "montant_ttc": 98.50, "montant_tva": 16.50, "montant_ht": 82.00 }},{"id": 4,"enseigne": "Mr Bricolage Lannion","adresse": "Lannion, 22300","numero_ticket": "118520","numero_facture": "2026-000095-0008059","caisse": "000003","caissier": "0015","date_vente": "13/06/2026","date_emission": "13/06/2026","heure_debut": "12:21:05","heure_fin": "12:21:26","client": {"nom": "L HEREEC KEVIN","adresse": "22300 LANNION, FRANCE"},"livraison": {"nom": "L HEREEC KEVIN"},"achats": [{"article": "Raccordement (PAV)","prix_unitaire_ttc": 17.50,"quantite": 1,"remise": -3.50,"total_ttc": 14.00,"ecotaxe": 0.05},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Boîte centre blanc 65x45mm","code": "3233550418439","prix_unitaire_ttc": 11.90,"quantite": 1,"remise": -2.38,"total_ttc": 9.52,"dont_deee": 0.04},{"article": "Câble H07 V-R 1x10mm² Rouge (1m à 2,80€/m)","code": "3390721016457","prix_unitaire_ttc": 2.80,"quantite": 1,"remise": -0.56,"total_ttc": 2.24},{"article": "Câble H07 V-R 1x10mm² Bleu (1m à 2,80€/m)","code": "3390721016440","prix_unitaire_ttc": 2.80,"quantite": 1,"remise": -0.56,"total_ttc": 2.24}],"sous_total_avant_remise": 106.40,"dont_ecom": 0.05,"dont_deee": 0.28,"avantage_carte_mr_bricolage_totale": -21.28,"total_ttc": 85.12,"mode_paiement": {"type": "CB","banque": "CIC","carte": "A00000000421J10","no_auto": "235541","montant": 85.12,"mode": "DEBIT"},"tva": {"taux": "20%","montant_tva": 14.20,"montant_ht": 70.92},"nombre_produits": 10,"fidelite": {"numero_carte": "2010029905093","ancien_solde_points": 38,"nouveau_solde_points": 38},"garantie": "Garantie légale de conformité pour les produits concernés : 2 ans à compter de la livraison du bien"},{"id": 5,"enseigne": "Mr Bricolage Lannion","adresse": "Zone commerciale du Rusquet, 22300 Lannion","numero_ticket": "118645","date": "13/06/2026","heure": "18:35:51","client": "L HEREEC KEVIN, 22300 LANNION","achats": [{ "code": "10369935", "article": "SPOT ARVID 3X20W E27 NOIR/BOIS", "prix": 59.90 }],"sous_total": 59.90,"avantage_carte": -11.98,"total_ttc": 47.92,"mode_paiement": { "type": "CB", "montant": 47.92 },"tva": { "taux": "20%", "montant_tva": 7.99, "montant_ht": 39.93 },"nombre_produits": 1},{"id": 6,"enseigne": "Mr Bricolage Lannion","adresse": "Zone commerciale du Rusquet, 22300 Lannion","numero_ticket": "165677","date": "15/06/2026","heure": "10:41:12","client": "L HEREEC KEVIN, 22300 LANNION","achats": [{ "code": "10157896", "article": "APPL. BEDWOOD NOIR", "prix": 16.90 },{ "code": "10369934", "article": "SPOT ARVID 2X20W E27 NOIR/BOIS", "prix": 39.90 }],"sous_total": 56.80,"cheque_fidelite": -10.00,"total_ttc": 46.80,"mode_paiement": { "type": "CB", "montant": 46.80 },"tva": { "taux": "20%", "montant_tva": 7.80, "montant_ht": 39.00 },"nombre_produits": 2},{"id": 7,"enseigne": "Weldom Lannion","adresse": "38 Rue de Saint-Marc, 22300 Lannion","numero_ticket": "69302/0265216","date": "02-06-2026","heure": "14:53","vendeuse": "Helene Be","client": "L HEREEC KEVIN, 22300 LANNION","achats": [{ "code": "5702326761195", "article": "STORE VELUX SK06 1", "prix": 129.00, "eco_participation": 0.51 },{ "code": "3375130002857", "article": "ACETONE 1L", "prix": 6.00 }],"total_ttc": 135.00,"mode_paiement": { "type": "Espèces", "montant_recu": 150.00, "monnaie_rendue": 15.00 },"tva": { "taux": "20%", "montant_tva": 22.50, "montant_ht": 112.50 },"eco_participation_totale": 0.51},{"id": 8,"enseigne": "E.Leclerc Perlandis","adresse": "Route de Perros, 22300 Lannion","numero_facture": "0260006580","date": "05/06/26","client": "L HEREEC KEVIN, 22300 LANNION","achats": [{ "code": "3158079932696", "article": "RIGA - Lot de 3 couteaux de table", "prix_ht": 2.92, "prix_ttc": 3.50 },{ "code": "3601029952195", "article": "Grille-pain 2F Elsay T389A00", "prix_ht": 13.33, "prix_ttc": 15.99, "eco_participation": 0.42 },{ "code": "3601029952201", "article": "Bouilloire Elsay WK8215Y", "prix_ht": 12.49, "prix_ttc": 14.99, "eco_participation": 0.41 }],"total_ht": 28.73,"total_ttc": 34.48,"mode_paiement": { "type": "CB", "montant": 34.48 },"tva": { "taux": "20%", "montant_tva": 5.75 },"eco_participation_totale": 0.83}]} diff --git a/factures_complet.csv b/factures_complet.csv new file mode 100644 index 0000000..9feb517 --- /dev/null +++ b/factures_complet.csv @@ -0,0 +1,59 @@ +type;enseigne;date;numero_ticket;client;code_article;article;quantite;prix_unitaire;remise;prix;eco_participation;total_ticket_ttc;mode_paiement +achat;SAS GIFI MAG;13/06/2026;001517;;;SEAU COMPLET VI;1;;;29.99;;24.75;CB NFC +achat;SAS GIFI MAG;13/06/2026;001517;;;PANIERE PLA POI;1;;;1.94;;24.75;CB NFC +achat;SAS GIFI MAG;13/06/2026;001517;;;Eco-mobilier;1;;;0.05;;24.75;CB NFC +achat;SAS GIFI MAG;13/06/2026;001517;;;PLANTE ARTIFICIELLE;1;;;2.99;;24.75;CB NFC +achat;SAS GIFI MAG;13/06/2026;001517;;;VERRE BAS X6 VE;1;;;6.79;;24.75;CB NFC +achat;SAS GIFI MAG;13/06/2026;001517;;;FILM VITRE PVC;1;;;2.98;;24.75;CB NFC +retour;SAS GIFI MAG;13/06/2026;001517;;;SEAU ESSOREUR;1;;;-19.99;;24.75;CB NFC +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3207249;Mug à café avec texte céram. 220ml (3x0,99);1;;;2.97;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3207249;Mug à café avec texte céram. 220ml (3x0,99);1;;;2.97;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3219761;Masterchef coupe-pizza inox 21cm;1;;;0.89;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2542658;Cuillères 4pcs inox;1;;;1.62;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2542658;Cuillères 4pcs inox;1;;;1.62;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3219765;Masterchef fouet inox 31cm;1;;;0.99;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3220655;Royal Leerdam verre vin alba 3pcs 380ml;1;;;2.98;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2577709;Curver terrazzo panier 36x27x14cm;1;;;2.29;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2517949;Manche à balai métal 140cm;1;;;0.89;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3223091;Multy i-scrub éponges 3pcs;1;;;0.99;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2560969;Cuillères à dessert 5pcs inox;1;;;1.58;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2526286;Passoire/tamis 2 poignées inox 25cm;1;;;1.79;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2525237;Pelle+balayette plastique;1;;;0.89;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3007936;Set ustensiles cuisine+support bambou;1;;;2.99;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3222126;Brosse WC support;1;;;0.99;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2517533;Balai env. 30cm;1;;;1.59;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;3203585;The Pink Stuff nett. multi-usages 850ml;1;;;1.85;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2513667;Tapis antidérapant 125x45cm (5x1,62);1;;;8.1;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2542656;Fourchettes 4pcs inox (2x1,62);1;;;3.24;;41.7;Espèces +achat;ACTION;02-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2567689;Raclette vitre/douche;1;;;0.47;;41.7;Espèces +retour;ACTION;16-06-2026;415110190014021;L HEREEC KEVIN, 22300 LANNION;2513667;Tapis antidérapant 125x45cm (-3x1,62);1;;;-4.86;;41.7;Espèces +achat;TEDi Distribution SAS;;;;846350010010000;Auxiliaires de cuisine;1;;;2.55;;98.5;Autre +achat;TEDi Distribution SAS;;;;546960010510000;Pâtisserie;1;;;1.55;;98.5;Autre +achat;TEDi Distribution SAS;;;;974010010010000;Auxiliaires de cuisine;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;362530010010000;Ustensiles de cuisine;1;;;2.55;;98.5;Autre +achat;TEDi Distribution SAS;;;;501710034210000;Articles de cuisine;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;501710034210000;Articles de cuisine;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;578050034310000;Articles de cuisine;1;;;2.55;;98.5;Autre +achat;TEDi Distribution SAS;;;;827150034310000;Articles de cuisine;1;;;4.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;834690019210000;Linge de maison;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;834690019210000;Linge de maison;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;834690019210000;Linge de maison;1;;;1.0;;98.5;Autre +achat;TEDi Distribution SAS;;;;834690019210000;Linge de maison;1;;;1.0;;98.5;Autre +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;;Raccordement (PAV);1;17.5;-3.5;14.0;0.05;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3233550418439;Boîte centre blanc 65x45mm;1;11.9;-2.38;9.52;0.04;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3390721016457;Câble H07 V-R 1x10mm² Rouge (1m à 2,80€/m);1;2.8;-0.56;2.24;;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118520;L HEREEC KEVIN;3390721016440;Câble H07 V-R 1x10mm² Bleu (1m à 2,80€/m);1;2.8;-0.56;2.24;;85.12;CB +achat;Mr Bricolage Lannion;13/06/2026;118645;L HEREEC KEVIN, 22300 LANNION;10369935;SPOT ARVID 3X20W E27 NOIR/BOIS;1;;;59.9;;47.92;CB +achat;Mr Bricolage Lannion;15/06/2026;165677;L HEREEC KEVIN, 22300 LANNION;10157896;APPL. BEDWOOD NOIR;1;;;16.9;;46.8;CB +achat;Mr Bricolage Lannion;15/06/2026;165677;L HEREEC KEVIN, 22300 LANNION;10369934;SPOT ARVID 2X20W E27 NOIR/BOIS;1;;;39.9;;46.8;CB +achat;Weldom Lannion;02-06-2026;69302/0265216;L HEREEC KEVIN, 22300 LANNION;5702326761195;STORE VELUX SK06 1;1;;;129.0;0.51;135.0;Espèces +achat;Weldom Lannion;02-06-2026;69302/0265216;L HEREEC KEVIN, 22300 LANNION;3375130002857;ACETONE 1L;1;;;6.0;;135.0;Espèces +achat;E.Leclerc Perlandis;05/06/26;0260006580;L HEREEC KEVIN, 22300 LANNION;3158079932696;RIGA - Lot de 3 couteaux de table;1;;;3.5;;34.48;CB +achat;E.Leclerc Perlandis;05/06/26;0260006580;L HEREEC KEVIN, 22300 LANNION;3601029952195;Grille-pain 2F Elsay T389A00;1;;;15.99;0.42;34.48;CB +achat;E.Leclerc Perlandis;05/06/26;0260006580;L HEREEC KEVIN, 22300 LANNION;3601029952201;Bouilloire Elsay WK8215Y;1;;;14.99;0.41;34.48;CB