-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Manu
committed
May 20, 2018
1 parent
086a1e0
commit d89c4de
Showing
21 changed files
with
309 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
import os | |||
import pkg_resources | |||
|
|||
def get_sample_files(extension): | |||
compare_files = [] | |||
for path, subdirs, files in os.walk(pkg_resources.resource_filename(__name__, 'compare')): | |||
for file in files: | |||
if file.endswith(extension): | |||
compare_files.append(os.path.join(path, file)) | |||
return compare_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
[ | |||
{ | |||
"amount": 4.11, | |||
"amount_untaxed": 4.11, | |||
"currency": "USD", | |||
"date": "03/08/2014", | |||
"desc": "Invoice 42183017 from Amazon Web Services", | |||
"invoice_number": "42183017", | |||
"issuer": "Amazon Web Services", | |||
"lines": [ | |||
{ | |||
"description": "AWS Data Transfer", | |||
"price_unit": "0.01" | |||
}, | |||
{ | |||
"description": "Amazon Elastic Compute Cloud", | |||
"price_unit": "1.87" | |||
}, | |||
{ | |||
"description": "Amazon Glacier", | |||
"price_unit": "2.22" | |||
}, | |||
{ | |||
"description": "Amazon Simple Storage Service", | |||
"price_unit": "0.01" | |||
} | |||
], | |||
"partner_name": "Amazon Web Services, Inc.", | |||
"partner_website": "aws.amazon.com" | |||
} | |||
] |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
[ | |||
{ | |||
"amount": 319.0, | |||
"currency": "INR", | |||
"date": "20/10/2015", | |||
"desc": "Invoice #BLR_WFLD20151000982590 from Flipkart", | |||
"invoice_number": "#BLR_WFLD20151000982590", | |||
"issuer": "Flipkart", | |||
"order_id": "OD304175096047380001" | |||
} | |||
] |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,56 @@ | |||
[ | |||
{ | |||
"amount": 34.73, | |||
"amount_untaxed": 34.73, | |||
"currency": "EUR", | |||
"date": "07/05/2014", | |||
"desc": "Invoice 30064443 from QualityHosting AG", | |||
"invoice_number": "30064443", | |||
"issuer": "QualityHosting AG", | |||
"lines": [ | |||
{ | |||
"desc": "Small Business StandardExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_strukan\n01.05.14-31.05.14", | |||
"pos": "1", | |||
"price": 3.89, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business QualityExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_schneider\n01.05.14-31.05.14", | |||
"pos": "2", | |||
"price": 5.39, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business QualityExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_minar\n01.05.14-31.05.14", | |||
"pos": "3", | |||
"price": 5.39, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business QualityExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_mayr\n01.05.14-31.05.14", | |||
"pos": "4", | |||
"price": 5.39, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business QualityExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_jenewein\n01.05.14-31.05.14", | |||
"pos": "5", | |||
"price": 5.39, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business QualityExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_jauernik\n01.05.14-31.05.14\nQualityHosting AG - Uferweg 40-42 - D-63571 Gelnhausen\niViveLabs Ltd.\n93B Sai Yu Chung\nYuen Long, N.T.\nHong Kong\nPos. Menge Beschreibung Rabatt % VK-Preis Zeilenbetrag\nOhne Ohne MwSt.\nMwSt.", | |||
"pos": "6", | |||
"price": 5.39, | |||
"qty": 1.0 | |||
}, | |||
{ | |||
"desc": "Small Business StandardExchange 2010\nGrundgeb\u00fchr pro Einheit\nDienst: OUDJQ_office\n01.05.14-31.05.14\n", | |||
"pos": "7", | |||
"price": 3.89, | |||
"qty": 1.0 | |||
} | |||
], | |||
"vat": "DE 232 446 240" | |||
} | |||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
[ | |||
{ | |||
"amount": 29.99, | |||
"amount_untaxed": 24.99, | |||
"currency": "EUR", | |||
"date": "02/07/2015", | |||
"date_due": "2015-07-05 00:00:00", | |||
"desc": "Invoice 562044387 from Free", | |||
"invoice_number": "562044387", | |||
"issuer": "Free", | |||
"vat": "FR60421938861" | |||
} | |||
] |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
[ | |||
{ | |||
"amount": 1939.0, | |||
"currency": "INR", | |||
"date": "31/12/2017", | |||
"desc": "Invoice IBZY2087 from OYO", | |||
"invoice_number": "IBZY2087", | |||
"issuer": "OYO" | |||
} | |||
] |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-39.9 KB
invoice2data/test/pdfs/2015-01-29 PAYPAL ENVATO MKPL EN 4029357733 AU.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.