Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Mindee python SDK
# Mindee Python API Helper Changelog

## v2.0.0 (2022-02-14)

### New Features
* :sparkles: Allow using custom documents (API builder)

### :boom: Breaking Changes
* :recycle: `confidence` renamed to `probability` in the return fields to match API return
* :recycle: `probability` renamed to `confidence` in the return fields to match
API return
* :recycle: `Client` initialization reworked to be more extensible
* :recycle: Document loading and parsing reworked to separate arguments

Expand Down
4 changes: 2 additions & 2 deletions mindee/documents/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ def __str__(self) -> str:
self.invoice_date.value,
self.due_date.value,
self.supplier.value,
self.payment_details,
",".join([str(t.value) + " " + str(t.rate) + "%" for t in self.taxes]),
", ".join([str(p) for p in self.payment_details]),
", ".join([str(t.value) + " " + str(t.rate) + "%" for t in self.taxes]),
self.total_tax.value,
)
)
Expand Down