{"uid":"cap_oXxL3v8NOdLThFt0YP8PT","slug":"expense-processing-numeric-row-ordering-base-100-series-6a7f59ec","name":"Expense Processing — Numeric Row Ordering + Base-100 Series","description":"Expense processing — Numeric row ordering + Base-100 series: Numeric row ordering + Base-100 series 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-117?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"},"base_index":{"type":"integer","default":0,"maximum":199,"minimum":0}}},"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_VV-oSyPfAA7fEShNI42MH","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":"Applies numeric row ordering and base-100 index series analysis to up to 200 expense records (submitted_amount, approved_amount), returning two local analytical reports per call.","exampleAgentPrompt":"Rank and base-100 index my expense rows by submitted_amount — here are 4 rows: row-1 (group-a, 2026-10-01, submitted 10, approved 1), row-2 (group-b, 2026-10-02, submitted 20, approved 2), row-3 (group-a, 2026-10-03, submitted 15, approved 3), row-4 (group-b, 2026-10-04, submitted 30, approved 4) — use base_index 0 and give me both the row ordering and the base-100 series reports.","exampleUseCases":[{"title":"Ranking team expense submissions","prompt":"I have 50 expense rows from two teams with submitted and approved amounts for Q3 — can you rank them numerically by submitted_amount and also give me a base-100 index series starting from row 0?"},{"title":"Approval rate analysis by base index","prompt":"Take these 120 expense records with dates, team groups, submitted amounts, and approved amounts, and run both the numeric row ordering and the base-100 index series on approved_amount with base_index set to 10."},{"title":"Monthly expense trend indexing","prompt":"Here are 200 expense rows from October — I need them ordered numerically and indexed to a base of 100 starting from row 0 on submitted_amount so I can see the trend across all rows."}],"resultDescription":"Returns two analytical reports per call: (1) a numeric row ordering of the supplied expense records ranked by the chosen field (submitted_amount or approved_amount), and (2) a base-100 index series showing each row's value relative to the base row — both computed locally with no external lookups.","failureModes":["More than 200 rows submitted — request rejected due to maxItems constraint","Missing required fields (row_id, date, submitted_amount, approved_amount) — validation error","Invalid date format (not YYYY-MM-DD) — schema pattern rejection","base_index out of range (0-199) — parameter validation failure","All submitted/approved values null — may produce degenerate or empty series output","Payment not attached or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need fast, local, deterministic numeric row ranking and base-100 index series computation on expense data (submitted_amount or approved_amount) without requiring any external data sources, predictions, or professional assessments. It is ideal for batch analytical reporting on up to 200 expense rows where you want two independent report types in a single low-cost call. Prefer alternatives if you need real-time lookups, ML predictions, schema validation/deduplication, or data beyond the expense submitted/approved amount domain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:37.331Z","isFirstParty":false,"canonicalSlug":"expense-processing-numeric-row-ordering-base-100-series-6a7f59ec"}