Sidelatch / Solutions / Commission statements
A commission statement API for every carrier portal.
Agency users link their carrier logins once, inside your product. You pull every carrier's commission statement as the same JSON: the period, the total, and premium, rate and amount for each policy. No PDF downloads, no parser per carrier, no spreadsheet at month-end.
Why commission statements are still downloaded by hand
Commission data is the agency's revenue, and it is the hardest carrier data to get out.
Every carrier, its own portal
An agency with fifteen carrier appointments logs in to fifteen portals each month, each with its own statement layout, column names and rate format.
Download feeds leave gaps
Electronic downloads only cover the carriers that send them, and many send policy data but not commission statements. The rest are fetched by hand.
Parsing still needs the file
Statement-upload and reconciliation tools can read a statement, but someone still has to sign in and download it first. That step is the bottleneck.
One shape from every carrier
Each carrier connector maps its portal into the standard CommissionStatement model and
validates it, so your reconciliation code is written once. This is the sandbox Demo Carrier's October statement.
The carrier's portal returns{"stmtId": "ST-2026-10", "per": "202610", "tot": "2958.00", "items": [ {"polNo": "CA-100231", "prem": "18450.00", "pct": "12", "comm": "2214.00"}, {"polNo": "GL-220918", "prem": "6200.00", "pct": "12", "comm": "744.00"}]}
Your app receives{"statement_id": "ST-2026-10", "carrier": "Demo Carrier", "period": "2026-10", "total": 2958.0, "lines": [ {"policy_number": "CA-100231", "premium": 18450.0, "rate": 0.12, "amount": 2214.0}, {"policy_number": "GL-220918", "premium": 6200.0, "rate": 0.12, "amount": 744.0}]}
Codes become words, text amounts become numbers, "12" becomes 0.12,
and the carrier name is filled in when the portal leaves it out.
| Field | Type | Meaning |
|---|---|---|
statement_id | string | The carrier's own id for the statement. |
carrier | string | Which carrier paid. Filled in even when the portal leaves it out. |
period | string | The month the statement covers, always YYYY-MM. |
total | number | Total commission on the statement, in dollars. |
lines | array | One entry per policy paid on the statement. |
lines[].policy_number | string | Matches policy_number from list_policies. |
lines[].premium | number | The premium the commission was calculated on. |
lines[].rate | number | The commission rate as a fraction: 0.12 is 12%. |
lines[].amount | number | The commission paid on that policy, in dollars. |
From carrier login to reconciled statement
Four calls. The sandbox runs all of them against the Demo Carrier today.
Ask for a link token
Your backend names the agency and the carrier. Tokens are single use and expire in minutes.
POST /v1/link-tokens X-API-Key: pc_... {"user_id": "agency-42", "portal": "demo_carrier"}
The agency signs in to its carrier, once
Open the connect window with
link.js. Verification codes are handled, trusted devices are remembered, and your servers never see a password. You save the connection id.Pull statements on a schedule
Call
list_commission_statementsdaily or weekly and store each statement bystatement_id. Expired sessions renew themselves.POST /v1/connections/conn_8f2c.../run X-API-Key: pc_... {"operation": "list_commission_statements"}
Reconcile and flag the exceptions
Check each line against premium × rate, and every active policy against the statements. The bookkeeper reviews the exceptions, not every line.
Flag short-paid lines and active policies with no commission. run() calls the endpoint abovestatements = run(conn, "list_commission_statements") paid = {line["policy_number"] for s in statements for line in s["lines"]} for s in statements: for line in s["lines"]: expected = round(line["premium"] * line["rate"], 2) if abs(line["amount"] - expected) > 0.01: flag("short_paid", s["carrier"], s["period"], line["policy_number"]) for p in run(conn, "list_policies"): if p["status"] == "active" and p["policy_number"] not in paid: flag("no_commission", p["carrier"], p["policy_number"])
If a carrier password changes, you get a signed connection.reconnect_needed webhook.
Show the agency a reconnect button; the connection id and your stored statements stay the same.
What you can build on commission data
The fields are the same for every carrier, so each of these works across the agency's whole book.
Automated commission reconciliation
Match every statement line to what the agency expected and turn a day of month-end work into a short exceptions list.
Missing-commission alerts
Join statements to list_policies and flag active policies
that a carrier didn't pay on.
Producer payouts and splits
Attribute each line to its producer by policy_number
and calculate payouts from what carriers actually paid.
Revenue by carrier and line
Group commission by carrier, period and line of
business for cash forecasting and carrier reviews.
More examples on the use cases page.
How agencies get commission statements today
Each approach has a place. The difference is who logs in and which carriers it covers.
| Manual download | Statement upload tools | Carrier download feeds | Sidelatch | |
|---|---|---|---|---|
| Carriers covered | All | Any the agency downloads | Only carriers that send one | Any carrier with a connector; new ones built on request |
| Who logs in each month | Agency staff | Agency staff | Nobody | Nobody, after one link |
| Format your code reads | PDF or spreadsheet | Parsed from the file | Standard feed, where offered | One validated JSON model |
| When a login breaks | Someone notices | Someone notices | n/a | Signed webhook, same connection id |
| When the layout changes | Staff adapt | Parser may misread | n/a | schema_drift, and we repair it |
Commission statement API questions
Which carriers can I pull commission statements from?
Any carrier whose agent portal we have a connector for. The free sandbox has the Demo Carrier, which returns real-shaped statements so you can build the whole integration now. We build a live carrier's connector on request for $2,500 once, and design partners get their first two carriers at no charge. Each connector's health is public on the status page.
How far back does statement history go?
list_commission_statements returns the statements the carrier's portal lists for that agency, so history goes as far back as each carrier keeps it online. Store each statement by statement_id and your history keeps growing from the day the agency links.
How often should I pull statements?
Most carriers post commission statements monthly. A daily or weekly sync catches a new statement soon after it posts, and each sync counts as one call. Dedupe on statement_id.
Do I get the original PDF?
No. The API returns the statement as structured data in the standard shape, which is what reconciliation needs. Original statement files are not returned today.
What happens when a carrier changes its portal?
Scheduled canaries check every connection. If a portal's statement layout changes, the call reports schema_drift instead of returning wrong numbers, we are alerted, and we repair the connector at no extra cost.
How are the agency's carrier logins protected?
The agency signs in through the connect window, never through your servers. Logins are encrypted with a key derived for your account alone, are never returned by the API, and failed sign-ins are capped before the carrier can lock the account.
Build the reconciliation flow today. The sandbox is free with no card, and the Demo Carrier returns a real-shaped commission statement. Live is $500 a month with 5 connections included. See pricing
Get a sandbox key