从W-2、1099、1040等税务表格中提取结构化数据——雇主/付款方、收款人、工资、扣缴、逐项金额——以类型化JSON返回。
转W-2,1099-NEC/MISC/INT/DIV,1040s,以及其他税务文件,打入干净的,打入JSON——雇主/付款人细节,收款人信息,以及逐箱金额——有是一项面向实际任务的技能。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
将 W-2、1099-NEC/MISC/INT/DIV、1040 等各类税务文件转化为结构清晰、格式规范的 JSON 数据——涵盖雇主/付款方信息、收款方信息,以及逐项税表栏位(box-by-box)金额,并为每个字段标注 needs_review 标志,确保任何错误均无法流入报税流程或收入计算环节。
本技能指示 agent 向
https://api.deepread.tech发送 POST 请求上传文档,并轮询获取处理结果。不修改任何系统文件。
{
"schema_version": "dp02",
"status": "completed",
"extraction": {
"fields": [
{"key": "form_type", "value": "W-2", "needs_review": false, "location": {"page": 1}},
{"key": "tax_year", "value": 2025, "needs_review": false, "location": {"page": 1}},
{"key": "employer_name", "value": "Acme Corp", "needs_review": false, "location": {"page": 1}},
{"key": "employer_ein", "value": "12-3456789", "needs_review": false, "location": {"page": 1}},
{"key": "employee_name", "value": "Jordan Rivera", "needs_review": false, "location": {"page": 1}},
{"key": "wages_box1", "value": 84500.00, "needs_review": false, "location": {"page": 1}},
{"key": "federal_tax_withheld_box2", "value": 12180.00, "needs_review": false, "location": {"page": 1}},
{"key": "social_security_wages_box3", "value": 84500.00, "needs_review": false, "location": {"page": 1}}
]
}
}
open "https://www.deepread.tech/dashboard/?utm_source=clawhub" export DEEPREAD_API_KEY="sk_live_your_key_here"
尚未获取 API 密钥?运行:clawhub install uday390/deepread-agent-setup —— agent 将通过 OAuth 设备授权流程自动为您获取密钥。
{
"type": "object",
"properties": {
"form_type": {"type": "string", "description": "税务表格类型,例如 W-2、1099-NEC、1040"},
"tax_year": {"type": "number", "description": "表格所载纳税年度"},
"employer_name": {"type": "string", "description": "雇主 / 付款方名称"},
"employer_ein": {"type": "string", "description": "雇主 EIN"},
"employee_name": {"type": "string", "description": "雇员 / 收款方姓名"},
"employee_ssn_last4": {"type": ["string","null"], "description": "仅 SSN 最后四位数字"},
"wages_box1": {"type": "number", "description": "第 1 栏 — 工资、小费及其他报酬"},
"federal_tax_withheld_box2": {"type": "number", "description": "第 2 栏 — 扣缴的联邦所得税"},
"social_security_wages_box3": {"type": ["number","null"], "description": "第 3 栏 — 社会保障工资额"},
"medicare_wages_box5": {"type": ["number","null"], "description": "第 5 栏 — 医疗保险工资额"},
"state_wages_box16": {"type": ["number","null"], "description": "第 16 栏 — 州工资额"}
}
}
对于 1099-NEC,请将字段替换为 payer_name、payer_tin、recipient_name、nonemployee_compensation_box1。模式保持一致——每项栏位均需明确描述,DeepRead 即可准确映射。
curl -s -X POST https://api.deepread.tech/v1/process
-H "X-API-Key: $DEEPREAD_API_KEY"
-F "file=@w2.pdf"
-F 'schema={"type":"object","properties":{"form_type":{"type":"string"},"tax_year":{"type":"number"},"employer_name":{"type":"string"},"wages_box1":{"type":"number"},"federal_tax_withheld_box2":{"type":"number"}}}'
# → {"id":"...","status":"queued"} — 随后使用 GET 请求查询 /v1/jobs/{id}
税务表格包含大量敏感信息,如 SSN、EIN 和地址。请仅提取必要字段(例如 employee_ssn_last4),并在向 deepread-pii 提交前对完整文档进行脱敏处理:
curl -X POST https://api.deepread.tech/v1/pii/redact -H "X-API-Key: $DEEPREAD_API_KEY" -F "file=@w2.pdf"
安装命令:clawhub install uday390/deepread-pii
https://www.deepread.tech/dashboard/optimizer 构建专属解析蓝图,提升准确率 20–30%。needs_review 字段 —— 仅该标志为 true 的栏位才需人工复核。clawhub install uday390/deepread-ocrclawhub install uday390/deepread-pay-stubsclawhub install uday390/deepread-pii免费开始使用: https://www.deepread.tech/dashboard/?utm_source=clawhub
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习
最新文章