> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Variants data set

> Variants data set columns for commercial invoice processing, mapping vendor details like VATID, IBAN, and address to Document Definition fields.

The **Variants** data set contains information about vendor companies. This data set is used for detecting the issuing company and checking extracted issuer information against a database.

<Note>
  Information from external databases can be used to facilitate the detection of company details on commercial invoices. Additionally, [field training](/flexi-capture/invoice-reader/ir-operator-training) becomes available if external databases are used. If no external databases are used, ABBYY FlexiCapture will use its built-in neural networks to detect company details.
</Note>

<table width="100%"><thead><tr><th><p><strong>Name</strong></p></th><th><p><strong>Type</strong></p></th><th><p><strong>Required/Optional</strong></p></th><th><p><strong>Description</strong></p></th><th><p><strong>Related field</strong></p></th></tr></thead><tbody><tr><td><p>Id</p></td><td><p>Text, not normalized</p></td><td><p>Required</p></td><td><p>Identifies the vendor in an external information system.</p><p><strong>Note: </strong> This is the unique ID of the entry in the data set if all of the vendor's business units use the same customer database. Otherwise, the entry in the data set is uniquely identified by a combination of <strong>Id</strong> and <strong>BusinessUnitId</strong>.</p></td><td><p>Vendor ID</p></td></tr><tr><td><p>Name</p></td><td><p>Text, normalized to Text</p></td><td><p>Optional</p></td><td><p>Contains the name of the vendor's company.</p></td><td><p>Name</p></td></tr><tr><td><p>Street</p></td><td><p>Text, normalized to Text</p></td><td><p>Optional</p></td><td><p>Contains the street portion of the vendor's address.</p></td><td><p>Street</p></td></tr><tr><td><p>City</p></td><td><p>Text, normalized to Text</p></td><td><p>Optional</p></td><td><p>Contains the city portion of the vendor's address.</p></td><td><p>City</p></td></tr><tr><td><p>State</p></td><td><p>Text, not normalized</p></td><td><p>Optional</p></td><td><p>Contains the state portion of the vendor's address.</p></td><td><p>State or Province</p></td></tr><tr><td><p>ZIP</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>Contains the postal code portion of the vendor's address.</p></td><td><p>Postal Code</p></td></tr><tr><td><p>CountryCode</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Required</p></td><td><p>Contains the country portion of the vendor's address.</p></td><td><p>Country</p></td></tr><tr><td><p>BusinessUnitId</p></td><td><p>Text, not normalized</p></td><td><p>Optional</p></td><td><p>The ID of the vendor's business unit (i.e. the recipient of the order).</p><p><strong>Note: </strong> If the vendor's business units use different customer databases, this data set field must be filled in, as the unique key of the entry in the data set will be a combination of <strong>BusinessUnitId</strong> and <strong>Id</strong>.</p></td><td><p>The Commercial Invoice Document Definition has no corresponding field. You can add one if required.</p></td></tr><tr><td><p>VATID</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>The vendor's tax ID.</p></td><td><p>Tax ID</p></td></tr><tr><td><p>NationalVATID</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>The vendor's national tax ID.</p></td><td><p>National Tax ID</p></td></tr><tr><td><p>IBAN</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>The vendor's International Bank Account Number.</p></td><td><p>IBAN</p></td></tr><tr><td><p>BankAccount</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>The vendor's bank account.</p></td><td><p>Bank Account</p></td></tr><tr><td><p>BankCode</p></td><td><p>Text, normalized to Alphanumeric code</p></td><td><p>Optional</p></td><td><p>The code of the vendor's bank.</p></td><td><p>Bank Code</p></td></tr></tbody></table>

For more information about detecting the main document fields, see [Detecting the main fields](/flexi-capture/invoice-reader/ir-search-fields).
