How does OFX detect duplicate bills or payments?

How does OFX detect duplicate bills or payments?