Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

IBAN (IbanGenerator)

The IBAN generator generates a valid International Bank Account Number (IBAN).

The metadata object is populated from IbanMetadata object. It includes:

  • preserveCountryCode - Whether to preserve the original country code in the generated value.

  • preserveBankCode - Whether to preserve the original bank code in the generated value. Note that if you preserve the bank code, then you must preserve the country code.

If the original values are not IBANs, then do not enable these options.

Here is the basic structure of a link object for the IBAN generator.

{
  "schema": "string",
  "table": "string",
  "column": "string",
  "path": "string",  //JSON fields only
  "dataType": "string",  //MongoDB, Amazon DynamoDB, and JSON fields only
  "metadata": {  
    "presetId": "string",
    "generatorId": "IbanGenerator",
    "encryptionProcessor": "x-on", //To use configured Structural data encryption
    "customValueProcessor": "string" //If custom value processor applied
    "preserveCountryCode": boolean,
    "preserveBankCode": boolean, // If true, then preserveCountryCode is automatically true
    "replaceInvalidValues": boolean, // Whether to generate values for invalid source values.
    "fallbackCountryCode": "string", // When replaceInvalidValues is true, the country code to use in the generated values.
    "replaceNullValues": boolean, // When replaceInvalidValues is true, whether to also replace NULL values.
    "isConsistent": boolean
  }
}

Example replacement

The following example generates IBAN values that preserve the bank code and country code from the original values.

Invalid values are replaced with values that use the GB country code (for Great Britain), and NULL values are not replaced.

Consistency is not enabled.

Last updated

Was this helpful?