feat: remittances, SDD mandates, bank reconciliation, dunning and cash flow services (#70 #71 #72)

Remittances draft the items due, write the RiBa CBI or SEPA pain.001/pain.008
file, present them (bills account and advance, or supplier payments), credit
them and record unpaid effects with their fees. The reconciliation imports
CSV, CBI and CAMT.053 statements without duplicates and proposes matches with
open items, payments, F24, remittances and saved rules. Reminders follow three
levels with late interest, e-mail/PEC/letter and customer block, also from a
scheduled task; the cash flow forecasts 90 days by week.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-13 09:06:04 +01:00
1 parent 562bf98092
commit 5bbc2120a1
12 files changed
+2869

No files matched your search

@@ -164,6 +164,16 @@ internal static class KhaemhatServices
services.AddSingleton<Khaemhat.Application.Ledger.RecurringEntryService>();
services.AddSingleton<IScheduledJob, Khaemhat.Application.Ledger.RecurringEntriesJob>();
// The schedule and the treasury (ADR 0038): collections, remittances, reconciliation, reminders, cash flow.
services.AddSingleton<Khaemhat.Application.Treasury.ScheduleService>();
services.AddSingleton<Khaemhat.Application.Treasury.PaymentService>();
services.AddSingleton<Khaemhat.Application.Treasury.RemittanceService>();
services.AddSingleton<Khaemhat.Application.Treasury.MandateService>();
services.AddSingleton<Khaemhat.Application.Treasury.BankReconciliationService>();
services.AddSingleton<Khaemhat.Application.Treasury.DunningService>();
services.AddSingleton<Khaemhat.Application.Treasury.CashFlowService>();
services.AddSingleton<IScheduledJob, Khaemhat.Application.Treasury.DunningJob>();
// The document engine (ADR 0032): one engine, the copies, a typed service per family.
services.AddSingleton<Khaemhat.Application.Documents.DocumentEngine>();
services.AddSingleton<Khaemhat.Application.Documents.DocumentCopyService>();