# Romanian e-Factura & Peppol Invoice XML Validator

> Romanian e-Factura & Peppol Invoice XML Validator is a paid API for AI agents from einvoice.alexhub.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Validates a UBL 2.1 XML invoice against Romanian CIUS-RO, Peppol BIS Billing 3.0, or EN 16931 rules and returns detailed, actionable error explanations with correct field paths and computed fix values.

## Facts

- Endpoint: POST https://einvoice.alexhub.uk/v1/validate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/romanian-e-factura-peppol-invoice-xml-validator-c9e2d117
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9nwteOMrezZ6NNM4TkL3y

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 romanian-e-factura-peppol-invoice-xml-validator-c9e2d117 -d '<json body>'
```

Example prompt: Can you validate this UBL 2.1 XML invoice against the Romanian CIUS-RO rules before I upload it to ANAF SPV, and tell me exactly what's wrong and how to fix each error?

## When to prefer this

Choose this endpoint when you need to validate Romanian e-Factura (CIUS-RO 1.0.9) XML before ANAF SPV submission, or when you need actionable per-error fix guidance including computed correct amounts — not just pass/fail. Also prefer it for Peppol BIS Billing 3.0 and EN 16931 validation in a pay-per-use, no-account model via x402 micropayments.

## Known failure modes

- Malformed or non-XML input returns a parse error
- Unrecognized CustomizationID when profile is 'auto' may default incorrectly or error
- Very large XML documents may time out
- Missing required invoice elements may return schema validation errors before rule checks
- Network or payment processing failure returns HTTP 402 or 5xx

## How this service works

Check a Romanian e-Factura (UBL 2.1, CIUS-RO 1.0.9) before uploading it to ANAF SPV, and get the exact fix for every error: plain-English explanation, the official Romanian rule text, the UBL path of the field and, for amount errors, the correct value computed from the invoice (chained, so following the report gives a consistent invoice). Also validates Peppol BIS Billing 3.0 and EN 16931. No account: $0.01 per invoice via x402, plus a small free tier.

## Output

A structured report listing every validation error found in the invoice XML, each with a plain-English explanation, the official Romanian or Peppol rule text, the UBL XPath of the offending field, and for amount/calculation errors, the correctly computed value derived from the invoice data — errors are chained so fixing them in order produces a consistent invoice. A passing invoice returns a clean compliance confirmation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "xml": {
   "type": "string",
   "description": "The UBL 2.1 Invoice or CreditNote XML document"
  },
  "profile": {
   "enum": [
    "auto",
    "en16931",
    "peppol",
    "ro"
   ],
   "type": "string",
   "default": "auto",
   "description": "Rule set; 'auto' reads it from the invoice's CustomizationID"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/romanian-e-factura-peppol-invoice-xml-validator-c9e2d117/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from einvoice.alexhub.uk](https://www.zero.xyz/host/einvoice.alexhub.uk/llms.txt)
