diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-28 17:41:50 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-28 17:41:50 +0200 |
| commit | a2299b0bae21c8f05f091732a78fc250cbd5e016 (patch) | |
| tree | b1de8319d1088b1209ba377665995b4543180d4b /docs | |
| parent | d8c4d84dc75300c6d4d8b0adceafa33741960b92 (diff) | |
openAI invoice importing v0.1
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/CHANGES.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 157b56e..1a46011 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -1,7 +1,25 @@ .. _changes: TODO: +for invoice importing using AI: + 4. find billing item tax rate based on paid tax vs total + 6. set document original and copy path (save file to zip first) + 7. create a new invoice ID + + 8. call ai_document_to_invoice in a thread & create a new UI page to show loading screen. + The user should not be able to add/update existing invoices but they can navigate to other screens + and come back to the loading screen. +- retrieve available balance from AI api & show in settings/services. +- let user choose the model to use in settings/services/ai +- real error logging for OpenAI and importing in general +- when importing an invoice: do not accept invoices for unsupported countries (yet) + +- log_set_depth function so data can be grouped +- move string function out of openAI.cpp into strops.cpp +- log elapsed time for ai requests - refactor _add functions to use _import functions +- _import functions should not check for validity and should never fail because of invalid data +- invalid invoices should be marked in the UI - write tests that check error handling for corrupt files. (e.g. references to tax rates, project and cost center that failed to load) - it is possible a referenced tax rate is loaded after an invoice is loaded. This means all invoices need to be recalculated after file load. (try to write a test for this). - invoice sequential number should be modifyable & checked for uniqueness (for external invoices being imported) |
