Salary Components
Every payslip is built from small, reusable pieces: a basic salary, a housing allowance, a tax, an overtime line, an insurance deduction. In Nama, each of those pieces exists at two levels — a Salary Component Type, which defines the kind of pay or deduction and the rules that apply to it, and a Salary Component, the actual priced element that gets attached to an employee. A Salary Component Group mainly keeps a long component list organized, with one narrow effect on generation described below. This page covers all three; how a component's value is calculated when it isn't a flat number is the subject of Salary Calculation Formulas.
Salary Component Type — the kind of pay or deduction
Found at Payroll > Salary Configurations > Salary Component Type, a component type is the category — Basic, Housing, Transportation, a tax, an insurance share — and it carries flags that every component created under it inherits.
| Field (English) | Arabic label | Purpose |
|---|---|---|
| Code / Group / Arabic Name / English Name | الكود / المجموعة / الاسم العربي / الاسم الإنجليزي | Identification. |
| Active From / Active To | فعّال من / فعّال إلى | The date range during which the type itself is in effect. |
| Component Effect Type | نوع التأثير | Whether components of this type add to, subtract from, or sit outside net pay — see table below. |
| Classification | التصنيف | A finer categorization used by specific payroll rules — see table below. |
| Component Order | ترتيب المفرد | The calculation sequence. Load-bearing: a component that is a percentage of another must be ordered after the component it depends on — saving a component whose formula reads a component type with a higher order is refused (see the messages below). |
| Default Calendar | التقويم الافتراضي | The HR Calendar components of this type use unless overridden. |
| Issuance | الصرفية | Ties this component type to a payroll stream, so it only feeds its own salary run. |
| Estimate Salary Element Value From Formula | تخمين قيمة مفرد الراتب من المعادلة | For components worked out by a formula rather than typed in. On a Job Offer for an existing employee and on Update Employee Info, a salary-element line of this type left empty is filled by running the formula for that employee on the document's date, so the offer shows a realistic figure. On Update Employee Info, a line of this type that the employee already had a value for is recalculated the same way on every save, so a figure typed by hand there is replaced. This happens only when this option is ticked on the line's component type; lines of other types keep the figure you type. |
Component Effect Type decides what a component actually does to the payslip:
| Effect Type | Arabic | Role |
|---|---|---|
| Addition | إضافة | Increases the salary — basic pay, allowances, overtime. |
| Deduction | استقطاع | Reduces the salary — tax, insurance, penalties, installments. |
| Other | أخرى | Informational only. Recorded, but never added to or subtracted from net pay. |
Classification narrows the type further, and several of its values have special behavior baked into the payroll engine:
| Classification | Arabic | Notes |
|---|---|---|
| Normal | عادية | An ordinary pay or deduction element. |
| Basic Salary | الراتب الأساسي | The base figure many percentage-based formulas key off. |
| Housing Allowance | بدل سكن | Only pays out for an employee whose own HR Information record has the housing switch turned on — the type alone is not enough. |
| Transportation Allowance | بدل مواصلات | Same rule as housing: gated by the employee's own record. |
| Work End | نهاية خدمة | Left out of an ordinary monthly salary document altogether; this classification only carries value inside end-of-service settlement documents. |
| Installment | قسط | Also deliberately zero in a normal salary run; installment recovery happens through its own loan documents, not the monthly component machinery. |
Why a component sometimes looks like it's "not working"
If a component always computes to zero, check its classification and its tax/insurance flags before assuming something is broken. Other-effect components are zero by design; Work End and Installment classifications are zero outside their dedicated documents; and Housing/Transportation allowances need the switch enabled on the employee, not just a component definition. See How Salary Is Calculated for the full list of self-zeroing causes.
The type also decides whether its components count toward the fixed insurance base, the variable insurance base, and the tax base — three independent yes/no flags — and owns two embedded lists for reference: the Salary Components built under it, and the Component Calc Formulas associated with it.

Salary Component — the priced element
Found at Payroll > Salary Configurations > Salary Component, this is the record that actually gets attached to an employee, either directly on their HR Information or through a Salary Structure. Its most important choice is the value method:
| Value Method | Arabic | Meaning |
|---|---|---|
| Constant Value | قيمة ثابتة | A fixed literal number — e.g. a housing allowance of 1,000. |
| Variable Value | متغير | Driven by a Component Calculation Formula, so the amount is recalculated from its inputs every period. |
A component also carries a Priority (used when several components of the same type could apply to an employee and only one should win), plus a set of flags that fine-tune its behavior: whether editing its value on a generated salary document is even allowed (Prevent Updating In Component Value), whether regenerating a salary sheet should leave manually-edited values alone (Do Not Override After Regenerate), and whether negative values are permitted (Allow Negative Values).
Several fields are not the component's own choice: every time the component is saved they are copied from its component type, overwriting what the component held. They are the Component Effect Type, the Component Order, the classification, the fixed-insurance, variable-insurance and tax-base flags, Unrelated To Work Days, Re Distribute Base Value On Complete Work Period, Related To Work Days In First Salary Document and Related To Work Days In Last Salary Document, the two provision-recalculation flags, and the Issuance when the type names one. To change any of them, change the type and save its components again.
Who it applies to
On the Apply Scope tab, a component can be restricted with an Employee Criteria and an HR Info Criteria (free-form filters over the employee's master file and HR information), plus explicit From/To ranges on legal entity, branch, department, sector, analysis set, employee, employee department, position (From Position / To Position), nationality, and group. Leaving these open applies the component broadly; narrowing them lets one component type carry several differently-scoped components — for example, a transportation allowance that only applies to a particular branch.
Where it is recorded — account lines
A component carries its own debit account lines and credit account lines, each with a percentage share and a fully configurable account source (a fixed account, an account read from a reference field, or one selected from a currency-aware "bag" of accounts) plus a narration template. This is exactly what lets a salary document create its general-ledger entry: the document itself carries no accounting logic of its own — it simply totals up its component lines and records them through each component's account lines. A simpler Detail Accounts group (Main Account plus five numbered fallback accounts) is also available for components that don't need the full debit/credit configuration.

Salary Component Group
A Salary Component Group (مجموعة مفردات راتب, Payroll > Salary Configurations > Salary Component Group) bundles related components into one named set. Wherever a rule has to name several components at once, it can name the group instead: a Component Calculation Formula related to components, a Reward / Penalty that considers other issuances, a Vacation Type's deduction-percentage lines and the salary conditions on a Loan Type all accept a group. Groups are also handy for filtering and reporting.
The group's component types grid lists its members. Each line names a component type, and where that type's own effect is Other, the line's Other Component Effect Type column says whether salary generation should treat it as an addition or a deduction when it works out a component that refers to the group. The refusal at the bottom of this page keeps that column confined to the types it applies to.
Actions on this screen
The Salary Component Type, Salary Component and Salary Component Group screens have no buttons of their own; they are filled in and saved.
In practice
- About 2 in 3 companies have salary components set up, including about 9 in 10 contracting companies. A typical company keeps around twenty component types and about as many components; about 1 in 10 keeps more than fifty. One component per type is therefore the common shape, and several differently scoped components under one type the less common one.
- Formulas are part of almost every salary setup. About as many companies keep Component Calculation Formulas as keep components — typically a dozen or more — so a mix of Constant Value and Variable Value components is the usual picture.
- Components usually reach employees directly. About a third of the companies with components also use Salary Structures; the rest attach components on each employee's HR Information.
- Salary Component Groups and issuances are specialised tools. Each is used by about 1 in 8 of the companies with components — groups where a formula, loan type or vacation type needs to name several components at once, issuances where the company runs more than one payroll stream.
Messages you may see
| Message | Why | What to do |
|---|---|---|
| You can not check the option {0}, and the classification is {1} in component type {2} — «لا يمكنك اختيار {0} ونوع التصنيف {1} في نوع المفرد {2}» | Do Not Override After Regenerate is ticked on a component whose type is classified Installment; installment values come from the loan documents on every regeneration, so they cannot be protected from being rewritten. | Untick the option on that component, or move it under a type with a different classification. |
| One option from these option must be true {0} , {1} , {2} when this option is true {3} in component type, at salary component {4} — «يجب تفعيل حقل من هذه الحقول {0} , {1} , {2} عند تفعيل هذا الحقل {3} في نوع المفرد وهذا في مفرد الراتب {4}» | The component type has Auto Adjustment switched on, which means exactly one of Include Compulsory Vacation Liquidation, Included Annual Vacation Liquidation or Included Termination Liquidation must be ticked on the component — none are, or more than one is. | Decide which settlement the component is auto-adjusted for and tick that one flag only. |
| Approximation type can not be {0} — «تقريب الراتب لا يمكن أن يكون {0}» | Use With Salary Approximation is ticked but the rounding type is left at None, so there is nothing to round to. | Choose a real rounding type, or untick the approximation option. |
| Floor approximation type should not be used with addition component — «التقريب لأسفل لا يجب استخدامه مع المفردات من النوع إضافة» | An Addition component is set to round down, which would quietly pay the employee less than the computed amount. | Round additions up, or to the nearest value. |
| Ceiling approximation type should not be used with deduction component — «التقريب لأعلى لا يجب استخدامه مع المفردات من النوع استقطاع» | The mirror case: a Deduction component set to round up would deduct more than computed. | Round deductions down, or to the nearest value. |
| Accounts Must Contains Only One Line — «الحسابات يجب أن تحتوي على حساب واحد فقط» | The debit or credit distribution type is Fixed, which records the whole amount on one account, but its account-lines grid does not hold exactly one line. | Leave a single line in that grid, or switch the distribution type to the one that splits over several accounts. |
| Total Percentages should be 100% — «مجموع النسب يجب أن تكون 100 %» | The distribution type splits the amount by percentage, and the percentages on the debit or credit account lines do not add up to 100. | Adjust the percentages until they total 100 on both sides. |
| You can not fill field {0} because distribution type is {1} — «لا يمكنك ملء الحقل {0} لأن طريقة التوزيع {1}» | An account line carries a criteria or query field that the chosen distribution type never reads — for example an employee query on a fixed distribution. | Clear the field named in the message, or change the distribution type to the one that actually uses it. |
| The Option {0} can not be true if {1} is true — «الأوبشن {0} لا يمكن أن يكون مفعل عندما يكون الأوبشن {1} مفعل» | Re Distribute Base Value On Complete Work Period and Unrelated To Work Days are both ticked: the first prorates the value over the days worked, the second says the value ignores working days altogether. | Keep whichever is true of this component and untick the other. |
| You must check {0} if you marked {1} — «يجب أن تقوم باختيار {0} إذا قمت باختيار {1}» | On the Salary Component Type, Does Not Repeat In Salary By Update Employee Information is ticked while Unrelated To Work Days is not — a type that ignores the employee's HR information must also be independent of their working days. | Tick Unrelated To Work Days as well, or untick the first option. |
| Component type {0} salary effect type must be Other in order to be able to choose other component effect type — «يجب أن يكون التأثير في نوع المفرد {0} يساوي أخرى حتى يتم اختيار معاملة المفردات من نوع أخرى» | On a Salary Component Group line, the Other Component Effect Type column was filled for a component type whose own effect type is Addition or Deduction; that column only qualifies types whose effect is Other. | Clear the column on that line, or set the component type's effect type to Other if that is what it really is. |
| Salary component type {0} order is {1}, it can not be used in the formula {2} for the component type {3} whose order is {4} — «ترتيب نوع المفرد {0} هو {1} - و لا يمكن استعماله في المعادلة {2} الخاصة بنوع المفرد {3} الذي ترتيبه {4}» | The component's calculation formula reads a component type whose Component Order is higher than the order of this component's own type, so that value would not have been calculated yet. | Raise the Component Order of this component's type, or lower the order of the type the formula reads. |
Related pages
- Salary Calculation Formulas — how a Variable Value component gets its number.
- Salary Structures — reusable templates that assign components to groups of employees.
- How Salary Is Calculated — the full five-step pipeline these entities sit inside.
- Employee HR Information — where an employee's own component lines live, and where the Housing/Transportation switches are turned on.