{% load l10n %} JB Compta — Import

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. · 📌 Installer le favori « Indy → CSV » (le plus simple, depuis ton navigateur)
{% csrf_token %}

② Ou : CSV / capture d'écran (OCR)

{% endif %} {% if lignes %}
{% csrf_token %}

Aperçu éditable — {{ lignes|length }} ligne(s){% if source == 'indy' %} (Indy){% elif source == 'ocr' %} (OCR){% endif %}

{% for l in lignes %} {% endfor %}
DateLibelléCatégorieRégime TVATaux %Montant €Type
{{ l.type }}
{% endif %}