1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
.. image:: https://travis-ci.org/themalkolm/ofxstatement-paypal.svg?branch=master
:target: https://travis-ci.org/themalkolm/ofxstatement-paypal
ofxstatement-paypal
===================
This is a collection of parsers for proprietary statement formats, produced by
`PayPal`_. It parses ``*.csv`` file exported from the site.
It is a plugin for `ofxstatement`_.
.. _PayPal: https://www.paypal.com
.. _ofxstatement: https://github.com/kedder/ofxstatement
Configuration
=============
PayPal exports data for all currencies in one file. This means you must define different configurations for different
currencies. See below for examples.
It worth mentioning that there is ``analyze`` option that enables simple analyzing that modifies memo in attempt
to make it more relevant e.g. it picks ``Item Title`` for any steam purchases:
``WWW.Steampowered.com`` -> ``WWW.Steampowered.com / Hero Siege``
It is completely optional and up to you.
Locale
======
You can configure exact locale and encodings to use during parsing. Here is example how to configure both of them
with the default configuration you always have.
.. code-block::
[default]
plugin = paypal
encoding = iso8859-1
[paypal]
plugin = paypal
encoding = iso8859-1
locale = sv_SE
...
Example
=======
.. code-block::
[paypal:sek]
plugin = paypal
account_id = john.doe@gmail.com/SEK
currency = SEK
analyze = 1
[paypal:eur]
plugin = paypal
account_id = john.doe@gmail.com/EUR
currency = EUR
analyze = 1
[paypal:usd]
plugin = paypal
account_id = john.doe@gmail.com/USD
currency = USD
analyze = 1
|