From a9c27e755b9fa593e1170755078b2079a505eb81 Mon Sep 17 00:00:00 2001 From: fredz Date: Wed, 2 Apr 2025 08:57:45 +0200 Subject: [PATCH 1/5] com.ovh.fr.yml update --- src/invoice2data/extract/templates/fr/com.ovh.fr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml index f0749031..5f0a0e3f 100644 --- a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml +++ b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml @@ -1,8 +1,8 @@ issuer: OVH.com fields: - amount: TOTAL\s+TTC\s+([\d ]+,\d{2}) - amount_untaxed: PRIX\s+HT\s+([\d ]+,\d{2}) - date: Date\s+:\s+(\d+ .+ \d{4}) + amount: Total\s+TTC\s+([\d ]+,\d{2}) + amount_untaxed: Total de la facture HT\s+([\d ]+,\d{2}) + date: Date d'émission\s+:\s+(\d{1,2}\/\d{1,2}\/\d{4}) invoice_number: Facture\s+.+(FR\w+) static_vat: FR22424761419 keywords: From d127d855c0556cb8064e78f83aacfd97c955c238 Mon Sep 17 00:00:00 2001 From: fredz Date: Mon, 2 Jun 2025 15:28:22 +0200 Subject: [PATCH 2/5] fr.google.yml update --- src/invoice2data/extract/templates/fr/fr.amazon.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/invoice2data/extract/templates/fr/fr.amazon.yml b/src/invoice2data/extract/templates/fr/fr.amazon.yml index 910a51e0..2a5c8ef5 100644 --- a/src/invoice2data/extract/templates/fr/fr.amazon.yml +++ b/src/invoice2data/extract/templates/fr/fr.amazon.yml @@ -2,15 +2,13 @@ issuer: Amazon France fields: amount: Facture Total\s+([\d ]+,\d{2}) amount_untaxed: Total\s+([\d ]+,\d{2})\s€\s+[\d ]+,\d{2}\s€ - date: (\d{2}\s.+\s\d{4}) + date: Date de la commande\s+(\d{2}.\d{2}.\d{4}) invoice_number: Numéro de la facture\s+([\w-]+) static_vat: FR 12487773327 keywords: - - FR 12487773327 - - € - - Facture + - LU20260743 options: currency: EUR date_formats: - - "%d %B %Y" + - "%d.%m.%Y" decimal_separator: "," From a73c31c9cc5f5bce10f4254d7968ebf91ac14dd2 Mon Sep 17 00:00:00 2001 From: fredz Date: Wed, 2 Jul 2025 19:02:54 +0200 Subject: [PATCH 3/5] ovh.fr template keywords --- src/invoice2data/extract/templates/fr/com.ovh.fr.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml index 5f0a0e3f..36cb481a 100644 --- a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml +++ b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml @@ -8,7 +8,6 @@ fields: keywords: - FR22424761419 - Facture - - euros options: currency: EUR date_formats: From 3c2f3f7fc74ccfe07ccc925dd2107781c821329f Mon Sep 17 00:00:00 2001 From: fredz Date: Wed, 2 Jul 2025 19:03:47 +0200 Subject: [PATCH 4/5] +fr.google template --- .../extract/templates/fr/fr.google.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/invoice2data/extract/templates/fr/fr.google.yml diff --git a/src/invoice2data/extract/templates/fr/fr.google.yml b/src/invoice2data/extract/templates/fr/fr.google.yml new file mode 100644 index 00000000..3544ea87 --- /dev/null +++ b/src/invoice2data/extract/templates/fr/fr.google.yml @@ -0,0 +1,19 @@ +issuer: Google Cloud France +fields: + amount: Total en EUR\s+([\d ]+,\d{2}) + amount_untaxed: Sous-total en EUR\s+([\d ]+,\d{2}) + date: \s{10}\s+(\d{1,2} [\w\.]+ \d{4}) + invoice_number: (GCFR\w+) + static_vat: IE6388047V +keywords: + - Google Cloud France + - Facture + - FR78881721583 + - EUR +options: + currency: EUR + date_formats: + - "%d %B %Y" + languages: + - fr + decimal_separator: "," From 75a40f75afbd0ee8a58d4c7057f99560630ed546 Mon Sep 17 00:00:00 2001 From: fredz Date: Tue, 2 Dec 2025 08:31:06 +0100 Subject: [PATCH 5/5] com.ovh.fr.yml template --- src/invoice2data/extract/templates/fr/com.ovh.fr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml index 36cb481a..5e7cfdd5 100644 --- a/src/invoice2data/extract/templates/fr/com.ovh.fr.yml +++ b/src/invoice2data/extract/templates/fr/com.ovh.fr.yml @@ -3,7 +3,7 @@ fields: amount: Total\s+TTC\s+([\d ]+,\d{2}) amount_untaxed: Total de la facture HT\s+([\d ]+,\d{2}) date: Date d'émission\s+:\s+(\d{1,2}\/\d{1,2}\/\d{4}) - invoice_number: Facture\s+.+(FR\w+) + invoice_number: Facture\s+(FR\w+) du.+ static_vat: FR22424761419 keywords: - FR22424761419