Starter kit 03 / v1.0.0
Invoice categorization
Apply explicit vendor rules. Catch duplicates and hold unfamiliar vendors.
ZIP includes sample data, runner, expected output, checks, instructions and a trial log. Requires Node.js 22 or newer. No extra packages or API key for the local example.
See what you get
Input: Four structured invoices and two vendor rules.
Computed sample result: $205 categorized · one duplicate excluded · one unknown vendor held.
Inspect the synthetic input
{
"currency": "USD",
"vendorRules": {
"North Software": "Software",
"Paper Supply": "Office supplies"
},
"invoices": [
{
"id": "I1",
"vendor": "North Software",
"number": "NS-101",
"amountCents": 12000
},
{
"id": "I2",
"vendor": "Paper Supply",
"number": "PS-203",
"amountCents": 8500
},
{
"id": "I3",
"vendor": "Paper Supply",
"number": "PS-203",
"amountCents": 8500
},
{
"id": "I4",
"vendor": "New Vendor",
"number": "NV-001",
"amountCents": 42000
}
]
}Inspect the actual runner output
{
"status": "HOLD_FOR_REVIEW",
"currency": "USD",
"categorized": [
{
"id": "I1",
"vendor": "North Software",
"number": "NS-101",
"category": "Software",
"amountCents": 12000
},
{
"id": "I2",
"vendor": "Paper Supply",
"number": "PS-203",
"category": "Office supplies",
"amountCents": 8500
}
],
"categorizedTotalCents": 20500,
"exceptions": [
{
"code": "DUPLICATE_INVOICE",
"sources": [
"I2",
"I3"
]
},
{
"code": "UNKNOWN_VENDOR",
"sources": [
"I4"
]
}
]
}Run the sample
- Download and extract the kit. Open a terminal in the extracted folder.
- Run the checks, then create a result file with the commands below.
- Compare the result with expected.json. Read the exception notes before adapting it.
node verify.mjs node run.mjs sample.json result.json
The runner writes only a new local output file and refuses to overwrite one. Use a different output name for another run.
Try it in Claude Code or Codex
Open the extracted folder as your workspace in Codex, or start Claude Code in that folder. Ask it to read the included skill explicitly. You do not need to install the skill for this walkthrough.
Read SKILL.md and README.md in this folder. Run the verification and sample commands, using a new output filename if needed. Prepare the requested draft from the computed result, cite source IDs, and list unresolved items. Use only the bundled synthetic data; do not connect accounts or send anything.
What the agent adds: Explain proposed categories and exceptions in a review note, preserving the source IDs and hold status.
Skill mechanisms and permissions differ by product. See the current Claude Code skill documentation and OpenAI skill documentation.
Review before you trust it
I1 and I2 are categorized. I3 duplicates I2; I4 has no vendor rule. The $205 is a categorized subtotal, not an approved payment total.
Scope: JSON input, USD, exact vendor rules. No PDF extraction, tax validation, accounting entry or payments.
Version 1.0.0. The reference output and exception checks passed locally on Windows with Node.js v24.18.0. The downloadable verify.mjs lets you repeat the checks.
No Claude Code or Codex model-version benchmark, live connector test, or customer time saving is claimed. The model-written draft is a separate output for you to evaluate.
View the validation record and archive checksum →
Measure your own result
Use trial-log.csv in the download. Record manual preparation, assisted preparation, review, correction time, failures and software costs for the same task. Record the product, model/version and date. Script runtime alone does not measure staff time saved.
Enter your measured figures in the cost calculator, then use the experiment and rollout guide.