Once a batch is settled, it receives a batch ID. Every transaction in the batch shares this ID. If a transaction does not have a batch ID associated with it, the transaction has not been settled.