# Expense Processing — Exact Row Deduplication + Numeric Row Ordering

> Expense Processing — Exact Row Deduplication + Numeric Row Ordering is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Deduplicates expense rows and sorts them numerically by submitted_amount or approved_amount, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-07-042?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/expense-processing-exact-row-deduplication-numeric-row-ordering-faff2b06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NlBXAIdGEc9jxC_1ylFcP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability expense-processing-exact-row-deduplication-numeric-row-ordering-faff2b06 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/expense-processing-exact-row-deduplication-numeric-row-ordering-faff2b06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
