# Invoice Imports — Valid Row Export

> Invoice Imports — Valid 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-19).

Validates a CSV of invoice data against a declared contract and exports only the rows that pass all validation checks.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-valid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoice-imports-valid-row-export-872e86dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k2s2vBL-qbdIowek1ckTj

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 invoice-imports-valid-row-export-872e86dc -d '<json body>'
```

Example prompt: Can you validate my invoice CSV and export only the valid rows? Here's the data with invoice_id, issued_on, account_id, net_amount, tax_amount columns — only allow account categories group-a and group-b, use a comma delimiter, and flag any amounts outside -1000000000000 to 1000000000000.

## When to prefer this

Choose this endpoint when you need to validate invoice-specific CSV data against a declared contract before importing it into a downstream system, especially when you need to filter out non-conforming rows based on value ranges, allowed category lists, and cell length constraints. It is purpose-built for invoice data shapes (invoice_id, issued_on, account_id, net_amount, tax_amount) and supports up to 1000 rows per call with quoted cell handling. Prefer it over generic CSV validators when you need an opinionated, invoice-domain preset with a ready-made output report format.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 processed
- Invalid delimiter specified — must be comma, semicolon, or tab
- Cell length exceeds max_cell_length threshold — row flagged as invalid
- Malformed CSV that cannot be parsed — processing error returned
- Empty CSV input — validation cannot proceed

## How this service works

Invoice imports — Valid row export: Valid row export for Invoice 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 valid row export report.

## Output

A valid row export report containing up to 1000 invoice CSV rows that passed all declared contract constraints, including value range checks, allowed category membership, and cell length limits. Invalid rows are excluded from the output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "invoice_id,issued_on,account_id,net_amount,tax_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/invoice-imports-valid-row-export-872e86dc/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)
