Skip to content

Commit 9323ffa

Browse files
authored
✨ add support for receipt v5 (#127)
1 parent 22925c3 commit 9323ffa

30 files changed

+340
-22
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from mindee import Client, documents
2+
3+
# Init a new client
4+
mindee_client = Client(api_key="my-api-key")
5+
6+
# Load a file from disk
7+
input_doc = mindee_client.doc_from_path("/path/to/the/file.ext")
8+
9+
# Parse the Receipt by passing the appropriate type
10+
result = input_doc.parse(documents.TypeReceiptV5)
11+
12+
# Print a brief summary of the parsed data
13+
print(result.document)

docs/predictions/standard/documents/eu/license_plate_v1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ License Plate V1
33

44
**Sample Code:**
55

6-
.. literalinclude:: /extras/code_samples/eu/license_plate_v1.txt
6+
.. literalinclude:: /extras/code_samples/license_plate_v1.txt
77
:language: Python
88

99
.. autoclass:: mindee.documents.eu.LicensePlateV1

0 commit comments

Comments
 (0)