# dt0ur.online EDI Document Parser

> dt0ur.online EDI Document Parser is a paid API for AI agents from dt0ur.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-30).

Parses ANSI X12 and UN/EDIFACT EDI documents into structured JSON, CSV, cXML, or a rendered PDF invoice

## Facts

- Endpoint: POST https://dt0ur.online/api/documents/parse?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dt0ur-online-edi-document-parser-55fe4ad3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XBrIK-aJRrFdlGdBkfy23

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 dt0ur-online-edi-document-parser-55fe4ad3 -d '<json body>'
```

Example prompt: Parse this raw ANSI X12 810 Invoice EDI document and give me the result as structured JSON: ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER*230101*1200*^*00501*000000001*0*P*>~...

## When to prefer this

Use this endpoint when you need to programmatically parse raw ANSI X12 or UN/EDIFACT EDI messages into machine-readable or human-readable formats without building your own EDI parser. Prefer it when you need flexible output formats (JSON for APIs, CSV for spreadsheets, cXML for procurement, PDF for human review) on demand with per-call pricing and no subscription overhead.

## Known failure modes

- Malformed or invalid EDI input returns a parsing error with details about the offending segment
- Unsupported EDI transaction set may result in partial parse or error
- Payload ≥10MB incurs higher pricing tier ($0.05); insufficient payment causes 402 Payment Required
- Missing required fields (type, method, bodyType, body) returns 400 Bad Request
- Non-EDI text content passed as body results in parse failure

## How this service works

Parses ANSI X12 and UN/EDIFACT EDI documents into structured JSON, CSV, cXML, or a rendered Typst PDF invoice. $0.01 per document in any output format; payloads ≥10MB are metered up to $0.05 — see the 402 challenge’s `accepts[].maxAmountRequired` for the exact amount.

## Output

The endpoint returns the EDI document converted into the requested output format: a structured JSON object with parsed segments and fields, a CSV with tabular EDI data, a cXML document for procurement systems, or a rendered Typst PDF invoice suitable for human consumption. The exact output format is determined by the request parameters and output type specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "string",
     "minLength": 1,
     "description": "Raw ANSI X12 or UN/EDIFACT EDI text payload (e.g. 810 Invoice, 850 Purchase Order)"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dt0ur-online-edi-document-parser-55fe4ad3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dt0ur.online](https://www.zero.xyz/host/dt0ur.online/llms.txt)
