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

# EIN Document Verification Result

> Response schema for EIN document verification checks

The EIN Document Verification check returns a detailed analysis of the provided EIN documents and verification results. The check result will be returned in the `payload` field of the check result object.

## Check ID

`kyb.ein_document_verification`

## Response Schema

<ResponseField name="type" type="string" required>
  Type identifier "KYBEINDocumentVerificationResult"
</ResponseField>

<ResponseField name="verified_ein" type="string">
  The verified EIN number extracted from the document
</ResponseField>

<ResponseField name="verified_business_name" type="string">
  The verified business name extracted from the document
</ResponseField>

<ResponseField name="verified_address" type="object">
  The verified business address extracted from the document

  <Expandable title="properties">
    <ResponseField name="type" type="string">
      Type identifier "Address"
    </ResponseField>

    <ResponseField name="street_1" type="string">
      First line of street address
    </ResponseField>

    <ResponseField name="street_2" type="string">
      Second line of street address (optional)
    </ResponseField>

    <ResponseField name="city" type="string">
      City name
    </ResponseField>

    <ResponseField name="state" type="string">
      State or province
    </ResponseField>

    <ResponseField name="postal_code" type="string">
      Postal or ZIP code
    </ResponseField>

    <ResponseField name="country_code" type="string">
      Country code (optional)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="document_date" type="string">
  The date on the document in YYYY-MM-DD format
</ResponseField>

<ResponseField name="valid_documents" type="array">
  List of valid EIN documents that were successfully verified

  <Expandable title="properties">
    <ResponseField name="type" type="string">
      Type identifier "EINDocumentExtractionResult"
    </ResponseField>

    <ResponseField name="is_valid_document" type="boolean">
      Whether the document is a valid EIN document
    </ResponseField>

    <ResponseField name="ein" type="string">
      The EIN number extracted from the document
    </ResponseField>

    <ResponseField name="business_name" type="string">
      The business name extracted from the document
    </ResponseField>

    <ResponseField name="address" type="object">
      The business address extracted from the document

      <Expandable title="properties">
        <ResponseField name="type" type="string">
          Type identifier "Address"
        </ResponseField>

        <ResponseField name="street_1" type="string">
          First line of street address
        </ResponseField>

        <ResponseField name="street_2" type="string">
          Second line of street address (optional)
        </ResponseField>

        <ResponseField name="city" type="string">
          City name
        </ResponseField>

        <ResponseField name="state" type="string">
          State or province
        </ResponseField>

        <ResponseField name="postal_code" type="string">
          Postal or ZIP code
        </ResponseField>

        <ResponseField name="country_code" type="string">
          Country code (optional)
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="document_date" type="string">
      The date on the document in YYYY-MM-DD format
    </ResponseField>

    <ResponseField name="document_type" type="string">
      The type of IRS document (e.g., "IRS Notice CP575A")
    </ResponseField>

    <ResponseField name="irs_logo_valid" type="boolean">
      Whether the IRS logo is present and valid
    </ResponseField>

    <ResponseField name="form_layout_valid" type="boolean">
      Whether the document layout matches official IRS forms
    </ResponseField>

    <ResponseField name="is_authentic_document" type="boolean">
      Whether the document appears to be authentic and unaltered
    </ResponseField>

    <ResponseField name="inspection" type="string">
      Detailed visual inspection results of the document
    </ResponseField>

    <ResponseField name="analysis" type="string">
      Detailed analysis of why the document is valid or invalid
    </ResponseField>

    <ResponseField name="summary" type="string">
      Summary of the document's contents and purpose
    </ResponseField>

    <ResponseField name="document" type="object">
      The original document metadata

      <Expandable title="properties">
        <ResponseField name="type" type="string">
          Type identifier "Document"
        </ResponseField>

        <ResponseField name="url" type="string">
          URL of the document
        </ResponseField>

        <ResponseField name="file_name" type="string">
          Name of the document file
        </ResponseField>

        <ResponseField name="source_type" type="string">
          Source type of the document (e.g., "file\_url")
        </ResponseField>

        <ResponseField name="description" type="string">
          Description of the document (optional)
        </ResponseField>

        <ResponseField name="num_pages" type="integer">
          Number of pages in the document (optional)
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="invalid_documents" type="array">
  List of invalid EIN documents that failed verification

  <Expandable title="properties">
    Same structure as valid\_documents
  </Expandable>
</ResponseField>

### Example Response

```json theme={null}
{
  "type": "KYBEINDocumentVerificationResult",
  "valid_documents": [
    {
      "type": "EINDocumentExtractionResult",
      "irs_logo_valid": true,
      "form_layout_valid": true,
      "is_authentic_document": true,
      "inspection": "The input document is a CP575A notice. The IRS logo in the top left corner is identical to the example. The overall layout of the form, including the placement of sections and information, matches the example CP575. The content is consistent with an IRS EIN notice, including the EIN, business name, and address. No obvious signs of alteration or forgery were detected.",
      "is_valid_document": true,
      "analysis": "This document is a valid CP575A notice issued by the IRS. It contains all the required elements including the EIN, business name, address, and document date. The format and content are consistent with authentic IRS EIN assignment notices.",
      "summary": "This document is an official IRS CP575A notice assigning an Employer Identification Number (EIN) to Parcha Labs Inc. It provides the EIN, business details, and important tax filing information.",
      "ein": "92-3265708",
      "business_name": "PARCHA LABS INC",
      "address": {
        "type": "Address",
        "street_1": "746 4TH AVE",
        "street_2": null,
        "city": "SAN FRANCISCO",
        "state": "CA",
        "country_code": null,
        "postal_code": "94118"
      },
      "document_date": "2023-03-31",
      "document_type": "IRS Notice CP575A",
      "document": {
        "type": "Document",
        "url": "https://storage.googleapis.com/parcha-ai-public-assets/CP575Notice_Parcha.pdf",
        "file_name": "Parcha_EIN.pdf",
        "source_type": "file_url"
      }
    }
  ],
  "invalid_documents": [],
  "verified_ein": "92-3265708",
  "verified_business_name": "PARCHA LABS INC",
  "verified_address": {
    "type": "Address",
    "street_1": "746 4TH AVE",
    "street_2": null,
    "city": "SAN FRANCISCO",
    "state": "CA",
    "country_code": null,
    "postal_code": "94118"
  },
  "document_date": "2023-03-31"
} 
```
