Open-source SDK · Apache 2.0

Documents in. Structured data out. In your language.

Add document AI and OCR to your own application in minutes. Send a page image to the Formalini API and get structured JSON back — invoices, receipts, forms, handwriting.

Languages

PythonJavaScriptPHPC# / .NETJavaGoRubyRustcURL

Each SDK covers listing, creating, uploading, retrieving and correcting documents, plus workflow event dispatch.

Process your first document

curl -X POST "https://api.formalini.com/api/public/v1/documents/upload" \
  -H "Authorization: Bearer $FORMALINI_API_KEY" \
  -F "file=@invoice-page-1.jpg" \
  -F "name=Invoice example"

The upload endpoint accepts JPEG, PNG, WebP and HEIC page images. Keep API keys on your server — never in browser code.

PDF to JSONInvoice data extractionReceipt data extractionForm data extraction