Skip to content
W
GoBD-compliant §203 StGB-compliant Q1

Payroll Calculation Agent

From gross to net - rule-based, traceable, audit-proof.

Calculates gross salary, variable components, deductions, garnishments and continued pay - creates the payroll journal and the posting for the general ledger.

Analyse your process
Airbus Volkswagen Shell Renault Evonik Vattenfall Philips KPMG

Gross-to-net calculation fully rule-based per EStG, SGB and ZPO

The agent validates the entire gross-to-net calculation including garnishments per Paragraph 850c ZPO and continued-pay per Paragraph 3 EFZG fully deterministically against tax and social-security law, with zero AI share.

Outcome: Payroll run reduced from 3 days to 4 hours for 5000 employees, 100 percent reproducible results, and plausibility check on any deviation above 10 percent from the prior month.

92% Rules Engine
0% AI Agent
8% Human

The 12 steps of payroll calculation are entirely deterministic - and precisely why they can be modelled by machine:

15 corrections per payroll run, 281 dollars per case

payroll (UK: PAYE) is arithmetic. Gross salary is in the contract, tax brackets in the tax authority’s electronic record, social insurance contributions in statutory tables, garnishment limits in civil procedure law. No step requires discretion. Yet typical payroll functions regularly produce corrections per payroll period. The EY Global Payroll Survey 2022 documents: one in five payroll runs contains errors, with 29 weeks per year per full-time equivalent spent on error correction. The problem lies not in the complexity of the rules but in the manual chaining of rule-based steps.

Error corrections systematically tie up payroll capacity

Every payroll correction incurs direct costs - the American Payroll Association puts a typical incident at around USD 281. But the real damage runs deeper. An incorrect payslip is the first thing an employee questions about their employer. Anyone who does not understand the net amount - or worse, finds an incorrect amount in their account - loses trust in the entire organisation.

For the CFO, every post-correction triggers a domino effect: amended social insurance reports, corrected payroll tax filings, adjusted journal entries in the general ledger. With retroactive corrections, the problem intensifies - employers typically have only a limited window to file contribution corrections without additional penalties. After that, it becomes both laborious and expensive.

A substantial share of payroll teams spends several hours per payroll cycle on fixing errors. That is bound capacity unavailable for either strategic work or edge cases.

Every Calculation Step Follows a Rule Set

The payroll runs through twelve decision steps - from gross salary through variable components, special payments, tax, social insurance to the journal entry for the general ledger. None of these steps requires human judgement. Each is unambiguously defined by contract, collective agreement, works agreement or statute.

A concrete scenario: an industrial company with 800 employees processes payroll monthly. 120 employees work shifts with night and public holiday premiums. 30 employees have garnishment orders. In November, the 13th salary is due, and simultaneously a collective agreement increase takes effect retroactively from October. For payroll accounting, this means: 800 individual payslips, of which 120 with variable premium calculations, 30 with garnishment table applications, 800 special payments plus a complete recalculation for October.

In the Decision Layer, every one of these steps is a rule-engine decision (tier R). Gross salary comes from the contract. Premiums follow the collective agreement. Garnishment follows the statutory table considering maintenance obligations. Payroll tax is calculated by the specialised Payroll Tax Agent. There is no point at which a clerk needs to exercise discretion.

The Prior-Month Comparison Catches Silent Errors

Rule-based does not mean error-free. An incorrectly entered hourly rate, a belatedly recorded tax bracket change, a forgotten capital-formation subsidy - such input errors are the most common cause of payroll corrections. That is why the twelfth decision step includes an automatic plausibility check.

The agent compares every payslip with the prior month. If net pay deviates by more than ten percent without a documented cause (special payment, collective agreement change, tax bracket switch), the payslip is flagged for review. The clerk sees not just the deviation but the exact calculation path - which item changed and why the deviation arose. This is the single point in the entire process where a human intervenes: not to calculate, but to assess an anomaly.

Garnishments and Continued Pay Demand Precision Without Discretion

Edge cases such as garnishments or continued sick pay appear complex but are fully determined by statute. The garnishment table prescribes the garnishable amount precisely - dependent on net income and maintenance obligations. With multiple creditors, the service date determines priority. Continued pay applies for six weeks, then statutory sickness benefit takes over. These rules change rarely and leave no room for interpretation.

This is precisely where the value of a rule-based Decision Layer shows: where manual processing under time pressure leads to careless errors - an overlooked maintenance obligation on a garnishment, an incorrectly counted sick day - the agent applies the complete rule set traceably. Every calculation is documented and immediately verifiable for payroll tax audits or social insurance inspections.

Micro-Decision Table

Who decides in this agent?

12 decision steps, split by decider

92%(11/12)
Rules Engine
deterministic
0%(0/12)
AI Agent
model-based with confidence
8%(1/12)
Human
explicitly assigned
Human
Rules Engine
AI Agent
Each row is a decision. Expand to see the decision record and whether it can be challenged.
Determine gross salary Which gross salary applies per contract or collective agreement? Rules Engine Employee

Contract data and pay grade, deterministic assignment

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Calculate variable components Which overtime, allowances and shift premiums apply? Rules Engine Employee

Collective agreement and works agreement, time recording data

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Apply special payments Is a special payment due (13th salary, bonus, premium)? Rules Engine Employee

Contract and works agreement, date-triggered

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Calculate payroll tax What is the payroll tax including surcharges? Rules Engine Employee

Reference to Payroll Tax Agent, ELStAM-based

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Calculate social insurance contributions What are health, care, pension and unemployment insurance? Rules Engine Employee

SGB and current contribution rates, contribution ceilings

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Calculate net salary What is the payout amount? Rules Engine Employee

Arithmetic: gross minus deductions

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Apply capital formation subsidy Is a capital formation (VWL) subsidy agreed? Rules Engine

Contract data, fixed amount

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Apply garnishments Is there a garnishment order and what is the garnishable amount? Rules Engine Employee

Statutory table per Paragraph 850c ZPO, deterministic calculation

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Check continued pay Is there entitlement to continued pay (Paragraph 3 EFZG)? Rules Engine Employee

6-week limit, prior illness offsetting

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Employee

Create payroll journal Are all positions correctly summarised? Rules Engine Auditor

Summary of all individual positions

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Auditor

Create GL posting What is the journal entry for the general ledger? Rules Engine Auditor

Posting logic: personnel expense, liabilities, deductions

Decision Record

Rule ID and version number
Input data that triggered the rule
Calculation result and applied formula

Challengeable: Yes - rule application verifiable. Objection possible for incorrect data or wrong rule version.

Challengeable by: Auditor

Plausibility check Does net salary deviate more than 10% from prior month? Human Employee

Warning is rule-based (R), assessment of the cause is human (H)

Decision Record

Decider ID and role
Decision rationale
Timestamp and context

Challengeable: Yes - via manager, works council, or formal objection process.

Challengeable by: Employee

Decision Record and Right to Challenge

Every decision this agent makes or prepares is documented in a complete decision record. Affected parties (employees, suppliers, auditors) can review, understand, and challenge every individual decision.

Which rule in which version was applied?
What data was the decision based on?
Who (human, rules engine, or AI) decided - and why?
How can the affected person file an objection?
How the Decision Layer enforces this architecturally →

Does this agent fit your process?

We analyse your specific finance process and show how this agent fits into your system landscape. 30 minutes, no preparation needed.

Analyse your process

Governance Notes

GoBD-compliant §203 StGB-compliant

Nearly fully rule-based (0-1H / 11R / 0A). The only human decision concerns the assessment of significant prior-month deviations. GoBD-compliant: every payslip is archived with all input values, rules and results as an immutable document. Retention period 8 years (BEG IV).

Paragraph 203 StGB highly relevant: salary data is particularly sensitive client information. For tax advisory firm use: client-separated processing, EU data centre. EStG, SGB, EFZG and ZPO as direct legal bases. Not EU AI Act high-risk.

§203 StGB-relevant data is encrypted end-to-end and never passed to AI models in plain text.

Process Documentation Contribution

The procedural documentation includes per payslip: input values (contract data, time recording, special payments), applied collective and tax rules with version, every calculation step from gross to net, the resulting GL posting. For plausibility warnings, the clerk's decision with rationale is documented. The payroll journal serves as summary and audit evidence.

Assessment

Agent Readiness 85-92%
Governance Complexity 26-33%
Economic Impact 78-85%
Lighthouse Effect 26-33%
Implementation Complexity 28-35%
Transaction Volume Monthly

Prerequisites

  • Payroll system with API access (SAP HCM, DATEV LODAS/Lohn und Gehalt, Sage or equivalent)
  • Digitised employment contracts and collective agreements
  • Time recording data (interface to Time Recording Agent)
  • Current social insurance contribution rates and ceilings
  • GL interface for posting transfer

Infrastructure Contribution

The payroll logic is the core of the Payroll-Finance domain. The Payroll Correction Agent references the original payslip for difference calculations. The Social Insurance Reporting Agent takes the calculated contributions directly. The GL posting logic is reused by all agents that post personnel expense. The plausibility check establishes the prior-month comparison pattern usable for other periodic calculations. Builds Decision Logging and Audit Trail used by the Decision Layer for traceability and challengeability of every decision.

What this assessment contains: 9 slides for your leadership team

Personalised with your numbers. Generated in 2 minutes directly in your browser. No upload, no login.

  1. 1

    Title slide - Process name, decision points, automation potential

  2. 2

    Executive summary - FTE freed, cost per transaction before/after, break-even date, cost of waiting

  3. 3

    Current state - Transaction volume, error costs, growth scenario with FTE comparison

  4. 4

    Solution architecture - Human - rules engine - AI agent with specific decision points

  5. 5

    Governance - EU AI Act, GoBD/statutory, audit trail - with traffic light status

  6. 6

    Risk analysis - 5 risks with likelihood, impact and mitigation

  7. 7

    Roadmap - 3-phase plan with concrete calendar dates and Go/No-Go

  8. 8

    Business case - 3-scenario comparison (do nothing/hire/automate) plus 3×3 sensitivity matrix

  9. 9

    Discussion proposal - Concrete next steps with timeline and responsibilities

Includes: 3-scenario comparison

Do nothing vs. new hire vs. automation - with your salary level, your error rate and your growth plan. The one slide your CFO wants to see first.

Show calculation methodology

Hourly rate: Annual salary (your input) × 1.3 employer burden ÷ 1,720 annual work hours

Savings: Transactions × 12 × automation rate × minutes/transaction × hourly rate × economic factor

Quality ROI: Error reduction × transactions × 12 × EUR 260/error (APQC Open Standards Benchmarking)

FTE: Saved hours ÷ 1,720 annual work hours

Break-Even: Benchmark investment ÷ monthly combined savings (efficiency + quality)

New hire: Annual salary × 1.3 + EUR 12,000 recruiting per FTE

All data stays in your browser. Nothing is transmitted to any server.

Payroll Calculation Agent

Initial assessment for your leadership team

A thorough initial assessment in 2 minutes - with your numbers, your risk profile and industry benchmarks. No vendor logo, no sales pitch.

30K120K
1%15%

All data stays in your browser. Nothing is transmitted.

Frequently Asked Questions

Can the agent process different collective agreements simultaneously?

Yes. The rule engine maps any number of collective agreements in parallel. Each employee is assigned to the correct rule set via contract and pay grade. Companies with multiple locations and pay regions are fully covered.

How are garnishments prioritised with multiple creditors?

The agent applies the statutory ranking per ZPO. Maintenance garnishments take priority over other garnishments. The garnishable amount is calculated per Paragraph 850c ZPO - considering maintenance obligations.

What happens when the collective agreement changes?

Collective agreement changes are stored as a new rule version. The agent automatically applies the new agreement from the effective date. Retroactive adjustments run via the Payroll Correction Agent.

What Happens Next?

1

30 minutes

Initial call

We analyse your process and identify the optimal starting point.

2

1 week

Discover

Mapping your decision logic. Rule sets documented, Decision Layer designed.

3

3-4 weeks

Build

Production agent in your infrastructure. Governance, audit trail, cert-ready from day 1.

4

12-18 months

Self-sufficient

Full access to source code, prompts and rule versions. No vendor lock-in.

Implement This Agent?

We assess your finance process landscape and show how this agent fits your infrastructure.