# Invoice Imports — Invalid Row Export

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

Validates a CSV of invoice records and returns a report of all rows that fail the declared contract (format, numeric bounds, category allowlist, cell length).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-invoices-invalid-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-invalid-row-export-a53eeb2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s3bi6f8m8z2DyAdb2ZFU0

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-invalid-row-export-a53eeb2d -d '<json body>'
```

Example prompt: Can you check my invoice CSV for invalid rows — it uses commas as delimiter, amounts should be between 0 and 500000, and account IDs must be one of 'group-a', 'group-b', or 'group-c'? Here's the CSV: invoice_id,issued_on,account_id,net_amount,tax_amount\nrecord-a,2026-01-01,group-x,10,2\nrecord-b,2026-01-02,group-b,-50,3

## When to prefer this

Use this endpoint when you need to pre-validate an invoice-specific CSV (with fields like invoice_id, issued_on, account_id, net_amount, tax_amount) against a declared contract before importing it into a billing or accounting system. It is purpose-built for the invoice import domain with support for category allowlists, numeric bounds, quoted cells, and cell length limits — up to 1,000 rows per call. Prefer it over generic CSV validators when you need invoice-domain semantics and an actionable invalid-row export report rather than just a pass/fail result.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Fewer than 1 character submitted — validation error
- Delimiter not one of comma, semicolon, or tab — schema error
- Maximum value set below minimum value — logical conflict error
- More than 100 allowed_categories specified — schema error
- Cell length limit set outside 1–5000 range — schema error
- Malformed CSV that cannot be parsed at all — parse failure response
- Network or payment processing failure — HTTP 402 or 5xx error

## How this service works

Invoice imports — Invalid row export: Invalid 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 invalid row export report.

## Output

A structured report identifying all rows in the submitted invoice CSV that violate the declared contract — including which rows failed, what rule they broke (numeric bounds, disallowed category, cell length exceeded, or structural parse error), enabling the caller to correct or reject those rows before import.

## 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-invalid-row-export-a53eeb2d/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)
