Enhance financial report accuracy by including closing journals in profit and loss calculations and trial balances; add idempotency check for journal entry creation.

This commit is contained in:
2026-10-20 18:52:04 +05:30
parent 3f16e0cb44
commit 21c7ba54ea
10 changed files with 56 additions and 26 deletions
@@ -6,6 +6,7 @@ namespace General_Ledger_Service.Interfaces.Repositories
public interface IJournalEntryRepository
{
Task<JournalEntry?> GetJournalEntryByJournalNoAsync(string journalNo);
Task<JournalEntry?> GetJournalEntryBySourceReferenceAsync(string sourceModule, string reference);
Task<int> CountJournalEntriesForYearAsync(int year);
Task<JournalEntry> AddJournalEntryAsync(JournalEntry entry);