Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARFetchFileNumberInfo Function

Overview

The EDGARFetchFileNumberInfo function queries the EDGAR Archive by file number and reads the header to retrieve company information.

Syntax/Parameters

Syntax

string[] = EDGARFetchFileNumberInfo ( string file_nunber );

Parameters

file_number

A string containing an SEC file number.

Return Value

A string array containing company information. On error, the list will be empty. Use the GetLastError function to retrieve error details. If the file number does not exist, ERROR_REMOTE (0x88000000) with ERROR_FILE_NOT_FOUND (2) will be returned.

Remarks

This function “scrapes” the SEC’s public side EDGAR Archive and returns a listing of matching files for a specific file number.

  Name   Description  
  General Information      
    CompanyName   Company name.  
    CIK   Company CIK (matches requested value but will be zero filled).  
    FileNumber   Primary File Number. Note that some entities may have multiple file numbers.  
    SIC   Standing Industrial Classification Code.  
    MailingAddress   A combined address in the form of 2 lines and a third address line containing city, state, zip or foreign postal information. The lines are separated by a CR (0x0D) character. There is no fixed format.  
    BusinessAddress   A combined address in the form of 2 lines and a third address line containing city, state, zip or foreign postal information. The lines are separated by a CR (0x0D) character. There is no fixed format.  
    PhoneNumber   Phone number.  
    SOI   State of Incorporation. Unlike other EDGAR values, this is spelled out and not a code.  
    FYE   Fiscal Year End.  

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic

Page revised 2024-12-13