# AGENTS.md — https://payslip.tech

Guidance for AI agents and assistants working with PaySlip.tech.

## What this site is
PaySlip.tech is payroll software that issues payslips and employment documents (letters, salary certificates, income statements, tax deduction and settlement statements) with a QR code and a keyed digital fingerprint. Anyone can check that a document is genuine.

## The one thing agents usually need: verify a document
- Codes look like `PS-XXXX-XXXX` (payslips) or `DC-XXXX-XXXX` (documents). They are printed under the QR code.
- REST: `GET https://payslip.tech/api/v1/verify/{CODE}` → JSON. No key, no sign-in. Optional `?verifier=bank|embassy|landlord|employer|other`.
- OpenAPI 3.1: https://payslip.tech/openapi.json · API catalog: https://payslip.tech/.well-known/api-catalog
- MCP (Streamable HTTP, JSON-RPC 2.0): `POST https://payslip.tech/mcp`, tool `verify_document`. Server card: https://payslip.tech/.well-known/mcp.json
- A2A: agent card at https://payslip.tech/.well-known/agent-card.json, JSON-RPC endpoint `POST https://payslip.tech/a2a` (`message/send` with the code in the text).
- Results: `valid` (genuine), `revoked` (withdrawn by the employer), `tampered` (failed integrity check), `not_found`.
- Also report `employer_trust.level` (0–3). Level 0 means a new, unchecked employer: suggest confirming employment directly.

## Rules
- Never invent a result. If the code is malformed, ask the person to re-type it from the document.
- Do not guess or ask for bank or wallet numbers; the API never returns them.
- Every check is logged and shown to the employer. Do not run bulk or repeated checks (limit 120 per hour per IP).
- Errors are RFC 9457 problem details (`application/problem+json`).
- Signed-in areas (`/app`, `/me`, `/admin`) are for people. Do not automate sign-in or payroll actions.

## Reading the site
- Every public page is available as Markdown: send `Accept: text/markdown`.
- Summary for language models: https://payslip.tech/llms.txt · Sitemap: https://payslip.tech/sitemap.xml
- Guides: https://payslip.tech/blog · API docs: https://payslip.tech/developers · Privacy: https://payslip.tech/privacy

## Contact
contact@payslip.tech
