Reports · Revenue Sharing

Closing a Payout Month

Enter the month's costs, calculate what each stakeholder is owed, and settle it — plus what every "cannot approve" message means and how to clear it.

For clinic owners and admins Applies to India (invoice-month accounting) Time about 10 minutes per facility

Before you start

Revenue Sharing turns one facility's month into a payable figure for each person or entity with a stake in it — a partner doctor, an investor, a management company. It is a closing routine, not a live dashboard: you run it once per facility per calendar month, after the month has ended.

Three things must already exist, or the month will not calculate:

WhatWhereWhy it's needed
An active configuration Revenue Sharing › Configurations Defines the platform's share and who the stakeholders are. One per facility, effective from a date. A new configuration is created as a draft and must be activated before a month can be calculated against it — see Step 1.
Stakeholders with shares Revenue Sharing › Configurations Top-level shares must total 100%. A stakeholder can sit under another one, taking a slice of that parent's cut rather than of the whole pool.
The month's cost figure Revenue Sharing › Facility Costs Step 1 below. Without it the calculation refuses to run.
A new configuration starts as a draft

Creating a configuration does not make it usable. It is saved as a draft, and a month cannot be calculated until it is active. Activate it from Revenue Sharing › Configurations using the tick control on the row, once its stakeholders are entered and its effective date has arrived.

Activation is refused — with the reason on the control — while any of these hold: the configuration has no active stakeholder; its effective date is in the future; its effective period has already ended; or another configuration is already active for that facility. Only one configuration can be active per facility at a time, because otherwise the split that actually pays out would be ambiguous.

A configuration can also be deactivated, and a deactivated one can be activated again — so activating the wrong configuration is recoverable.

Revenue Sharing appears in the sidebar for owners and admins only. That is a role check in the menu, not a permission check: the underlying screens authorise on tenant billing permissions, so a staff member who has been granted billing access can reach them by URL but will not see the menu. If that is the case for someone on your team, treat it as a bug rather than a workaround. Everything below happens in the Reports app.

Step 1Enter the month's costs

Revenue Sharing › Facility Costs

Pick the facility and the month, enter one figure for everything the facility spent that month — rent, salaries, consumables, utilities — and save. It is a single number, entered by you, not something the system derives from invoices.

If a figure already exists for that facility and month, the form loads it and saving replaces it. There is exactly one cost figure per facility-month; you cannot end up with two competing entries.

A month with no cost figure will not calculate

This is deliberate. A missing cost entry is indistinguishable from a genuine zero, and treating it as zero distributes money that was actually spent. If the facility truly spent nothing, enter 0 — that is a real answer and the month will then calculate.

Enter costs for every month you intend to close, including loss-making ones. A month with no calculation carries nothing forward, so skipping one quietly forgives its deficit — see After a loss-making month.

Step 2Calculate the month

Revenue Sharing › Calculations

Choose the facility and the calendar month and calculate. The period must be a whole calendar month — the 1st to the last day. Part-months are rejected.

Turn on auto-distribute to have the per-stakeholder rows created in the same action. Without it you get the month's figures but no payable rows, which is useful for a preview.

Calculate months in order, oldest first. Each month can hand a shortfall forward to the next one, so running August after September produces a September figure built on the wrong starting point. If you do recalculate an earlier month, the system discards the later ones for you and tells you which — see Recalculating a month.

Step 3Read the result

Revenue Sharing › Calculations → open a month

Every month is built the same way. Here is August 2026 for one facility:

August 2026 · Green Valley Clinic · ₹
Collected revenue 8,40,000.00 Payments actually received in August, not invoices issued.
− Refunds settled 15,000.00 Counted in the month the money left, even if the original payment was earlier.
− Facility costs 2,10,000.00 The figure you entered in Step 1.
− Approved commissions 62,000.00 Commission on work billed in August, once approved.
Distributable 5,53,000.00
− Carried forward in 0.00 A shortfall handed over by the previous month.
− Platform share (10%) 55,300.00 Taken off the top, before the stakeholder split.
Stakeholder pool 4,97,700.00 What the stakeholder shares divide.

How the pool is divided

Top-level shares come out of the pool. A stakeholder placed under another takes a slice of that parent's cut, and the parent is paid what remains:

StakeholderShare ofGrossPaid
Dr. Mehra60% of the pool2,98,620.002,23,965.00
— Associate25% of Dr. Mehra74,655.0074,655.00
Investor group40% of the pool1,99,080.001,99,080.00

Dr. Mehra's 60% is 2,98,620, the Associate's 25% comes out of that, and Dr. Mehra is paid the 2,23,965 left over. The three payments total the pool exactly. If sub-shares under a stakeholder add up to more than that stakeholder receives, the calculation is refused and names the stakeholder — fix the configuration rather than the month.

Provisional

A month marked Provisional was calculated while its figures could still move — usually because the month had not ended, or commission on its work was still awaiting approval. It is a note about when the snapshot was taken, not a status you clear. What actually decides whether you can pay is the check in Why can't I approve this?

Step 4Approve and pay

Revenue Sharing › Payouts

Each stakeholder's row moves through three states, one row at a time:

StateMeaningCan you undo it?
Pending Created by the calculation. Nothing has been committed. Yes — recalculating the month replaces it.
Approved You have signed off the amount. The month is now locked against recalculation. Yes — cancel the payout to unlock the month.
Paid The money has gone out. No. A paid payout needs a refund or an adjustment, not a status change.

If Approve is refused, the message tells you exactly which condition is unmet. Those messages are the next section.

Why can't I approve this?

A stakeholder's payout is what is left over after the facility's costs and commissions. Paying it out while those are still moving hands over money whose cost has not landed yet — and if a commission is later corrected, the stakeholder was paid from money that was never theirs. So five conditions have to hold. You will see exactly one message at a time, in this order:

  • August 2026 has not ended yet; work billed before it does still comes off this pool Wait for the month to end. More work can still be billed into August, and each new invoice can add commission that comes off this pool. The month closes at midnight where the facility is — provided the facility's timezone is set and is a name the system recognises. Asia/Kolkata is; IST is not. Otherwise the month closes at midnight UTC, which for an Indian clinic is 5:30 am the next morning.
  • tiered commission rule(s) <id> have runs covering OVERLAPPING dates in this period, so the deduction would be counted twice; cancel the overlapping run and recalculate the month before settling it Cancel the overlapping run — do not approve it. One rule was calculated twice over dates that cover each other, usually because a workflow was executed twice for the same period. That is one commission counted twice. Find it on the Tiered tab of Commissions › Calculations using the rule id in the message, cancel it, and recalculate the month. Several runs of one rule in a month is normal on a weekly schedule — four or five separate weeks are four or five separate pieces of work. Only overlapping ones are flagged. Cancel while it still says Calculated: once it is approved the screen no longer offers Cancel, and ask an engineer.
  • 3 commission calculations for this period have not been approved yet Approve them in Commissions › Calculations. Until they are approved, the pool can still shrink. Filter that screen to August and approve each outstanding row — check both tabs, per-invoice and Tiered, because either kind can be holding it. A per-invoice commission raised in error can be cancelled instead, from the same row, while it is still unapproved.
  • the commission deducted from this period has changed since it was calculated (0.0 -> 500.0); recalculate the month before settling it Recalculate August. The commissions were approved after this month was calculated, so the stored figures do not include them and the pool on screen is too large. Recalculating rebuilds it with the commissions deducted. This is the normal outcome of approving commissions late — it is not an error.
  • 2 commission calculations deducted from this period have not been paid yet Settle the commissions first. The stakeholder figure already has these amounts subtracted, so paying it while the commission is still owed pays out a remainder the business has not funded. Either route clears it: mark each commission paid in Commissions › Calculations, or pay the settlement that covers them in Commissions › Settlements — paying a settlement marks every approved commission it covers paid. A settlement still holding an unapproved one refuses to be paid and names it. Settlements do not cover tiered commissions. If the blocker is a tiered row, mark it paid on the Tiered tab of Commissions › Calculations — a settlement will never clear it.

Clearing one message may reveal the next — that is expected. Work down the list until Approve goes through.

Which month a commission belongs to

A commission is deducted from the month the work was billed — the invoice's issue date — regardless of when it is approved or paid.

So an invoice issued on 10 August whose commission you approve on 3 September comes out of August's pool, not September's. This is what keeps a doctor's commission and the revenue that earned it in the same month, and it is why August is not final the moment August ends.

What this means in practice

Approve a month's commissions before calculating that month, and it settles in one pass. Approve them afterwards and you will need one recalculation — the third message above is the system telling you so rather than paying out the wrong figure.

This rule is set per organisation. India uses the invoice month because a clinic invoices and is paid in the same month. US revenue-cycle billing, where a claim is paid months after the service, needs the collection month instead; that option is reserved and not yet built, and an organisation set to it cannot calculate rather than being quietly paid on the Indian rule.

Recalculating a month

Running the calculation again for the same facility-month replaces the previous one and its payouts. You never end up with two sets of payable rows for one month.

Months are chained, so recalculating an earlier one can invalidate the later ones. The system discards a later month automatically only when the earlier month's carried-forward shortfall changes — the one thing the later month was built on. Any month it discards is listed back to you.

Read the discarded list both ways

Empty does not mean the later months are fine. In a profitable run there is no shortfall to carry, so nothing changes and nothing is discarded — correct when you are just fixing a cost figure, wrong when the commission rule itself moved. If you were given a list of months to re-run, re-run every one, oldest first.

Not empty means more work, not just information. Every month named has been deleted — including months that were perfectly correct and so were never on your list. Recalculate each of them too. Nothing will remind you: the next month you run will look fine, while a deleted month has no figures at all and its stakeholders are never paid.

Recalculation is refused once anything about the month has been committed. What you can do about it depends on which thing:

What locks itHow to reopen
A payout is Approved Cancel that payout, then recalculate.
A payout is Paid You cannot. Money has left; the month needs a manual adjustment.
The calculation itself was approved You cannot. There is no un-approve action for a calculation, and cancelling its payouts does not help — the calculation's own status is checked first. See Known limits.
A later month has an approved payout Only blocks when re-running this month changes its carried-forward shortfall — the case where the later month has to be discarded. You are told which: "September 2026 has already been settled for this facility; cancel the existing distributions before recalculating." Cancel those payouts, then retry.
A later month has a paid payout Same message, no remedy. A paid payout cannot be cancelled, so the later month cannot be discarded and this month cannot be re-run. Manual adjustment.
A later month's calculation is approved Same trigger, different message: "September 2026 is approved for this facility; it cannot be recalculated or discarded." There is no way past this one — the later month cannot be un-approved either.

The last row is the one to be careful of: approving a calculation is separate from approving its payouts, and it is a one-way door. Recalculate before you approve, not after.

If the figures look wrong across many months

The rule for which month a commission belongs to has changed during development, and months closed under an older rule can disagree with the current one. Ask your engineering team to run the revenue-share reconciliation report: it lists exactly which facility-months disagree, and which of them can still be re-run.

After a loss-making month

When a month's costs, refunds and commissions exceed what it collected, there is nothing to distribute. The shortfall is recorded and subtracted from the next month you calculate, so stakeholders are paid out of genuine profit rather than being paid in a good month for a loss the facility has not recovered.

The deficit carries to the next calculation, not to the next calendar month. A month you never calculate does not absorb it and does not pass it on — which is another reason to enter costs and calculate every month, including the bad ones.

Known limits

Worth knowing before you rely on a figure:

LimitWhat it means for you
One active configuration per facility A facility can have many configurations but only one active at a time. To replace the active one, deactivate it first — the new one will otherwise be refused, naming the configuration already holding the slot.
An approved calculation cannot be un-approved Approving a calculation (not its payouts) locks the month permanently — there is no reverse action, and cancelling its payouts does not unlock it. Recalculate before approving.
Revenue is a snapshot Payments collected after you calculate a month are not picked up until you recalculate it. The approve check watches commissions, not late collections.
A weekly tiered run counts in one month only If you run tiered commissions on a weekly schedule, a week that crosses a month boundary is counted entirely in the month it started in — it is not split. Run them monthly if you want each month to bear exactly its own. The same applies to a manual backfill over a long date range: it all lands in the month the range opens.
Running the same tiered rule twice for one period blocks the month Two runs of one rule over overlapping dates are the same commission counted twice, so the month refuses to calculate rather than halving your stakeholders' pool. Cancel the overlapping run on the Tiered tab — the message names the rule — and calculate again. Several runs over separate weeks are normal and are not flagged. Cancel while it still says Calculated: the screen stops offering Cancel once a run is approved, so if you only notice after approving it, ask an engineer — the run can still be cancelled through the API. Once both have been paid there is no way to undo either, and the month simply bears the doubled cost.
Reports bucket by different dates The payout's commission line matches the commission reports. Settlement, overview and analytics screens group by when a commission was calculated or created, so those totals will not tie out against a payout.