Payables processor
payables-processor v1Carries each supplier invoice and each approved expense claim from arrival to payment, for the payables lead and the named approvers, and releases no money itself. It captures every field of each invoice, checks that the supplier has an approved record and that payment will go to the bank details on it, checks for a duplicate of an invoice already held and for what `<your jurisdiction's invoice rules>` require, finds the purchase order, and matches the price, the quantity and the total to the order and what was received within `<your tolerance>`. An invoice that does not match goes to the approver the delegation of authority names, and a wrong one goes back to the supplier for a credit or a new invoice. It codes each invoice and each approved claim to the ledger, marks each invoice ready to pay on its due date with the approval behind it, posts it, and keeps each invoice and each receipt for the period `<your jurisdiction's rule on invoice retention>` sets. On each payment date it gathers the approved invoices, expense claims, customer refunds and company card statement that fall due, holds back each item that cannot be paid with its reason, and proposes the run, and once a named approver who prepared none of it has approved the run, it builds the payment file to the bank details on each payee's verified record. After two named people have released the payments, it sends each payee its remittance advice, records the payments in the ledger, passes any part of a claim treated as pay to payroll, and confirms that each employee was paid. It tells the treasury-analyst agent what the company owes and what is due to go out each day. The point of the job is that the company pays only for what it ordered and received, pays each item once and on time, and pays only into accounts on a verified record.
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.
Runs assessment on each invoice for its supplier record, a duplicate, what the local rules require, its purchase order and its match to the order and the receipt, and on each item due for anything that keeps it out of a run. Runs collect-and-report on the items due on each payment date, on what the company owes for the cash forecast and the payments due out each day, and on each employee's payment as the bank reports it. Holds the run-scoped status roll-call of each invoice until it is ready to pay and of each payment run until its release, and the collect-and-report of each claim's payment until it is confirmed. Convenes the debrief that closes each invoice and each payment run. Works beside the invoice approver (person), who decides each exception, the payment approver (person), who approves each run having prepared none of it, and the two releasers (people), who release the payments under `<your dual control rule>`. Takes each receipt from the purchasing-coordinator agent, the approver for each exception from the delegation-keeper agent, each claim once the expense-check agent has checked it and the manager has approved it, the checked card statement from the card-administrator agent, and each approved refund from `ref/fin/apply-a-customer-payment` or `ref/fin/resolve-a-billing-dispute`. Hands each payment file to the wire-check agent, which checks every payment against the approved items and the verified bank record before the releasers release it and confirms where each landed, tells the treasury-analyst agent what each run needs, and passes any part of a claim treated as pay to the payroll-administrator agent at `ref/hr/run-payroll`.
What is in the package
7 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.
# Where this abstract agent stops Does not approve an invoice exception or a payment run, or release a payment, which are the invoice approver, the payment approver and the two releasers (people). Does not check the payment file against the verified bank record or confirm where each payment landed, which is the wire-check agent. Does not name the approver for an exception, which is the delegation-keeper agent, or confirm what was received, which is the purchasing-coordinator agent with the requester. Does not change a supplier's bank details, which is `ref/fin/change-a-suppliers-bank-details`, or an employee's, which is `ref/hr/change-an-employee-record`. Does not check an expense claim against the policy, which is the expense-check agent, or decide what waits when cash is short, which is the treasurer (person). Does not run payroll, which is the payroll-administrator agent. Does not change an amount a supplier billed. ## What always goes to a person - every payment run - to a named approver who prepared none of it, and then to two named people who release the payments under `<your dual control rule>`, because this agent never releases money or holds the access to do so - an invoice that does not match its order and receipt, has no order, or comes from a supplier with no approved record - to the approver the delegation of authority names, who is neither the requester nor whoever confirmed the receipt, and an invoice with no approved record waits for `ref/fin/set-up-a-supplier` - a possible duplicate - held beside the invoice it may repeat for the payables lead to decide, and a pattern of them from one supplier is raised with that supplier - bank details on an invoice that differ from the supplier's record - paid only to the record, and the difference starts `ref/fin/change-a-suppliers-bank-details` - a pattern of invoices with no order from one department - to the purchasing lead, because the order is the first control on what the company spends - a run the cash will not cover - to the treasurer, who funds the paying account or chooses which items wait, and no agent decides which supplier waits - an early-payment discount whose date falls before the payment date - proposed in the last run before it, and the treasurer decides whether the discount is worth the cash leaving early - an urgent payment outside the payment calendar - a run of its own with the same checks, the same approval and the same releasers, and a pattern of them goes to the payables lead, because urgency is a common cover for fraud - a payment returned or rejected - held aside and paid again only to verified details in a run a named approver has approved, and an employee's account changed by email alone is treated as an attempt at fraud until `ref/hr/change-an-employee-record` confirms it
# The records this abstract agent must leave
This is the contract. An agent implementing `payables-processor` leaves
the following behind, on every run.
Each invoice leaves every field as captured beside the image, the
supplier record and the bank details it was checked against, the
duplicate check, the reading against the local invoice rules, the order
and the receipt it was matched to with each difference, any exception
with the approver's decision, any correction asked of the supplier, the
coding, the due date with the approval behind it, the posting and where
the invoice is kept. Each payment run leaves its date and its paying
account, every item gathered, every item held with its reason and the
person told, the run at the version the approver approved, the payment
file with each payment traced to an approved item and a verified record,
the release by two named people, the remittance advice sent, and the
ledger agreed to the approved run. Each claim leaves its coding, the run
it was proposed in, any part passed to payroll with the approval behind
it, the payment as the bank reported it, and its receipts kept. Nothing
in the record shows this agent approving an exception or a run,
releasing money, or changing an amount a supplier billed.
An agent that leaves less than this does not implement
`payables-processor`, whatever else it does well.
# The systems this abstract agent needs
Eleven 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 ERP | write | Each invoice as captured, coded and marked ready to pay, each payment run as proposed, the payment file built from the approved run, and each item marked paid, with no right to approve an exception or a run, or to release a payment. |
| the invoice inbox | read | Each invoice and credit note as it arrives. |
| the supplier portal | read | Each invoice a supplier sends through the portal. |
| the purchasing system | read | Each order and the receipts recorded against it. |
| the verified bank record | read | The bank details each payee's payment is built to. |
| the bank portal | read | The bank's report each employee's payment is matched to, with no right to move or release money. |
| the general ledger | write | Each invoice, each claim and each run posted in its period, with the totals agreed to the approved run. |
| the expense tool | write | Each claim's payment shown to the employee, and each receipt and approval kept. |
| the payroll system | write | The part of a claim treated as pay, passed before the cutoff of its pay period. |
| the document archive | write | Each invoice and its evidence, kept for the retention period. |
| the notification channel | write | A supplier is told what to correct through the contact on its record, each payee is sent its remittance advice, and the person who can clear a held item is told why it waits. |
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.
{
"$schema": "https://agent-plugins.org/schemas/1.1.0/plugin.schema.json",
"name": "payables-processor",
"version": "1.0.0",
"description": "The payables-processor abstract agent. Carries each supplier invoice and each approved expense claim from arrival to payment, for the payables lead and the named approvers, and releases no money itself.",
"author": {
"name": "AgentMesh Catalog",
"url": "https://agentcatalog.com"
},
"homepage": "https://agentcatalog.com/abstract-agents/payables-processor",
"repository": "https://github.com/jeffrschneider/agentcatalog",
"license": "CC-BY-4.0",
"keywords": [
"abstract-agent",
"reference",
"finance",
"process-a-supplier-invoice",
"pay-approved-invoices",
"reimburse-an-expense-claim",
"abstract"
],
"extensions": {
"com.agentcatalog.agent": {
"agent": "payables-processor",
"agentVersion": 1,
"department": "finance",
"abstract": true,
"works": "Runs assessment on each invoice for its supplier record, a duplicate, what the local rules require, its purchase order and its match to the order and the receipt, and on each item due for anything that keeps it out of a run. Runs collect-and-report on the items due on each payment date, on what the company owes for the cash forecast and the payments due out each day, and on each employee's payment as the bank reports it. Holds the run-scoped status roll-call of each invoice until it is ready to pay and of each payment run until its release, and the collect-and-report of each claim's payment until it is confirmed. Convenes the debrief that closes each invoice and each payment run. Works beside the invoice approver (person), who decides each exception, the payment approver (person), who approves each run having prepared none of it, and the two releasers (people), who release the payments under `<your dual control rule>`. Takes each receipt from the purchasing-coordinator agent, the approver for each exception from the delegation-keeper agent, each claim once the expense-check agent has checked it and the manager has approved it, the checked card statement from the card-administrator agent, and each approved refund from `ref/fin/apply-a-customer-payment` or `ref/fin/resolve-a-billing-dispute`. Hands each payment file to the wire-check agent, which checks every payment against the approved items and the verified bank record before the releasers release it and confirms where each landed, tells the treasury-analyst agent what each run needs, and passes any part of a claim treated as pay to the payroll-administrator agent at `ref/hr/run-payroll`.",
"servers": [
{
"name": "the ERP",
"role": "erp",
"access": "write",
"needs": "Each invoice as captured, coded and marked ready to pay, each payment run as proposed, the payment file built from the approved run, and each item marked paid, with no right to approve an exception or a run, or to release a payment."
},
{
"name": "the invoice inbox",
"role": "invoice-inbox",
"access": "read",
"needs": "Each invoice and credit note as it arrives."
},
{
"name": "the supplier portal",
"role": "supplier-portal",
"access": "read",
"needs": "Each invoice a supplier sends through the portal."
},
{
"name": "the purchasing system",
"role": "purchasing-system",
"access": "read",
"needs": "Each order and the receipts recorded against it."
},
{
"name": "the verified bank record",
"role": "verified-bank-record",
"access": "read",
"needs": "The bank details each payee's payment is built to."
},
{
"name": "the bank portal",
"role": "bank-portal",
"access": "read",
"needs": "The bank's report each employee's payment is matched to, with no right to move or release money."
},
{
"name": "the general ledger",
"role": "general-ledger",
"access": "write",
"needs": "Each invoice, each claim and each run posted in its period, with the totals agreed to the approved run."
},
{
"name": "the expense tool",
"role": "expense-tool",
"access": "write",
"needs": "Each claim's payment shown to the employee, and each receipt and approval kept."
},
{
"name": "the payroll system",
"role": "payroll-system",
"access": "write",
"needs": "The part of a claim treated as pay, passed before the cutoff of its pay period."
},
{
"name": "the document archive",
"role": "document-archive",
"access": "write",
"needs": "Each invoice and its evidence, kept for the retention period."
},
{
"name": "the notification channel",
"role": "notification-channel",
"access": "write",
"needs": "A supplier is told what to correct through the contact on its record, each payee is sent its remittance advice, and the person who can clear a held item is told why it waits."
}
],
"records": [
"Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept.",
"Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run.",
"Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept.",
"Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed."
],
"escalates": [
"every payment run - to a named approver who prepared none of it, and then to two named people who release the payments under `<your dual control rule>`, because this agent never releases money or holds the access to do so",
"an invoice that does not match its order and receipt, has no order, or comes from a supplier with no approved record - to the approver the delegation of authority names, who is neither the requester nor whoever confirmed the receipt, and an invoice with no approved record waits for `ref/fin/set-up-a-supplier`",
"a possible duplicate - held beside the invoice it may repeat for the payables lead to decide, and a pattern of them from one supplier is raised with that supplier",
"bank details on an invoice that differ from the supplier's record - paid only to the record, and the difference starts `ref/fin/change-a-suppliers-bank-details`",
"a pattern of invoices with no order from one department - to the purchasing lead, because the order is the first control on what the company spends",
"a run the cash will not cover - to the treasurer, who funds the paying account or chooses which items wait, and no agent decides which supplier waits",
"an early-payment discount whose date falls before the payment date - proposed in the last run before it, and the treasurer decides whether the discount is worth the cash leaving early",
"an urgent payment outside the payment calendar - a run of its own with the same checks, the same approval and the same releasers, and a pattern of them goes to the payables lead, because urgency is a common cover for fraud",
"a payment returned or rejected - held aside and paid again only to verified details in a run a named approver has approved, and an employee's account changed by email alone is treated as an attempt at fraud until `ref/hr/change-an-employee-record` confirms it"
],
"not": [
"Does not approve an invoice exception or a payment run, or release a payment, which are the invoice approver, the payment approver and the two releasers (people).",
"Does not check the payment file against the verified bank record or confirm where each payment landed, which is the wire-check agent.",
"Does not name the approver for an exception, which is the delegation-keeper agent, or confirm what was received, which is the purchasing-coordinator agent with the requester.",
"Does not change a supplier's bank details, which is `ref/fin/change-a-suppliers-bank-details`, or an employee's, which is `ref/hr/change-an-employee-record`.",
"Does not check an expense claim against the policy, which is the expense-check agent, or decide what waits when cash is short, which is the treasurer (person).",
"Does not run payroll, which is the payroll-administrator agent.",
"Does not change an amount a supplier billed."
],
"processes": [
{
"process": "ref/fin/process-a-supplier-invoice",
"activities": [
"Capture the Invoice",
"Check the Supplier Record",
"Check for a Duplicate",
"Check What the Invoice Must Show",
"Find the Purchase Order",
"Match the Invoice",
"Ask the Supplier for a Correction",
"Code the Invoice",
"Mark the Invoice Ready to Pay",
"Post the Invoice to the Ledger",
"Keep the Invoice",
"Record What the Invoice Taught"
]
},
{
"process": "ref/fin/pay-approved-invoices",
"activities": [
"Open the Payment Run",
"Gather the Items Due",
"Hold What Cannot Be Paid",
"Propose the Run",
"Build the Payment File",
"Send the Remittance Advice",
"Record the Payments in the Ledger",
"Record What the Run Taught"
]
},
{
"process": "ref/fin/reimburse-an-expense-claim",
"activities": [
"Code the Claim to the Ledger",
"Propose the Claim for Payment",
"Pass the Part Treated as Pay to Payroll",
"Confirm the Employee Was Paid",
"Keep the Receipts"
]
},
{
"process": "ref/fin/forecast-cash",
"activities": [
"Gather What the Company Owes"
]
},
{
"process": "ref/fin/report-the-daily-cash-position",
"activities": [
"List the Payments Due Today"
]
}
]
}
}
}
# payables-processor 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 seven 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/fin/process-a-supplier-invoice`, `ref/fin/pay-approved-invoices`, `ref/fin/reimburse-an-expense-claim`, `ref/fin/forecast-cash`, `ref/fin/report-the-daily-cash-position`. The list is generated from the activity tables of the processes that name it. https://agentcatalog.com/abstract-agents/payables-processor
--- name: check-a-supplier-invoice description: Captures every field of an invoice, checks the supplier's record and bank details, looks for a duplicate, reads the invoice against the local invoice rules, finds its purchase order, matches it to the order and the receipt, and asks the supplier for a correction when it is wrong. Use it when running `ref/fin/process-a-supplier-invoice`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Check a supplier invoice ## What it does Captures every field of an invoice, checks the supplier's record and bank details, looks for a duplicate, reads the invoice against the local invoice rules, finds its purchase order, matches it to the order and the receipt, and asks the supplier for a correction when it is wrong. ## Where it happens The agent does this in seven activities across one reference process. Each one names the activity as that process words it. - **Ask the Supplier for a Correction** - `ref/fin/process-a-supplier-invoice`, activity 10 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Capture the Invoice** - `ref/fin/process-a-supplier-invoice`, activity 1 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Check What the Invoice Must Show** - `ref/fin/process-a-supplier-invoice`, activity 4 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Check for a Duplicate** - `ref/fin/process-a-supplier-invoice`, activity 3 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Check the Supplier Record** - `ref/fin/process-a-supplier-invoice`, activity 2 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Find the Purchase Order** - `ref/fin/process-a-supplier-invoice`, activity 5 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Match the Invoice** - `ref/fin/process-a-supplier-invoice`, activity 7 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: close-out-each-payment description: Sends each payee its remittance advice, records the payments in the ledger, passes any part of a claim treated as pay to payroll before its cutoff, and confirms each employee's payment against the bank's report. Use it when running `ref/fin/pay-approved-invoices` and `ref/fin/reimburse-an-expense-claim`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Close out each payment ## What it does Sends each payee its remittance advice, records the payments in the ledger, passes any part of a claim treated as pay to payroll before its cutoff, and confirms each employee's payment against the bank's report. ## 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 Employee Was Paid** - `ref/fin/reimburse-an-expense-claim`, activity 11 - [Reimburse an Expense Claim](../../../../processes/finance/reimburse-an-expense-claim.md) - **Pass the Part Treated as Pay to Payroll** - `ref/fin/reimburse-an-expense-claim`, activity 10 - [Reimburse an Expense Claim](../../../../processes/finance/reimburse-an-expense-claim.md) - **Record the Payments in the Ledger** - `ref/fin/pay-approved-invoices`, activity 14 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) - **Send the Remittance Advice** - `ref/fin/pay-approved-invoices`, activity 13 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: code-and-post description: Codes each invoice and each approved claim to its account, cost center, tax code and period, marks each invoice ready to pay with its due date and the approval behind it, and posts it to the ledger. Use it when running `ref/fin/process-a-supplier-invoice` and `ref/fin/reimburse-an-expense-claim`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Code and post ## What it does Codes each invoice and each approved claim to its account, cost center, tax code and period, marks each invoice ready to pay with its due date and the approval behind it, and posts it to the ledger. ## Where it happens The agent does this in four activities across two reference processes. Each one names the activity as that process words it. - **Code the Claim to the Ledger** - `ref/fin/reimburse-an-expense-claim`, activity 8 - [Reimburse an Expense Claim](../../../../processes/finance/reimburse-an-expense-claim.md) - **Code the Invoice** - `ref/fin/process-a-supplier-invoice`, activity 11 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Mark the Invoice Ready to Pay** - `ref/fin/process-a-supplier-invoice`, activity 12 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Post the Invoice to the Ledger** - `ref/fin/process-a-supplier-invoice`, activity 13 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: keep-the-evidence description: Keeps each invoice, each receipt and each approval for the period the local retention rule sets, marked paid, duplicate, returned or refused. Use it when running `ref/fin/process-a-supplier-invoice` and `ref/fin/reimburse-an-expense-claim`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Keep the evidence ## What it does Keeps each invoice, each receipt and each approval for the period the local retention rule sets, marked paid, duplicate, returned or refused. ## Where it happens The agent does this in two activities across two reference processes. Each one names the activity as that process words it. - **Keep the Invoice** - `ref/fin/process-a-supplier-invoice`, activity 14 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Keep the Receipts** - `ref/fin/reimburse-an-expense-claim`, activity 12 - [Reimburse an Expense Claim](../../../../processes/finance/reimburse-an-expense-claim.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: prepare-the-payment-run description: Opens each payment run, gathers the approved items that fall due and the credits owed, holds back each item that cannot be paid with its reason, proposes the run with the discounts worth taking, and builds the payment file from the approved run to verified details. Use it when running `ref/fin/pay-approved-invoices` and `ref/fin/reimburse-an-expense-claim`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Prepare the payment run ## What it does Opens each payment run, gathers the approved items that fall due and the credits owed, holds back each item that cannot be paid with its reason, proposes the run with the discounts worth taking, and builds the payment file from the approved run to verified details. ## Where it happens The agent does this in six activities across two reference processes. Each one names the activity as that process words it. - **Build the Payment File** - `ref/fin/pay-approved-invoices`, activity 8 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) - **Gather the Items Due** - `ref/fin/pay-approved-invoices`, activity 2 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) - **Hold What Cannot Be Paid** - `ref/fin/pay-approved-invoices`, activity 3 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) - **Open the Payment Run** - `ref/fin/pay-approved-invoices`, activity 1 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) - **Propose the Claim for Payment** - `ref/fin/reimburse-an-expense-claim`, activity 9 - [Reimburse an Expense Claim](../../../../processes/finance/reimburse-an-expense-claim.md) - **Propose the Run** - `ref/fin/pay-approved-invoices`, activity 4 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: record-what-payables-taught description: Records the cause of each invoice exception, the items held from each run, the payments returned and the discounts missed, and what the next invoice or run does differently. Use it when running `ref/fin/pay-approved-invoices` and `ref/fin/process-a-supplier-invoice`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Record what payables taught ## What it does Records the cause of each invoice exception, the items held from each run, the payments returned and the discounts missed, and what the next invoice or run does differently. ## Where it happens The agent does this in two activities across two reference processes. Each one names the activity as that process words it. - **Record What the Invoice Taught** - `ref/fin/process-a-supplier-invoice`, activity 15 - [Process a Supplier Invoice](../../../../processes/finance/process-a-supplier-invoice.md) - **Record What the Run Taught** - `ref/fin/pay-approved-invoices`, activity 16 - [Pay Approved Invoices](../../../../processes/finance/pay-approved-invoices.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
--- name: report-what-is-owed description: Gives the cash forecast each approved invoice and open order by the week it falls due, and the daily cash position the payments due out that day with the approval behind each. Use it when running `ref/fin/forecast-cash` and `ref/fin/report-the-daily-cash-position`. license: CC-BY-4.0 metadata: agent: payables-processor agent-version: "1" --- # Report what is owed ## What it does Gives the cash forecast each approved invoice and open order by the week it falls due, and the daily cash position the payments due out that day with the approval behind each. ## Where it happens The agent does this in two activities across two reference processes. Each one names the activity as that process words it. - **Gather What the Company Owes** - `ref/fin/forecast-cash`, activity 3 - [Forecast Cash](../../../../processes/finance/forecast-cash.md) - **List the Payments Due Today** - `ref/fin/report-the-daily-cash-position`, activity 5 - [Report the Daily Cash Position](../../../../processes/finance/report-the-daily-cash-position.md) ## What to record Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed. 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`.
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.
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 11 roles, and the access level beside each one is the most the work needs.
{
"$schema": "https://agent-plugins.org/schemas/1.1.0/mcp.schema.json",
"mcpServers": {
"erp": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/erp"
},
"invoice-inbox": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/invoice-inbox"
},
"supplier-portal": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/supplier-portal"
},
"purchasing-system": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/purchasing-system"
},
"verified-bank-record": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/verified-bank-record"
},
"bank-portal": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/bank-portal"
},
"general-ledger": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/general-ledger"
},
"expense-tool": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/expense-tool"
},
"payroll-system": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/payroll-system"
},
"document-archive": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/document-archive"
},
"notification-channel": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/notification-channel"
}
}
}
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.
5 processes, 27 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.
Gather What the Company Owes
Open the Payment Run · Gather the Items Due · Hold What Cannot Be Paid · Propose the Run · Build the Payment File · Send the Remittance Advice · Record the Payments in the Ledger · Record What the Run Taught
Capture the Invoice · Check the Supplier Record · Check for a Duplicate · Check What the Invoice Must Show · Find the Purchase Order · Match the Invoice · Ask the Supplier for a Correction · Code the Invoice · Mark the Invoice Ready to Pay · Post the Invoice to the Ledger · Keep the Invoice · Record What the Invoice Taught
Code the Claim to the Ledger · Propose the Claim for Payment · Pass the Part Treated as Pay to Payroll · Confirm the Employee Was Paid · Keep the Receipts
List the Payments Due Today
What it writes down
Each invoice leaves every field as captured beside the image, the supplier record and the bank details it was checked against, the duplicate check, the reading against the local invoice rules, the order and the receipt it was matched to with each difference, any exception with the approver's decision, any correction asked of the supplier, the coding, the due date with the approval behind it, the posting and where the invoice is kept. Each payment run leaves its date and its paying account, every item gathered, every item held with its reason and the person told, the run at the version the approver approved, the payment file with each payment traced to an approved item and a verified record, the release by two named people, the remittance advice sent, and the ledger agreed to the approved run. Each claim leaves its coding, the run it was proposed in, any part passed to payroll with the approval behind it, the payment as the bank reported it, and its receipts kept. Nothing in the record shows this agent approving an exception or a run, releasing money, or changing an amount a supplier billed.
What it will not do
Does not approve an invoice exception or a payment run, or release a payment, which are the invoice approver, the payment approver and the two releasers (people). Does not check the payment file against the verified bank record or confirm where each payment landed, which is the wire-check agent. Does not name the approver for an exception, which is the delegation-keeper agent, or confirm what was received, which is the purchasing-coordinator agent with the requester. Does not change a supplier's bank details, which is `ref/fin/change-a-suppliers-bank-details`, or an employee's, which is `ref/hr/change-an-employee-record`. Does not check an expense claim against the policy, which is the expense-check agent, or decide what waits when cash is short, which is the treasurer (person). Does not run payroll, which is the payroll-administrator agent. Does not change an amount a supplier billed.
These limits are written into the job on purpose, so that everyone adopting the process knows which decisions stay with a person.
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.
implements: payables-processor v1
One line in your agent's manifest. The catalog checks it against the records your runs actually leave.
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.
Things that could be the worker: an agent, a packaged product, a plugin.
- Practice agent Agent The AgentMesh practice agent: a fixture that exists to be tested against. It answers by rule from a published package (no model): it extracts…
- code-writer Agent Writes a new agent's code until it passes its tests.
- publisher Agent Publishes files you hand it at an address a person can open. It reads each address back and gives you the digest of what is served, so you can check…