{
"source": "inline_text",
"document_type": "invoice",
"pages_analyzed": 1,
"word_count": 30,
"audited_at": "2026-12-01T08:10:12.195997+00:00",
"overall_risk_score": 88,
"deterministic_risk_score": 85,
"overall_risk_level": "CRITICAL",
"executive_summary": "The invoice contains a critical arithmetic discrepancy, showing a total that exceeds the sum of subtotal and tax by $120.00, and the contract includes high‑risk auto‑renewal and unlimited liability clauses. Immediate corrective action and renegotiation of renewal and liability terms are required before any payment is processed.",
"financial_extraction": {
"monetary_amounts": [
"$1,000.00",
"$1,220.00",
"$100.00"
],
"percentages": [],
"dates_detected": [],
"invoice_math_check": {
"checked": true,
"subtotal": 1000,
"tax": 100,
"stated_total": 1220,
"expected_total": 1100,
"discrepancy": 120,
"status": "MISMATCH"
}
},
"detected_risk_flags": [
{
"id": "invoice_math_mismatch",
"clause": "Invoice Arithmetic Discrepancy",
"severity": "CRITICAL",
"excerpt": "Subtotal 1000.0 + Tax 100.0 != Stated Total 1220.0",
"recommended_action": "Verify line items and request a corrected invoice before payment."
},
{
"id": "auto_renewal",
"clause": "Auto-Renewal / Evergreen Clause",
"severity": "HIGH",
"excerpt": ",000.00. Tax: $100.00. Total Due: $1,220.00. This agreement auto-renews with 60 days prior written notice and includes unlimited liability and unilateral price",
"recommended_action": "Negotiate opt-in renewal or set a calendar alert 60 days before the notice deadline."
},
{
"id": "notice_window",
"clause": "Strict Cancellation Notice Window",
"severity": "MEDIUM",
"excerpt": "0.00. Total Due: $1,220.00. This agreement auto-renews with 60 days prior written notice and includes unlimited liability and unilateral price increases.",
"recommended_action": "Shorten notice window to 30 days and track the exact cut-off date."
},
{
"id": "unlimited_liability",
"clause": "Uncapped / Unlimited Liability or Broad Indemnity",
"severity": "CRITICAL",
"excerpt": "auto-renews with 60 days prior written notice and includes unlimited liability and unilateral price increases.",
"recommended_action": "Cap total liability at 12 months of fees paid and make indemnity mutual."
}
],
"key_obligations": [
"Pay the stated Total Due of $1,220.00 upon receipt",
"Provide a written notice at least 60 days prior to the renewal date to avoid automatic renewal",
"Tax of $100.00 is applied to the Subtotal of $1,000.00",
"The agreement auto‑renews unless notice is given",
"Liability is unlimited and includes unilateral price increases"
],
"negotiation_redlines": [
{
"issue": "Invoice total mismatch",
"suggested_counter_language": "Correct the Total Due to $1,100.00, reflecting Subtotal $1,000.00 plus Tax $100.00 and remove the $120.00 discrepancy."
},
{
"issue": "Auto‑renewal clause",
"suggested_counter_language": "Replace automatic renewal with an opt‑in renewal requiring written agreement and reduce notice period to 30 days."
},
{
"issue": "Unlimited liability",
"suggested_counter_language": "Cap total liability at an amount equal to twelve (12) months of fees paid and make indemnity obligations mutual."
},
{
"issue": "Notice window",
"suggested_counter_language": "Shorten the cancellation notice window to 30 days and clearly define the cut‑off date for renewal decisions."
}
],
"action_checklist": [
"Verify the arithmetic on the invoice and request a corrected invoice reflecting the accurate total.",
"Confirm the tax calculation aligns with applicable rates and the subtotal.",
"Negotiate to replace the auto‑renewal clause with an opt‑in renewal and a 30‑day notice period.",
"Amend the liability clause to include a monetary cap of 12 months of fees and mutual indemnity language.",
"Set a calendar reminder for the revised notice deadline and document all agreed changes before processing payment."
],
"ai_engine_used": "groq:openai/gpt-oss-120b#1",
"disclaimer": "Automated contract & invoice risk screening tool; not legal or accounting advice. Consult a qualified attorney or CPA before signing or disputing financial terms."
}
curl --location --request POST 'https://zylalabs.com/api/15819/ai+contract+and+invoice+risk+auditor+api/43443/audit+contract+or+invoice' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json'
--data-raw '{"documentText": "Invoice #9021. Bill To: Acme Corp. Subtotal: $1,000.00. Tax: $100.00. Total Due: $1,220.00. This agreement auto-renews with 60 days prior written notice and includes unlimited liability and unilateral price increases.", "documentType": "auto"}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 AI合同与发票风险审计员 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
审核 PDF 或文本格式的合同和发票,查找算术错误、自动续约陷阱、无限责任和隐藏的商业风险,并提供建议的谈判修订内容
它接受一个 PDF URL 或包含 B2B 合同或发票的原始文本 响应中的 `source` 字段表示文档的提供方式 例如 `inline_text`
JSON 响应可以包含文档类型、已分析页数、字数、审计时间戳、风险评分和等级、执行摘要、提取的财务详情、发现的问题、建议的谈判修改内容以及行动清单
`overall_risk_score` 和 `deterministic_risk_score` 提供数值风险评估,而 `overall_risk_level` 则给出诸如 `CRITICAL` 这样的类别。请结合这些字段与发现和摘要一起使用;单靠分数无法解释潜在问题
它将所列总额与预期小计加税额进行比较`invoice_math_check`对象可以报告检查是否已运行并提供提取的小计税额所列总额和预期金额以帮助识别差异
该端点会检查自动续约陷阱、无限责任、价格上涨及其他隐蔽的商业风险。它可以返回建议的谈判修订条款和行动清单,帮助用户处理已发现的问题
先查看执行摘要和风险等级,然后检查详细发现和提取的数值。使用修订标记和清单指导后续工作,并对照原始文件核实重要数字和法律解释
它返回结构化的 JSON,而不只是叙述性文本。`document_type`、`pages_analyzed` 和 `word_count` 等字段描述经过分析的输入,而风险、财务和建议字段则总结审计结果