Payroll

Astra runs payroll under Costa Rican labor law — worker and employer CCSS, progressive income tax brackets, court-ordered deductions, provisions and net pay. It works hand in hand with Employees: the data lives there, the runs happen here.

Availability

Payroll is the Payroll & HR module, a module added on top of any of the Contabilidad / ERP plans (ERP Pyme, ERP Pro and ERP Plus). It is turned on in the Plan section of Settings. Without the module, it does not appear in the menu.

Capabilities

  • Worker CCSS contributions: 10.83% of gross.
  • Employer CCSS charges: 30.58% of gross, broken into its nine components.
  • Progressive income tax brackets, versioned by year. What is withheld each month is filed on form 137/138: see Income Tax Withheld from Salaries.
  • Editable ordinary and overtime hours per day and employee, with approved-absence days locked.
  • Alimony, garnishments, loans and advances configured on the employee record.
  • Aguinaldo, vacation and severance provisions.
  • PDF pay stubs and an aguinaldo generator.
Pre-requisite

Before your first run, make sure your employees have a base salary, hire date, work schedule and up-to-date deductions. The calculation uses the record as it stands when you run payroll.

Period types

Astra handles three:

  • Semanal (weekly) — Monday through Sunday.
  • Quincenal (biweekly) — the 1st to the 15th, and the 16th to month end.
  • Mensual (monthly) — the full calendar month.

The type proposed when you create a period comes from Settings → Payroll, under Default Payroll Period. The same screen holds Payment Day Offset (how many days after the period closes you pay — 5 by default), the Default Work Schedule, the Auto-include Active Employees switch and the Enable My space for employees switch (see My space).

Payroll Configuration under Payroll: default period, payment day offset, work schedule and CCSS employer number
The Payroll Configuration section of Payroll. What you set here — period type, payment day offset, default schedule — is what every new period starts with.

Payroll list

Payroll list with period, type, employees, total gross and net pay
The payroll list. Each period shows how many employees it covers, total gross and net, with its status — approved or paid.

Reach it from Payroll → Payroll. Each row shows the period number with its dates, the type, the employee count, total gross, net and status.

Filters

  • Approved and Paid — two status buttons. With neither active you see every period, drafts included.
  • Recurring — leaves only the periods a recurring schedule generated.
  • Search — by period number or by the text of the notes.

The funnel icon clears every filter at once.

Create a period

Create Payroll Period modal with the Biweekly type selected, the period dates and the payment date
Create Payroll Period. The notice at the top says how many active employees will be included; the type, dates and payment date come pre-filled from your settings.
  1. Go to Payroll → Payroll and click Create Payroll Period.
  2. Pick the Period Type. Changing it makes Astra propose the start and end dates of the matching current period.
  3. Adjust Start Date, End Date and Payment Date if you need to, and add notes.
  4. Create it. If another period of the same type already overlaps those dates, Astra warns you with its number and status and lets you confirm or correct.
  5. Astra takes you to the new period and opens Manage Employees. Add the people this run covers — one by one or with Add All — and drop the ones that don't apply.
  6. Click Calculate Payroll in the sidebar. Astra calculates every line and refreshes the period totals.
Manage Employees modal with available employees on the left and the four employees on the period on the right
Manage Employees: on the left, whoever is not on the run yet; on the right, whoever is, with their net. Once every active employee is in, the left column says so.
Automatic roster

If Auto-include Active Employees is on in your organization settings, the period is born with every eligible employee already on it (active or on leave, employed within the date range). Manage Employees still opens so you review the list before calculating.

If eligible employees are missing from the run after you calculate, Astra asks whether to add them and names them. It never adds them on its own.

Employees and hours

The period detail has three tabs: Employees, Payroll Summary and Archivos (files). The totals live in the left sidebar, along with the dates, the status and the workflow actions.

Detalle de un período en borrador con la rejilla de horas de una empleada desplegada bajo su fila, y la barra lateral con totales y acciones
Un período en Borrador con la rejilla de horas de la primera fila desplegada. Cada fila muestra horas, bruto, CCSS, renta, otras deducciones y neto; la barra lateral concentra las fechas, los totales, las cargas patronales y los botones del flujo.

The Employees tab lists one row per person with their hours, gross salary, commission (if your organization has commissions on), employee CCSS, income tax, other deductions and net pay. The PDF icon at the end of each row downloads that person's pay stub.

The daily hours grid

While the period is in Draft, clicking the hours button on a row expands the grid: one column per day of the period and three rows of fields.

  • Reg. — the day's ordinary hours. Under each column you see the scheduled hours for that day (8h prog), libre (free) when the day is not on the schedule, or rest day for the weekly rest day.
  • OT ×1.5 — the authorised overtime for that day, paid with the 50% premium.
  • Double ×2 — hours worked on the weekly rest day, paid double.
Hours grid with the Reg., OT and Double rows; Friday shows 8 ordinary and 2 overtime, Saturday 3 overtime and Sunday 4 double, each with its note
Three cases in one week. Friday: 10 was typed on an 8-hour day and it became 8 ordinary + 2 overtime. Saturday, a free day: all 3 hours typed dropped to overtime. Sunday, the rest day: all 4 hours dropped to double. Each column says so underneath. The first three days are locked by an approved permit and vacation.

You don't have to split the hours yourself. Type what the person worked into Reg. and Astra keeps only that day's scheduled hours there; the rest drops to the row it belongs in, and the column tells you. A 10 on an 8-hour day is never paid as ten hours at plain rate. You can also type straight into the overtime and double rows.

What is one overtime hour worth? Astra takes the "ordinary hour" and adds 50% (double time and holidays, 100%). By default the ordinary hour follows the Ministerio de Trabajo rule: monthly salary ÷ 30 ÷ hours in the daily shift (8 day, 7 mixed, 6 night). On ₡500,000 a month with an 8-hour shift, the ordinary hour is ₡2,083.33 and 8 overtime hours are ₡25,000. If your company prefers the actual hours of its schedule (40 h a week → ÷ 173.33), switch it under Settings → Payroll → Hourly value for overtime. Only overtime, double-time and holiday hours change; base pay does not move.

Manual amounts. Below the hours grid there is an Additional earnings block: a bonus and an other earnings amount with its concept (back pay, per diem, an incentive). Type the amount in colones for this period and press Save earnings. It adds to gross, so CCSS and income tax recalculate on their own and the concept prints on the pay stub. If the amount is not salary (a reimbursement, a per diem, money the CCSS must not see), tick Exempt from CCSS and income tax: it is paid in full and CCSS, income tax and aguinaldo are computed on the rest; the stub says so and shows the contributory salary.

Paying by file and reporting to the CCSS. On an approved payroll, the Bank file & CCSS button in the side panel produces three things. The BCR file (TXT) is Banco de Costa Rica's IBAN mass-transfer format: one debit to the company account and one credit per employee with their net, ready for BCR Comercial → Archivo → Carga. The CSV carries IBAN, ID number, name and amount per person and works for BAC's payroll payment template and other banks' bulk uploads. The CCSS Excel lays the month out the way the Oficina Virtual asks for it (identification, name, earned salary, days, hire and exit dates, position, weekly hours, sick-leave and unpaid-leave days) with the employee and employer contributions to check against the bill. Astra names whoever is left out of the bank file for lack of an IBAN on file.

Tax credits, garnishments and sick leave. On each employee's record you can tick spouse and how many children they claim: Astra takes ₡2,590 per spouse and ₡1,710 per child a month off the salary tax (art. 34 of the Income Tax Law), never below zero. Alimony and garnishments registered as deductions are capped automatically per article 172 of the Labor Code: alimony up to 50% of the liquid salary, and a garnishment only on what exceeds the lowest minimum wage (₡268,731 in 2026), one eighth up to three minimum wages and one quarter beyond; the stub keeps the calculation. The Record sick leave button on the record takes the certificate (illness, maternity or work injury) and the date range; the days lock in the grid and the company pays what you set under Settings → Payroll → Sick leave: only what the law requires (50% for the first three days of illness and nothing after, 50% of maternity, nothing for work injury) or 100%. Days are counted the way the CCSS counts them: calendar days, weekends included.

Holidays. The grid marks the year's holidays on its own (Labor Code art. 148) and vacation never consumes them. A mandatory-pay holiday is paid even when not worked, hourly staff included; hours worked on it go to the Double row and carry the premium that brings them to double. The year's list is under Settings → Payroll.

Salary certificate. From the record (Salary certificate button) or from My space, Astra produces the letter with position, hire date, monthly gross in figures and words and the approximate net, on the company letterhead with room for a signature.

  • On a scheduled day, anything above the scheduled hours drops to OT ×1.5.
  • On a free day (outside the contracted schedule, say the Saturday of a Monday-to-Friday employee) there are no ordinary hours: everything drops to OT ×1.5, as article 139 of the Labour Code requires.
  • On the weekly rest day everything drops to Double ×2, as article 152 requires.
If the hours were not authorised

The premium is owed only when the employer authorised the work. If the person simply stayed late, set the OT ×1.5 (or Double ×2) row to 0 before saving: the decision is explicit instead of lost.

The rule follows each person's scheduled day, not a fixed number: a 10-hour day on a compressed 4×10 schedule is ordinary. The rest day comes from the schedule: a single free day is it; among several free days Sunday is it; otherwise the first free day after the last working day. Someone who rests on Tuesday instead of Sunday needs their own schedule on the employee record, and Astra picks it up from there.

The totals on the right add each row separately, with the period's scheduled hours as a reference. A day with fewer hours than its schedule is highlighted in amber. Click Guardar (save) and Astra recalculates that line without touching the others.

Approved absences

Days covered by an already-approved vacation, sick leave or permit appear locked and labeled with the reason. You don't edit them from payroll: fix them on the employee record, in the Vacaciones y permisos (vacation and leave) tab.

If an employee has no time entries for the period, Astra credits the hours from their scheduled shift.

Approval workflow

A period moves through these statuses:

  • Draft — editable. Add and remove employees, fix hours, recalculate.
  • Processing — a transient status while Calculate Payroll runs. It lasts as long as the calculation and returns to Draft on its own.
  • Under Review — the run is closed for review.
  • Approved — reviewed and signed off.
  • Paid — final state.
  • Cancelled — discarded.
Sidebar of a period Under Review with the Approve Payroll, Revert to Draft and Cancel Payroll buttons
Under Review: approve, send back to draft, or cancel.
Sidebar of an Approved period with the Pay from account picker, the Mark as Paid button and Generate Pay Stubs
Approved: pick the account and mark as paid; stubs can already be generated.
Sidebar of a Paid period showing who approved it and when, and the Generate Pay Stubs button
Paid: who approved and who paid is on record; all that is left is downloading stubs.
  1. In Draft, click Calculate Payroll and check the numbers.
  2. Click Submit for Review. A period with no employees can't be submitted.
  3. Under review, click Approve Payroll. Astra records who approved it and when. If something is off, Regresar a Borrador (revert to draft) sends the run back so you can edit hours and recalculate.
  4. Once approved, pick the bank account you are paying from under Pay from account (or leave Cash / no bank account) and click Mark as Paid.

A period in Draft or Under Review can be discarded with Cancelar Planilla (cancel payroll). A paid payroll can no longer be cancelled.

If a payroll gets stuck in Processing

If the calculation is interrupted (connection drops, session closes), the period can be stranded in Processing. When that happens the side panel shows a Payroll stuck in processing notice and a Revert to Draft button. Press it and the run goes back to Draft exactly as it was: nothing is lost, you just press Calculate Payroll again. From Processing you cannot submit for review or cancel — send it back to Draft first.

What marking as paid does

Astra records the net as an expense payment dated on the period's payment date, against the bank account you chose or as cash. That movement shows up in Treasury and in bank reconciliation, and the payroll is booked: salary and social-charge expense against salaries payable, CCSS payable and salary-tax payable.

Astra does not move money

Marking as paid is an accounting record. You make the transfer to each employee at your bank. Astra also does not produce a bank payment file or the SICERE payroll report today.

Understanding the calculation

The Payroll Summary tab shows the whole period's calculation grouped by block: earnings, worker CCSS by component, income tax, other deductions, net, employer charges and provisions. It is the view to check before approving.

Payroll Summary tab with the earnings, employee CCSS, income tax, other deductions, total net and employer CCSS blocks
Payroll Summary: every block of the calculation with its rate, from gross to net and the employer's charges.

Step 1: Gross salary

It comes from the base salary on the record adjusted to the hours of the period, plus overtime, double time and holiday hours where they apply, plus commissions when your organization uses them. If the person was hired or terminated mid-period, the base is prorated by days worked.

Step 2: Worker CCSS — 10.83%

Calculated on gross and broken down as:

ComponentRate
SEM — health and maternity insurance5.50%
IVM — disability, old age and death4.33%
Banco Popular1.00%
Worker total10.83%

Step 3: Income tax

Brackets apply to the month's gross salary, without taking off the worker CCSS (Ley 7092 art. 33: «la renta total percibida mensualmente»). An amount marked No afecto a Caja ni renta stays out. Only the portion inside each bracket is taxed at that bracket's rate. On weekly and biweekly periods Astra scales the base to its monthly equivalent, applies the brackets and returns the share belonging to the period.

Monthly gross salaryRate
Up to ₡918,000Exempt
₡918,001 – ₡1,347,00010%
₡1,347,001 – ₡2,364,00015%
₡2,364,001 – ₡4,727,00020%
Over ₡4,727,00025%

These are the brackets in force for 2026. Astra stores brackets per year with their effective date and uses the ones that match the period, so old runs don't change when new brackets are published.

Step 4: Other deductions

The active deductions on the employee record are subtracted: alimony, garnishments, loans, advances and others. Each is either a fixed amount or a percentage of gross.

Step 5: Net pay

Net = Gross − Worker CCSS − Income tax − Other deductions

Employer charges — 30.58%

These are not withheld from the employee: they are the employer's added cost. The Payroll Summary tab shows them component by component.

ComponentRate
SEM9.25%
IVM5.58%
Banco Popular employer0.25%
FPCO — mandatory complementary pensions2.00%
FCL — labor capitalization fund1.50%
IMAS0.50%
INA1.50%
FODESAF5.00%
Family allowances5.00%
Employer total30.58%

Provisions

The summary also computes the period's provisions: aguinaldo 8.33%, vacation 4.17% and severance 5.33% of gross — 17.83% in total. They are not paid out in the run; they are the reserve for what you will owe later.

True total cost

An employee's monthly cost is not their salary: it is gross + 30.58% employer charges + 17.83% provisions ≈ 148% of gross. Budget with that figure. Every employee record shows their total monthly cost already computed — see Employees.

Income tax higher than expected

Tax is calculated on the full gross: the worker CCSS is not taken off before the brackets. Aguinaldo is exempt. The bracket applied to each employee is stored on their line of the run.

Pay stubs

Once the period is Approved or Paid, the sidebar shows Pay Stubs. It opens a window with two options: Send by email, which sends each employee their own stub as a PDF to the email on their file (or on their user account when the file has none), and Download PDF, a single file with every stub in case you hand them over in person. In the Employees tab, the stub icon on each row opens the same window for that person alone: email it just to them, or download it.

Before sending, the window tells you how many employees will receive a stub and names those without an email, so you can complete their file or hand theirs over in person. Sending runs in the background and may take a few minutes; once done, the sidebar shows Sent N of M with the time, and each row in the Employees tab marks with a green envelope who has received theirs (hover to see the address). Sending again replaces that record. While the period is still a draft you can only download: stubs are emailed only from an approved or paid payroll.

The stub carries earnings, CCSS by component, income tax with its bracket, other deductions and the period's net. The email does not repeat the amounts: the breakdown is only in the attached PDF.

Pay stub PDF: employee and period details, earnings, CCSS deductions, net pay and informative employer contributions
A biweekly pay stub: ordinary hours and gross on the left, worker CCSS by component on the right, the net to pay and — for information only — what the employer contributes.

My space

My space is each employee's own page when they have an Astra user account: their approved pay stubs as PDF, their vacation balance, a form to request vacation or time off, their personal record and their salary certificate. No module permission is involved: the door is a user account linked to the employee record (created from Employees), and they only see their own. If their role opens nothing else, My space is their landing page.

Turning it on

It is off by default: showing each person their salary data is the business's call, not Astra's. Turn it on under Settings → Payroll with the Enable My space for employees switch, and save. From then on every employee with an account sees My space in the sidebar. Turning it off removes it for everyone immediately; records, pay stubs and requests are unchanged.

Enable My space for employees switch, on, at the end of Payroll Configuration
The switch, at the end of Payroll Configuration. It needs the Payroll & HR add-on: without it there is nothing to turn on.

What the employee sees

Three tabs. My pay stubs lists only approved or paid periods (a draft never shows) with gross, net and the PDF download button; if the stub was emailed, it says when.

My space, My pay stubs tab: a paid biweekly period with dates, pay date, gross, net and the Download PDF button
My pay stubs. Only what is approved or paid, only their own.

Vacation and time off shows the year's balance (available, accrued, used) and two forms: request vacation (dates and a comment; Astra counts working days and never lets them ask for more than the balance holds) and request time off (date, type, hours when it applies, paid or unpaid). Requests reach whoever approves as pending, exactly like the ones filed from the record, and the employee can cancel their own while it is still pending.

My space, Vacation and time off tab: the year's balance, the vacation request form and the time-off request form
Vacation and time off. What is filed here lands on the record's Vacation and leave tab as a pending request.

My details is a read-only copy of the record: employee number, cédula, position, department, hire date, schedule, email, phone, CCSS number and the deposit account (bank and last digits only). Nothing is edited from there: if something is out of date, the person tells whoever runs payroll. At the bottom, the Salary certificate button produces the same letter the record issues.

My space, My details tab: employee number, cédula, position, hire date, schedule, contact, CCSS number and deposit account, with the Salary certificate button
My details. Read-only, salary certificate one click away; whatever the record lacks shows as "Not recorded", and the bank account, when there is one, shows only the bank and the last digits.

Aguinaldo

The Aguinaldo button on the payroll list opens the generator. Pick the year and click Calcular Aguinaldo (calculate aguinaldo): Astra adds up each employee's gross pay from December 1 of the previous year to November 30 of the current one and divides by 12 (Ley N.º 2412). If an employee has no runs in that window, Astra reconstructs the amount from their salary history.

Aguinaldo modal with the year selected and the Calculate Aguinaldo button, over the payroll list
The aguinaldo generator. The year sets the twelve-month window that gets added up, December 1 to November 30.

The result is stored per employee and handled with Aprobar Todos (approve all) and Marcar como Pagado (mark as paid). Aguinaldo is exempt from income tax, is not subject to CCSS, and must be paid between December 1 and December 20.

Recurring payroll

Recurrence is configured from a period, not in the organization settings. Open a period shaped the way you want to repeat it and click Setup Recurring in the sidebar.

  1. Give the schedule a name and a description.
  2. Pick the start date. You don't choose the frequency: it is inherited from the source period's type.
  3. Set the duration — indefinite, until a date, or a number of occurrences.
  4. Save. The period sidebar now shows Active Recurring Schedule with the frequency, the next generation date and the status, and the button becomes Manage Recurring.
Setup Recurring modal with name, inherited Biweekly frequency, start date and Indefinite duration
Setup Recurring. The frequency is locked because it is inherited from the period; you only choose from when and until when.

On each generation date Astra creates the next period in Draft, with its payment date derived from your organization's Payment Day Offset and — following your Auto-include Active Employees policy — with the roster already loaded and calculated. Periods created this way carry a recurring badge in the list, and the Recurring filter isolates them.

You still approve

The schedule only prepares the draft. Reviewing, submitting for review, approving and marking as paid is always yours to do.

Need more help?

Our team is ready to assist you.

EmailWhatsApp

Use Astra for your business

Astra · Astranexo

See plans and pricing