private void postJournalEntries(
      final Loan loanAccount,
      final List<Long> existingTransactionIds,
      final List<Long> existingReversedTransactionIds) {

    final MonetaryCurrency currency = loanAccount.getCurrency();
    final ApplicationCurrency applicationCurrency =
        this.applicationCurrencyRepositoryWrapper.findOneWithNotFoundDetection(currency);

    final Map<String, Object> accountingBridgeData =
        loanAccount.deriveAccountingBridgeData(
            applicationCurrency.toData(), existingTransactionIds, existingReversedTransactionIds);
    this.journalEntryWritePlatformService.createJournalEntriesForLoan(accountingBridgeData);
  }