Repository navigation
Merged
Conversation
…n still to confirm
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.
Adds UniCredit Bank the way MONETA, Creditas and Raiffeisenbank came in: from the one sanitised sample in radekhulan/myinvoice (MIT), no key pinned, so
withDns()refuses every UniCredit e-mail asUnverified. Synthetic HTML fixture, fake accounts (the sample's failed the modulo 11 check).The direction is the open question. The parser takes the amount's sign, as myinvoice does: none is money in, a minus money out. The only sample is incoming. Were an outgoing payment written without a minus, a refund to a customer, with the invoice's amount and symbol, would pay that invoice again. The class comment,
KEY_FINGERPRINTSand the bank's page say a real outgoing e-mail has to settle this before a key is pinned./2700is added; its currency, in parentheses, has to be the amount's.20,546.00 CZK.Variabilní symbolline is required exactly once: a forged one smuggled in through the counter-party's name makes a second. A first version of the test, which removed the line rather than emptying it, passed a forged symbol; the line is now required.fixtures/unicredit-cz/: UniCredit also runs in Slovakia.Each of four breaks fails a test: the currency not compared, a minus not read as money out, the symbol line not required, anything allowed after the details.
make build: green.