Importer un relevé
← Tableau de bord
·
Saisie manuelle
{% if erreurs %}{% for e in erreurs %}
{{ e }}
{% endfor %}{% endif %} {% if resultat %}
Import terminé : {% for k, v in resultat.items %}{{ v }} {{ k }}{% if not forloop.last %} · {% endif %}{% endfor %}. Voir
dépenses
·
factures
.
{% endif %} {% if ocr_debug %}
Texte lu par l'OCR (debug — {{ ocr_debug|length }} ligne(s))
{% for l in ocr_debug %}{{ l }} {% endfor %}
{% endif %} {% if not lignes %}
{% csrf_token %}
Entreprise
{% for e in entreprises %}
{{ e.nom }}
{% endfor %}
Année (pour l'OCR)
Photo / capture (OCR) — fichier, appareil photo, ou
coller
(Ctrl/Cmd+V)
…ou fichier CSV
…ou colle des lignes CSV
(date ; libelle ; categorie ; activite ; taux_tva ; regime ; montant)
{{ texte }}
Analyser / Aperçu
L'OCR pré-remplit les lignes ; tu corriges la catégorie et le taux dans l'aperçu avant d'enregistrer.
{% endif %} {% if lignes %}
{% csrf_token %}
Aperçu éditable — {{ lignes|length }} ligne(s) {% if source == 'ocr' %}(OCR){% endif %}
Date
Libellé
Catégorie
Régime TVA
Taux %
Montant €
Type
{% for l in lignes %}
—
{% for c in categories %}
{{ c.nom }}
{% endfor %}
{% for val,lab in regimes %}
{{ lab }}
{% endfor %}
{{ l.type }}
{% endfor %}
Enregistrer ces opérations
Recommencer
{% endif %}