Hi Marshal:

Did you run a Data Integrity Check? Do a full backup and Run Data integrity. If no errors, it is not the cause.

Batch numbers are only up to 9999, if you haven't done a year end which includes purging the batch status, more likely the numbers are being reused.
Be sure you properly complete the Year End steps.
_________________________
Patricia Balbuena Cotlear
AP SMART SUPPORT
236 991 3060