# DDG UBL Validation Service

> DDG UBL Validation Service is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Validates Universal Business Language (UBL) documents submitted via HTTP POST for structural and schema compliance

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/validate-ubl?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-ubl-validation-service-beca7a85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lzyGZgMXSYrK92DkUiY9-

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 ddg-ubl-validation-service-beca7a85 -d '<json body>'
```

Example prompt: Can you validate this UBL invoice document I've prepared — POST the JSON body to the UBL validator and tell me if it passes or what errors it finds?

## When to prefer this

Choose this endpoint when you need a machine-payable, agent-friendly UBL document validation service accessible via x402 payment rails. Prefer it for automated pipeline validation of UBL e-invoices and procurement documents where pay-per-use (at $0.01/call) is more cost-effective than a subscription validator.

## Known failure modes

- Malformed JSON body causes 400 error
- Missing required 'input' or 'output' fields returns schema validation error
- Unsupported HTTP method (only POST/PUT/PATCH accepted) causes rejection
- Invalid bodyType enum value causes request failure
- Payment not included or insufficient USDC causes 402 Payment Required response
- Document too large may cause timeout or rejection

## How this service works

DDG agent-payable service request

## Output

Returns a JSON object with an 'ok' boolean indicating whether the UBL document passed validation, along with any validation errors or structural issues found in the submitted document.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-ubl-validation-service-beca7a85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
