# See what was taken, by channel, and check it against your gateways

Finance → Takings lists everything recorded as paid on bookings over a day, a week or 31 days, grouped by channel — Yoco, Paystack, Cash, Bank transfer and Card (no provider). A check per gateway (Yoco check, Paystack check) compares what the gateway itself says it took with what was recorded, allowing for the card fee schools add on top and for groups paying across several cards. It is read-only and never changes a payment.

Source: https://help.pigi.io/guides/invoicing/payments/takings

## Quick answers

**Where do I see what we took today?**
Finance → Takings, at /school/admin/finance/takings. Only company admins can open it.
The page opens on yesterday — the day most often being cashed up. Pick **Day**,
**Week** or **31 days**, and use the arrows or the date box to move.

**What does Takings show?**
Every payment recorded as completed on a booking in the period, grouped by channel:
**Yoco**, **Paystack**, **Cash**, **Bank transfer** and **Card (no provider)**. Each
channel has a tile with its total and number of payments. The heading shows the
period and the total recorded across all payments.

**How do I see only the cash payments?**
Click the **Cash** tile. The **Payments** tab narrows to that channel, and a band above
the table says "Showing Cash only". Click **Show all**, or the tile again, to clear it.

**Which gateways get a check?**
Each gateway that can say what it took gets its own tab — a **Yoco check** and a
**Paystack check**. A check appears when the gateway is installed, or when payments
are recorded through it even though it is not connected. Cash and bank transfers
show what was recorded; there is nothing outside PiGi to check them against.

**What key does each check need?**
The **Paystack check** uses the Paystack secret key you already stored — no extra
key. The **Yoco check** needs the Yoco **Business API Key**, which is separate from
the checkout secret key and comes from the Yoco Developer Console.

**How does the check match a charge to a payment?**
In this order: first by the gateway's own reference, when the payment carries it
(payments taken through PiGi's checkout). Then, on the same local day, the exact
amount. Then, on the same day, a charge up to 3.5% more than recorded — the card fee
schools add on top.

**Why is a charge a bit higher than the payment, marked "incl. 2.9% card fee"?**
Many schools add a card fee on top of the price, while PiGi records the price. For
example R 2,050 recorded and R 2,110 charged. The check accepts a charge up to 3.5%
above the recorded amount on the same day and shows the difference as "incl. N% card
fee".

**Why not match on Yoco's net amount?**
Because Yoco's own fee varies by card — two R 2,110 swipes on the same day can carry
different fees — so the net amount never lines up with the recorded price.

**What does "1 of N charges" mean?**
The payment was split: one recorded payment made up of 2–4 same-day charges, such as
a group paying one total across several cards. Each charge is matched to that payment
and marked "1 of 3 charges", "2 of 3 charges" and so on.

**What does "Unrecorded" mean?**
The gateway took the money but nothing in PiGi was recorded through that gateway for
it. The **Likely match** column lists same-day payments recorded another way whose
amount fits, card fee included — for example a R 4,635 swipe suggests a R 4,500
payment recorded as cash. A swipe written up as cash is the usual cause.

**What does "Unmatched" mean?**
A payment was recorded through the gateway in PiGi, but the gateway has no such charge
that day.

**What does "Paired by amount" mean?**
Two or more payments of the same amount were recorded on the same day, so which charge
belongs to which booking is a guess. The total is right either way.

**Why does a payment show "no time"?**
It was recorded with a date only, so there is no time to show. On a Week or 31-day
view it shows the date instead.

**Which figure do I reconcile my bank statement against?**
**net to bank** — never the gross. Each check shows what the gateway took, its fees
and **net to bank**. If the gateway reported no fees, a warning says net is the gross
and should not be used for a bank line.

**Why does a check say it can't run?**
It says which setting to fix, with a button to the payment gateways page: the gateway
isn't connected; the Yoco Business API key is missing; there are no keys for the
environment in use; or the stored keys can't be read because they were saved under a
different encryption key — re-enter them in the gateway's credentials. The rest of
the page still works.

**Does Takings change or fix payments?**
No. Takings is read-only. To correct a payment recorded the wrong way, open the
booking (the booking names are links) and fix it there.

## What this is

Takings answers "what came in, and how?" for a day, a week or 31 days. It lists every
completed payment recorded on a booking in that period, grouped by the channel it came
in through, and — for each gateway that can report what it took — checks the record
against the gateway.

Channel comes from how the payment was recorded: the gateway or provider first, then
the payment method. A payment recorded as "card" with no gateway shows as **Card (no
provider)**.

Takings is read-only. It narrows a list for a person to look at; it never decides that
a charge belongs to a booking and never changes a payment.

## Before you start

- You need the **admin** role for the company.
- For a gateway check, the gateway connected with keys stored for the environment in
  use. The Yoco check also needs the **Business API Key**. Without them, the rest of
  Takings still works and the check's tab says which setting to fix.

## Steps

1. Open **Finance → Takings**.
2. Pick the period with **Day**, **Week** or **31 days**, and move with the arrows or
   the date box. The date is the last day of the period.
3. Read the tiles — one per channel, largest first. A checked gateway's tile also
   says what the gateway reports and how many items need checking.
4. Click a tile to filter the **Payments** tab to that channel.
5. Open a gateway's check tab (**Yoco check**, **Paystack check**). Its badge counts
   Unrecorded plus Unmatched.
6. Work through **Unrecorded** first: use **Likely match** to find a payment recorded
   the wrong way, and open the booking to correct it.
7. Then **Unmatched**: find out why a payment recorded through the gateway has no
   charge there.
8. Reconcile the bank line against **net to bank**.

## How a check matches

A gateway check pairs each settled charge with a payment recorded through that
gateway. Declined charges are ignored. Matching runs in this order:

1. **By reference** — payments taken through PiGi's checkout carry the gateway's own
   reference, so the pairing is certain.
2. **Same day, exact amount.**
3. **Same day, card fee on top** — the gateway charged up to 3.5% more than recorded.
   Shown as "incl. N% card fee".
4. **Split** — one payment made up of 2–4 same-day charges. Each charge shows "1 of N
   charges".

| Section | Meaning | Columns |
|---|---|---|
| Unrecorded | The gateway took it; nothing here recorded it through that gateway | Time, Amount, Fee, Reference, Likely match |
| Unmatched | Recorded through the gateway; it has no such charge that day | Time, Amount, Booking, Paid by |
| Matched | Recorded, and found at the gateway | Time, Amount, Fee, Reference, Booking |

## Set up the Yoco Business API key

1. Get a Business API key from the Yoco Developer Console. It is not the checkout
   secret key (`sk_test_…` / `sk_live_…`).
2. Open **Company → Settings → Finance → Payment Gateways** and open Yoco.
3. Click **Update credentials**. Pick **Sandbox** or **Production** — the one marked
   **In use** is the one payments use.
4. On the **Business API Key** row, click **Add** beside "Not set" (or **Edit keys**).
5. Paste the key and click **Save new keys**. Leave the other keys blank to keep them.

## Known limitations

- **Booking payments only.** Takings reads payments recorded on bookings; refunds are
  excluded.
- **Hand-written payments are matched by amount within a day.** Identical amounts on
  one day are paired by guess and flagged "Paired by amount".
- **The card-fee allowance is 3.5%.** A higher surcharge will not match and shows as
  both Unrecorded and Unmatched.
- **31 days at most.** Gateways will not return a wider window.
- **Not every channel can be checked.** Gateways that can report what they took get a
  check; cash, bank transfers and the rest show what was recorded.

## Related

- [Connect a payment gateway](../company-setup/payment-gateways.md)
- [Record a payment](record-a-payment.md)
- [Take a payment on a booking](../operations/take-a-payment.md)
