Integrate barcode with document