# Staff and agent recons

Staff recons pay ground crew, drivers and office staff over a pay period on whatever basis their payment type says — daily, monthly, per trip, on commission, or a combination. Agent recons hold what a booking agent has earned in commission and produce a commission invoice when marked paid.

Source: https://help.pigi.io/guides/operations/flights/staff-and-agent-recons

## Quick answers

**Where are staff recons?**
/school/admin/staff/recons, reached from **Reconciliations** at
/school/admin/recons via the **Staff Recons** card. That card also links to
**Days Worked** and **Driver Trips**.

**What are the tabs on staff recons?**
**All**, **Not Paid** and **Summary**. **Not Paid** hides itself when nothing
is outstanding.

**What columns does the staff recons list show?**
**Name**, **Start Date**, **End Date**, **Total Owed** and **Paid**.

**What period does a staff recon cover?**
A pay period rather than a day — by default from the 27th of the previous
month to the 26th of the current one. Both boundary days are school settings.

**How is a staff recon amount worked out?**
From the staff member's payment type. The building blocks are commission
(per flight), a daily rate times days worked, a flat monthly rate, and driver
trips times the trip rate. Payment types combine them with "and", "or" (which
takes the larger) or on their own.

**Why did a staff recon fail with "No days worked"?**
Their payment type includes a daily component but there are no **Days Worked**
rows for the period. Capture the attendance, or set a different payment type.

**Why did it fail with "Daily rate not set"?**
The same, but the missing piece is the rate on the staff member.

**What is commission sharing on a staff recon?**
It splits commission by attendance — confirmed days worked over **every calendar
day** in the period, times the company's flights for the period, times the rate —
instead of paying on every flight in the period. Calendar days, not days with
flights: the people sharing cover the month between them, so the period's
commission is divided by who was in, and nobody can be paid for more days than the
period has. The recon (and the Staff Days Worked page) shows the working, e.g.
"21 of 31 days × 391 flights × R35".

**Where do driver trips come in?**
Trips are recorded under **Driver Trips** and priced at the driver's trip
rate. That total feeds any payment type with a trips component.

**How do I generate staff recons?**
There is no date-range generate button for staff. They are either created by
the **Generate Staff Recons** scheduled task for the current pay period, or
added by hand with **Staff Recon**.

**Where are agent recons?**
/school/admin/agents/recons, with tabs **All** and **Not Paid** and columns
**Agent**, **Qty**, **Amount Owed**, **Date** and **Paid**.

**What happens when I mark an agent recon paid?**
A commission invoice is created for the agent, forced to paid, emailed to
them, and an in-app notification is posted — "Commission paid… Invoice
{number} for R{amount} is available."

**The "Generate Recons from Bookings" button on agent recons errors. Why?**
There is nothing behind it. The drawer and the form exist but no generator was
built, so agent recons have to be created individually with **Recon**.

**A staff member is also an agent. How is their commission paid?**
Their unpaid agent commission is added to their staff recon, and marking the
staff recon paid marks those agent recons paid too. That shortcut does not
create the commission invoice or send the agent email.

**Can I delete several staff recons at once?**
Yes — staff and pilot recons both support a bulk **Delete**.

## What this is

Not everyone a school pays flies. Staff recons cover the people who make a
flying day possible — drivers, ground crew, office staff — and are built
around a pay period and a payment arrangement rather than around flights.

Agent recons are the third kind: what a booking agent is owed for the business
they brought in, settled by a commission invoice rather than a payout.

## Steps

To settle a staff pay period:

1. Make sure **Days Worked** and **Driver Trips** are captured for everyone
   who needs them.
2. Open **Reconciliations → Staff Recons**.
3. Check each person's **Total Owed** on the **Not Paid** tab.
4. Click **Mark Paid** per row, or **Mark all paid**.

To settle an agent's commission:

1. Open **Agents → Recons**.
2. Find the unpaid rows for that agent and check **Amount Owed**.
3. Click **Mark Paid**. The commission invoice is created and emailed to them.

## Known limitations

- **No paid lock on staff or agent recons.** A settled staff recon can still
  be edited and recomputed, unlike a pilot recon.
- **No bulk generation of agent recons.** The button exists but the feature
  does not.
- **Paying an agent through their staff recon skips the invoice and email.**
- **A daily-rate payment type hard-fails on a period with no attendance**
  rather than paying zero.

## Related

- [Generate pilot recons](generate-pilot-recons.md)
- [Mark recons paid and produce the payout](mark-recons-paid.md)
- [Create an invoice](../invoicing/create-an-invoice.md)
