Repository navigation
be: read what public samples show of air bank and fio, english fio included - #43
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Takes what radekhulan/myinvoice's samples (MIT) show of the two verified banks and this library did not read yet. Both keep their pinned keys: a template from samples that does not match a real e-mail is
Unparsed, never misread.Fio
Fio banka - new income / new expense on account,the balance of account … has increased by CZK 1.00 on 10/25/2026 at 10:37., currency first, a comma between thousands, month first. A Fio client reported English on some accounts, Czech on others (myinvoice#291). The parser now holds each language as a description (subjects, sentence, labels, money, date) and reads both the same way.Fio banka - zmena zustatkuas a subject of the Czech template; it states no direction, so the sentence alone does.1. 9. 2026 v 8:05);Odchozí platbaas a transfer.Fio banka - vydaj na konte, the short format's outgoing twin, refused asUNSUPPORTED_FORMATlike the incoming one.Air Bank
9 500,00 CZK), in the amount and the balance; a no-break space staysUnparsed. air bank: read amounts of 1 000 CZK and more #5 stays open until a real e-mail of 1 000 or more.The existing tests, built on real e-mails, pass unchanged but two that asserted
1 000,00refused, now asserting a no-break space refused. All 13 real e-mails read as before. Four breaks each fail a test: the English date read day first, the subject not compared with the sentence, the outgoing short format not recognised, the recipient's name not read.make build: green.