summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2016-10-19 18:02:05 +0200
committerAndrew Shadura <andrewsh@debian.org>2016-10-19 18:02:05 +0200
commitd8216aeb9c12ea81d9941edc6eff39be32c24aca (patch)
tree1ad1a1dd693ba915dcda076adf037964c9d6132f /tests/fixtures
parentbdbd753fe4ab2de979939bae4caf93b16f6b5efc (diff)
Imported Upstream version 0.15
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/investment_401k.ofx180
-rw-r--r--tests/fixtures/suncorp.ofx56
-rw-r--r--tests/fixtures/vanguard401k.ofx11
3 files changed, 247 insertions, 0 deletions
diff --git a/tests/fixtures/investment_401k.ofx b/tests/fixtures/investment_401k.ofx
new file mode 100644
index 0000000..1fc0898
--- /dev/null
+++ b/tests/fixtures/investment_401k.ofx
@@ -0,0 +1,180 @@
+OFXHEADER:100
+DATA:OFXSGML
+VERSION:102
+SECURITY:NONE
+ENCODING:USASCII
+CHARSET:1252
+COMPRESSION:NONE
+OLDFILEUID:NONE
+NEWFILEUID:NONE
+
+<OFX>
+ <SIGNONMSGSRSV1>
+ <SONRS>
+ <STATUS>
+ <CODE>0</CODE>
+ <SEVERITY>INFO</SEVERITY>
+ <MESSAGE>SUCCESS</MESSAGE>
+ </STATUS>
+ <DTSERVER>20150909084609.717[-6:MDT]</DTSERVER>
+ <LANGUAGE>ENG</LANGUAGE>
+ <FI>
+ <ORG>EXAMPLE</ORG>
+ <FID>1234</FID>
+ </FI>
+ <INTU.BID>1234</INTU.BID>
+ </SONRS>
+ </SIGNONMSGSRSV1>
+ <INVSTMTMSGSRSV1>
+ <INVSTMTTRNRS>
+ <TRNUID>0</TRNUID>
+ <STATUS>
+ <CODE>0</CODE>
+ <SEVERITY>INFO</SEVERITY>
+ <MESSAGE>SUCCESS</MESSAGE>
+ </STATUS>
+ <INVSTMTRS>
+ <DTASOF>20140630000000.000[-6:MDT]</DTASOF>
+ <CURDEF>USD</CURDEF>
+ <INVACCTFROM>
+ <BROKERID>example.org</BROKERID>
+ <ACCTID>12345678.123456-01</ACCTID>
+ </INVACCTFROM>
+ <INVTRANLIST>
+ <DTSTART>20140401000000.000[-6:MDT]</DTSTART>
+ <DTEND>20140630000000.000[-6:MDT]</DTEND>
+ <BUYMF>
+ <INVBUY>
+ <INVTRAN>
+ <FITID>1</FITID>
+ <DTTRADE>20140617000000.000[-6:MDT]</DTTRADE>
+ </INVTRAN>
+ <SECID>
+ <UNIQUEID>FOO</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <UNITS>8.846699</UNITS>
+ <UNITPRICE>22.2908</UNITPRICE>
+ <TOTAL>-197.2</TOTAL>
+ <SUBACCTSEC>OTHER</SUBACCTSEC>
+ <SUBACCTFUND>OTHER</SUBACCTFUND>
+ </INVBUY>
+ <BUYTYPE>BUY</BUYTYPE>
+ </BUYMF>
+ <TRANSFER>
+ <INVTRAN>
+ <FITID>2</FITID>
+ <DTTRADE>20140630000000.000[-6:MDT]</DTTRADE>
+ </INVTRAN>
+ <SECID>
+ <UNIQUEID>BAR</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <SUBACCTSEC>OTHER</SUBACCTSEC>
+ <UNITS>6.800992</UNITS>
+ <TFERACTION>IN</TFERACTION>
+ <POSTYPE>LONG</POSTYPE>
+ <UNITPRICE>29.214856</UNITPRICE>
+ </TRANSFER>
+ <TRANSFER>
+ <INVTRAN>
+ <FITID>3</FITID>
+ <DTTRADE>20140630000000.000[-6:MDT]</DTTRADE>
+ </INVTRAN>
+ <SECID>
+ <UNIQUEID>BAZ</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <SUBACCTSEC>OTHER</SUBACCTSEC>
+ <UNITS>-9.060702</UNITS>
+ <TFERACTION>OUT</TFERACTION>
+ <POSTYPE>LONG</POSTYPE>
+ <UNITPRICE>21.928764</UNITPRICE>
+ </TRANSFER>
+ </INVTRANLIST>
+ <INVPOSLIST>
+ <POSMF>
+ <INVPOS>
+ <SECID>
+ <UNIQUEID>FOO</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <HELDINACCT>CASH</HELDINACCT>
+ <POSTYPE>LONG</POSTYPE>
+ <UNITS>17.604312</UNITS>
+ <UNITPRICE>22.517211</UNITPRICE>
+ <MKTVAL>396.4</MKTVAL>
+ <DTPRICEASOF>20140630000000.000[-6:MDT]</DTPRICEASOF>
+ </INVPOS>
+ </POSMF>
+ <POSMF>
+ <INVPOS>
+ <SECID>
+ <UNIQUEID>BAR</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <HELDINACCT>CASH</HELDINACCT>
+ <POSTYPE>LONG</POSTYPE>
+ <UNITS>13.550983</UNITS>
+ <UNITPRICE>29.214855</UNITPRICE>
+ <MKTVAL>395.89</MKTVAL>
+ <DTPRICEASOF>20140630000000.000[-6:MDT]</DTPRICEASOF>
+ </INVPOS>
+ </POSMF>
+ <POSMF>
+ <INVPOS>
+ <SECID>
+ <UNIQUEID>BAZ</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <HELDINACCT>CASH</HELDINACCT>
+ <POSTYPE>LONG</POSTYPE>
+ <UNITS>0.0</UNITS>
+ <UNITPRICE>0.0</UNITPRICE>
+ <MKTVAL>0.0</MKTVAL>
+ <DTPRICEASOF>20140630000000.000[-6:MDT]</DTPRICEASOF>
+ </INVPOS>
+ </POSMF>
+ </INVPOSLIST>
+ <INV401KBAL>
+ <TOTAL>1000.00</TOTAL>
+ </INV401KBAL>
+ </INVSTMTRS>
+ </INVSTMTTRNRS>
+ </INVSTMTMSGSRSV1>
+ <SECLISTMSGSRSV1>
+ <SECLIST>
+ <MFINFO>
+ <SECINFO>
+ <SECID>
+ <UNIQUEID>BAR</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <SECNAME>BAR Index Fund</SECNAME>
+ <TICKER>BAR</TICKER>
+ </SECINFO>
+ </MFINFO>
+ <MFINFO>
+ <SECINFO>
+ <SECID>
+ <UNIQUEID>FOO</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <SECNAME>Foo Index Fund</SECNAME>
+ <TICKER>FOO</TICKER>
+ </SECINFO>
+ </MFINFO>
+ <MFINFO>
+ <SECINFO>
+ <SECID>
+ <UNIQUEID>BAZ</UNIQUEID>
+ <UNIQUEIDTYPE>PRIVATE</UNIQUEIDTYPE>
+ </SECID>
+ <SECNAME>Baz Fund</SECNAME>
+ <TICKER>BAZ</TICKER>
+ </SECINFO>
+ </MFINFO>
+ </SECLIST>
+ </SECLISTMSGSRSV1>
+</OFX>
+
diff --git a/tests/fixtures/suncorp.ofx b/tests/fixtures/suncorp.ofx
new file mode 100644
index 0000000..4a0558d
--- /dev/null
+++ b/tests/fixtures/suncorp.ofx
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="us-ascii"?>
+<?OFX OFXHEADER="200" VERSION="200" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE"?>
+<OFX>
+ <SIGNONMSGSRSV1>
+ <SONRS>
+ <STATUS>
+ <CODE>0</CODE>
+ <SEVERITY>INFO</SEVERITY>
+ </STATUS>
+ <DTSERVER>20131215</DTSERVER>
+ <LANGUAGE>ENG</LANGUAGE>
+ <FI>
+ <ORG>SUNCORP</ORG>
+ <FID>484-799</FID>
+ </FI>
+ </SONRS>
+ </SIGNONMSGSRSV1>
+ <BANKMSGSRSV1>
+ <STMTTRNRS>
+ <TRNUID>1</TRNUID>
+ <STATUS>
+ <CODE>0</CODE>
+ <SEVERITY>INFO</SEVERITY>
+ </STATUS>
+ <STMTRS>
+ <CURDEF>AUD</CURDEF>
+ <BANKACCTFROM>
+ <BANKID>SUNCORP</BANKID>
+ <ACCTID>123456789</ACCTID>
+ <ACCTTYPE>CHECKING</ACCTTYPE>
+ </BANKACCTFROM>
+ <BANKTRANLIST>
+ <DTSTART>20130618</DTSTART>
+ <DTEND>20131215</DTEND>
+ <STMTTRN>
+ <TRNTYPE>DEBIT</TRNTYPE>
+ <DTPOSTED>20131215</DTPOSTED>
+ <TRNAMT>-16.85</TRNAMT>
+ <FITID>1</FITID>
+ <CHECKNUM>0</CHECKNUM>
+ <NAME><![CDATA[EFTPOS WDL HANDYWAY ALDI STORE ]]></NAME>
+ <MEMO><![CDATA[EFTPOS WDL HANDYWAY ALDI STORE GEELONG WEST VICAU]]></MEMO>
+ </STMTTRN>
+ </BANKTRANLIST>
+ <LEDGERBAL>
+ <BALAMT>1234.12</BALAMT>
+ <DTASOF>20131215</DTASOF>
+ </LEDGERBAL>
+ <AVAILBAL>
+ <BALAMT>1234.12</BALAMT>
+ <DTASOF>20131215</DTASOF>
+ </AVAILBAL>
+ </STMTRS>
+ </STMTTRNRS>
+ </BANKMSGSRSV1>
+</OFX> \ No newline at end of file
diff --git a/tests/fixtures/vanguard401k.ofx b/tests/fixtures/vanguard401k.ofx
new file mode 100644
index 0000000..0443ca1
--- /dev/null
+++ b/tests/fixtures/vanguard401k.ofx
@@ -0,0 +1,11 @@
+OFXHEADER:100
+DATA:OFXSGML
+VERSION:102
+SECURITY:NONE
+ENCODING:USASCII
+CHARSET:1252
+COMPRESSION:NONE
+OLDFILEUID:NONE
+NEWFILEUID:NONE
+
+<OFX><SIGNONMSGSRSV1><SONRS><STATUS><CODE>0<SEVERITY>INFO<MESSAGE>Successful Sign On</STATUS><DTSERVER>20141018150740[-5:EST]<LANGUAGE>ENG<DTPROFUP>20140605083000<FI><ORG>Vanguard<FID>84022</FI><SESSCOOKIE>foo<INTU.BID>84022<INTU.USERID>USER345</SONRS></SIGNONMSGSRSV1><INVSTMTMSGSRSV1><INVSTMTTRNRS><TRNUID>0<STATUS><CODE>0<SEVERITY>INFO</STATUS><INVSTMTRS><DTASOF>20141017160000.000[-5:EST]<CURDEF>USD<INVACCTFROM><BROKERID>vanguard.com<ACCTID>0123456</INVACCTFROM><INVTRANLIST><DTSTART>20140916160000.000[-5:EST]<DTEND>20141018150740.000[-5:EST]<BUYMF><INVBUY><INVTRAN><FITID>1234567890123456790AAA<DTTRADE>20140926160000.000[-5:EST]<DTSETTLE>20140926160000.000[-5:EST]<MEMO>Price as of date based on closing price</INVTRAN><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><UNITS>14.61137<UNITPRICE>46.06<TOTAL>-673.0<SUBACCTSEC>CASH<SUBACCTFUND>OTHER<INV401KSOURCE>PRETAX</INVBUY><BUYTYPE>BUY</BUYMF><BUYMF><INVBUY><INVTRAN><FITID>1234567890123456791AAA<DTTRADE>20140926160000.000[-5:EST]<DTSETTLE>20140926160000.000[-5:EST]<MEMO>Price as of date based on closing price</INVTRAN><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><UNITS>7.30568<UNITPRICE>46.06<TOTAL>-336.5<SUBACCTSEC>CASH<SUBACCTFUND>OTHER<INV401KSOURCE>MATCH</INVBUY><BUYTYPE>BUY</BUYMF><BUYMF><INVBUY><INVTRAN><FITID>1234567890123456793AAA<DTTRADE>20141010160000.000[-5:EST]<DTSETTLE>20141010160000.000[-5:EST]<MEMO>Price as of date based on closing price</INVTRAN><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><UNITS>15.25039<UNITPRICE>44.13<TOTAL>-673.0<SUBACCTSEC>CASH<SUBACCTFUND>OTHER<INV401KSOURCE>PRETAX</INVBUY><BUYTYPE>BUY</BUYMF><BUYMF><INVBUY><INVTRAN><FITID>1234567890123456794AAA<DTTRADE>20141010160000.000[-5:EST]<DTSETTLE>20141010160000.000[-5:EST]<MEMO>Price as of date based on closing price</INVTRAN><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><UNITS>7.62519<UNITPRICE>44.13<TOTAL>-336.5<SUBACCTSEC>CASH<SUBACCTFUND>OTHER<INV401KSOURCE>MATCH</INVBUY><BUYTYPE>BUY</BUYMF><TRANSFER><INVTRAN><FITID>1234567890123456795AAA<DTTRADE>20130905160000.000[-5:EST]<DTSETTLE>20130906160000.000[-5:EST]<MEMO>Investment Expense</INVTRAN><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><SUBACCTSEC>CASH<UNITS>-0.04241<TFERACTION>OUT<POSTYPE>LONG<UNITPRICE>39.37<INV401KSOURCE>MATCH</TRANSFER></INVTRANLIST><INVPOSLIST><POSMF><INVPOS><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><HELDINACCT>OTHER<POSTYPE>LONG<UNITS>117.506<UNITPRICE>44.01<MKTVAL>5171.44<DTPRICEASOF>20141017160000.000[-5:EST]<MEMO>Price as of date based on closing price<INV401KSOURCE>OTHERNONVEST</INVPOS><REINVDIV>Y<REINVCG>Y</POSMF></INVPOSLIST><INV401K><EMPLOYERNAME>GOOGLE INC. 401(K) SAVINGS PLAN<CURRENTVESTPCT>100.0</INV401K><INV401KBAL><CASHBAL>0.0<PRETAX>0.0<AFTERTAX>0.0<MATCH>0.0<PROFITSHARING>0.0<ROLLOVER>0.0<OTHERVEST>0.0<OTHERNONVEST>0.0<TOTAL>0.0</INV401KBAL></INVSTMTRS></INVSTMTTRNRS></INVSTMTMSGSRSV1><SECLISTMSGSRSV1><SECLIST><MFINFO><SECINFO><SECID><UNIQUEID>92202V351<UNIQUEIDTYPE>CUSIP</SECID><SECNAME>Target Retirement 2050 Trust Plus<FIID>1659<UNITPRICE>44.01<DTASOF>20141017160000.000[-5:EST]<MEMO>Price as of date based on closing price</SECINFO></MFINFO></SECLIST></SECLISTMSGSRSV1></OFX>