export the used,pending and unused barcodes