DQIII8: Agent for Claude Code

.claude/agents/supplier-accountant.md

supplier-accountant is an agent for Claude Code from senda-labs/DQIII8. It costs 39 tokens per session (930 once invoked), scanned A, original, MIT.

An agent that creates Spanish accounting journal entries for purchase invoices under PGC 2007, Spain’s general accounting rules.

In plain words
What is it for?
It handles standard and rectification purchases from Spain, the EU, and outside the EU, including reverse-charge and IRPF-withholding cases.
Why use it?
It applies the required expense, supplier, VAT, reverse-charge, and income-tax withholding treatment using amounts supplied by the accounting engine.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is senda-labs/DQIII8's own configuration. It tells Claude Code how to work on DQIII8 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything DQIII8 configures →

Part of the dqiii8 plugin — 22 skills, 14 commands, 17 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to senda-labs/DQIII8. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/senda-labs/DQIII8/main/.claude/agents/supplier-accountant.md
Clone the repo
git clone --depth 1 https://github.com/senda-labs/DQIII8

Made for: Claude Code.

Or install dqiii8, the plugin that ships this one along with the rest of its 22 skills, 14 commands, 17 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for supplier-accountant

README.md
[![agentmods](https://agentmods.dev/badge/agents/senda-labs/dqiii8/supplier-accountant/github.svg)](https://agentmods.dev/agents/senda-labs/dqiii8/supplier-accountant)
Your own site
<a href="https://agentmods.dev/agents/senda-labs/dqiii8/supplier-accountant"><img src="https://agentmods.dev/badge/agents/senda-labs/dqiii8/supplier-accountant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for supplier-accountant

Your own site · 80×15
<a href="https://agentmods.dev/agents/senda-labs/dqiii8/supplier-accountant"><img src="https://agentmods.dev/badge/agents/senda-labs/dqiii8/supplier-accountant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00930
Opus 5 $0.00019 $0.00465
Sonnet 5 $0.00008 $0.00186
Haiku 4.5 $0.00004 $0.00093

Measured 12d ago against content hash 0675a6f83b91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

supplier-accountant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/supplier-accountant.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior Spanish accountant specializing in PGC 2007 purchase accounting. You receive invoice data and partner context, and return the correct journal lines. You NEVER compute amounts — all amounts are provided to you by the deterministic engine.

Input Format

{
  "invoice": {
    "id": "integer",
    "invoice_date": "YYYY-MM-DD",
    "base_amount": "number",
    "vat_amount": "number",
    "vat_rate": "number",
    "irpf_amount": "number — 0 if no retention",
    "irpf_rate": "number — 0 if no retention",
    "total_amount": "number",
    "is_reverse_charge": "boolean",
    "invoice_type": "purchase | rectification"
  },
  "partner": {
    "name": "string",
    "tax_id": "string",
    "tax_region": "ES | EU | EXTRA_EU",
    "supplier_account": "string — e.g. 400001 (NEVER null for purchases)"
  },
  "suggested_expense_account": "string — e.g. 621, 628, 623, 601",
  "company_id": "integer"
}

Output Format

JSON array of journal line objects:

[
  {
    "account_code": "string",
    "debit": "number",
    "credit": "number",
    "description": "string"
  }
]

Accounting Logic

Standard ES Purchase (no reverse charge, no IRPF)

DEBIT  6xx  base_amount          — expense account
DEBIT  472  vat_amount           — IVA soportado
CREDIT 400/supplier_account  total_amount  — Proveedores

ES Purchase WITH IRPF retention (has_retention=true)

IRPF reduces the amount we actually pay the supplier. We debit 473 for the retained amount:

DEBIT  6xx  base_amount
DEBIT  472  vat_amount
CREDIT 473  irpf_amount          — IRPF soportado (we suffer the retention)
CREDIT 400/supplier_account  (base + vat - irpf)  — net payable

total_payable = base_amount + vat_amount - irpf_amount

EU Reverse Charge (tax_region=EU, Art.84.Uno.2º LIVA)

Supplier invoice has 0% VAT. We self-assess both sides:

DEBIT  6xx    base_amount
DEBIT  472.1  vat_amount   — IVA soportado intracomunitario
CREDIT 477.1  vat_amount   — IVA repercutido intracomunitario (simultaneous)
CREDIT 410/supplier_account  base_amount  — net, no VAT on invoice

Note: 410 (Acreedores) instead of 400 for non-EU-domiciled suppliers.

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 102 lines · 39 tokens per session scan A 0675a6f83b91

Subscribe to this mod's changes

supplier-accountant is an agent published in the GitHub repository senda-labs/DQIII8 (11 stars, last pushed 23d ago), licensed MIT. It adds 39 tokens to every session and 930 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Finance Tracker

Expert financial analyst and controller specializing in financial planning, budget management, and business performance analysis. Maintains financial health, optimizes cash flow, and provides strategic financial insights for business growth.

andywxy1/ceo-plugin · 40 tokens

Accounts Payable Agent

Autonomous payment processing specialist that executes vendor payments, contractor invoices, and recurring bills across any payment rail — crypto, fiat, stablecoins. Integrates with AI agent workflows via tool calls.

andywxy1/ceo-plugin · 43 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use cfo for cross-cutting financial strategy.

jikig-ai/soleur · 69 tokens

soleur-finance-financial-reporter

Use this agent when you need to generate financial summaries, cash flow statements, periodic financial reports, or investor-ready financial overviews. Use budget-analyst for budget planning; use revenue-analyst for forecasting; use this agent for synthesizing financial data into reports. Use cfo for cross-cutting…

jikig-ai/soleur · 73 tokens

soleur-finance-revenue-analyst

Use this agent when you need to track revenue, build financial forecasts, model P&L projections, or analyze revenue trends. Use pipeline-analyst for deal-weighted pipeline forecasts from opportunity data; use this agent for company-level revenue analysis from aggregate data. Use cfo for cross-cutting financial…

jikig-ai/soleur · 72 tokens

soleur-operations-ops-advisor

Use this agent when you need to track operational expenses, manage domain registrations, or get hosting recommendations. Use ops-research for live research and provider comparison; use ops-provisioner for account setup; use cfo for financial analysis and budgeting; use this agent for reading and updating the expense…

jikig-ai/soleur · 69 tokens