You can add the following Merge Tag to your Ticket Templates:
{{ ticket.EXTERNAL_BARCODE }}
This means that the Ticket will have one barcode but it now has two codes/references - the one we generate and the new external one.
If either code is scanned, the Ticket will show as scanned on reports.