Speaker vouchers before the batch
================================
This is a fictional workshop for one event. Hand the speaker list to the ticket
desk and the review report back to the program lead. The reviewer marks which
new contacts may receive a voucher. No program here connects to a provider.

Try it with Python 3 (standard library only):
  python3 review.py speakers.csv ledger.csv > review.csv
  python3 review.py speakers.csv ledger.csv --approved approved.csv > recipients.csv

Compare review.csv with expected-review.csv. Of nine eligible speakers, one
already has a confirmed ticket, one has a voucher recorded as issued, and five
need investigation. Two are new to this ledger; the example approval file
names those two. Recipients.csv should match example-recipients.csv. A held
or repeated recipient in the approval file stops the run before any output.

In an event you manage:
1. In pretalx export speakers whose proposals are accepted or confirmed.
   Select Name and Email. Our local English custom "Export speaker data"
   form also included ID. The official table-export instructions are at
   https://docs.pretalx.org/user/faq.html#integrations . Headers vary by
   export route and interface language. Use a copy with name,email headers
   (case-insensitive). An additional ID column can remain in the speaker file.
2. Assemble the private ledger for the same event and admission product,
   using verified attendee identities rather than the buyer’s address.
   A team purchaser may buy for several people. Use the exact three headers
   name,email,status and only these statuses:
     ticketed       verified current admission attributed to that attendee
     voucher-issued organizer's recipient-level issuance record for the event
     pending        current order or assignment still needs a decision
   A voucher marked redeemed proves a code was used. It does not by itself
   identify the attending speaker. The pretix voucher export lists a code,
   usage and tag; it does not list a recipient address. Confirm identities
   from your own legitimate records. Resolve unidentified attendees and
   incomplete ledgers before approving new contacts; this tool looks for
   evidence in the rows you supply. A canceled ticket is not current admission.
3. Run the review first. A shared mailbox, name collision, address mismatch,
   or pending order requires a person who knows the event. No fuzzy name
   matching or mailbox-alias guessing. If both name AND email changed, the
   files alone cannot detect the link. Use an independently verified mapping.
   The same exact email used by distinct people is never enough to match them.
   Use a text editor or import CSV as text if opening private exports in a
   spreadsheet. Keep files on your device and follow your event's retention.
4. Make an approval CSV with name,email copied from only the new rows you
   cleared. Re-run against a fresh ledger with --approved. All selected
   contacts must qualify together. Choose a fresh output filename each run;
   shell redirection overwrites an existing file before Python starts.
5. The output has lowercase email,number,name, one voucher per approved
   person. In pretix it belongs in Recipients under Create multiple vouchers.
   The number of codes must equal the total in the number column. Saving
   a form with sending enabled can issue vouchers and send email at once.
   This rehearsal stops at parsing. Never paste the practice list into a
   real event. Document real issuance in the event's ledger before re-running.

Native checks: pretalx 2026.2.1, private SQLite event, ten original proposals.
Nine accepted/confirmed contacts were exported and the rejected proposal
was excluded. pretix 2026.10.0's actual bulk form recipient validator read
the two prepared recipients with number=1 each. The unmodified custom
export with headers ID,Name,Email failed the same validator. The documented
speaker-table export is a different entry point. No tickets or vouchers
were created and no mail was sent. All addresses use example.invalid.

You may adapt and share this original workshop with your conference team.
Organizer's question: https://github.com/pretalx/pretalx/discussions/2027
Recipient format: https://docs.pretix.eu/guides/vouchers/#sending-out-vouchers-via-email
Workshop: https://bulldo.gs/demos/speaker-voucher-review/
