# Payment Reference Number Generator (OCR/KID/RF/ISO 11649)

> Payment Reference Number Generator (OCR/KID/RF/ISO 11649) is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-10).

Generates valid payment reference numbers with check digits for Swedish OCR, Norwegian KID, Finnish reference, and ISO 11649 RF standards.

## Facts

- Endpoint: GET https://api.strale.io/x402/payment-reference-generate?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-a624a201
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d2nIxCHhhXa-OulEbt8FX

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 api-strale-io-a624a201
```

Example prompt: Generate a valid Swedish OCR payment reference number (ocr_se) for me using the base number 12345678.

## When to prefer this

Use this endpoint when you need to generate standards-compliant payment reference numbers for Nordic/Scandinavian invoicing systems or ISO 11649 RF creditor references. Ideal for automating invoice generation workflows that require valid check digits per country-specific banking standards (SE, NO, FI) or international RF format.

## Known failure modes

- Invalid or unsupported reference type enum value — returns error
- Base number contains non-numeric characters — returns validation error
- Base number too long for the chosen format — returns error
- Missing required 'type' query parameter — returns 400 bad request

## How this service works

Generate valid payment reference numbers with check digits: Swedish OCR, Norwegian KID, Finnish reference, ISO 11649 RF.

## Output

A valid payment reference number in the requested format (Swedish OCR, Norwegian KID, Finnish reference, or ISO 11649 RF), including the check digit appended according to the respective standard's algorithm.

## Example request

```json
{
 "type": "ocr_se",
 "base_number": "12345678"
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "type"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "ocr_se/ocr_no/ocr_fi/iso11649/rf"
      },
      "base_number": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-a624a201/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
