# Purchase Order Imports — Invalid Row Export

> Purchase Order Imports — Invalid Row Export is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Validates a purchase order CSV (up to 1000 rows) and returns a report identifying all rows that fail schema or business-rule checks.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-purchases-invalid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/purchase-order-imports-invalid-row-export-7fe82194
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VmnovIQCu1rkrrDirAw3N

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 purchase-order-imports-invalid-row-export-7fe82194 -d '<json body>'
```

Example prompt: Can you validate this purchase order CSV for me — use a comma delimiter, flag any rows where order_amount is outside 0 to 500000, and only allow vendor categories 'group-a' and 'group-b'? I need a report of all the invalid rows.

## When to prefer this

Choose this endpoint when you need to pre-validate a purchase order CSV against a declared schema contract before importing it into a downstream system, and you want a row-level invalid-row export rather than a simple pass/fail. It is ideal for procurement and finance workflows where you need to identify and quarantine bad rows before they reach an ERP or database. Best suited for files up to 1000 rows with known vendor category allowlists and numeric amount bounds.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 processed or error returned
- Invalid delimiter specified — must be comma, semicolon, or tab
- Malformed CSV that cannot be parsed — parse error returned
- allowed_categories list exceeds 100 items — schema validation error
- max_cell_length set outside 1–5000 range — rejected
- Empty CSV string — error returned

## How this service works

Purchase order imports — Invalid row export: Invalid row export for Purchase order imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV invalid row export report.

## Output

A structured report listing every CSV row that failed validation, including the row number, the offending cell values, and the specific rule violations (e.g. value out of numeric range, disallowed category, cell too long, malformed data). Conforming rows are excluded from the report.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "purchase_id,placed_on,vendor_id,ordered_units,order_amount\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/purchase-order-imports-invalid-row-export-7fe82194/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)
