Datoteca — API Reference
    Preparing search index...

    Function generarRutEmpresa

    • Genera un RUT de persona jurídica / empresa (rango 50.000.000-99.999.999).

      Generates a legal-entity/company RUT (range 50,000,000-99,999,999).

      Parameters

      • rng: Rng

        Generador de números aleatorios determinístico. / Deterministic random number generator.

      • options: RutOptions = {}

        Formato de salida y si incluir el dígito verificador. / Output format and whether to include the check digit.

      Returns string

      El RUT generado como string, en el formato pedido. / The generated RUT as a string, in the requested format.