Skip to main content
Pending validationOdoo 20.0Community and Enterprise

The payslip is not posted to accounting

Symptom​

The payroll batch is Validated or Paid and has above it the notice “8 worker(s): Accounting account of every rule with an amount (Blocks closing)”. The Payroll Administrator presses Account and Invalid Operation opens. No journal entry is created.

Message​

Seen on the batch Salários de outubro de 2026 of Empresa Demonstração, Lda, with the demo administrator (who has the Payroll Administrator profile):

“Accounting blocked: 1 pay item(s) with an amount have no posting template on 31/10/2026: Meal allowance. What happened: the entry cannot be built without an account for each line. How to fix it: create a template for each one (Payroll › Configure › Pay item setup › Posting templates).”

Verified causes​

  • A pay item with an amount has no posting template on the payslip date. Each pay item that appears on the payslip with an amount needs a template, with Valid from up to the end of the period. The template gives the Debit account, the Credit account, the Partner and the Payroll journal. In the demo, there were templates for base remuneration, absences, net pay, IRS and Social Security, but not for the Meal allowance.
  • The payslip is already accounted. Pressing Account again gives “Batch “Salários de outubro de 2026” has no payslip to account. What happened: every validated payslip already has its accounting entry. How to fix it: open the entry from the payslip; to correct it, create a corrective payslip.”
  • The payslip is not validated yet. Account only appears with the batch Validated or Paid, and only to the Payroll Administrator.
  • There are other refusals, each with its own message: the employee without an accounting class (staff or governing body) in the period, templates that use different journals, a creditor of a garnishment or assignment without a contact, a payslip without IRS calculated. Pending validation on screen: these refusals were not triggered in this round.

What to check​

  1. The notice above the batch and, in See who to correct, the pay item shown for each employee.
  2. In Payroll › Configure › Pay item setup › Posting templates, whether the pay item has a template and whether Valid from is before the end of the month. The list shows Salary rule, Employee class, Debit account, Credit account, Partner, Payroll journal, Valid from, Valid until and Company.
  3. The company you are working in. The list only shows the templates of the company chosen in the top right corner.

How to fix it​

Done with the demo administrator. The Payroll › Configure menu and the Account button belong to the Payroll Administrator; the Payroll Processor does not have them.

  1. Open Payroll › Configure › Pay item setup › Posting templates and press New.

  2. In Salary rule, choose the pay item from the message (in the example, Meal allowance).

  3. In Debit account and Credit account, choose the accounts the certified accountant tells you. In the example, the same as the base remuneration: 632 Remunerações do pessoal on the debit side and 231290 Remunerações em processamento on the credit side. Pending validation by a certified accountant: account for the meal allowance in the SNC chart of accounts (632 or 638) and treatment of the part above the exempt limit.

  4. Check the other required fields and save:

    • Company: the one from the message. The new template comes with the company chosen in the top right corner;
    • Employee class: Staff (the default) or Governing bodies;
    • Partner: Worker (the default), Social Security, Tax Authority (AT), Trade union or Other third party;
    • Analytic policy: No analytic distribution (the default), optional or mandatory;
    • Payroll journal: Payroll (in the example it came empty and was chosen);
    • Valid from: 01/01/2026 in the example.

    The demo templates are set to Staff, Worker and No analytic distribution. A Staff-only template does not serve the payslip of a manager or director: that payslip needs a template of the Governing bodies class, with the account the certified accountant tells you (in the SNC, the remuneration of governing bodies has its own account, 631). Pending validation by a certified accountant: accounts for the remuneration of governing bodies (631) and for the meal allowance of governing bodies.

  5. Open the batch and press Account.

Lines generated. The journal entry SAL/2026/00005, dated 31/10/2026, in the Payroll journal, groups the 8 payslips of the batch. Checked on the posted entry:

AccountDebitCredit
632 Remunerações do pessoal€12,528.63
231290 Remunerações em processamento€12,528.63
231290 Remunerações em processamento€12,528.63
2312 Ao pessoal (net pay)€10,382.03
242 Retenção de impostos sobre rendimentos (IRS withheld)€875.00
245 Contribuições para a Segurança Social (employees)€1,271.60
635 Encargos sobre remunerações€2,745.52
245 Contribuições para a Segurança Social (company)€2,745.52

The €12,528.63 is the gross October payroll (with the meal allowance) and splits into net pay, IRS and the employee's Social Security: €10,382.03 + €875.00 + €1,271.60. The IRS and Social Security lines have the AT and Social Security as partner; the staff lines have no partner, because the batch is posted in a single entry.

Expected result​

When to contact support​

  • The pay item from the message already has a template with Valid from before the end of the month and the refusal repeats.
  • Account does not appear to the Payroll Administrator with the batch Validated.
  • The entry total does not match the batch's gross total and company cost.

Information to send​

  • The batch, the company and the month.
  • The full text of the message, copied from the screen.
  • A screenshot of the Posting templates list filtered by the pay item.
  • The profile you logged in with.
Versions: Odoo 20.0Community and Enterprisefiscaldoo 20.0 (master 7281543f)ID DOC-0397
Was this page helpful?