Introducing our smartDocSplit, which automates the task of splitting the documents between lot of joined pages within a big document, providing users with a more efficient and accurate way to process documents. Our model is capable of handling any document type, and provides extracted documents with their exact location where they begin and end. This means that you can save time and reduce the risk of errors that can occur with manual processing.

By utilizing our AI solution, you can experience faster and more accurate processing of documents, freeing up valuable time and resources that can be used elsewhere. With our model, we offer a valuable tool for anyone who regularly works with document processing, providing a more streamlined and effective solution for the Page Stream Segmentation problem. Try our smartDocSplit solution for this problem today and see how it can help improve your document processing efficiency and accuracy.


Max File Size is 8 MB
Max requests per second: 1
Processing Time: Up to the number of characters in an image


All rights reserved by Laigo

API Call

Requests to the smartDocSplit API must be authenticated. Requests are authenticated by providing an “Authorization” header with an access token. Access tokens are obtained by calling the endpoint shown below and then the required secrets are available in the API tab for your task.


Upload a file


Parameters Description
A JWT issued to your application by the Laigo identity provider.
The path to the image file to use as input

Example Response

    'class': 'new_document'

Status code Message
Request was successfully
Created – Upload was successfully
Bad Request – missing or wrong Parameter

Error Messages

While using smartDocSplit API there could be some error messages, that are done for file validation checking:

Error Message Description
Please send the correct input file format!
The file format is not (PNG,JPG) or (PDF)
Please send a file that doesn’t exceed the size limit!
The file size is more than the allowed limit (number)
Please make sure that your file doesn’t contain any suspicious malware data!
The file contains suspicious data, then security check system warns you
You have ran out of Laigos, renew your subscription to continue using Laigo APIs!
All of your Laigos are used, please renew your subscription

Example (step by step)

Shortly here it is explained how the smartDocSplit can solve your problem. On the left side you have one big pdf with joined documents inside, where you have no clue of how many documents you have, where do they start and where do they end. By only sending this document to our smartDocSplit, it can solve you the whole process by extracting the documents that are inside in a fully automated process which uses AI.

1.First you need to have a document sample that you want to use with smartDocSplit. It can be any document that can have more joined pages inside. You can send the pdf to our API and get back the extracted documents based on where do they start and end, and also their type of document.

2.Inorder to use our smartDocSplit tool you need to have an API key which can be generated from here

If you don’t have an account, first you need to set up your account then you can generate the API key. Create an account here.

3. After you have generated your API key, then you can use smartDocSplit in any popular programming language, where you can find the code snippets here.

Credits (Laigo)

The calcualtion of processing a page:

Page Laigos

EU-AI Act Reports

TECHNICAL DOCUMENTATION referred to in Article 11(1)

1. A general description of the AI system including:

(a) its intended purpose,

The AI system smartDocSplit is splitting joined documents in English and German, regarding their start and ending of document and also the type of document. The smartDocSplit is a general solution and not limited to any specific document type, it can be any document such as: invoice, receipt, letter, email, contract etc.

the person/s developing the system the date and the version of the system;

The AI system smartDocSplit was developed at

Laigo GmbH
Eckenerstr. 65
88046 Friedrichshafen


Laigo DOO
Cevahir Sky City, 16B
Municipality Aerodrom, 1000 Skopje
North Macedonia

Releasing Version 1.0 of the AI system, on the 20.12.2022.

b) how the AI system interacts or can be used to interact with hardware or software that is not part of the AI system itself, where applicable;

The AI system is integrated on the webpage and can be called by using API. It is served on Laigo internal servers.

(c) the versions of relevant software or firmware and any requirement related to version update;


(d) the description of all forms in which the AI system is placed on the market or put into service;

The AI system is integrated on the webpage and can be called by using API. It is served on Laigo internal servers.

(e) the description of hardware on which the AI system is intended to run;

The AI system smartDocSplit is running on Laigo internal server, located in Germany.

(f) where the AI system is a component of products, photographs or illustrations showing external features, marking and internal layout of those products;

The AI system smartDocSplit is deployed on Laigos internal server, located in Germany. It is part of a Software as a Service product. 

(g) instructions of use for the user and, where applicable installation instructions;

All instructions of the product usage are mentioned on Laigos homepage

2. A detailed description of the elements of the AI system and of the process for its development, including:

(a) the methods and steps performed for the development of the AI system, including, where relevant, recourse to pre-trained systems or tools provided by third parties and how these have been used, integrated or modified by the provider;

The AI system smartDocSplit is based on the Open Source Model Donut( Documenunderstanding transformer) from Clova AI Research. At Laigo, we fine-tuned with our internal and public data, with documents in English and German language. The document types that fine-tuned with include: invoice, receipts, letters and contracts. After the fine tuning process, we also included a rule based approach, which for we use to make the final splitting on the documents.

(b) the design specifications of the system,

No modifications has been done to the original neural network architecture. Only the output classes are changed.

namely the general logic of the AI system and of the algorithms;

Algorithm and approach can be found here:, 20.12.2022.

the key design choices including the rationale and assumptions made, also with regard to persons or groups of persons on which the system is intended to be used;

No design choices or modifications are done from the existing system by Laigo GmbH.

the main classification choices;

Laigo GmbH classifies this AI system with “no risk”, since none of the EU requirements are applicable for this use case.

what the system is designed to optimise for and the relevance of the different parameters;

The AI system is designed to do page stream segmentation from documents automatically with some  rule based approach. With this technology and approach a higher accuracy can be reached compared to classical rule based approaches.


(c) the description of the system architecture explaining how software components build on or feed into each other and integrate into the overall processing; the computational resources used to develop, train, test and validate the AI system;

The AI system “Donut” by Clova AI Research has been served by using model serving API. Training, validation and testing of the AI model are done by Clova AI Research.





3. Detailed information about the monitoring, functioning and control of the AI system, in particular with regard to:

its capabilities and limitations in performance, including the degrees of accuracy for specific persons or groups of persons on which the system is intended to be used and the overall expected level of accuracy in relation to its intended purpose;

Especially, if the quality of the image and the resolution is bad, text can be missed or misinterpreted in a wrong language. This appears also, if the orientation of the picture/PDF is not aligned to the orientation of the text. With this, it is possible that documents are classified not properly.

The overall accuracy is independent of specific persons or groups of persons which the system is intended to be used.

the foreseeable unintended outcomes and sources of risks to health and safety, fundamental rights and discrimination in view of the intended purpose of the AI system;

No risk to health and safety expected. Fundamental rights are respected and no discrimination of certain individuals considered.



5. A description of any change made to the system through its lifecycle;

As the AI system has been released with the first version, no changes appeared so far. 





1. AI system name and type and any additional unambiguous reference allowing identification and traceability of the AI system;

The AI system is called “smartDocSplit” and is based on Clova AI Research open source model “Donut”. 

Information about Donut can be found in the research paper.
Changes, adaptions and interaction with Donut in the context of “smartDocSplit” can be found on

2. Name and address of the provider or, where applicable, their authorised representative;

Laigo GmbH .
Eckenerstr. 65
88046 Friedrichshafen

Representative: Yvonne Gaissmaier





7. Place and date of issue of the declaration, name and function of the person who signed it as well as an indication for, and on behalf of whom, that person signed, signature.

Friedrichshafen, 20.12.2022 Yvonne Gaissmaier 


1. Name, address and contact details of the provider;

Laigo GmbH
Eckenerstr. 65
88046 Friedrichshafen


3. Name, address and contact details of the authorised representative, where applicable;

Yvonne Gaissmaier
Eckenerstr. 65
88046 Friedrichshafen

4. AI system trade name and any additional unambiguous reference allowing identification and traceability of the AI system;

The AI system trade name is “smartDocSplit”.

5. Description of the intended purpose of the AI system;

The AI system smartDocSplit does page stream segmentation, which comes as a general solution for any document type and can solve this by using AI and rule based approach combined in a very efficient way.

6. Status of the AI system (on the market, or in service; no longer placed on the market/in service, recalled);

On the market



9. Member States in which the AI system is or has been placed on the market, put into service or made available in the Union;

The AI system is placed in Friedrichshafen, Germany.


11. Electronic instructions for use; this information shall not be provided for high-risk AI systems in the areas of law enforcement and migration, asylum and border control management referred to in Annex III, points 1, 6 and 7.

Any instructions for the usage of smartDocSplit can be found in

12. URL for additional information (optional).


Table of Contents

4. Run your code. You will receive a JSON response with the invoice details. See expected responses here.