# README.rst

# Online Bank Statements: GoCardless

This module provides online bank statements from GoCardless Bank Account Data, which provides a free API for connecting and getting transactions for bank accounts.

Table of contents

- Configuration
  - On the GoCardless website
  - On Odoo
- Usage
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

## Configuration

### On the GoCardless website

1. Go to https://bankaccountdata.gocardless.com, and create or login into your “GoCardLess Bank Account Data” account.
2. Go to Developers > User secrets option on the left.
3. Click on the “+ Create new” button on the bottom part.
4. Put a name to the user secret (eg. Odoo), and optionally limit it to certain IPs using CIDR subnet notation.
5. Copy or download the secret ID and key for later use. The second one won’t be available anymore, so make sure you don’t forget this step.

### On Odoo

To configure online bank statements provider:

1. Add your user to the “Full Accounting Settings” group.

2. Go to Invoicing > Configuration > Accounting > Journals.

3. Select the journal representing your bank account (or create it).

4. The bank account number should be properly introduced.

5. Set Bank Feeds to Online (OCA).

6. Select GoCardless as online bank statements provider in Online Bank Statements (OCA) section.

7. Save the journal

8. Click on the created provider.

9. Put your secret ID and secret key on the existing fields.

10. Click on the button “Select Bank Account Identifier”.

11. A new window will appear for selecting the bank entity.

12. Select it, and you will be redirected to the selected entity for introducing your bank credentials to allow the connection.

13. If the process is completed, and the bank account linked to the journal is accessible, you’ll be again redirected to the online provider form, and everything will be linked and ready to start the transaction pulling. A message is logged about it on the chatter.

14. If not, an error message will be logged either in the chatter.

## Usage

To pull historical bank statements:

1. Go to Invoicing > Configuration > Accounting > Journals.
2. Select the journal representing your bank account.
3. Launch Actions > Online Bank Statements Pull Wizard
4. Configure date interval and click on Pull.

If historical data is not needed, then just simply wait for the scheduled activity “Pull Online Bank Statements” to be executed for getting new transactions.

## Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

## Credits

### Authors

- ForgeFlow
- Tecnativa

### Contributors

- ForgeFlow:
  - Christopher Ormaza
  - Jordi Ballester
- Tecnativa:
  - Pedro M. Baeza
- Alusage:
  - Nicolas JEUDY <https://github.com/njeudy>
- ArPol:
  - Armand POLMARD <https://github.com/arpol-dev>

### Maintainers

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/bank-statement-import project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.