nordbergm / stripe2ofx

A small command line utility that converts the Stripe transfer exports (CSV) to the OFX file format often used by accounting software for bank statement imports.
2 stars 2 forks source link

stripe transfers CSV file format is now different #5

Open binary1230 opened 9 years ago

binary1230 commented 9 years ago

The file format has changed significantly from when this app was first written.

Having just gone through this manually, here's the formula we should be doing as of 11/13/14:

Export all Stripe Transfers as a CSV for the date range you are looking to reconcile. Multiply all fee columns by -1 for report to sum correctly.

The columns we need from the CSV in order to match the numbers correctly in Stripe are:

SALES:

total gross = adjustment gross + charge gross + refund gross

FEES:

total fees = adjustment fees + charge fees + refund fees