# US Employer Identification Number (EIN)

## Availability

[\[SINCE Orbeon Forms 2024.1.2\]](https://doc.orbeon.com/release-notes/orbeon-forms-2024.1.2)

## What it does

This component represents a US Employer Identification Number (EIN).

<figure><img src="https://4129616727-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LEkBiSDvlXs3VWiO0Zu%2Fuploads%2Fgit-blob-cc862b24bea27ed97cd4324e6480fd5b69de3786%2Fxbl-us-ein-edit.webp?alt=media" alt="" width="220"><figcaption><p>US Employer Identification Number (EIN)</p></figcaption></figure>

It allows the user to enter an Employer Identification Number in the format `12-3456789`, with or without the dash.

* The user input is sanitized to remove any non-digit characters.
* The user input is validated:
  * to ensure that it contains exactly 9 digits, otherwise the field value is considered invalid
* The value is formatted as `12-3456789` when displaying the value.
* The value is stored in the database as a string of 9 digits including two separator dashes, for example `12-3456789`.

*NOTE: Storing the value with dashes is a design choice which seems to match the most common usage.*

Unlike the [US Social Security Number (SSN)](https://doc.orbeon.com/form-runner/component/us-ssn), the EIN does not have any additional options for obscuring or revealing the value, as it is considered less sensitive than a Social Security Number.

## See also

* [US Phone Number](https://doc.orbeon.com/form-runner/component/us-phone)
* [US Social Security Number (SSN)](https://doc.orbeon.com/form-runner/component/us-ssn)
* [US State](https://doc.orbeon.com/form-runner/component/us-state)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.orbeon.com/form-runner/component/us-ein.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
