Skip to content

Instantly share code, notes, and snippets.

@bzamecnik
Last active July 18, 2018 15:44
Show Gist options
  • Save bzamecnik/7413edd06087ab20f7a3bde06a12e003 to your computer and use it in GitHub Desktop.
Save bzamecnik/7413edd06087ab20f7a3bde06a12e003 to your computer and use it in GitHub Desktop.
# https://rossum.ai/developers#sign-in
export ROSSUM_API_KEY="xxxxxxxxxxxxxxxxxxxxxx_YOUR_ELIS_API_KEY_xxxxxxxxxxxxxxxxxxxxxxx"
pip install rossum
# Submit invoice for processing and save extracted values to invoice.pdf.json.
rossum extract invoice.pdf
Extracting document: invoice_somafm_4763.pdf
Processing document: ...... Done.
Web preview: https://rossum.ai/document/c9044479a961894c5c547021?apikey=W8lbrQ8rhxRbGLdILqrMindbNXlerrMznMZ1rvE6QX7RYKcHMgZYANTbMiMKNRzG
Language: eng
Currency: usd
Amount Due: "0.00" (97.37 %)
Amount Paid: "7.99" (78.22 %)
Amount Rounding: "7.99" (85.08 %)
Date Due: "2016-04-15" (95.50 %)
Invoice Identifier: "4763" (99.36 %)
Issue Date: "2016-04-15" (91.53 %)
Recipient Name: "Bohumir Zamecnik" (95.65 %)
Supplier Name: "SomaFM. com, LLC" (98.66 %)
Total Amount: "7.99" (97.94 %)
Extracted to: invoice_somafm_4763.pdf.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment