Link a ledger transaction to an expected payment

You can link an Expected Payment to a ledger transaction only if the expected payment has an exact amount (i.e. amount_upper_bound is equal to amount_lower_bound).

If a linked expected payment changes from reconciled to unreconciled, we will automatically create two new Ledger Transactions: one posted transaction reversing the entries of the original transaction, and one pending transaction linked to the now unreconciled expected payment.