Skip to content

TaxIdGenerator generator

Generate deterministic, country-flavored tax IDs without external data files.

Why: Use TaxIdGenerator for deterministic country-flavoured tax-ID fixtures when exact national validation is not required; use CPF or CNPJ for their supported Brazilian identifier shapes.

Category: finance.

Output: str.

1
<key name="value" generator="TaxIdGenerator(dataset='DE')"/>

Parameters

  • dataset: str | null; Default None — Country dataset controlling the prefix and numeric shape.