Admin | Declaring Salary Types, Allowances and Deductions

Before building formulas, you need to declare which pay items your company has. Each item you declare automatically generates a keyword — the variable name used in formulas. This is the foundational step; if it is done carelessly, fixing it later is very costly.

Before building formulas, you need to declare which pay items your company has. Each item you declare automatically generates a keyword — the variable name used in formulas. This is the foundational step; if it is done carelessly, fixing it later is very costly.

Settings › Salary Grades with four groups of items
Settings › Salary Grades with four groups of items

Four groups of items

GroupWhat it containsExamples
Payment typesBase pay rates by payment methodMonthly salary, hourly wage, signing bonus
Allowance typesRecurring add-on amountsMeal allowance, fuel allowance, phone allowance, night shift allowance
Advance typesAmounts paid in advance, to be deducted from salarySalary advance, emergency advance
Other incomeNon-recurring amountsProject bonus, commission

Four payment types

TypeUsed for
One-time paymentA single one-off payment — signing bonus, project bonus
Hourly paymentWorkers paid by the hour
Monthly paymentFixed monthly salary — the most common
Payment by working daysWorkers paid by actual days worked

There is no built-in piece-rate payment type. Companies that pay piece-rate wages build it with a dedicated formula column in the payroll template — see article B9-08.

Declaring an allowance type

  1. Go to Payroll › Settings › Salary Grades and select the Allowance types tab.
  2. Click + Create new.
  3. Enter a Name — this name appears on the payroll and on the employee's payslip.
  4. Set the Order to control the column position.
  5. Save. The system automatically generates a keyword in the form `PHUCAP_<NAME_IN_UPPERCASE>`.
Allowance nameAuto-generated keyword
Meal Allowance`PHUCAP_MEAL_ALLOWANCE`
Transport Allowance`PHUCAP_TRANSPORT_ALLOWANCE`
Night Shift Allowance`PHUCAP_NIGHT_SHIFT_ALLOWANCE`

Name each allowance correctly the first time. The keyword is generated from the name, and the formulas you write will reference that keyword. Renaming it later risks breaking formulas.

Allowances included in or excluded from the insurance base

The keyword library has four built-in variables that classify income for insurance purposes: Allowances subject to social insurance, Allowances not subject to social insurance, Bonuses subject to social insurance, Bonuses not subject to social insurance. Use them to separate the insurance contribution base from total income.

Whether an item counts toward the insurance contribution base is a legal matter, not a technical choice. In Vietnam, the formal requirements are very strict: for an allowance to be excluded, it must be written as a separate item in the employment contract; if it is lumped into the salary item, it is still counted. Have your legal or accounting team finalize the list before configuring. See also article B9-07.

Keyword library

Settings › Keyword Library
Settings › Keyword Library

The Keyword Library screen lists every variable available for use in formulas, grouped by category and with a search box. This is your reference when writing formulas (article B9-05). The list is read-only — new variables are created when you declare additional items under Salary Grades.

Support
Réservez une démo
Chat