Neuer Button "Zahlung anlegen" auf der Transaktions-Detailseite (card.php)
für Bankbuchungen ohne zugehörige Rechnung (z.B. Steuer-Erstattungen,
private Umbuchungen, sonstige Zahlungen).
- Inline-Formular mit Buchungskonto (Select2), Nebenbuchkonto,
Buchungsseite (Soll/Haben) und Label
- Buchungsseite wird automatisch aus Vorzeichen ermittelt
- Erstellt PaymentVarious mit Bank-Eintrag und bank_url-Verknüpfung
- Transaktion wird auf MATCHED gesetzt
- Anzeige der sonstigen Zahlung mit Link bei gematchten Transaktionen
- Fix: update() speichert jetzt fk_user_match und date_match korrekt
- Fix: Leeres Nebenbuchkonto wird nicht mehr als -1 gespeichert
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Filter bleiben beim Navigieren (card.php → list.php) erhalten (Session)
- Neuer Admin-Setting: Standard-Statusfilter für die Buchungsliste
- Empfehlung: "Neu" als Standard, damit zugeordnete Buchungen ausgeblendet werden
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- HKEKA v3/v4/v5 Segmente fuer phpFinTS implementiert (VR Bank unterstuetzt kein HKEKP)
- GetElectronicStatement Action mit Base64-Erkennung und Quittungscode
- PDF-Deduplizierung per MD5 (Bank sendet identische Saldenmitteilungen)
- Saldenmitteilungen ohne Auszugsnummer werden uebersprungen
- Datums-Validierung: 30.02. (Bank-Konvention) wird auf 28.02. korrigiert
- Numerische Sortierung fuer statement_number (CAST statt String-Sort)
- Jahr-Filter: statement_year=0 ausgeschlossen
- Menue/Button: "Kontoauszuege" -> "Umsaetze" (statements.php zeigt MT940, nicht PDFs)
- Redirect nach FinTS-Abruf auf aktuelles Jahr statt year=0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- php-fints Bibliothek von 3.7.0 auf 4.0.0 aktualisiert
- Parser-Fix: Ignoriert zusätzliche Bank-Felder statt Exception
- HKEKA Segmente implementiert (HIEKASv5, HKEKAv5, HIEKAv5)
- HKKAA Segmente implementiert (HIKAASv1, HKKAAv1)
- GetStatementFromArchive und GetElectronicStatement Actions
HINWEIS: HKKAA/HKEKA funktionieren noch nicht mit VR Bank
(Fehler "unerwarteter Aufbau wrt DE 2" - Kontoverbindungsformat)
Normale Funktionalität (Transaktionsimport) ist nicht betroffen.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Neue php-fints Segmente: HKEKPv2, HIEKPv2, HIEKPSv2
- Action-Klasse GetStatementPDF mit Pagination-Support
- Integration in pdfstatements.php (2-Spalten-Layout)
- Cronjob doAutoFetchPdf für automatischen Abruf
- Bank-Support-Prüfung via BPD (HIEKPS Parameter)
Hinweis: Nicht alle Banken unterstützen HKEKP
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- CHANGELOG.md: Version 3.0 und 3.1 dokumentiert
- CLAUDE.md: Projektspezifische Entwicklernotizen erstellt
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Matches die innerhalb von 10% des Transaktionsbetrags liegen
werden jetzt vor Matches mit größerer Abweichung angezeigt.
Bei 523€ Transaktion:
- Multi-Match 529€ (Diff 6€) → wird bevorzugt
- Einzelmatch 60€ (Diff 463€) → kommt danach
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Multi-Invoice Matches werden jetzt bevorzugt angezeigt,
da sie besser zum Transaktionsbetrag passen als Einzelmatches.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Toleranz für Multi-Invoice-Matching auf 3% des Betrags erhöht (statt 5€ fix)
- Automatische proportionale Verteilung der Zahlung bei Skonto-Abzug
- Rechnungen werden mit close_code='discount_vat' als bezahlt markiert
- Skonto-Betrag wird in der Notiz dokumentiert
- Version 3.1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Helper-Funktion BankImportTransaction::notify() für sichere GlobalNotify-Nutzung
- Benachrichtigung bei neuen importierten Bankbuchungen
- Aktion-erforderlich wenn unzugeordnete Buchungen warten
- countUnmatchedTransactions() Funktion hinzugefügt
- Fallback auf dol_syslog wenn GlobalNotify nicht verfügbar
- Version 2.8
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Admin Tools section in setup page with link to repair.php
- Translations for AdminTools and Open (DE/EN)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- New repair.php page for admin to fix orphaned BankImport transactions
that are still marked as "New" but have existing payments in Dolibarr
- Fix invoice filter in card.php to only check BankImport linkage,
not payment.fk_bank - allows linking paid invoices not yet in BankImport
- Add translations for repair page (DE/EN)
- Bump version to 1.7.1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When showing paid invoices for linking, exclude those whose
payment is already linked to a bank entry (fk_bank > 0).
A paid invoice can only be linked to one bank transaction.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds fk_statement column for existing installations that were
created before this column was added to the schema.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The column in llx_paiementfourn_facturefourn is fk_paiementfourn (no underscore)
not fk_paiement_fourn. This caused payment lookups to fail, creating
duplicate payments instead of linking to existing ones.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When linking paid invoices that already have bank entries:
- Added missing commit() and return after update() in bank_line branch
- Added proper error handling for update() failures
- Fixed both single invoice (linkExistingPayment) and multi-invoice linking
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>