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 %}
① Synchroniser depuis Indy (recommandé)
Récupère tes transactions directement depuis l'API Indy. Anti-doublon automatique.
Entreprise
{% for e in entreprises %}
{{ e.nom }}
{% endfor %}
Du
Au
Token Indy (Bearer, sans « Bearer ») — mémorisé sur l'entreprise, expire ~1 h
Récupérer depuis Indy
{% csrf_token %}
② Ou : CSV / capture d'écran (OCR)
Entreprise
{% for e in entreprises %}
{{ e.nom }}
{% endfor %}
Année (OCR)
Photo / capture — fichier, 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
{% endif %} {% if lignes %}
{% csrf_token %}
Aperçu éditable — {{ lignes|length }} ligne(s){% if source == 'indy' %} (Indy){% elif 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 %}