Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/iterationlayer/skills/extract-customer-invoice-datanpx skills add iterationlayer/skills --skill extract-customer-invoice-datagit clone --depth 1 https://github.com/iterationlayer/skillsWrote 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.
[](https://agentmods.dev/skills/iterationlayer/skills/extract-customer-invoice-data)<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-customer-invoice-data"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-customer-invoice-data.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.03817 |
| Opus 5 | $0.00008 | $0.01909 |
| Sonnet 5 | $0.00003 | $0.00763 |
| Haiku 4.5 | $0.00002 | $0.00382 |
Grade A, and why
extract-customer-invoice-data scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \ This is a copy
77% identical to compress-image-to-target-size — 507 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 570 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Extract Customer Invoice Data
Finance teams use this recipe to extract Customer Invoice fields into structured JSON for accounts receivable, accounts payable, tax, and ERP workflows.
APIs Used
Document Extraction (1 credit per page)
Prerequisites
You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.
For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.
Implementation
curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": [
{
"type": "url",
"name": "customer-invoice.pdf",
"url": "https://example.com/documents/customer-invoice-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "seller_name",
"type": "TEXT",
"description": "Seller, supplier, or issuer name"
},
{
"name": "buyer_name",
"type": "TEXT",
"description": "Buyer, customer, or recipient name"
},
{
"name": "document_number",
"type": "TEXT",
"description": "Invoice or fiscal document number"
},
{
"name": "issue_date",
"type": "DATE",
"description": "Issue date"
},
{
"name": "line_items",
"type": "ARRAY",
"description": "Line items, services, or taxable supplies",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Item or service description"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity"
},
{
"name": "unit_price",
"type": "CURRENCY_AMOUNT",
"description": "Unit price"
},
{
"name": "line_total",
"type": "CURRENCY_AMOUNT",
"description": "Line total"
}
]
},
{
"name": "tax_amount",
"type": "CURRENCY_AMOUNT",
"description": "Tax amount"
},
{
"name": "total_amount",
"type": "CURRENCY_AMOUNT",
"description": "Total payable amount"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
}'
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.
- 5d ago First seen · 570 lines · 15 tokens per session scan A 7e9dfc1f6b75
extract-customer-invoice-data is a skill published in the GitHub repository iterationlayer/skills (3 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 3,817 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 77% identical to compress-image-to-target-size, differing in 507 lines, and is treated as a copy.
Other skills, from other repositories
memstack-business-invoice-generator
Use this skill when the user says 'invoice', 'generate invoice', 'create invoice', 'bill client', 'line items', 'payment terms', or needs professional invoices with tax calculations and payment instructions. Do NOT use for contracts or financial projections.
investment-memo-generator
Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.
investor-materials
Use when packaging or circulating the documents an investor reads outside the meeting — setting up or cleaning a data room, writing the one-pager or teaser that earns the first meeting, or drafting the recurring monthly investor update. NOT the slide narrative (that is pitch-deck), NOT the projection spreadsheet (that…
lov-expense-report
Extract invoice data from images or text descriptions and generate a categorized Excel expense report. Supports receipt photos, scanned invoices, and manual text input. Auto-classifies into: business entertainment (客户餐费), travel-transport (机票/火车票/打车), travel-accommodation (酒店), travel-meals, office supplies…
audit-dimensions
D1D25 规范文件审查维度总览 — 规范库/specs 文件专属审查层.
document-exports
Generate and TEST downloadable document exports (PDF/CSV) from a Node/Express backend — pdfkit streaming, CSV BOM, cents formatting, and the supertest/pdfkit pitfalls that silently break tests.