# Generate pilot recons

A pilot recon is one day's payable for one pilot — flights times the flight rate, plus pics times the pics rate, plus tips and expenses, less deductions, cash kept and any loan repayment. Generating recons for a date range builds those rows from the day's completed tandem flights.

Source: https://help.pigi.io/guides/operations/flights/generate-pilot-recons

## Quick answers

**Where are pilot recons?**
/school/admin/instructors/recons, reached from **Reconciliations** at
/school/admin/recons via the **Pilot Recons** card.

**How do I generate pilot recons?**
Click **Generate Recons** on the **All** tab. The drawer is **Generate Pilot
Recons** — "Generate multiple pilot recons automatically" — and explains: "The
system will find all pilots with completed flights in the selected date range
and generate recons for them."

**What do I choose when generating recons?**
**Pilots** — **All Pilots** or **Select Pilots** — and a **Date Range** with
presets.

**How is a pilot recon amount worked out?**
Flights × the flight rate, plus pics × the pics rate, plus tips and expenses
paid, minus deductions, minus cash kept, minus any loan repayment. A negative
result is not paid out — it is carried as a negative balance and set against
the pilot's next recon.

**Which flight rate is used?**
The first non-zero one found, in order: the pilot's own rate, then the
school's, then the company's.

**What counts as a pic on a recon?**
A completed flight where the client paid for media **and** the pilot delivered
it. Either half alone counts nothing.

**Are recons daily or monthly?**
Daily. One recon per pilot per date they flew. Pilots who did not fly that day
get no row.

**Which flights are counted?**
Completed tandem flights only, and only for instructors who are still active.

**What are the tabs on the pilot recons screen?**
**All**, **Not Paid**, **Batches** and **Negative Balance History**. **Not
Paid** hides itself when nothing is unpaid, and **Negative Balance History**
only appears once there is a balance to show.

**What do the recon list columns mean?**
**Name**, **Date**, **Ref**, **Pics**, **Flights**, **Credit** (a carried
negative balance), **Debit** (the amount payable) and **Paid**.

**What does the result panel tell me after generating?**
**Successfully processed** or **Failed to process**, with **Pilots**,
**Recons**, **Activity** and **Total Amount**, plus any needs-review rows.

**What does "{n} paid recons need review" mean?**
The day was already paid, and its flight or pic count has changed since. The
panel reads "These days were already paid but their flight count has since
changed. Un-pay, regenerate, then re-pay to settle the difference." and lists
each as "{pilot} {date} paid {n}f/{n}p → now {n}f/{n}p".

**Does regenerating overwrite anything I corrected by hand?**
On an unpaid recon, yes — flights, pics and the loan and pooling flags are
resynced from the flights and the pilot's settings. Paid recons are left
exactly as they were.

**What is photo pooling on a recon?**
When a pilot is set to pool photos, their own pic earnings are replaced by an
equal share of the day's pooled photo revenue. It changes only the photo half;
tips, expenses and cash kept are untouched.

**Why is a pilot's loan not being deducted?**
A loan is only deducted when both the pilot and the recon are marked as paying
a loan. Generating now copies the pilot's setting onto the recon and resyncs
it on every regenerate of an unpaid recon, so if a deduction is still missing
check the pilot's own loan settings.

**Can I create a single recon by hand?**
Yes — **Add Recon** on the recons list.

**Are recons generated automatically?**
They can be. A scheduled task, **Generate Pilot Recons**, builds today's rows
for a company. Note it does not report needs-review — only the manual date
range run does.

## What this is

A recon is the bridge between flying and paying. At the end of a day it turns
what actually happened — flights flown, media sold and shot, cash taken, tips
received — into one number per pilot.

Because it is derived, a recon can be regenerated safely while it is unpaid.
Once paid it becomes the record of what the pilot was actually given, which is
why it stops changing.

## Before you start

- Flights for the period must be **Completed**, and their media toggles set.
- The pilots must still be active, or their flights produce no recon.
- Flight and pics rates must be set on the pilot, the school or the company.

## Steps

1. Open **Reconciliations → Pilot Recons**.
2. Click **Generate Recons**.
3. Leave **Pilots** on **All Pilots**, or switch to **Select Pilots** and pick
   from "Search pilots...".
4. Set the **Date Range** — a preset or your own dates.
5. Submit and read the result panel: **Pilots**, **Recons**, **Activity**,
   **Total Amount**.
6. Deal with anything under "need review" by un-paying that recon,
   regenerating, and re-paying it.

## Known limitations

- **Paid recons are never corrected by a regenerate**, only reported.
- **The scheduled generator reports nothing.** A change to a paid day between
  nightly runs passes silently.
- **A deactivated pilot's flights produce no recon**, even if they flew.
- **A recon with no price data still generates** — a missing rate produces a
  zero line rather than an error.

## Related

- [Mark recons paid and produce the payout](mark-recons-paid.md)
- [Staff and agent recons](staff-and-agent-recons.md)
- [Photos and video on a tandem flight](media-and-pics.md)
