{"uid":"cap_fpCGF0FCEe5ak_6BasyLa","slug":"invoice-duplicate-check-3a716e0d","name":"Invoice Duplicate Check","description":"Compare up to 1000 caller-supplied invoice records for repeated supplier/reference/document identity and conflicting amounts or currency. Exact decimal strings; no external calls, accounting certification or payment decision.","url":"https://gogeta2-u35175.vm.elestio.app/agents/v1/structured/invoice-duplicates?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"invoices":{"type":"array","items":{"type":"object","required":["record_id","supplier_id","invoice_number","document_type","currency","amount"],"properties":{"amount":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,17})(\\.[0-9]{1,6})?$"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"},"record_id":{"type":"string","maxLength":256,"minLength":1},"supplier_id":{"type":"string","maxLength":256,"minLength":1},"document_type":{"enum":["invoice","credit_note"]},"invoice_number":{"type":"string","maxLength":256,"minLength":1}}},"maxItems":1000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-mTKtxmHREA03FoR3NFup","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares up to 1000 invoice records for duplicate supplier/reference/document identity and conflicting amounts or currency, entirely offline with no external calls.","exampleAgentPrompt":"Can you check these 200 invoices from our AP system for duplicates — flag any where the same supplier and invoice number appear more than once, especially if the amounts or currencies differ?","exampleUseCases":[{"title":"Pre-payment duplicate audit","prompt":"Before we run this week's payment batch, scan these 350 invoices and tell me if any supplier has submitted the same invoice number more than once or if there are any amount mismatches on matching invoice references."},{"title":"Month-end AP reconciliation","prompt":"I've exported 800 invoice and credit note records from our ERP for month-end close — can you check the whole set for any duplicate document IDs or cases where the same invoice appears with conflicting currency or amount?"},{"title":"Vendor fraud detection","prompt":"We suspect a vendor may be double-billing us — run these 150 invoices from supplier SUP-4421 through a duplicate check and flag any repeated invoice numbers or amounts that don't match across duplicates."}],"resultDescription":"Returns grouped duplicate findings, identifying which record_ids share the same supplier/invoice_number/document_type combination, along with details of any conflicting amounts or currencies within each duplicate group. No external data is fetched — analysis is purely over the submitted records.","failureModes":["Array exceeds 1000 items — request rejected","Invalid amount format (not matching decimal pattern) — validation error","Missing required fields (record_id, supplier_id, invoice_number, document_type, currency, amount) — schema error","Currency code not exactly 3 alphabetic characters — validation error","Empty invoices array — no duplicates to report","Payment not provided or insufficient — 402 response"],"whenToPreferThis":"Choose this endpoint when you need fast, offline duplicate detection across a batch of invoice records without triggering any external lookups, accounting system writes, or payment decisions. Ideal for pre-payment audits, AP reconciliation, and vendor fraud screening where privacy and determinism matter. Not suitable if you need real-time ERP integration, payment processing, or accounting certification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:43:56.968Z","isFirstParty":false,"canonicalSlug":"invoice-duplicate-check-3a716e0d"}