Commit Graph

174 Commits

Author SHA1 Message Date
dankito 8f2d0da57d Added numericCode and numericCodeAsString to Country, using display name from i18n Region (if available) and sorting it by English name 2024-12-13 00:35:04 +01:00
dankito 2dfe338a8c Updated to new k-i18n data 2024-12-13 00:07:08 +01:00
dankito 33c0dc9d01 Added numericCode to Currency 2024-12-13 00:01:35 +01:00
dankito 92785af8f5 Fixed country name for the few countries not in k-i18n Region 2024-12-12 22:35:51 +01:00
dankito 428d4040e6 Using now region names from k-i18n as Country name 2024-12-12 22:35:01 +01:00
dankito d923dcb3f0 Fixed alpha-2 iso code of North Macedonia 2024-12-12 22:31:21 +01:00
dankito cef6565053 Fixing name for the few currencies not known to k-i18n Currency 2024-12-12 22:19:51 +01:00
dankito af7260db70 Using now currency names from k-i18n Currency 2024-12-12 22:13:27 +01:00
dankito adf2fce145 Marking frequently used codes 2024-12-12 14:24:30 +01:00
dankito 18f819d86c Extracted class Row 2024-12-12 12:35:41 +01:00
dankito 1b6e753f3c Implemented calculating TotalAmounts from invoice items 2024-12-12 09:50:02 +01:00
dankito abf63e4492 Added additional information about sources and generation process to Code Lists doc 2024-12-04 23:31:11 +01:00
dankito 806bdc6e4d Using now Country and Currency enum to signal allowed values 2024-12-04 23:07:41 +01:00
dankito df9e554d3e Implemented mapping Currency codes 2024-12-04 22:51:07 +01:00
dankito 0fee651114 Mapped Mime type names 2024-12-04 22:06:58 +01:00
dankito d4cfd38ae1 Moved englishName and schemeId properties to the end (so that enums start with their code property) 2024-12-04 21:57:58 +01:00
dankito 6d3ba9657f Implemented parsing Country codes 2024-12-04 21:47:14 +01:00
dankito 6874567875 Implemented mapping "Invoice"|"Credit Note" to InvoiceTypeUseFor 2024-12-04 13:18:20 +01:00
dankito 83963c436f Implemented generating Code Lists Enums from CEF genericode files and Zugferd .xslx 2024-12-04 12:43:00 +01:00
dankito 861035e968 Implemented ZugferdExcelCodeListsParser to parse Code Lists .xslx delivered with Zugferd specification 2024-12-04 12:14:05 +01:00
dankito 697b5615dd Manually added TimeReferenceCode 2024-12-04 06:21:52 +01:00
dankito b47ee96183 Implemented parsing CEF (EU) genericode Code Lists to Kotlin enum classes 2024-12-04 05:39:57 +01:00
dankito b9d75a6423 Renamed customerReference to customerReferenceNumber 2024-12-02 22:36:37 +01:00
dankito 55427c68ff Added logoUrl 2024-12-02 22:27:56 +01:00
dankito ad23dc3fc3 Renamed totalAmounts to totals and added articleNumber to InvoiceItem 2024-12-02 17:59:13 +01:00
dankito e76a130a75 Extracted InvoiceDetails 2024-12-02 04:08:29 +01:00
dankito d8f707e5eb Extracted InvoiceDetails 2024-12-02 04:08:07 +01:00
dankito 68b1f56cfa Updated data model names according to ChatGPT suggestions 2024-12-02 03:52:26 +01:00
dankito 6a9ed9078e Implemented OpenHtmlToPdfHtmlToPdfConverter to convert HTML to PDF 2024-12-01 23:41:08 +01:00
dankito 8c4614fe9c Removed showDebugOutputOnConsole for checkCredentials() 2024-12-01 21:11:58 +01:00
dankito a944b4b69c Reversing messages order so that newest emails get fetched first 2024-12-01 21:11:07 +01:00
dankito ed5f272c07 Forgot to add showDebugOutputOnConsole 2024-11-30 21:10:24 +01:00
dankito e596b9483b Moved return types to models package 2024-11-30 21:08:11 +01:00
dankito 51d9bdd617 Implemented checkCredentials() 2024-11-30 21:05:59 +01:00
dankito 1024346b5f Implemented trying to read PdfInvoiceData from PDF attachments 2024-11-30 20:57:57 +01:00
dankito 1746346ceb connect() now opens folder and returns FetchEmailsStatus, added close() 2024-11-30 20:54:41 +01:00
dankito 52bf9daa7d Changed defaults for downloadMessageBody and downloadOnlyPlainTextOrHtmlMessageBody 2024-11-28 16:26:36 +01:00
dankito c516969cb0 Added properties to easy filter emails and attachments 2024-11-28 16:11:38 +01:00
dankito 8e461b43a5 Implemented option downloadOnlyMessagesNewerThan 2024-11-28 04:08:36 +01:00
dankito 7df4b944ee Fixed ensuring that extension is in lowercase 2024-11-28 03:53:27 +01:00
dankito f1f16e2e9e Using now messageId for FetchEmailError 2024-11-28 03:48:14 +01:00
dankito 54a5227fb7 Renamed FetchEmailsError to FetchEmailError 2024-11-28 03:41:14 +01:00
dankito 9480bc0282 Sped up fetching data 2024-11-28 02:52:29 +01:00
dankito 07046baa9c Raised Gradle heap size 2024-11-28 02:22:32 +01:00
dankito fef3765b8f Fixed that filename is always non-null 2024-11-28 02:21:15 +01:00
dankito 2c8f4ec050 Added check for isEncrypted == false as encrypted messages don't have a (readable) message body 2024-11-28 02:19:32 +01:00
dankito 4deaf9cb21 Using the new OrNull() methods so we don't have to catch the exceptions here 2024-11-28 02:13:58 +01:00
dankito a1eea168e9 Added overloads that catch exceptions and return null on error 2024-11-28 02:04:20 +01:00
dankito 5abfa0b641 By default not downloading any attachments anymore 2024-11-28 01:55:18 +01:00
dankito 922fa629ae Moved bodies up 2024-11-28 01:51:49 +01:00