stripe-iiftoqbo 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +4 -2
- data/bin/stripe-iiftoqbo +9 -3
- data/lib/stripe-iiftoqbo.rb +36 -5
- data/spec/sample-data/basic.csv +2 -2
- data/spec/sample-data/basic.iif +14 -13
- data/spec/sample-data/basic.qbo +1 -1
- data/stripe-iiftoqbo.gemspec +1 -1
- metadata +13 -19
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 064f9cc00ed63954813d2d0f8942b07b842e7d23
|
4
|
+
data.tar.gz: 21300f89732bf805200b985b59c67eee70d5100f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 69fd2c3d9bdad1d2a16698e59c1dee3bd53b34d2da7e3a0a10d0e649b73ab876f607646b07f90c019eb62766925c9c80cc0f2ae4e26b095230c9e6830b37aed0
|
7
|
+
data.tar.gz: 000b3b74d304464fb70b6ed9732a9b16777a3a2bd8c7b8a14c0a20b58f98fff85c0721c0f74a7d4f136b6b6e6f4375a424493e30146c3c234e06872effb89bcb
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ It's been tested with:
|
|
19
19
|
* Credit Card Payments
|
20
20
|
* Subscription Credit Card Payments
|
21
21
|
* Credit Card Refunds
|
22
|
-
* Transfers to
|
22
|
+
* Transfers to a Company Bank Account
|
23
23
|
* Payouts to Third Parties
|
24
24
|
* Stripe Connect Fees Collected
|
25
25
|
* Stripe Connect Fees Refunded
|
@@ -29,7 +29,7 @@ You can use the Stripe data to come up with top-line revenue numbers from credit
|
|
29
29
|
|
30
30
|
## Usage
|
31
31
|
|
32
|
-
Usage: stripe-iiftoqbo [-p PAYMENTS_CSV_FILE] [-c] ACCOUNT_NAME IIF_FILE
|
32
|
+
Usage: stripe-iiftoqbo [-p PAYMENTS_CSV_FILE] [-t TRANSFERS_CSV_FILE] [-c] ACCOUNT_NAME IIF_FILE
|
33
33
|
|
34
34
|
## Quickstart
|
35
35
|
|
@@ -86,6 +86,8 @@ If you want to merge the description for each payment into the 'memo' field of y
|
|
86
86
|
|
87
87
|
Then, run the tool again with ```-p payments.csv```. For each charge in the IIF, if there's a matching Charge ID in the payments file, the tool will merge it into the QBO memo.
|
88
88
|
|
89
|
+
You can also export your Transfers and then merge descriptions using ```-t transfers.csv```.
|
90
|
+
|
89
91
|
If you want to inspect the transactions from your .IIF file in CSV format (using Excel, for example), give the '-c' flag. It'll dump CSV instead of QBO.
|
90
92
|
|
91
93
|
## License
|
data/bin/stripe-iiftoqbo
CHANGED
@@ -11,12 +11,13 @@ account_id = nil
|
|
11
11
|
iif_file = nil
|
12
12
|
dump_csv = false
|
13
13
|
payments_file = nil
|
14
|
+
transfers_file = nil
|
14
15
|
|
15
16
|
optparser = OptionParser.new do |opts|
|
16
17
|
executable_name = File.split($0)[1]
|
17
18
|
opts.banner = <<-EOS
|
18
19
|
|
19
|
-
Usage: #{executable_name} [-p PAYMENTS_CSV_FILE] [-c] ACCOUNT_NAME IIF_FILE
|
20
|
+
Usage: #{executable_name} [-p PAYMENTS_CSV_FILE] [-t TRANSFERS_CSV_FILE] [-c] ACCOUNT_NAME IIF_FILE
|
20
21
|
|
21
22
|
Stripe-iiftoqbo converts an .iif file of your live transaction data
|
22
23
|
exported from Stripe into a .qbo file that can be imported into
|
@@ -27,10 +28,14 @@ IIF_FILE : the .iif file to convert (required)
|
|
27
28
|
|
28
29
|
EOS
|
29
30
|
|
30
|
-
opts.on('-p', '--payments [PAYMENTS_CSV_FILE]', "Populate .qbo
|
31
|
+
opts.on('-p', '--payments [PAYMENTS_CSV_FILE]', "Populate .qbo charge memo using memo field from a Stripe Payments CSV export") do |filename|
|
31
32
|
payments_file = filename
|
32
33
|
end
|
33
34
|
|
35
|
+
opts.on('-t', '--transfers [TRANSFERS_CSV_FILE]', "Populate .qbo transfer memo using memo field from a Stripe Transfers CSV export") do |filename|
|
36
|
+
transfers_file = filename
|
37
|
+
end
|
38
|
+
|
34
39
|
opts.on('-c', '--csv', "Output CSV of transactions instead of QBO, for debugging and analysis") do
|
35
40
|
dump_csv = true
|
36
41
|
end
|
@@ -45,7 +50,8 @@ end
|
|
45
50
|
|
46
51
|
iiftoqbo = StripeIIFToQBO::Converter.new( :account_id => ARGV[0],
|
47
52
|
:iif_file => ARGV[1],
|
48
|
-
:payments_file => payments_file
|
53
|
+
:payments_file => payments_file,
|
54
|
+
:transfers_file => transfers_file )
|
49
55
|
if dump_csv
|
50
56
|
puts iiftoqbo.to_csv
|
51
57
|
else
|
data/lib/stripe-iiftoqbo.rb
CHANGED
@@ -8,9 +8,11 @@ module StripeIIFToQBO
|
|
8
8
|
@account_id = options[:account_id] if options[:account_id]
|
9
9
|
@iif_file = options[:iif_file] if options[:iif_file]
|
10
10
|
@payments_file = options[:payments_file] if options[:payments_file]
|
11
|
+
@transfers_file = options[:transfers_file] if options[:transfers_file]
|
11
12
|
@server_time = options[:server_time] || Date.today
|
12
13
|
|
13
14
|
load_payments_file(@payments_file)
|
15
|
+
load_transfers_file(@transfers_file)
|
14
16
|
load_iif_file(@iif_file)
|
15
17
|
end
|
16
18
|
|
@@ -24,6 +26,16 @@ module StripeIIFToQBO
|
|
24
26
|
end
|
25
27
|
end
|
26
28
|
|
29
|
+
def load_transfers_file(transfers_file)
|
30
|
+
@transfers = {}
|
31
|
+
|
32
|
+
if transfers_file
|
33
|
+
CSV.foreach(transfers_file, :headers => true, :encoding => 'windows-1251:utf-8') do |row|
|
34
|
+
@transfers[row["ID"]] = row["Description"] || ""
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
27
39
|
def load_iif_file(iif_file)
|
28
40
|
@ofx_entries = []
|
29
41
|
|
@@ -55,13 +67,23 @@ module StripeIIFToQBO
|
|
55
67
|
when "Stripe Third-party Account"
|
56
68
|
ofx_entry[:amount] = -iif_entry.amount
|
57
69
|
ofx_entry[:name] = iif_entry.name
|
70
|
+
|
71
|
+
ofx_entry[:memo] =~ /Transfer from Stripe: (\S+)/
|
72
|
+
transfer_id = $1
|
73
|
+
|
74
|
+
if @transfers[transfer_id]
|
75
|
+
ofx_entry[:memo] = "#{@transfers[transfer_id]} #{iif_entry.memo}"
|
76
|
+
end
|
77
|
+
|
58
78
|
when "Stripe Payment Processing Fees"
|
59
79
|
ofx_entry[:amount] = -iif_entry.amount
|
60
80
|
ofx_entry[:name] = "Stripe"
|
81
|
+
|
61
82
|
when "Stripe Checking Account"
|
62
83
|
ofx_entry[:amount] = -iif_entry.amount
|
63
84
|
ofx_entry[:name] = "Transfer to #{iif_entry.accnt}"
|
64
|
-
|
85
|
+
|
86
|
+
when "Stripe Sales"
|
65
87
|
ofx_entry[:amount] = -iif_entry.amount
|
66
88
|
|
67
89
|
if iif_entry.memo =~ /Stripe Connect fee/
|
@@ -72,16 +94,25 @@ module StripeIIFToQBO
|
|
72
94
|
ofx_entry[:name] = iif_entry.accnt
|
73
95
|
end
|
74
96
|
|
75
|
-
ofx_entry[:memo] =~ /Charge ID: (
|
97
|
+
ofx_entry[:memo] =~ /Charge ID: (\S+)/
|
76
98
|
charge_id = $1
|
77
|
-
|
99
|
+
|
78
100
|
if @payments[charge_id]
|
79
|
-
ofx_entry[:memo] = "#{@payments[charge_id]} #{
|
101
|
+
ofx_entry[:memo] = "#{@payments[charge_id]} Charge ID: #{charge_id}"
|
102
|
+
ofx_entry[:fitid] = charge_id
|
80
103
|
end
|
81
|
-
|
104
|
+
|
82
105
|
when "Stripe Returns"
|
83
106
|
ofx_entry[:amount] = -iif_entry.amount
|
84
107
|
ofx_entry[:name] = "Credit Card Refund"
|
108
|
+
|
109
|
+
ofx_entry[:memo] =~ /Refund of charge (\S+)/
|
110
|
+
charge_id = $1
|
111
|
+
|
112
|
+
if @payments[charge_id]
|
113
|
+
ofx_entry[:memo] = "#{@payments[charge_id]} Refund of Charge ID: #{charge_id}"
|
114
|
+
end
|
115
|
+
|
85
116
|
when "Stripe Account"
|
86
117
|
return nil
|
87
118
|
end
|
data/spec/sample-data/basic.csv
CHANGED
@@ -2,11 +2,11 @@ Date,Name,Account,Memo,Amount
|
|
2
2
|
01/23/2014,Nicole Chiu-Wang,Stripe Third-party Account,CHECK Transfer from Stripe: tr_3MCmCnHFyYXFB5,-135.15
|
3
3
|
01/23/2014,Stripe,Stripe Payment Processing Fees,GENERAL JOURNAL Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5,-0.25
|
4
4
|
01/23/2014,Transfer to Stripe Checking Account,Stripe Checking Account,DEPOSIT Transfer from Stripe: tr_3MCmQsVsNuIX7J,-85.0
|
5
|
-
01/22/2014,Credit Card Charge,Stripe Sales,GENERAL JOURNAL Charge ID: ch_3M1PskZ2rglde3,249.0
|
5
|
+
01/22/2014,Credit Card Charge,Stripe Sales,GENERAL JOURNAL Charge ID: ch_3M1PskZ2rglde3 | Description: Styling session between stylist Gloria McGee and client Emily Crozier,249.0
|
6
6
|
01/22/2014,Stripe,Stripe Payment Processing Fees,GENERAL JOURNAL Fees for charge ID: ch_3M1PskZ2rglde3,-7.52
|
7
7
|
07/10/2013,Credit Card Refund,Stripe Returns,GENERAL JOURNAL Refund of charge ch_2AaUvVOXTJxqgU,-60.0
|
8
8
|
07/10/2013,Stripe,Stripe Payment Processing Fees,GENERAL JOURNAL Refund of fees for ch_2AaUvVOXTJxqgU,2.04
|
9
|
-
07/10/2013,Credit Card Charge,Stripe Sales,GENERAL JOURNAL Charge ID: ch_2AaUVt4SQVF5mE,60.0
|
9
|
+
07/10/2013,Credit Card Charge,Stripe Sales,GENERAL JOURNAL Charge ID: ch_2AaUVt4SQVF5mE | Description: Styling session between stylist Ellen Kyle and client Stephanie Ann,60.0
|
10
10
|
07/10/2013,Stripe,Stripe Payment Processing Fees,GENERAL JOURNAL Fees for charge ID: ch_2AaUVt4SQVF5mE,-2.04
|
11
11
|
12/10/2012,Transfer to Stripe Checking Account,Stripe Checking Account,DEPOSIT Transfer from Stripe: ach_0qt6m5dlIL2XMq,-15.0
|
12
12
|
12/03/2012,Stripe Connect Charge,Stripe Sales,GENERAL JOURNAL Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ,15.0
|
data/spec/sample-data/basic.iif
CHANGED
@@ -6,24 +6,25 @@ SPL CHECK 01/23/2014 Stripe Third-party Account 135.15 Transfer from Stripe: tr
|
|
6
6
|
ENDTRNS
|
7
7
|
TRNS GENERAL JOURNAL 01/23/2014 Stripe Account -0.25 Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5
|
8
8
|
SPL GENERAL JOURNAL 01/23/2014 Stripe Payment Processing Fees 0.25 Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5
|
9
|
-
TRNS DEPOSIT 01/23/2014 Stripe Checking Account 85.0 Transfer from Stripe: tr_3MCmQsVsNuIX7J
|
10
|
-
SPL DEPOSIT 01/23/2014 Stripe Account -85.0 Transfer from Stripe: tr_3MCmQsVsNuIX7J
|
11
9
|
ENDTRNS
|
12
|
-
TRNS
|
10
|
+
TRNS DEPOSIT 01/23/2014 Stripe Checking Account 85.00 Transfer from Stripe: tr_3MCmQsVsNuIX7J
|
11
|
+
SPL DEPOSIT 01/23/2014 Stripe Account -85.00 Transfer from Stripe: tr_3MCmQsVsNuIX7J
|
12
|
+
ENDTRNS
|
13
|
+
TRNS GENERAL JOURNAL 01/22/2014 Stripe Sales -249.00 Charge ID: ch_3M1PskZ2rglde3 | Description: Styling session between stylist Gloria McGee and client Emily Crozier
|
13
14
|
SPL GENERAL JOURNAL 01/22/2014 Stripe Payment Processing Fees 7.52 Fees for charge ID: ch_3M1PskZ2rglde3
|
14
15
|
SPL GENERAL JOURNAL 01/22/2014 Stripe Account 241.48 Net for charge ID: ch_3M1PskZ2rglde3
|
15
16
|
ENDTRNS
|
16
|
-
TRNS GENERAL JOURNAL 07/10/2013 Stripe Returns 60.
|
17
|
-
SPL GENERAL JOURNAL 07/10/2013 Stripe Account -57.96 Refund for refunded charge ID: ch_2AaUvVOXTJxqgU
|
18
|
-
SPL GENERAL JOURNAL 07/10/2013 Stripe Payment Processing Fees -2.04 Refund of fees for ch_2AaUvVOXTJxqgU
|
17
|
+
TRNS GENERAL JOURNAL 07/10/2013 Stripe Returns 60.00 Refund of charge ch_2AaUvVOXTJxqgU
|
18
|
+
SPL GENERAL JOURNAL 07/10/2013 Stripe Account -57.96 Refund for refunded charge ID: ch_2AaUvVOXTJxqgU
|
19
|
+
SPL GENERAL JOURNAL 07/10/2013 Stripe Payment Processing Fees -2.04 Refund of fees for ch_2AaUvVOXTJxqgU
|
19
20
|
ENDTRNS
|
20
|
-
TRNS GENERAL JOURNAL 07/10/2013 Stripe Sales -60.
|
21
|
-
SPL GENERAL JOURNAL 07/10/2013 Stripe Payment Processing Fees 2.04 Fees for charge ID: ch_2AaUVt4SQVF5mE
|
22
|
-
SPL GENERAL JOURNAL 07/10/2013 Stripe Account 57.96 Net for charge ID: ch_2AaUVt4SQVF5mE
|
21
|
+
TRNS GENERAL JOURNAL 07/10/2013 Stripe Sales -60.00 Charge ID: ch_2AaUVt4SQVF5mE | Description: Styling session between stylist Ellen Kyle and client Stephanie Ann
|
22
|
+
SPL GENERAL JOURNAL 07/10/2013 Stripe Payment Processing Fees 2.04 Fees for charge ID: ch_2AaUVt4SQVF5mE
|
23
|
+
SPL GENERAL JOURNAL 07/10/2013 Stripe Account 57.96 Net for charge ID: ch_2AaUVt4SQVF5mE
|
23
24
|
ENDTRNS
|
24
|
-
TRNS DEPOSIT 12/10/2012 Stripe Checking Account 15.
|
25
|
-
SPL DEPOSIT 12/10/2012 Stripe Account -15.
|
25
|
+
TRNS DEPOSIT 12/10/2012 Stripe Checking Account 15.00 Transfer from Stripe: ach_0qt6m5dlIL2XMq
|
26
|
+
SPL DEPOSIT 12/10/2012 Stripe Account -15.00 Transfer from Stripe: ach_0qt6m5dlIL2XMq
|
26
27
|
ENDTRNS
|
27
|
-
TRNS GENERAL JOURNAL 12/03/2012 Stripe Sales -15.
|
28
|
-
SPL GENERAL JOURNAL 12/03/2012 Stripe Account 15.
|
28
|
+
TRNS GENERAL JOURNAL 12/03/2012 Stripe Sales -15.00 Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ
|
29
|
+
SPL GENERAL JOURNAL 12/03/2012 Stripe Account 15.00 Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ
|
29
30
|
ENDTRNS
|
data/spec/sample-data/basic.qbo
CHANGED
@@ -8,4 +8,4 @@ COMPRESSION:NONE
|
|
8
8
|
OLDFILEUID:NONE
|
9
9
|
NEWFILEUID:NONE
|
10
10
|
|
11
|
-
<OFX><SIGNONMSGSRSV1><SONRS><STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS><DTSERVER>20140211000000</DTSERVER><LANGUAGE>ENG</LANGUAGE><FI><ORG>Stripe</ORG><FID>0</FID></FI><INTU.BID>0</INTU.BID></SONRS></SIGNONMSGSRSV1><BANKMSGSRSV1><STMTTRNRS><TRNUID>0</TRNUID><STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS><STMTRS><CURDEF>USD</CURDEF><BANKACCTFROM><BANKID>123456789</BANKID><ACCTID/><ACCTTYPE>CHECKING</ACCTTYPE></BANKACCTFROM><BANKTRANLIST><DTSTART>20121203</DTSTART><DTEND>20140123</DTEND><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-135.15</TRNAMT><FITID>Transfer from Stripe: tr_3MCmCnHFyYXFB5</FITID><NAME>Nicole Chiu-Wang</NAME><MEMO>Transfer from Stripe: tr_3MCmCnHFyYXFB5</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-0.25</TRNAMT><FITID>Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5</FITID><NAME>Stripe</NAME><MEMO>Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-85.0</TRNAMT><FITID>Transfer from Stripe: tr_3MCmQsVsNuIX7J</FITID><NAME>Transfer to Stripe Checking Account</NAME><MEMO>Transfer from Stripe: tr_3MCmQsVsNuIX7J</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20140122</DTPOSTED><TRNAMT>+249.0</TRNAMT><FITID>Charge ID: ch_3M1PskZ2rglde3</FITID><NAME>Credit Card Charge</NAME><MEMO>Charge ID: ch_3M1PskZ2rglde3</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140122</DTPOSTED><TRNAMT>-7.52</TRNAMT><FITID>Fees for charge ID: ch_3M1PskZ2rglde3</FITID><NAME>Stripe</NAME><MEMO>Fees for charge ID: ch_3M1PskZ2rglde3</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>-60.0</TRNAMT><FITID>Refund of charge ch_2AaUvVOXTJxqgU</FITID><NAME>Credit Card Refund</NAME><MEMO>Refund of charge ch_2AaUvVOXTJxqgU</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>+2.04</TRNAMT><FITID>Refund of fees for ch_2AaUvVOXTJxqgU</FITID><NAME>Stripe</NAME><MEMO>Refund of fees for ch_2AaUvVOXTJxqgU</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>+60.0</TRNAMT><FITID>Charge ID: ch_2AaUVt4SQVF5mE</FITID><NAME>Credit Card Charge</NAME><MEMO>Charge ID: ch_2AaUVt4SQVF5mE</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>-2.04</TRNAMT><FITID>Fees for charge ID: ch_2AaUVt4SQVF5mE</FITID><NAME>Stripe</NAME><MEMO>Fees for charge ID: ch_2AaUVt4SQVF5mE</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20121210</DTPOSTED><TRNAMT>-15.0</TRNAMT><FITID>Transfer from Stripe: ach_0qt6m5dlIL2XMq</FITID><NAME>Transfer to Stripe Checking Account</NAME><MEMO>Transfer from Stripe: ach_0qt6m5dlIL2XMq</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20121203</DTPOSTED><TRNAMT>+15.0</TRNAMT><FITID>Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ</FITID><NAME>Stripe Connect Charge</NAME><MEMO>Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ</MEMO></STMTTRN></BANKTRANLIST><LEDGERBAL><BALAMT>0.0</BALAMT><DTASOF>20140123</DTASOF></LEDGERBAL></STMTRS></STMTTRNRS></BANKMSGSRSV1></OFX>
|
11
|
+
<OFX><SIGNONMSGSRSV1><SONRS><STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS><DTSERVER>20140211000000</DTSERVER><LANGUAGE>ENG</LANGUAGE><FI><ORG>Stripe</ORG><FID>0</FID></FI><INTU.BID>0</INTU.BID></SONRS></SIGNONMSGSRSV1><BANKMSGSRSV1><STMTTRNRS><TRNUID>0</TRNUID><STATUS><CODE>0</CODE><SEVERITY>INFO</SEVERITY></STATUS><STMTRS><CURDEF>USD</CURDEF><BANKACCTFROM><BANKID>123456789</BANKID><ACCTID/><ACCTTYPE>CHECKING</ACCTTYPE></BANKACCTFROM><BANKTRANLIST><DTSTART>20121203</DTSTART><DTEND>20140123</DTEND><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-135.15</TRNAMT><FITID>Transfer from Stripe: tr_3MCmCnHFyYXFB5</FITID><NAME>Nicole Chiu-Wang</NAME><MEMO>Transfer from Stripe: tr_3MCmCnHFyYXFB5</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-0.25</TRNAMT><FITID>Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5</FITID><NAME>Stripe</NAME><MEMO>Fees for Transfer from Stripe: tr_3MCmCnHFyYXFB5</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140123</DTPOSTED><TRNAMT>-85.0</TRNAMT><FITID>Transfer from Stripe: tr_3MCmQsVsNuIX7J</FITID><NAME>Transfer to Stripe Checking Account</NAME><MEMO>Transfer from Stripe: tr_3MCmQsVsNuIX7J</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20140122</DTPOSTED><TRNAMT>+249.0</TRNAMT><FITID>Charge ID: ch_3M1PskZ2rglde3 | Description: Styling session between stylist Gloria McGee and client Emily Crozier</FITID><NAME>Credit Card Charge</NAME><MEMO>Charge ID: ch_3M1PskZ2rglde3 | Description: Styling session between stylist Gloria McGee and client Emily Crozier</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20140122</DTPOSTED><TRNAMT>-7.52</TRNAMT><FITID>Fees for charge ID: ch_3M1PskZ2rglde3</FITID><NAME>Stripe</NAME><MEMO>Fees for charge ID: ch_3M1PskZ2rglde3</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>-60.0</TRNAMT><FITID>Refund of charge ch_2AaUvVOXTJxqgU</FITID><NAME>Credit Card Refund</NAME><MEMO>Refund of charge ch_2AaUvVOXTJxqgU</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>+2.04</TRNAMT><FITID>Refund of fees for ch_2AaUvVOXTJxqgU</FITID><NAME>Stripe</NAME><MEMO>Refund of fees for ch_2AaUvVOXTJxqgU</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>+60.0</TRNAMT><FITID>Charge ID: ch_2AaUVt4SQVF5mE | Description: Styling session between stylist Ellen Kyle and client Stephanie Ann</FITID><NAME>Credit Card Charge</NAME><MEMO>Charge ID: ch_2AaUVt4SQVF5mE | Description: Styling session between stylist Ellen Kyle and client Stephanie Ann</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20130710</DTPOSTED><TRNAMT>-2.04</TRNAMT><FITID>Fees for charge ID: ch_2AaUVt4SQVF5mE</FITID><NAME>Stripe</NAME><MEMO>Fees for charge ID: ch_2AaUVt4SQVF5mE</MEMO></STMTTRN><STMTTRN><TRNTYPE>DEBIT</TRNTYPE><DTPOSTED>20121210</DTPOSTED><TRNAMT>-15.0</TRNAMT><FITID>Transfer from Stripe: ach_0qt6m5dlIL2XMq</FITID><NAME>Transfer to Stripe Checking Account</NAME><MEMO>Transfer from Stripe: ach_0qt6m5dlIL2XMq</MEMO></STMTTRN><STMTTRN><TRNTYPE>CREDIT</TRNTYPE><DTPOSTED>20121203</DTPOSTED><TRNAMT>+15.0</TRNAMT><FITID>Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ</FITID><NAME>Stripe Connect Charge</NAME><MEMO>Stripe Connect fee for transaction ID: ch_0qbUpzmgBi6WVJ</MEMO></STMTTRN></BANKTRANLIST><LEDGERBAL><BALAMT>0.0</BALAMT><DTASOF>20140123</DTASOF></LEDGERBAL></STMTRS></STMTTRNRS></BANKMSGSRSV1></OFX>
|
data/stripe-iiftoqbo.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'stripe-iiftoqbo'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.4'
|
5
5
|
s.summary = 'Stripe IIF-to-QBO converter for Quickbooks Online'
|
6
6
|
s.description = 'Converts Stripe\'s IIF transaction file into a QBO file for importing into Quickbooks Online. A QBO file is in OFX (Open Financial Exchange) format.'
|
7
7
|
s.homepage = 'https://github.com/gtolle/stripe-iiftoqbo'
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe-iiftoqbo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Gilman Tolle
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-03-14 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bigdecimal
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.2'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: nokogiri
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '1.6'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '1.6'
|
46
41
|
description: Converts Stripe's IIF transaction file into a QBO file for importing
|
@@ -52,8 +47,8 @@ executables:
|
|
52
47
|
extensions: []
|
53
48
|
extra_rdoc_files: []
|
54
49
|
files:
|
55
|
-
- .gitignore
|
56
|
-
- .rspec
|
50
|
+
- ".gitignore"
|
51
|
+
- ".rspec"
|
57
52
|
- LICENSE
|
58
53
|
- README.md
|
59
54
|
- bin/stripe-iiftoqbo
|
@@ -81,26 +76,25 @@ files:
|
|
81
76
|
homepage: https://github.com/gtolle/stripe-iiftoqbo
|
82
77
|
licenses:
|
83
78
|
- MIT
|
79
|
+
metadata: {}
|
84
80
|
post_install_message:
|
85
81
|
rdoc_options: []
|
86
82
|
require_paths:
|
87
83
|
- lib
|
88
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
85
|
requirements:
|
91
|
-
- -
|
86
|
+
- - ">="
|
92
87
|
- !ruby/object:Gem::Version
|
93
88
|
version: '0'
|
94
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
90
|
requirements:
|
97
|
-
- -
|
91
|
+
- - ">="
|
98
92
|
- !ruby/object:Gem::Version
|
99
93
|
version: '0'
|
100
94
|
requirements: []
|
101
95
|
rubyforge_project:
|
102
|
-
rubygems_version:
|
96
|
+
rubygems_version: 2.2.2
|
103
97
|
signing_key:
|
104
|
-
specification_version:
|
98
|
+
specification_version: 4
|
105
99
|
summary: Stripe IIF-to-QBO converter for Quickbooks Online
|
106
100
|
test_files: []
|