{"uid":"cap_Kx7vE67b2mKndvQmA_HkW","slug":"u2a-duplicate-invoice-detection-26eabb6e","name":"U2A Duplicate Invoice Detection","description":"Flags exact and normalized duplicate invoices using invoice number, vendor, amount, and date fields with source indexes.","url":"https://www.u2a.com.au/api/mcp/duplicate-invoice-detection?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object"},"maxItems":1000,"description":"Invoices to check (max 1000). Rows missing a matching field are returned in skipped_records."},"dateField":{"type":"string","default":"date","description":"Field holding the invoice date (ISO dates compare by day)."},"amountField":{"type":"string","default":"amount","description":"Field holding the invoice amount; \"$1,000.00\" and 1000 are treated as equal."},"vendorField":{"type":"string","default":"vendor","description":"Field holding the vendor name; legal suffixes like Ltd/Inc are ignored."},"invoiceNumberField":{"type":"string","default":"invoice_number","description":"Field holding the invoice number; punctuation and case are ignored."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rR3-BF9wz_P_0wkfdhv-o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Flags exact and normalized duplicate invoices by comparing invoice number, vendor, amount, and date fields across a batch of records, returning source indexes of detected duplicates.","exampleAgentPrompt":"Check this batch of 450 invoices for duplicates — the relevant fields are 'invoice_no' for the invoice number, 'supplier' for the vendor, 'total_amount' for the amount, and 'invoice_date' for the date. Flag any exact or normalized duplicates and tell me which records match each other.","exampleUseCases":[{"title":"Accounts payable deduplication before payment run","prompt":"Before we process this week's payment run, check these 800 invoice records for duplicates using 'inv_number', 'vendor_name', 'net_amount', and 'txn_date' as the key fields — I don't want to double-pay anyone."},{"title":"Month-end close duplicate audit","prompt":"I have our month-end invoice batch of about 1,200 records and I need to audit it for any duplicate submissions. The fields to match on are 'InvoiceNum', 'VendorID', 'InvoiceAmount', and 'InvoiceDate' — flag everything that looks like a duplicate."},{"title":"Vendor fraud detection scan","prompt":"Run a duplicate check on these 500 vendor invoices we received this quarter — use 'ref_number' as the invoice number field, 'vendor' as the vendor field, 'amount_due' as the amount field, and 'doc_date' as the date field. I want to see if any vendor submitted the same invoice more than once."}],"resultDescription":"Returns a list of detected duplicate invoice pairs or groups, identified by their source record indexes within the input array, along with whether each match is exact or normalized (e.g. after trimming whitespace, normalizing casing, or rounding amounts). Enables downstream deduplication or manual review workflows.","failureModes":["Missing or mismatched field name parameters cause fields to be unresolvable, returning an error or empty results","Records array exceeding 2,000 items is rejected with a validation error","Inconsistent data types across records (e.g. numeric vs string amounts) may cause missed matches","Null or missing field values in records may cause those records to be skipped from comparison","Overly broad normalization may produce false positives for invoices that are legitimately similar but distinct"],"whenToPreferThis":"Use this endpoint when you need to detect duplicate invoices across a batch of up to 2,000 records before payment processing, ledger posting, or audit. It is purpose-built for invoice deduplication with configurable field mappings, making it preferable to generic deduplication tools when your data has invoice-specific fields like invoice number, vendor, amount, and date. Ideal for accounts payable automation pipelines, pre-payment validation, or month-end reconciliation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:04.978Z","isFirstParty":false,"canonicalSlug":"u2a-duplicate-invoice-detection-26eabb6e"}