Vouchers are created by grouping the Expense Detail information by to the fields that make a voucher unique. These are the Vendor, Expense Report ID, Pay Vendor, Transaction Currency, Pay Currency, Invoice Date, Pay When Paid Flag, Pay Exchange Rate Date, and Pay Amount fields.
When the TE Expense Report Preprocessor application assigns voucher numbers, all vouchers are assigned new and unique voucher numbers. The Voucher Key, Voucher Line Key, and Voucher Line Account Key are then set. Rows are inserted into the Voucher Header, Voucher Line, and Voucher Line Account tables. Once processed, any temporary tables are cleared to prevent duplicate uploads.