public LedgerTransaction CreateBalanceAdjustment(LedgerEntryLine entryLine, decimal amount, string narrative,
Account account)
{
if (entryLine == null)
{
throw new ArgumentNullException(nameof(entryLine));
}
if (narrative == null)
{
throw new ArgumentNullException(nameof(narrative));
}
if (account == null)
{
throw new ArgumentNullException(nameof(account));
}
var adjustmentTransaction = entryLine.BalanceAdjustment(amount, narrative, account);
adjustmentTransaction.Date = entryLine.Date;
return adjustmentTransaction;
}