Legal Information Extractor
Organizations generally have documents showing legal status such as Akta Pendirian, Akta Perubahan, and Akta Perjanjian. These documents usually contain long paragraphs. Therefore, the extraction of important information for the sake of metadata or storage in the database becomes very crucial. This extraction is carried out by the Legal Information Extractor module.
Legal Information Extractor is able to read legal documents in either PDF or TXT format. This module will summarize information including the name of the notary, Akta number, type of company, capital information, etc.
Illustration
Request Method
POST
Request URL
1 |
|
Request Header
Key | Data Type | Description | Value |
---|---|---|---|
Content-Type | File | Media type of the body sent to the API. Only Support 'multipart/form-data' | multipart/form-data |
x-api-key | string | API Key Acquired from Prosa API Console | [YOUR_API_KEY] |
Request Body
The request body accepts the following parameter(s) in form data format.
Parameter | Data Type | Description | Auto | Required |
---|---|---|---|---|
file | File | File to be processed | True | |
document_type | Text | Legal document type to be processed | True |
Legal Document Type
Type | Description |
---|---|
akta | Legal Document of Company |
Information Extraction Result
Akta
Field | Description |
---|---|
informasi badan usaha | Information about company. |
informasi akta | Information about deed document. |
modal dasar | Information about basic company shares. |
modal ditempatkan | Information about issued company shares. |
pengesahan badan hukum | Information about legalization date and number |
informasi jenis usaha | Information about company business |
pemegang saham | Information about shareholders of the company. |
pengurus perusahaan | Information about stakeholders of the company. |
tugas dan wewenang | Duties and powers given to stakeholders. |
as_signer_dan_as_approval | signer and approval information of position |
Field | Sub field |
---|---|
informasi badan usaha | kedudukan_perusahaan nama_perusahaan. |
informasi akta | jenis perubahan nama_notaris tanggal_akta nomor_sk tanggal_sk |
modal dasar | jumlah_modal_dasar jumlah_saham nominal_per_lembar_saham |
modal ditempatkan | jumlah_modal_ditempatkan jumlah_saham |
pengesahan badan hukum | nomor_penetapan tanggal_penetapan tanggal_pengesahan |
informasi jenis usaha | informasi pasal |
pemegang saham | nama nominal saham |
pengurus perusahaan | alamat jabatan ktp nama_pengurus tanggal_lahir tempat_lahir |
tugas dan wewenang | informasi pasal posisi |
as signer dan as approval | posisi informasi_tambahan as_signer as_approval |
Document Format
Type | Description |
---|---|
json | Json format of ocr result. |
Example
Sample Request (form-data)
1 2 |
|
Sample Request File JSON Format
Here is a example json file, this json is a parse result pdf file with ocr. We recommended to use pdf file, instead json file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
JSON Requests Structure
key | Description |
---|---|
result | Json key to save parse result. |
value | Description |
---|---|
list in list | Ocr result save to list in list, each list is extraction result of each page. |
Sample Response (JSON)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
|
Version History
Below is the version history for our Legal Information Extractor API with Ideal Data.
Version | Accuracy with Ideal Data | Accuracy with Noisy Data | Document Type | Test Data |
---|---|---|---|---|
1.0 | 93.54% | - | AKTA | 257 documents |
Questions?
We do our best to make this documentation clear and user friendly, but if you have unanswered questions, please send email to support@prosa.ai.