open-nav
    Preparing search index...

    Function parseTaxNumber

    • Split an eleven digit tax number into the three parts NAV's schema wants.

      Accepts the common written forms — 12345678-2-41, 12345678 2 41 and 12345678241 — because that is how the number appears on paper, and pasting it whole into taxpayerId is the mistake this avoids.

      Parameters

      • input: string

      Returns ParsedTaxNumber