A legal table in force on that date is missing
Symptom
On a payslip for a year that has not started yet, or that started recently, Calculate opens Invalid Operation and the payslip stays in Draft. Above the payslip, the notices “Social Security not calculated…” and “IRS not calculated…” remain: they are the consequence, not the cause.
Message
Seen with the Payroll Processor profile, on a new payslip for Ana Margarida Pinto (Empresa Demonstração, Lda), opened in Payslips › New.
Payslip from 01/01/2027 to 31/01/2027 (with or without a 2027 holiday calendar):
“Payslip “Ana Margarida Pinto (01/01/2027 — 31/01/2027)” cannot be calculated or validated: the legal tables for 2027 are not published yet. What happened: calculating now would use missing or outdated values (minimum wage, IRS, Social Security) and give wrong amounts. How to fix it: wait for the 2027 legal update package and install it; the law watch marks the year as confirmed.”
Payslip from 01/01/2028 to 31/01/2028: the same refusal, with “the legal tables for 2028 are not published yet” and “the 2028 legal update package”.
A payslip dated 2029 or later is not even saved: “The income year 2029 of the payslip of “Ana Margarida Pinto” is not acceptable. What happened: … that year must be between 2000 and 2028…”.
In a year with published tables (November 2026), Calculate moves on to the next check, the holiday calendar. Without the calendar for the year and territory:
“There is no holiday calendar for 2026 (Continente) in company “Empresa Demonstração, Lda”. What happened: the working days are never guessed without the holidays of the year. How to fix it: create the calendar in Payroll › Configure › Company › Holiday calendars and press “Generate holidays”.”
This last one was triggered in the demo by archiving the company's 2026 calendar, which it already had. In 2027 and 2028 the first refusal is the legal tables one, before the calendar.
Verified causes
- The year's legal tables are not published. It is the first thing Calculate checks. In Payroll › Configure › Law and calendars › Law not yet published, the product has the lines Horizon 2027: nothing confirmed and Horizon 2028: nothing confirmed. While the year's line is open, no payslip of that year is calculated, with or without a calendar. Only a legal update package closes it.
- The year's holiday calendar is missing. Each company has one calendar per year and territory (Mainland, Azores, Madeira). In the demo there was the 2026 one; the 2027 one was created for the test.
- There are other dated legal tables: the Social Security scheme rate, the Social Security remuneration code, the company's holiday allowance method and the IRS table for the family situation. Each has its own message (“… has no Social Security rate in force on …”, “… has no holiday allowance method in force on …”). Pending validation on screen: in the demo the 2026 payslips found these tables; triggering the refusal would require deleting a legal table from the database.
What to check
- The payslip dates (Period start and Period end): a mistake in the year gives the same refusal.
- In Payroll › Configure › Company › Holiday calendars, whether there is a line for the company with the payslip's Year and Territory. The list only shows the company chosen in the top right corner.
- In Payroll › Configure › Law and calendars › Law not yet published, the lines for the payslip year (State Not confirmed, Announced, no diploma or Hypothesis). On 01/11/2026, 2027 had 12 open lines, among them “Tabelas de retenção de IRS para 2027”, “Salário mínimo para 2027”, “IAS (indexante dos apoios sociais) para 2027” and “Horizon 2027: nothing confirmed”; 2028 had “Horizon 2028: nothing confirmed”. The year's Horizon line is the one that locks the calculation for that year.
How to fix it
Holiday calendar missing (in a year with published tables). Done with the demo administrator. The Payroll › Configure menu belongs to the Payroll Administrator; the Payroll Processor does not have it.
- Open Payroll › Configure › Company › Holiday calendars and press New.
- Confirm the Company (the one in the top right corner is filled in), write the Year (2027) and choose the Territory (Continente).
- Save and press Generate holidays. In the example, 14 lines were created: Mandatory holidays 13, Of which on a working day 8. The calendar is named Feriados 2027 — Continente and can no longer be edited.
- Go back to the payslip and press Calculate again. On a 2027 or 2028 payslip, the next refusal is the one about the year's legal tables (above): the calendar does not solve it.
Municipal holidays and days the company gives (for example, Carnival) go into the calendar lines. Pending validation by a certified accountant: check in the generated calendar how Carnival and the municipal holiday of the head office are treated before processing January.
The year's legal tables not yet published. There is nothing to do on the payslip, and no need to create the year's calendar. Wait for the year's legal update package (see How to process the month's payroll) and process afterwards. Do not change the payslip dates to the previous year to be able to calculate: the payslip would use the minimum wage, IRS and Social Security of the wrong year. Pending validation by a certified accountant: withholding tables to apply in January while the year's order (despacho) is not published.
Expected result
- With the calendar created, in a year with published tables, Calculate moves on to the next check.
- For 2027 and 2028, the refusal repeats until the year's package is installed: Calculate and Validate are refused.
When to contact support
- The calendar for the year and territory exists and Calculate still says it does not.
- The year has started, the year's legal update package has been installed and the refusal “legal tables … are not published yet” continues.
- The payslip's How was it calculated? shows the IRS table of a year different from the payment year.
Information to send
- The company, the employee and the payslip dates.
- The full text of the message, copied from the screen.
- A screenshot of the Holiday calendars list and of the Law not yet published list.
- The profile you logged in with.