{"uid":"cap_NlBXAIdGEc9jxC_1ylFcP","slug":"expense-processing-exact-row-deduplication-numeric-row-ordering-faff2b06","name":"Expense Processing — Exact Row Deduplication + Numeric Row Ordering","description":"Expense processing — Exact row deduplication + Numeric row ordering: Exact row deduplication + Numeric row ordering for supplied expense processing records (submitted_amount, approved_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-operations-07-042?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","submitted_amount","approved_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"approved_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"submitted_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","approved_amount":1,"submitted_amount":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","approved_amount":2,"submitted_amount":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","approved_amount":3,"submitted_amount":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","approved_amount":4,"submitted_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["submitted_amount","approved_amount"],"type":"string","default":"submitted_amount"}}},"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_zazRf9wZktJjaZ4YwR_bm","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":"Deduplicates expense rows and sorts them numerically by submitted_amount or approved_amount, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you deduplicate and numerically sort these 150 expense rows by submitted_amount, then give me the two analytical reports? Here's the data with row_id, team_group, date, submitted_amount, and approved_amount for each entry.","exampleUseCases":[{"title":"Finance team expense audit cleanup","prompt":"I have 120 expense submissions from our finance team with row_id, team_group, date, submitted_amount, and approved_amount — can you remove any exact duplicate rows and sort everything by approved_amount, then give me the two summary reports?"},{"title":"Cross-team submitted expense ranking","prompt":"Here are 80 expense rows across three team groups from October. Please deduplicate them exactly and order by submitted_amount so I can see which submissions are largest — I need the two analytical reports back."},{"title":"Monthly expense reconciliation dedup","prompt":"I'm reconciling this month's expense records — I've got 200 rows and suspect there are duplicates. Can you run exact deduplication and sort the remaining rows numerically by submitted_amount, producing both reports?"}],"resultDescription":"Two analytical reports covering the input expense rows after exact duplicate removal and numeric ordering by the selected field (submitted_amount or approved_amount). Reports reflect the cleaned, sorted dataset of up to 200 rows with no external lookups or predictions.","failureModes":["More than 200 rows submitted — request exceeds maximum row limit","Missing required fields (row_id, team_group, date, submitted_amount, approved_amount) on any row — validation error","Invalid date format not matching YYYY-MM-DD pattern — schema validation failure","Amount values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000) — rejected","Invalid field enum value (must be 'submitted_amount' or 'approved_amount') — error response","Empty rows array (minItems: 1 not met) — validation failure"],"whenToPreferThis":"Choose this endpoint when you have up to 200 expense records with submitted_amount and approved_amount fields and need both exact duplicate removal and numeric ordering in a single $0.01 call that returns two analytical reports. It is best suited for batch expense data cleanup tasks where no live data lookup, external enrichment, or predictive analysis is needed — just deterministic deduplication and sorting of supplied records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:36:16.307Z","isFirstParty":false,"canonicalSlug":"expense-processing-exact-row-deduplication-numeric-row-ordering-faff2b06"}