---
name: hm-ap-desk-parser
version: 1.0.0
description: Offline AP desk — parse invoice PDFs → validated CSV, math-check line-items sum to total, zero data egress.
license: MIT
homepage: https://hypermove.xyz
install: Fetch https://hypermove.xyz/api/skills/hm-ap-desk-parser?format=md and save it as hm-ap-desk-parser/SKILL.md in your agent's skills directory. No CLI, no npm, no MCP required.
---

# hm-ap-desk-parser

Offline AP desk — parse invoice PDFs → validated CSV, math-check line-items sum to total, zero data egress.

## Run it (in your workspace — no MCP required)

This is a self-contained agent-skill. Once this SKILL.md is in your skills
directory it autoloads and runs locally by following the procedure below —
no HyperMove server or MCP connection is needed to install or run it.

**Inputs** (required: lineItems, total):

```json
{
  "lineItems": {
    "type": "object"
  },
  "total": {
    "type": "number"
  }
}
```

**Procedure** — apply the HyperMove harness pattern locally:
1. Validate the inputs above and apply your cost / rate / prompt-injection policy.
2. Do the task: Offline AP desk — parse invoice PDFs → validated CSV, math-check line-items sum to total, zero data egress.
3. Definition of done: lineItems sums to total — if a check fails, feed the failure back and retry up to 2×, then stop.

Composes (harness primitives you apply above): hm-doc-extract, hm-local-mcp, hm-output-enforcer.

## External protocol (optional, via HyperMove MCP)

The skill runs fully locally. Connect the HyperMove MCP only if you need the
external-protocol layer — live cross-chain data (`data.call`) or to make/receive
a payment (`payments.settle`, x402/mpp · USDC/RLUSD):

- add MCP server `https://hypermove.xyz/api/mcp` (transport: http)
- Claude Code: `claude mcp add --transport http hypermove https://hypermove.xyz/api/mcp`