Optimize your data extraction process with the smartInvoice Application, a robust solution for invoice data extraction. The application allows for seamless extraction of important information such as the receiver and sender names and addresses, tax numbers, IBAN and BIC codes, invoice date, and invoice numbers and amounts with customizable percentage calculations. Trained on German and English data and with a range of file layouts and templates, the smartInvoice Application offers a highly effective and efficient means of streamlining your data extraction process.
Limitations
Max File Size is 10 MB
Max requests per second: 1
Processing Time: Up to the number of characters in an image
var client = new HttpClient();
var email = "my-email-here";
var outputFormats = "JSON";
var url = $"https://use.laigo.io/api/FileUpload/v1/Upload/smartInvoice?email={Uri.EscapeDataString(email)}&outputFormats={Uri.EscapeDataString(outputFormats)}";
var request = new HttpRequestMessage(HttpMethod.Post, url);
request.Headers.Add("Authorization", "Bearer my-accessToken-here");
var content = new MultipartFormDataContent();
content.Add(new StreamContent(File.OpenRead("my-file-location-here")), "file", "my-file-location-here");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
First you need to have a document sample that you want to use with smartInvoice. It can be any document type such as: invoice, receipt, letter, email etc. For e.g you can use the invoice letter below:
Run your code. You will receive a JSON response with the invoice details.