ofxparser
ofxparser copied to clipboard
:moneybag: OFX File Parser
1.2.0 should be the last release branch to work with PHP 5.6 as 5.6 enters security only on 1st Jan 2017.
transactions amounts are returned as float, whereas balance amount is returned as string. with some banks (french caisse d'épargne), balance amount has comma instead of dot as decimal separator (ie....
FNB seem to lump transactions items onto one line which only passes the memo to the buildTransactions function. Snippet from the OFX file: ``` CREDIT2017010610.002017010630000000000ADT CASH DEPOSIT 49120010998 JM 49120010998...
The function createAmountFromStr($amountString) seems to have some bugs with strings that aren't number formatted and have one or more trailing 0s. For example, 750 will parse as 7.5 but 50...
I get a problem with cyrillic symbols in ofx file in UTF-8 charset. Removing `$ofxContent = utf8_encode($ofxContent);` fixing my issue.
…throws 'RuntimeException: Failed to initialize DateTime for string:'
I was running into an issue with this truncating negative numbers (negative account balances, so like credit cards, ect) which seemed to be fixed with this.