Vendor invoice in Bill Pay but also a Card Transaction

Not sure if it is the same case, but we are using a Ramp card to pay bills, and on the bill we select Pay with Ramp card under payment method, and that enables Ramp to match a bill to a card transaction