private async Task CreateZip(IEnumerable <GLTransClient> glTransLst, Stream outputStream)
        {
            var voucherExpLst = new HashSet <int>();
            var docApi        = new Uniconta.API.GeneralLedger.DocumentAPI(api);

            using (ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream))
            {
                // Highest compression rating
                zipOutputStream.SetLevel(9);
                zipOutputStream.UseZip64 = UseZip64.Dynamic;
                foreach (var glTrans in glTransLst)
                {
                    if (!voucherExpLst.Contains(glTrans._DocumentRef))
                    {
                        voucherExpLst.Add(glTrans._DocumentRef);
                        var voucher = new VouchersClient()
                        {
                            RowId = glTrans._DocumentRef
                        };
                        if (await UtilDisplay.GetData(voucher, api) == ErrorCodes.Succes)
                        {
                            if (!voucher._Envelope)
                            {
                                ExportFile(voucher, zipOutputStream);
                            }
                            else
                            {
                                var content = voucher.GetEnvelopeContent();
                                if (content != null)
                                {
                                    foreach (var vou in content)
                                    {
                                        if (!voucherExpLst.Contains(vou.RowId))
                                        {
                                            voucherExpLst.Add(vou.RowId);
                                            voucher = new VouchersClient()
                                            {
                                                RowId = vou.RowId
                                            };
                                            if (await UtilDisplay.GetData(voucher, api) == ErrorCodes.Succes)
                                            {
                                                if (!voucher._Envelope)
                                                {
                                                    ExportFile(voucher, zipOutputStream);
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                zipOutputStream.Finish();
            }
        }