Documentation menu

Trainer pay for classes from a membership

How to pay a trainer a percent of a membership class's value or an amount per attendee: a rule bound to a chosen membership and percent rates for services.

Updated Nov 16, 2026About 12 minAdvanced

For roles:OwnerManagerAccountant

Screen overview in words

What this page covers: The value of one membership use · A rule for a chosen membership · Two new formulas · Percent rates for personal services

When a client comes to a class on a membership, the system records the value of that single use. A membership for ten classes at three thousand hryvnias gives three hundred hryvnias a class. This is the sum from which the trainer's pay can be calculated.

For this there is the rule target “Membership sessions”. In the rule you choose a specific membership template. If at least one attendee of a class was charged from exactly this membership, the whole class is paid by this rule.

There are two formulas. The first is a percent of the class value: an attendee with a membership counts at the use value, the rest at the class price. The second is a fixed amount for each attendee, with or without a membership.

There is also a percent for personal services: the trainer receives a percent of the value of the membership use that paid for the slot.

Where to find it:MoneyPayrollPay rates & schemesRule catalogaddress: /salary/rates

Who it is for: the owner and an accountant who pay trainers for classes that clients paid for with memberships.

Why these rules

A trainer runs a group class. Some clients pay for it one-off, others attend on a “10 classes for UAH 3,000” membership. The usual “percent of price” rule counts from the class price and does not know what the client really paid. Rules with memberships take the value of one membership use: 3,000 ÷ 10 = UAH 300 per class. The trainer receives a percent of exactly that.

These rules are set up once in “Pay rates & schemes” and then used in accruals.

The value of a membership use

When a client comes to a class or a personal service on a membership, the system records which class the unit was charged for and the value of that use. How it is calculated is decided by the system rule “Membership session value for payroll” (the “Staff” group):

OptionHow it is calculatedExample
Class price (default)As before: the class priceA UAH 250 class gives 250
Paid ÷ countWhat was actually paid for the membership (a refunded sale counts as 0), divided by the number of classes in the limited items10 classes for UAH 3,000 give 300
Template price ÷ countThe same from the membership price in the catalogueA 10-class membership with a catalogue price of UAH 3,500 gives 350

For unlimited memberships the rule “Session value for unlimited memberships” applies: the class price, or “paid ÷ (expected classes per month × months of validity)”. The expected number of classes per month is 8 by default. A new value applies to charges made after the change; those already recorded are not recalculated.

Two formulas

FormulaHow it is calculatedExample
Percent of membership class valueA percent of the value of the whole class: a membership attendee at the use value, any other attendee at the class price2 attendees on a membership at UAH 300 each and 1 one-off at UAH 200, 40%: (300 + 300 + 200) × 40% = UAH 320
Amount per membership attendeeA fixed amount for each attendee, with or without a membership4 attendees × UAH 75 = UAH 300

Both formulas pay for the whole class. The number of attendees follows the rule “Class headcount for payroll” (by default, booked minus no-shows), as for other formulas. On a class with no membership at all, the first formula equals “Percent of class revenue” and the second equals the “per person” supplement.

Extra parameters of both formulas are optional: a minimum number of attendees with a below-minimum amount, a multiplier, a minimum guarantee and a maximum limit. They apply to each class separately.

A mixed-class example: two attendees on a membership (UAH 300.00 and 250.01) and three one-off at UAH 199.99, rate 37.5%. The sum of values: 300.00 + 250.01 + 3 × 199.99 = UAH 1,149.98. The trainer receives 1,149.98 × 37.5% = UAH 431.24. Rounding is done once.

How to create a rule for a chosen membership

  1. Open Pay rates & schemes, the Rule catalog section, and press Create rule.
  2. Type a Name, for example “Personal 10: 50% of class value”.
  3. In the Target (which events) field choose “Membership sessions”. A Membership template field appears. Choose the template whose classes the rule applies to. The hint under it: “Takes precedence over other targets. Applies to a session where at least one attendee was charged from this membership and pays for the whole session”.
  4. In the Calculation formula field choose “Percent of membership class value” or “Amount per membership attendee”. Formulas that do not calculate classes (sales, a period rate) are unavailable for this target.
  5. Save. The rule list shows the chosen membership's name beside the target.
  6. Open the employee's scheme, add this rule to their profile and enter the value: Percent or Per client.

Ready-made rule templates the system creates itself: “Membership class — % of use value” (target “Personal sessions”) and “Group class — amount per membership attendee” (target “Group classes”). They can be copied and changed.

How the system chooses a rule for a class

  1. The rule is enabled, applies on the class date and its formula fits.
  2. A rule with the “Membership sessions” target takes precedence over other targets, and a specific target takes precedence over a “Universal rule”.
  3. Among equals, the one with the higher priority wins, then the one created earlier.

A rule with the “Membership sessions” target works only if the class has a charge from its template. For other classes the usual rule applies. One class always gets one calculation line. With a confirmed replacement, the person who ran the class is paid (a line marked “(replacement)”).

In the calculation line for such a rule, the base equals the sum of use values plus the class price for other attendees, and the description ends with “| з абонемента: N, інших: M” (from a membership: N, others: M).

A mixed class

One rule pays for the whole class: the trainer receives for attendees on a membership and for one-off ones alike. There is no separate “remainder” line. Charges made before this feature appeared are not tied to classes, so such attendees count as “others” at the class price.

Percent of the membership value for personal services

Payout rates for personal services have a percent variant too. In the Personal-service rates section, in the payout rate form, beside the membership amount and the bonus thresholds there is a Rate type switch: “Amount” or “% of membership value”. For a percent, a Percent, % field appears with the hint “Applies only to payment by membership; for other payments a fixed rule is used”.

Example: a membership for 10 personal sessions at UAH 6,000, rate 40%. The use value is UAH 600, and the trainer receives UAH 240 per slot. The accrual is calculated as a percent of the membership use value per slot, and the “per minute” unit does not affect a percent.

Limits:

  • a percent rate is possible only for the source “From membership” or “Any”;
  • the base rule (from 0 classes) must be a fixed amount: it cannot be a percent;
  • if the client paid directly or the charge is not tied to a slot, the fixed rule applies. So a base fixed rate is always needed.

When the system refuses

The system answers: «Для цілі «Заняття з абонемента» потрібно вказати шаблон абонемента (target_membership_id)»

Choose a template in the “Membership template” field. The form marks the field with an asterisk, and without a choice it shows “Select a membership template for this target”.

The system answers: «Шаблон абонемента (target_membership_id) задається лише для цілі «Заняття з абонемента» (membership)»

For other targets no template is given. Change the target to “Membership sessions” or remove the template.

The system answers: «Формула «…» не рахує заняття — для цілі «Заняття з абонемента» оберіть формулу заняття (наприклад, «Відсоток від вартості заняття з абонемента»)»

Choose a class formula. Other formulas in the list are inactive and shown in grey in the form.

The system answers: «Шаблон абонемента #… не знайдено»

The template was deleted. Choose another.

The system answers: «Правило #… використовується в N профілях — зміна формули або таргету заблокована. Деактивуйте правило і створіть нове»

The target, template and formula cannot be changed while the rule is attached to profiles. Create a new rule and replace the old one with it.

The system answers: «Ставка «% від вартості з абонемента» не може мати source=direct»

A percent rate applies only to payment by membership. Choose the source “From membership” or “Any”.

The system answers: «Для ставки «% від вартості з абонемента» потрібен percent»

Enter a percent from 0.01 to 100 with at most two decimal places.

The system answers: «Потрібне базове правило з fromCount=0 (інакше нарахування не знайде ставку)»

Add the base fixed rule “from 0 classes”. In the form the message reads “The base rule (from 0) must be a fixed amount: a percent rule cannot be the base”.

Who can see and do what

RoleViewActions
Owner, accountant (“Salary”)Rule catalogue, schemesCreate rules, add them to profiles
“Trainer service payouts”Personal-service ratesSet percent payout rates
Owner (“System rules”, edit)System rules of the “Staff” groupChoose how the membership class value is calculated

Frequently asked questions

Does the membership rule pay the trainer for one-off clients in the same class?

Yes. One rule pays for the whole class: attendees on a membership at the use value, the others at the class price. No separate rule for the rest is needed.

How do I choose what the membership class value is calculated from?

In the system rules of the “Staff” group there is the rule “Membership session value for payroll”: the class price, paid ÷ count, or template price ÷ count.

What if the membership was refunded?

For the “paid ÷ count” option a refunded sale counts as 0, so the use value will be 0.

Why did the rule not work on a class?

It works only if at least one attendee was charged from exactly the chosen membership template. For other classes the usual profile rule applies.

Can a percent of the membership value be the base rate for a service?

No. The base (from 0 classes) must be a fixed amount, and a percent is added as a separate rule for the “From membership” source.

 

Back to all documentation