EDGE ENGINE SUB-2MS DETERMINISTIC V8 EXECUTION • ZERO DATA RETENTION • EXPLORE API SPECS →
EU Council Directive 2006/112/EC <1ms Edge Edge Compute

Croatian VAT Number (OIB) Validator & VIES Check

A Croatia (HR) VAT number uses the format 11 digits (OIB number). The 2026 standard VAT rate is 25%.

Latency: <1ms Edge Availability: 99.99% Standard: VIES / EU-2026 (HR) In-Memory Execution
Interactive Edge Workbench

⚡ Live Croatian VAT Number (OIB) Validator & VIES Check Interactive Workbench

Test real-time validation and schema parsing for Croatian VAT Number (OIB) Validator & VIES Check directly in your browser. Runs in sub-5ms with zero setup.

32KB Demo Cap 60 req/min Burst <2ms V8 Compute Zero Data Retention
input.txt 0 B
output.json demo-ready
Status: Ready
{
  "status": "Click RUN VALIDATION to execute on the Cloudflare edge..."
}
Sandbox Quota: Free Tier (50 reqs/mo) • Production keys from $29/mo Get Free Sandbox Key →
Need 512KB+ Payloads, High-Throughput & 99.9% Production SLA?
Direct API keys include pooled monthly quotas, zero cold-starts, and HIPAA BAA eligibility on the Mega tier.
Get Production API Key →
LLM / MCP
Prompt-Ready Specification for AI Agents llms.txt
Structured format rules and schemas optimized for LLM coding agents and Model Context Protocol tooling.
Raw .md
Official Standard & Validation Protocol Authority: European Commission Taxation & Customs Union (VIES) ↗

Quick Summary: Instant sub-1ms offline checksum validation, syntax verification, and 2026 tax rate lookup for Croatia (HR) VAT numbers. Validates strictly against EU Council Directive 2006/112/EC with sub-5ms in-memory response times.

Latency
<1ms Edge
Standard
VIES / EU-2026 (HR)
Version
Max Payload
512 KB
Privacy
In-Memory (0 bytes stored)

Specification & Structural Breakdown

Technical Summary: Validates strictly against EU Council Directive 2006/112/EC. Payloads are parsed in memory and return clean, typed JSON in milliseconds with zero data logged.

In Croatia, the Value Added Tax (VAT) identification number begins with the country prefix 'HR', followed by the national format: 11 digits (OIB number).

The number format is governed by national tax authorities and verified via strict syntax and structural pattern matching.

For 2026 tax calculations, the standard VAT rate in Croatia is 25%, with applicable reduced rates of 13%, 5%.

ParameterValueDetails
Country PrefixHRISO 3166-1 alpha-2 / VIES code
Local Identifier NameOIBNational statutory tax terminology
Format Structure11 digits (OIB number)National syntax specification
Checksum AlgorithmFormat & regex validationOffline check digit formula
2026 Standard VAT Rate25%Standard statutory rate
2026 Reduced VAT Rates13%, 5%Applicable reduced & super-reduced rates

Parsed JSON Response Model

The edge microservice transforms input payloads into strongly-typed hierarchical JSON envelopes with sub-5ms latency:

HTTP 200 JSON Response Envelope
{
  "valid": true,
  "countryCode": "HR",
  "countryName": "Croatia",
  "vatNumber": "HR123456789",
  "syntaxValid": true,
  "checksumValid": true,
  "rates": {
    "standardRate": 25,
    "reducedRates": [
      13,
      5
    ],
    "effectiveYear": 2026
  }
}

Copy-Paste Integration Code (6 Languages)

Integrate Croatian VAT Number (OIB) Validator & VIES Check directly into your production application with native, zero-dependency code snippets in cURL, Node.js, Python, Go, C#, and a ready-to-paste Claude prompt. Get a free API key → (no credit card required):

curl --request POST \
  --url "https://api.stanzaapi.com/vat-validator/api/v1/vat/validate" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data '{
  "vatNumber": "DE123456789"
}'
const response = await fetch("https://api.stanzaapi.com/vat-validator/api/v1/vat/validate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "x-api-key": process.env.API_KEY || "YOUR_API_KEY"
  },
  body: JSON.stringify({
  "vatNumber": "DE123456789"
})
});

const data = await response.json();
console.log(data);
import requests
import json

url = "https://api.stanzaapi.com/vat-validator/api/v1/vat/validate"
headers = {
    "Content-Type": "application/json",
    "x-api-key": "YOUR_API_KEY"
}
payload = {
    "vatNumber": "DE123456789"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	url := "https://api.stanzaapi.com/vat-validator/api/v1/vat/validate"
	payload := []byte(`{"vatNumber":"DE123456789"}`)

	req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payload))
	req.Header.Add("Content-Type", "application/json")
	req.Header.Add("x-api-key", os.Getenv("API_KEY"))

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

class Program
{
    static async Task Main()
    {
        using var client = new HttpClient();
        client.DefaultRequestHeaders.Add("x-api-key", Environment.GetEnvironmentVariable("API_KEY") ?? "YOUR_API_KEY");

        var json = @"{""vatNumber"":""DE123456789""}";
        var payload = new StringContent(json, Encoding.UTF8, "application/json");

        var response = await client.PostAsync("https://api.stanzaapi.com/vat-validator/api/v1/vat/validate", payload);
        var content = await response.Content.ReadAsStringAsync();
        Console.WriteLine(content);
    }
}
Integrate the StanzaAPI vat-validator micro-API.

Endpoint: POST https://api.stanzaapi.com/vat-validator/api/v1/vat/validate
Auth header: x-api-key: YOUR_API_KEY
Content-Type: application/json
Request body:
{
  "vatNumber": "DE123456789"
}

Rules:
- Send the request with a 2-second timeout.
- Parse the standard envelope { success, data, meta: { latency_ms, version } }.
- On failure, read { success: false, error, code } and branch on the code.
- Do not retry 4xx responses; surface the error code to the caller.
- Treat invalid-but-well-formed payloads as HTTP 200 with data.valid === false.

Frequently Asked Questions & Technical Notes

What is the standard VAT rate in Croatia for 2026?

The standard VAT rate in Croatia is 25%. Certain qualifying goods and services are eligible for reduced rates of 13%, 5%.

What is the official structure of a Croatia (HR) VAT number?

A valid Croatia VAT number begins with the country code 'HR', followed by 11 digits (OIB number). Known locally as OIB, it is used for domestic invoicing and intra-EU cross-border trade.

Can Croatia VAT numbers be validated offline without VIES downtime?

Yes. Our API executes deterministic mathematical checksums and regex format rules at the Cloudflare edge in <1ms, shielding your checkout flow from slow or offline European Commission VIES servers.

How do I verify if a Croatia company is eligible for cross-border zero-rated B2B invoicing?

Under EU Directive 2006/112/EC, intra-community supply of goods and services is zero-rated when both seller and buyer have valid VIES VAT registrations. Validating the Croatia VAT check digit and syntax confirms compliance prior to transaction settlement.

Related EU & UK VAT Validator & Rate Engine API Formats

Explore sibling specifications and standards in the same developer cluster:

Complementary Enterprise APIs

Seamlessly orchestrate data pipelines across adjacent financial, regulatory, and supply-chain protocols:

All EU & UK VAT Validator & Rate Engine API Formats & Specifications (57) Directory Index ↓
EU VAT Rates 2026: Standard & Reduced Rates for All 28 Countries Austrian VAT Number (UID) Validator & VIES Check Belgian VAT Number (BTW/TVA) Validator & VIES Check Bulgarian VAT Number (ДДС / ЕИК) Check, Format & Rates 2026 Cyprus (CY) VAT Validator & VIES Check Czechia (CZ) VAT Validator & VIES Check German VAT Number (USt-IdNr) Validator & Free VIES Check Danish VAT Number (CVR) Check, Format & VIES Validator 2026 Estonia (EE) VAT Validator & VIES Check Greek VAT Number (AFM / ΑΦΜ) Check, Format & Rates 2026 Spanish VAT (NIF/CIF) Validator & VIES Check Finland (FI) VAT Validator & VIES Check French VAT Number (Numéro TVA) Validator & VIES Check UK VAT Number Check & VIES Lookup | HMRC Validator Croatian VAT Number (OIB) Validator & VIES Check Hungarian VAT Number (Adószám) Check, Format & Rates 2026 Irish VAT Number Check & VIES Validator Italian VAT (Partita IVA) Number Check, Format & Validator Lithuania (LT) VAT Validator & VIES Check Luxembourg (LU) VAT Validator & VIES Check Latvia (LV) VAT Validator & VIES Check Malta (MT) VAT Validator & VIES Check Dutch VAT Number (Btw-nummer) Validator & VIES Check Polish VAT Number (NIP) Validator & VIES Check Portugal (PT) VAT Validator & VIES Check Număr TVA & VAT România (CIF/CUI) Validator & ANAF Check Swedish VAT Number (Momsnr) Validator & VIES Check Slovenia (SI) VAT Validator & VIES Check Slovakia (SK) VAT Validator & VIES Check Austria VAT Rate 2026 — Standard & Reduced Rates (AT) Belgium VAT Rate 2026 — Standard & Reduced Rates (BE) Bulgaria VAT Rate 2026 — Standard & Reduced Rates (BG) Cyprus VAT Rate 2026 — Standard & Reduced Rates (CY) Czechia VAT Rate 2026 — Standard & Reduced Rates (CZ) Germany VAT Rate 2026 — Standard & Reduced Rates (DE) Denmark VAT Rate 2026 — Standard & Reduced Rates (DK) Estonia VAT Rate 2026 — Standard & Reduced Rates (EE) Greece VAT Rate 2026 — Standard & Reduced Rates (EL) Spain VAT Rate 2026 — Standard & Reduced Rates (ES) Finland VAT Rate 2026 — Standard & Reduced Rates (FI) France VAT Rate 2026 — Standard & Reduced Rates (FR) United Kingdom VAT Rate 2026 — Standard & Reduced Rates (GB) Croatia VAT Rate 2026 — Standard & Reduced Rates (HR) Hungary VAT Rate 2026 — Standard & Reduced Rates (HU) Ireland VAT Rate 2026 — Standard & Reduced Rates (IE) Italy VAT Rate 2026 — Standard & Reduced Rates (IT) Lithuania VAT Rate 2026 — Standard & Reduced Rates (LT) Luxembourg VAT Rate 2026 — Standard & Reduced Rates (LU) Latvia VAT Rate 2026 — Standard & Reduced Rates (LV) Malta VAT Rate 2026 — Standard & Reduced Rates (MT) Netherlands VAT Rate 2026 — Standard & Reduced Rates (NL) Poland VAT Rate 2026 — Standard & Reduced Rates (PL) Portugal VAT Rate 2026 — Standard & Reduced Rates (PT) Romania VAT Rate 2026 — Standard & Reduced Rates (RO) Sweden VAT Rate 2026 — Standard & Reduced Rates (SE) Slovenia VAT Rate 2026 — Standard & Reduced Rates (SI) Slovakia VAT Rate 2026 — Standard & Reduced Rates (SK)