# Toll402 Danish CVR Number Validator

> Toll402 Danish CVR Number Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a Danish CVR-nummer (8-digit business registration number) by normalizing input, checking length, and verifying the modulus-11 checksum offline

## Facts

- Endpoint: POST https://toll402.dev/v1/t/cvr_dk_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-danish-cvr-number-validator-085829cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HxvdZsxDbDIahcfmFOjuM

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 toll402-danish-cvr-number-validator-085829cd -d '<json body>'
```

Example prompt: Can you check if the Danish CVR number 12345678 is valid — verify its format and modulus-11 checksum?

## When to prefer this

Use this endpoint when you need a fast, offline, zero-latency check of a Danish CVR-nummer's structural validity without calling the Danish Business Authority's live registry. Ideal for pre-validation before submitting to official APIs, bulk data cleansing, or form validation where real-time registry lookup is unnecessary or too costly.

## Known failure modes

- Input CVR is not 8 digits after normalization — validation fails with length error
- CVR checksum does not match — flagged as invalid but best-effort note applies for legacy numbers
- Non-numeric characters that can't be normalized cause a parsing error
- Empty or missing CVR field returns a required field error

## How this service works

Offline validator for a Danish CVR-nummer (8-digit business registration number issued by the Danish Business Authority). Normalizes input to digits only, checks length and computes a modulus-11 checksum using weights 2,7,6,5,4,3,2 on the first 7 digits compared against the 8th check digit. Result is flagged as best-effort since some legacy CVR numbers do not conform to the checksum rule.

## Output

Returns a validation result indicating whether the CVR number passes format and modulus-11 checksum checks, with a best-effort flag noting that some legacy CVR numbers may not conform to the checksum rule even if legitimate

## 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": "object",
     "required": [
      "cvr"
     ],
     "properties": {
      "cvr": {
       "type": "string",
       "description": "CVR number, 8 digits, optional spaces"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "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/toll402-danish-cvr-number-validator-085829cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
