@crafter/sunat-cli
v0.1.6
Published
Agent-first CLI for SUNAT tax automation
Downloads
652
Readme
@crafter/sunat-cli
Agent-first CLI for SUNAT tax automation. Built for AI agents as primary consumers.
sunat-cli.crafter.ing | GitHub
Requirements
- Bun v1.2+
- agent-browser v0.22+
- Chrome or Chromium
Install
bun add -g @crafter/sunat-cliUsage
sunat-cli login # Auth (no CAPTCHA)
sunat-cli schema rhe # Introspect fields
sunat-cli rhe emit --dry-run --json '{}' # Preview
sunat-cli rhe emit --batch ./data.csv # Batch emit
sunat-cli f616 declare --dry-run --json '{"periodo":"2025-03"}'
sunat-cli api token --output json # OAuth2 tokenDesign
--jsonpayloads over bespoke flags--dry-runfor all mutations--output jsonby default (NDJSON when piped)- Input hardening against hallucinations
- Schema introspection at runtime
- agentskills.io compliant SKILL.md
License
MIT — Crafter Station
