Skip to content
HALOWERK

Datenwerk

tax id format

IdNr: 11 digits, no leading zero (except test numbers), exactly one digit twice or three times among the first ten (a triple must not stand in three consecutive positions), check digit per ISO/IEC 7064 MOD 11,10 as published in the ELSTER specification "Prüfung der Steuer- und Steueridentifikationsnummer" (status 02.09.2026, Bayerisches Landesamt für Steuern). Steuernummer: state formats on tax notices (e.g. FFF/BBB/UUUUP Bayern, FFF/BBBB/UUUP NRW) converted to FFFF0BBBUUUUP, formal rules.

POST https://daten.halowerk.com/v1/tax-id-format

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
valuestringYesIdNr or Steuernummer; digits with optional spaces, slashes or hyphens.
typestringNo
statestringNoFederal state code, required for Steuernummern in notice format.
tax_office_numberstringNoFour-digit federal tax office number (Bayern prints numbers without office part).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "pattern": "^[0-9][0-9 /\\-]{6,22}[0-9]$",
      "description": "IdNr or Steuernummer; digits with optional spaces, slashes or hyphens."
    },
    "type": {
      "type": "string",
      "enum": [
        "auto",
        "idnr",
        "steuernummer"
      ],
      "default": "auto"
    },
    "state": {
      "type": "string",
      "enum": [
        "BW",
        "BY",
        "BE",
        "BB",
        "HB",
        "HH",
        "HE",
        "MV",
        "NI",
        "NW",
        "RP",
        "SL",
        "SN",
        "ST",
        "SH",
        "TH"
      ],
      "description": "Federal state code, required for Steuernummern in notice format."
    },
    "tax_office_number": {
      "type": "string",
      "pattern": "^\\d{4}$",
      "description": "Four-digit federal tax office number (Bayern prints numbers without office part)."
    }
  }
}

Open original schema

Published input example

{
  "value": "198/815/08152",
  "state": "BY"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →