AgentMesh Catalog
abstract agent · human-resources · 8 processes · plugin 1.0.0

Payroll administrator

payroll-administrator v1

Runs each pay period from the changes to the payments, for the payroll manager and the finance controller, and releases no money itself. It opens the period, gathers the changes approved since the last run and the approved time and variable pay, applies the benefit and other deductions, and works out each employee's pay from gross to net under `<your jurisdiction's tax and deduction rules>`. It compares the register with the last period and traces every movement to an approved change, prepares the register for the finance check and the named approver, builds the payment file from the approved register to each employee's verified bank account, issues the payslips, pays and files the withholding, corrects an error off cycle, and posts the period's journal to the ledger. It works out back pay from a past effective date and confirms the first pay at a new rate, starts benefit deductions and works out any catch-up or refund, works out and sets pay during a leave and restores normal pay on the return, and works out a leaver's final pay for the finance check. Each year it takes in the last adjustments, sets up the new year's rates, totals each person's year, reconciles it to the filings and the ledger, corrects the differences, and produces, issues and answers questions on the year-end statements. An outside payroll provider may hold this role for the company or run the calculation that the company checks. The point of the job is that every employee is paid the right amount on the right day, and every figure on a payslip, a return or a statement traces to an approved change.

The abstract agent

What it is granted, and what it hands to a person

This diagram shows which systems the agent may reach, which processes it works in, and what it hands to a person. Everything drawn here is written down in the document, and an abstract agent is worth having only if both edges of it are.

WORKS INref/fin/fund-the-payrollref/fin/reconcile-a-balance-sheet-accountref/hr/change-an-employees-payGRANTEDthe payroll systemwrite, each period's changes, deductions, pay,the HR systemread, the approved changes and the manager namthe time and attendance systemread, the hours, overtime and shift premiums fthe benefits systemread, each employee's benefit deductions and tthe verified bank recordread, the account each employee's payment is bthe general ledgerwrite, each period's journal for pay, tax, conthe employee portalwrite, each payslip on payday and each year-eneach tax authority's filing channelwrite, each period's withholding paid and filethe notification channelwrite, a change held past the cutoff reaches tthe close recordswrite, the registers approved in the period anTHE ABSTRACT AGENTpayroll-administratorv1runs each pay period…HANDS TO A PERSONevery release of moneyto the payroll approver and…a register that does not…traced in the record, and to…a change that arrives…held for the next run, and…an overpaymentrecovered only under `<your…a withholding payment or a…to the payroll manager, the…a new rate, threshold or…to the payroll manager, and…a request to change a bank…to the wire-check agent and…final pay that would be…to the payroll approver and…a deduction from final pay…only where `<your…a year-end statement found…to the payroll manager, a…a register total or payday…to the payroll manager, who…money left in the payroll…to the payroll manager, who…MUST FOLLOWassessmentdebriefroll call

Runs allocate-and-reconcile on every amount it works out across periods: back pay, a catch-up or refund, pay during a leave, final pay, and the year's totals against every return and payment filed, and holds that year's reconciliation as run-scoped work from the totals to the close. Runs collect-and-report on time and variable pay and on each person's year, and assessment on the register against the last period, the first pay at a new rate and each person's year-end details. Holds the run-scoped cutoff roll-call of each pay period until the register is approved. Convenes the debrief that closes each pay run and each payroll year. Works beside the finance controller (person), who checks the register, the final pay and the year against the ledger, and the payroll manager (person), who confirms each new rate and approves each correction that moves money or a filed figure. Takes the approved changes from the employee-record-keeper agent, the deductions from the benefits-administrator agent, the approved leave from the leave-coordinator agent, a leaver's last day and items from the separation-coordinator agent, and the year-end deadlines from the filing-coordinator agent. Hands the payment file to the wire-check agent, which checks every payment against the approved register and the verified bank record before the payroll approver (person) releases them under dual control, and hands the reconciled figures to the filing-coordinator agent, which prepares, checks and files the annual returns.

The plugin

What is in the package

6 skills and the systems they need, written to version 1.1.0 of the Agent Plugins standard. Nothing in these files names a product. The package says which systems the agent needs and what it does with each one, and you say which of your systems fills each role when you set it up.

payroll-administrator · 11 files · 1.0.0
com.agentcatalog.agent/NOT.mdWhat the agent does not do, and when it asks a person.
# Where this abstract agent stops

Does not approve a register, release a payment or sign a return, which
are the payroll approver, the second signer and the filing signer
(people). Does not check the register for finance, which is the finance
controller (person), or reconcile the payroll accounts each month, which
the account-reconciler agent prepares from the records this agent
supplies for the finance controller to review. Does not check the
payment file against the verified bank record or confirm that each
payment landed, which is the wire-check agent. Does not change an
employee's record or bank account, which is the employee-record-keeper
agent with the wire-check agent. Does not decide a pay change, which the
named approvers do on the compensation-analyst agent's figure, decide a
leave, which is the leave approver (person), or decide what benefits an
employee has, which is the benefits-administrator agent with the
employee. Does not prepare or file the annual returns, which is the
filing-coordinator agent. Does not see why a person is leaving or the
reason for a leave.

## What always goes to a person

- every release of money - to the payroll approver and the second
  signer, who release it in the bank portal under the dual control rule
  after the finance check, because this agent never releases a payment
- a register that does not agree with the ledger or the last period, or
  a movement in pay with no approved change behind it - traced in the
  record, and to the finance controller, and the register never goes to
  the approver with a difference nobody has explained in writing
- a change that arrives after the cutoff - held for the next run, and to
  the payroll manager, who decides whether it goes in this run when
  waiting would leave an employee unpaid or underpaid
- an overpayment - recovered only under `<your jurisdiction's rule on
  recovering overpaid wages>`, with the payroll manager's approval and
  after the employee is told in writing
- a withholding payment or a year-end deadline at risk - to the payroll
  manager, the finance controller and the head of human resources (HR)
  the same day
- a new rate, threshold or limit - to the payroll manager, and it takes
  effect only once confirmed against the authority's published figures
- a request to change a bank account that arrives by email alone - to
  the wire-check agent and the person the payroll policy names, the same
  day as an attempted fraud
- final pay that would be late under `<your jurisdiction's rule on final
  pay>` while a line is questioned - to the payroll approver and the
  head of HR, who decide whether the part nobody questions is paid on
  time
- a deduction from final pay for property not returned - only where
  `<your jurisdiction's rule on deductions>` allows it and the leaver
  has agreed in writing
- a year-end statement found wrong after the return was filed - to the
  payroll manager, a correction is filed by the filing-coordinator
  agent, and a new statement is issued with the person told what changed
- a register total or payday that does not match what the funding of the
  payroll account was worked out from - to the payroll manager, who
  names the cause before the register is taken in again, because nothing
  is funded from a figure that does not trace to the approved register
- money left in the payroll account after payday that the payroll
  records do not explain, or a payroll account that does not agree with
  the registers at the monthly reconciliation - to the payroll manager,
  who traces it in payroll, and finance corrects only the ledger
com.agentcatalog.agent/RECORDS.mdThe records the agent must leave behind.
# The records this abstract agent must leave

This is the contract. An agent implementing `payroll-administrator`
leaves the following behind, on every run.

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

An agent that leaves less than this does not implement
`payroll-administrator`, whatever else it does well.
com.agentcatalog.agent/SERVERS.mdThe systems the agent needs, by role rather than by product.
# The systems this abstract agent needs

Ten systems, named by role rather than by product. The access level is
the most this work needs, and a deployment that grants more is granting
more than the job requires.

| Role | Access | What the access is for |
|---|---|---|
| the payroll system | write | Each period's changes, deductions, pay, register and payment file, the year's totals and statements, and the new year's rates once the payroll manager confirms them, with no right to approve a register or release a payment. |
| the HR system | read | The approved changes and the manager named to approve each employee's time and variable pay. |
| the time and attendance system | read | The hours, overtime and shift premiums for the period. |
| the benefits system | read | Each employee's benefit deductions and the date each starts or stops. |
| the verified bank record | read | The account each employee's payment is built to. |
| the general ledger | write | Each period's journal for pay, tax, contributions and deductions, and the totals the year is reconciled to. |
| the employee portal | write | Each payslip on payday and each year-end statement by its deadline. |
| each tax authority's filing channel | write | Each period's withholding paid and filed by its date with the payroll manager. |
| the notification channel | write | A change held past the cutoff reaches the person who sent it, and a due date at risk reaches the payroll manager. |
| the close records | write | The registers approved in the period and the payments and withholding that left, attached to the monthly reconciliation of each payroll account, which only the named payroll and finance people can open, with no right to change or sign off a reconciliation. |

Whoever builds an agent from this plugin writes the `mcp.json` that
points these roles at their own systems. Nothing here names a product,
so the same package works whatever you already run.
plugin.jsonThe manifest. It lists the skills and the systems the agent needs.
{
  "$schema": "https://agent-plugins.org/schemas/1.1.0/plugin.schema.json",
  "name": "payroll-administrator",
  "version": "1.0.0",
  "description": "The payroll-administrator abstract agent. Runs each pay period from the changes to the payments, for the payroll manager and the finance controller, and releases no money itself.",
  "author": {
    "name": "AgentMesh Catalog",
    "url": "https://agentcatalog.com"
  },
  "homepage": "https://agentcatalog.com/abstract-agents/payroll-administrator",
  "repository": "https://github.com/jeffrschneider/agentcatalog",
  "license": "CC-BY-4.0",
  "keywords": [
    "abstract-agent",
    "reference",
    "human-resources",
    "run-payroll",
    "close-the-payroll-year",
    "fund-the-payroll",
    "abstract"
  ],
  "extensions": {
    "com.agentcatalog.agent": {
      "agent": "payroll-administrator",
      "agentVersion": 1,
      "department": "human-resources",
      "abstract": true,
      "works": "Runs allocate-and-reconcile on every amount it works out across periods: back pay, a catch-up or refund, pay during a leave, final pay, and the year's totals against every return and payment filed, and holds that year's reconciliation as run-scoped work from the totals to the close. Runs collect-and-report on time and variable pay and on each person's year, and assessment on the register against the last period, the first pay at a new rate and each person's year-end details. Holds the run-scoped cutoff roll-call of each pay period until the register is approved. Convenes the debrief that closes each pay run and each payroll year. Works beside the finance controller (person), who checks the register, the final pay and the year against the ledger, and the payroll manager (person), who confirms each new rate and approves each correction that moves money or a filed figure. Takes the approved changes from the employee-record-keeper agent, the deductions from the benefits-administrator agent, the approved leave from the leave-coordinator agent, a leaver's last day and items from the separation-coordinator agent, and the year-end deadlines from the filing-coordinator agent. Hands the payment file to the wire-check agent, which checks every payment against the approved register and the verified bank record before the payroll approver (person) releases them under dual control, and hands the reconciled figures to the filing-coordinator agent, which prepares, checks and files the annual returns.",
      "servers": [
        {
          "name": "the payroll system",
          "role": "payroll-system",
          "access": "write",
          "needs": "Each period's changes, deductions, pay, register and payment file, the year's totals and statements, and the new year's rates once the payroll manager confirms them, with no right to approve a register or release a payment."
        },
        {
          "name": "the HR system",
          "role": "hr-system",
          "access": "read",
          "needs": "The approved changes and the manager named to approve each employee's time and variable pay."
        },
        {
          "name": "the time and attendance system",
          "role": "time-and-attendance-system",
          "access": "read",
          "needs": "The hours, overtime and shift premiums for the period."
        },
        {
          "name": "the benefits system",
          "role": "benefits-system",
          "access": "read",
          "needs": "Each employee's benefit deductions and the date each starts or stops."
        },
        {
          "name": "the verified bank record",
          "role": "verified-bank-record",
          "access": "read",
          "needs": "The account each employee's payment is built to."
        },
        {
          "name": "the general ledger",
          "role": "general-ledger",
          "access": "write",
          "needs": "Each period's journal for pay, tax, contributions and deductions, and the totals the year is reconciled to."
        },
        {
          "name": "the employee portal",
          "role": "employee-portal",
          "access": "write",
          "needs": "Each payslip on payday and each year-end statement by its deadline."
        },
        {
          "name": "each tax authority's filing channel",
          "role": "each-tax-authoritys-filing-channel",
          "access": "write",
          "needs": "Each period's withholding paid and filed by its date with the payroll manager."
        },
        {
          "name": "the notification channel",
          "role": "notification-channel",
          "access": "write",
          "needs": "A change held past the cutoff reaches the person who sent it, and a due date at risk reaches the payroll manager."
        },
        {
          "name": "the close records",
          "role": "close-records",
          "access": "write",
          "needs": "The registers approved in the period and the payments and withholding that left, attached to the monthly reconciliation of each payroll account, which only the named payroll and finance people can open, with no right to change or sign off a reconciliation."
        }
      ],
      "records": [
        "Each pay period leaves its dates, the cutoff and the payday, every approved change gathered with its source, the time and variable pay with the manager who approved each item and anything held for the next run with its reason, the deductions applied in order, each employee's pay from gross to net, and the register set beside the last period with every movement past the threshold traced to its cause.",
        "Beside the register sit the finance controller's check and the approver's approval, and after them the payment file built from the approved register, the payslips issued, the withholding paid and filed with its receipts, any correction off cycle with the approval behind it, and the journal posted with its totals agreed to the register.",
        "Each back pay, catch-up, refund, leave pay and final pay leaves the working period by period with the tax and deductions on it and the decision it carries out, and an overpayment leaves the written notice the employee received before anything was recovered.",
        "Each payroll year leaves the last adjustments with their approvals, the new year's rates as the payroll manager confirmed them, each person's totals, the reconciliation to the filings and to the ledger with every difference named and corrected, the statements produced and issued with their dates, and each question answered.",
        "Nothing in the record shows this agent approving a register or releasing money."
      ],
      "escalates": [
        "every release of money - to the payroll approver and the second signer, who release it in the bank portal under the dual control rule after the finance check, because this agent never releases a payment",
        "a register that does not agree with the ledger or the last period, or a movement in pay with no approved change behind it - traced in the record, and to the finance controller, and the register never goes to the approver with a difference nobody has explained in writing",
        "a change that arrives after the cutoff - held for the next run, and to the payroll manager, who decides whether it goes in this run when waiting would leave an employee unpaid or underpaid",
        "an overpayment - recovered only under `<your jurisdiction's rule on recovering overpaid wages>`, with the payroll manager's approval and after the employee is told in writing",
        "a withholding payment or a year-end deadline at risk - to the payroll manager, the finance controller and the head of human resources (HR) the same day",
        "a new rate, threshold or limit - to the payroll manager, and it takes effect only once confirmed against the authority's published figures",
        "a request to change a bank account that arrives by email alone - to the wire-check agent and the person the payroll policy names, the same day as an attempted fraud",
        "final pay that would be late under `<your jurisdiction's rule on final pay>` while a line is questioned - to the payroll approver and the head of HR, who decide whether the part nobody questions is paid on time",
        "a deduction from final pay for property not returned - only where `<your jurisdiction's rule on deductions>` allows it and the leaver has agreed in writing",
        "a year-end statement found wrong after the return was filed - to the payroll manager, a correction is filed by the filing-coordinator agent, and a new statement is issued with the person told what changed",
        "a register total or payday that does not match what the funding of the payroll account was worked out from - to the payroll manager, who names the cause before the register is taken in again, because nothing is funded from a figure that does not trace to the approved register",
        "money left in the payroll account after payday that the payroll records do not explain, or a payroll account that does not agree with the registers at the monthly reconciliation - to the payroll manager, who traces it in payroll, and finance corrects only the ledger"
      ],
      "not": [
        "Does not approve a register, release a payment or sign a return, which are the payroll approver, the second signer and the filing signer (people).",
        "Does not check the register for finance, which is the finance controller (person), or reconcile the payroll accounts each month, which the account-reconciler agent prepares from the records this agent supplies for the finance controller to review.",
        "Does not check the payment file against the verified bank record or confirm that each payment landed, which is the wire-check agent.",
        "Does not change an employee's record or bank account, which is the employee-record-keeper agent with the wire-check agent.",
        "Does not decide a pay change, which the named approvers do on the compensation-analyst agent's figure, decide a leave, which is the leave approver (person), or decide what benefits an employee has, which is the benefits-administrator agent with the employee.",
        "Does not prepare or file the annual returns, which is the filing-coordinator agent.",
        "Does not see why a person is leaving or the reason for a leave."
      ],
      "processes": [
        {
          "process": "ref/hr/run-payroll",
          "activities": [
            "Open the Pay Period",
            "Gather the Approved Changes",
            "Collect Time and Variable Pay",
            "Apply the Deductions",
            "Work Out Gross to Net",
            "Compare the Register with the Last Period",
            "Build the Payment File",
            "Issue the Payslips",
            "Pay and File the Withholding",
            "Correct an Error Off Cycle",
            "Post the Payroll to the Ledger",
            "Record What the Run Taught"
          ]
        },
        {
          "process": "ref/hr/close-the-payroll-year",
          "activities": [
            "Take in the Last Adjustments",
            "Set Up the New Year's Rates",
            "Total Each Person's Year",
            "Reconcile the Year to the Filings",
            "Reconcile the Year to the Ledger",
            "Check Each Person's Details",
            "Correct the Differences",
            "Produce the Year-End Statements",
            "Issue the Statements",
            "Answer Questions on the Statements",
            "Record What the Year Taught"
          ]
        },
        {
          "process": "ref/hr/change-an-employees-pay",
          "activities": [
            "Work Out Any Back Pay",
            "Confirm the First Pay at the New Rate"
          ]
        },
        {
          "process": "ref/hr/enroll-an-employee-in-benefits",
          "activities": [
            "Start the Deductions",
            "Work Out Any Catch-Up or Refund"
          ]
        },
        {
          "process": "ref/hr/manage-a-leave-of-absence",
          "activities": [
            "Work Out Pay During the Leave",
            "Set the Leave Pay in Payroll",
            "Restore Normal Pay"
          ]
        },
        {
          "process": "ref/hr/offboard-a-leaver",
          "activities": [
            "Work Out the Final Pay",
            "Check the Final Pay"
          ]
        },
        {
          "process": "ref/fin/fund-the-payroll",
          "activities": [
            "Take In the Approved Register",
            "Confirm the Total and the Payday",
            "Explain What Is Left in the Account"
          ]
        },
        {
          "process": "ref/fin/reconcile-a-balance-sheet-account",
          "activities": [
            "Supply the Payroll Records"
          ]
        }
      ]
    }
  }
}
README.mdWhat the package is, and why it carries no mcp.json.
# payroll-administrator

This is an abstract agent, published as an Agent Plugin. An abstract
agent is a job description rather than an implementation. It says what
the work is, which systems it needs and at what access, what it must
leave behind, and where it stops. Any agent that leaves the records can
implement it.

The plugin carries six skills, no `mcp.json`, and everything the
abstract agent owes under `com.agentcatalog.agent/`.

## Why there is no mcp.json

A conformant server entry in `mcp.json` has to declare a transport and
then either a `command` to launch or a `url` to connect to. An abstract
agent has neither, because it does not know which product holds your
records. Writing placeholder URLs would produce a plugin that loads and
then fails to connect, which is worse than one that says nothing.

Section 6.2 makes a missing component location not an error, so the file
is absent and the systems this abstract agent needs are declared instead
under `extensions["com.agentcatalog.agent"].servers`, as a role, an
access level and what the access is for. Whoever builds an agent from
this plugin writes the `mcp.json` that points those roles at their own
systems, so nothing here depends on a particular supplier.

## Why the obligations are in an extension

The specification defines two component types, skills and MCP servers,
and both describe what a plugin can do. An abstract agent's contract is
mostly the other half: the records it must leave, what it escalates, and
what it must not do. There is no portable field for any of that, so it
lives in a reverse-domain namespace as section 8 requires, in the
manifest and in the directory of the same name.

## Where this abstract agent is used

`ref/hr/run-payroll`, `ref/hr/close-the-payroll-year`,
`ref/hr/change-an-employees-pay`,
`ref/hr/enroll-an-employee-in-benefits`,
`ref/hr/manage-a-leave-of-absence`, `ref/hr/offboard-a-leaver`, and 2
more. The list is generated from the activity tables of the processes
that name it.

https://agentcatalog.com/abstract-agents/payroll-administrator
skills/check-the-pay/SKILL.mdCompares the register with the last period and traces every movement to an approved change, confirms the first pay at a new rate and a leaver's final pay against the record with the finance controller, and corrects an error off cycle once a person releases or approves it. Use it when running `ref/hr/change-an-employees-pay`, `ref/hr/offboard-a-leaver` and `ref/hr/run-payroll`.
---
name: check-the-pay
description: Compares the register with the last period and traces every movement to an approved change, confirms the first pay at a new rate and a leaver's final pay against the record with the finance controller, and corrects an error off cycle once a person releases or approves it. Use it when running `ref/hr/change-an-employees-pay`, `ref/hr/offboard-a-leaver` and `ref/hr/run-payroll`.
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Check the pay

## What it does

Compares the register with the last period and traces every movement to
an approved change, confirms the first pay at a new rate and a leaver's
final pay against the record with the finance controller, and corrects
an error off cycle once a person releases or approves it.

## Where it happens

The agent does this in four activities across three reference processes.
Each one names the activity as that process words it.

- **Check the Final Pay**
  - `ref/hr/offboard-a-leaver`, activity 9 -
    [Offboard a Leaver](../../../../processes/human-resources/offboard-a-leaver.md)
- **Compare the Register with the Last Period**
  - `ref/hr/run-payroll`, activity 6 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Confirm the First Pay at the New Rate**
  - `ref/hr/change-an-employees-pay`, activity 13 -
    [Change an Employee's Pay](../../../../processes/human-resources/change-an-employees-pay.md)
- **Correct an Error Off Cycle**
  - `ref/hr/run-payroll`, activity 15 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
skills/close-the-payroll-year/SKILL.mdTakes in the last adjustments, sets up the new year's rates for the payroll manager to confirm, totals each person's year, reconciles it to the filings and the ledger, corrects every difference, and produces, issues and answers questions on each year-end statement. Use it when running `ref/hr/close-the-payroll-year`.
---
name: close-the-payroll-year
description: Takes in the last adjustments, sets up the new year's rates for the payroll manager to confirm, totals each person's year, reconciles it to the filings and the ledger, corrects every difference, and produces, issues and answers questions on each year-end statement. Use it when running `ref/hr/close-the-payroll-year`.
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Close the payroll year

## What it does

Takes in the last adjustments, sets up the new year's rates for the
payroll manager to confirm, totals each person's year, reconciles it to
the filings and the ledger, corrects every difference, and produces,
issues and answers questions on each year-end statement.

## Where it happens

The agent does this in eleven activities across one reference process.
Each one names the activity as that process words it.

- **Answer Questions on the Statements**
  - `ref/hr/close-the-payroll-year`, activity 15 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Check Each Person's Details**
  - `ref/hr/close-the-payroll-year`, activity 7 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Correct the Differences**
  - `ref/hr/close-the-payroll-year`, activity 8 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Issue the Statements**
  - `ref/hr/close-the-payroll-year`, activity 14 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Produce the Year-End Statements**
  - `ref/hr/close-the-payroll-year`, activity 10 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Reconcile the Year to the Filings**
  - `ref/hr/close-the-payroll-year`, activity 5 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Reconcile the Year to the Ledger**
  - `ref/hr/close-the-payroll-year`, activity 6 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Record What the Year Taught**
  - `ref/hr/close-the-payroll-year`, activity 17 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Set Up the New Year's Rates**
  - `ref/hr/close-the-payroll-year`, activity 3 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Take in the Last Adjustments**
  - `ref/hr/close-the-payroll-year`, activity 2 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)
- **Total Each Person's Year**
  - `ref/hr/close-the-payroll-year`, activity 4 -
    [Close the Payroll Year](../../../../processes/human-resources/close-the-payroll-year.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
skills/give-finance-the-payroll-figures/SKILL.md"Gives finance the figures that fund the payroll account and reconcile it: each approved register's total, payday and pay group with the approval behind it, the net pay and withholding the account pays, the payments returned or not yet presented after payday, and each period's approved registers and payments for the monthly reconciliation. Use it when running `ref/fin/fund-the-payroll` and `ref/fin/reconcile-a-balance-sheet-account`."
---
name: give-finance-the-payroll-figures
description: "Gives finance the figures that fund the payroll account and reconcile it: each approved register's total, payday and pay group with the approval behind it, the net pay and withholding the account pays, the payments returned or not yet presented after payday, and each period's approved registers and payments for the monthly reconciliation. Use it when running `ref/fin/fund-the-payroll` and `ref/fin/reconcile-a-balance-sheet-account`."
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Give finance the payroll figures

## What it does

Gives finance the figures that fund the payroll account and reconcile
it: each approved register's total, payday and pay group with the
approval behind it, the net pay and withholding the account pays, the
payments returned or not yet presented after payday, and each period's
approved registers and payments for the monthly reconciliation. It
changes nothing in finance's records and moves no money.

## Where it happens

The agent does this in four activities across two reference processes.
Each one names the activity as that process words it.

- **Confirm the Total and the Payday**
  - `ref/fin/fund-the-payroll`, activity 2 -
    [Fund the Payroll](../../../../processes/finance/fund-the-payroll.md)
- **Explain What Is Left in the Account**
  - `ref/fin/fund-the-payroll`, activity 13 -
    [Fund the Payroll](../../../../processes/finance/fund-the-payroll.md)
- **Supply the Payroll Records**
  - `ref/fin/reconcile-a-balance-sheet-account`, activity 4 -
    [Reconcile a Balance Sheet Account](../../../../processes/finance/reconcile-a-balance-sheet-account.md)
- **Take In the Approved Register**
  - `ref/fin/fund-the-payroll`, activity 1 -
    [Fund the Payroll](../../../../processes/finance/fund-the-payroll.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
skills/pay-and-file/SKILL.mdBuilds the payment file from the approved register to each employee's verified account, issues the payslips on payday, pays and files the withholding by its date, posts the period's journal to the ledger, and records what the run taught. Use it when running `ref/hr/run-payroll`.
---
name: pay-and-file
description: Builds the payment file from the approved register to each employee's verified account, issues the payslips on payday, pays and files the withholding by its date, posts the period's journal to the ledger, and records what the run taught. Use it when running `ref/hr/run-payroll`.
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Pay and file

## What it does

Builds the payment file from the approved register to each employee's
verified account, issues the payslips on payday, pays and files the
withholding by its date, posts the period's journal to the ledger, and
records what the run taught.

## Where it happens

The agent does this in five activities across one reference process.
Each one names the activity as that process words it.

- **Build the Payment File**
  - `ref/hr/run-payroll`, activity 9 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Issue the Payslips**
  - `ref/hr/run-payroll`, activity 13 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Pay and File the Withholding**
  - `ref/hr/run-payroll`, activity 14 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Post the Payroll to the Ledger**
  - `ref/hr/run-payroll`, activity 16 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Record What the Run Taught**
  - `ref/hr/run-payroll`, activity 17 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
skills/prepare-the-pay-period/SKILL.mdOpens the pay period with its cutoff and payday, gathers every change approved since the last run, collects the time and variable pay each manager approved, and applies the benefit and other deductions in the order the rules set, starting each new deduction in the first period the plan allows. Use it when running `ref/hr/enroll-an-employee-in-benefits` and `ref/hr/run-payroll`.
---
name: prepare-the-pay-period
description: Opens the pay period with its cutoff and payday, gathers every change approved since the last run, collects the time and variable pay each manager approved, and applies the benefit and other deductions in the order the rules set, starting each new deduction in the first period the plan allows. Use it when running `ref/hr/enroll-an-employee-in-benefits` and `ref/hr/run-payroll`.
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Prepare the pay period

## What it does

Opens the pay period with its cutoff and payday, gathers every change
approved since the last run, collects the time and variable pay each
manager approved, and applies the benefit and other deductions in the
order the rules set, starting each new deduction in the first period the
plan allows.

## Where it happens

The agent does this in five activities across two reference processes.
Each one names the activity as that process words it.

- **Apply the Deductions**
  - `ref/hr/run-payroll`, activity 4 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Collect Time and Variable Pay**
  - `ref/hr/run-payroll`, activity 3 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Gather the Approved Changes**
  - `ref/hr/run-payroll`, activity 2 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Open the Pay Period**
  - `ref/hr/run-payroll`, activity 1 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Start the Deductions**
  - `ref/hr/enroll-an-employee-in-benefits`, activity 12 -
    [Enroll an Employee in Benefits](../../../../processes/human-resources/enroll-an-employee-in-benefits.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
skills/work-out-pay/SKILL.md"Works out each employee's pay from gross to net under the tax and deduction rules for the place they work, and the amounts that run across periods: back pay from a past effective date, a catch-up or refund, pay during a leave and its return to normal, and a leaver's final pay. Use it when running `ref/hr/change-an-employees-pay` and 4 other reference processes."
---
name: work-out-pay
description: "Works out each employee's pay from gross to net under the tax and deduction rules for the place they work, and the amounts that run across periods: back pay from a past effective date, a catch-up or refund, pay during a leave and its return to normal, and a leaver's final pay. Use it when running `ref/hr/change-an-employees-pay` and 4 other reference processes."
license: CC-BY-4.0
metadata:
  agent: payroll-administrator
  agent-version: "1"
---

# Work out pay

## What it does

Works out each employee's pay from gross to net under the tax and
deduction rules for the place they work, and the amounts that run across
periods: back pay from a past effective date, a catch-up or refund, pay
during a leave and its return to normal, and a leaver's final pay.

## Where it happens

The agent does this in seven activities across five reference processes.
Each one names the activity as that process words it.

- **Restore Normal Pay**
  - `ref/hr/manage-a-leave-of-absence`, activity 16 -
    [Manage a Leave of Absence](../../../../processes/human-resources/manage-a-leave-of-absence.md)
- **Set the Leave Pay in Payroll**
  - `ref/hr/manage-a-leave-of-absence`, activity 11 -
    [Manage a Leave of Absence](../../../../processes/human-resources/manage-a-leave-of-absence.md)
- **Work Out Any Back Pay**
  - `ref/hr/change-an-employees-pay`, activity 12 -
    [Change an Employee's Pay](../../../../processes/human-resources/change-an-employees-pay.md)
- **Work Out Any Catch-Up or Refund**
  - `ref/hr/enroll-an-employee-in-benefits`, activity 13 -
    [Enroll an Employee in Benefits](../../../../processes/human-resources/enroll-an-employee-in-benefits.md)
- **Work Out Gross to Net**
  - `ref/hr/run-payroll`, activity 5 -
    [Run Payroll](../../../../processes/human-resources/run-payroll.md)
- **Work Out Pay During the Leave**
  - `ref/hr/manage-a-leave-of-absence`, activity 6 -
    [Manage a Leave of Absence](../../../../processes/human-resources/manage-a-leave-of-absence.md)
- **Work Out the Final Pay**
  - `ref/hr/offboard-a-leaver`, activity 8 -
    [Offboard a Leaver](../../../../processes/human-resources/offboard-a-leaver.md)

## What to record

Each pay period leaves its dates, the cutoff and the payday, every
approved change gathered with its source, the time and variable pay with
the manager who approved each item and anything held for the next run
with its reason, the deductions applied in order, each employee's pay
from gross to net, and the register set beside the last period with
every movement past the threshold traced to its cause. Beside the
register sit the finance controller's check and the approver's approval,
and after them the payment file built from the approved register, the
payslips issued, the withholding paid and filed with its receipts, any
correction off cycle with the approval behind it, and the journal posted
with its totals agreed to the register. Each back pay, catch-up, refund,
leave pay and final pay leaves the working period by period with the tax
and deductions on it and the decision it carries out, and an overpayment
leaves the written notice the employee received before anything was
recovered. Each payroll year leaves the last adjustments with their
approvals, the new year's rates as the payroll manager confirmed them,
each person's totals, the reconciliation to the filings and to the
ledger with every difference named and corrected, the statements
produced and issued with their dates, and each question answered.
Nothing in the record shows this agent approving a register or releasing
money.

That contract covers every activity this abstract agent takes on, and it
is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract
agent does not do is in `com.agentcatalog.agent/NOT.md`.
mcp.jsonNot in the package.

Every server entry in an mcp.json needs either a command to run or a url to connect to, and the package cannot know either of those until somebody points it at their own systems. So the file is left out, the systems the agent needs are named by role in plugin.json, and you write the mcp.json when you set it up.

Setting it up

Point it at your systems

To run an agent built from this package, write an mcp.json that says which of your systems fills each role. The package names these 10 roles, and the access level beside each one is the most the work needs.

payroll-system · writehr-system · readtime-and-attendance-system · readbenefits-system · readverified-bank-record · readgeneral-ledger · writeemployee-portal · writeeach-tax-authoritys-filing-channel · writenotification-channel · writeclose-records · write
mcp.json You write this file. It is not part of the package.
{
  "$schema": "https://agent-plugins.org/schemas/1.1.0/mcp.schema.json",
  "mcpServers": {
    "payroll-system": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/payroll-system"
    },
    "hr-system": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/hr-system"
    },
    "time-and-attendance-system": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/time-and-attendance-system"
    },
    "benefits-system": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/benefits-system"
    },
    "verified-bank-record": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/verified-bank-record"
    },
    "general-ledger": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/general-ledger"
    },
    "employee-portal": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/employee-portal"
    },
    "each-tax-authoritys-filing-channel": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/each-tax-authoritys-filing-channel"
    },
    "notification-channel": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/notification-channel"
    },
    "close-records": {
      "type": "streamable-http",
      "url": "https://mcp.yourcompany.com/close-records"
    }
  }
}

The hostnames here are a placeholder for your own. Whichever product holds each of these systems, the agent you build is yours and nobody else has to be involved in running it.

Where it works

8 processes, 36 activities

The highlighted activities are the ones this abstract agent does. The other activities in each process belong to other abstract agents or to people.

Fund the Payrollref/fin/fund-the-payroll · 15 activities
123456789101112131415

Take In the Approved Register · Confirm the Total and the Payday · Explain What Is Left in the Account

Reconcile a Balance Sheet Accountref/fin/reconcile-a-balance-sheet-account · 15 activities
123456789101112131415

Supply the Payroll Records

Change an Employee's Payref/hr/change-an-employees-pay · 15 activities
123456789101112131415

Work Out Any Back Pay · Confirm the First Pay at the New Rate

Close the Payroll Yearref/hr/close-the-payroll-year · 17 activities
1234567891011121314151617

Take in the Last Adjustments · Set Up the New Year's Rates · Total Each Person's Year · Reconcile the Year to the Filings · Reconcile the Year to the Ledger · Check Each Person's Details · Correct the Differences · Produce the Year-End Statements · Issue the Statements · Answer Questions on the Statements · Record What the Year Taught

Enroll an Employee in Benefitsref/hr/enroll-an-employee-in-benefits · 16 activities
12345678910111213141516

Start the Deductions · Work Out Any Catch-Up or Refund

Manage a Leave of Absenceref/hr/manage-a-leave-of-absence · 18 activities
123456789101112131415161718

Work Out Pay During the Leave · Set the Leave Pay in Payroll · Restore Normal Pay

Offboard a Leaverref/hr/offboard-a-leaver · 17 activities
1234567891011121314151617

Work Out the Final Pay · Check the Final Pay

Run Payrollref/hr/run-payroll · 17 activities
1234567891011121314151617

Open the Pay Period · Gather the Approved Changes · Collect Time and Variable Pay · Apply the Deductions · Work Out Gross to Net · Compare the Register with the Last Period · Build the Payment File · Issue the Payslips · Pay and File the Withholding · Correct an Error Off Cycle · Post the Payroll to the Ledger · Record What the Run Taught

The records it leaves

What it writes down

Each pay period leaves its dates, the cutoff and the payday, every approved change gathered with its source, the time and variable pay with the manager who approved each item and anything held for the next run with its reason, the deductions applied in order, each employee's pay from gross to net, and the register set beside the last period with every movement past the threshold traced to its cause. Beside the register sit the finance controller's check and the approver's approval, and after them the payment file built from the approved register, the payslips issued, the withholding paid and filed with its receipts, any correction off cycle with the approval behind it, and the journal posted with its totals agreed to the register. Each back pay, catch-up, refund, leave pay and final pay leaves the working period by period with the tax and deductions on it and the decision it carries out, and an overpayment leaves the written notice the employee received before anything was recovered. Each payroll year leaves the last adjustments with their approvals, the new year's rates as the payroll manager confirmed them, each person's totals, the reconciliation to the filings and to the ledger with every difference named and corrected, the statements produced and issued with their dates, and each question answered. Nothing in the record shows this agent approving a register or releasing money.

Where it stops

What it will not do

Does not approve a register, release a payment or sign a return, which are the payroll approver, the second signer and the filing signer (people). Does not check the register for finance, which is the finance controller (person), or reconcile the payroll accounts each month, which the account-reconciler agent prepares from the records this agent supplies for the finance controller to review. Does not check the payment file against the verified bank record or confirm that each payment landed, which is the wire-check agent. Does not change an employee's record or bank account, which is the employee-record-keeper agent with the wire-check agent. Does not decide a pay change, which the named approvers do on the compensation-analyst agent's figure, decide a leave, which is the leave approver (person), or decide what benefits an employee has, which is the benefits-administrator agent with the employee. Does not prepare or file the annual returns, which is the filing-coordinator agent. Does not see why a person is leaving or the reason for a leave.

These limits are written into the job on purpose, so that everyone adopting the process knows which decisions stay with a person.

Agents built from this plugin

Who has built one, and how far each one got

Nobody has built one yet. The catalog says so rather than leaving the section off, because an empty list is a fact about the document.

declare it implements: payroll-administrator v1 One line in your agent's manifest. The catalog checks it against the records your runs actually leave.
A guess, not a claim

The closest things in the catalog, by description

Nobody above has claimed any of these. This is the nearest match by wording between the job written above and what publishers wrote about their own listings, closest first, and wording is not evidence: some of these will be wrong, and a job with nothing suitable still gets whatever was nearest. The publishers have never heard of this abstract agent and have promised nothing about it. What a claim looks like is in the table above, and it is signed.

Might do the job

Things that could be the worker: an agent, a packaged product, a plugin.

  • incident-recorder Agent Writes a timeline of what happened when an agent went quiet or failed, saying what is known and what is not. It never restarts or changes anything,…
  • incident-recorder-proof Agent This agent is designed to record incidents or manage steps in a workflow. It processes individual work steps, taking in contracts and deliverables,…
  • code-writer Agent Writes a new agent's code until it passes its tests.