CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviContribute Suggestions »
  • Importing contributions from bank statements, etc
Pages: [1]

Author Topic: Importing contributions from bank statements, etc  (Read 3249 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Importing contributions from bank statements, etc
December 23, 2009, 05:02:10 am
We regularly import contributions in from a spreadsheet that includes transactions from the following sources ...
  • online bank account statement
  • credit card gateway statement
  • direct debit provider statement (ie, they process direct debits on our behalf)
  • deposit book (cheques and cash)

These sources include descriptions which we use to determine the identity of the contact making the contribution. We also apply some logic to determine whether the contribution is a pledge payment.

It would be good to put this logic into the import process of CiviCRM.

Has anyone done this?

If not, I think I will need to implement the following logic ...
  • Create custom data that stores (multiple) bank-statement-descriptions for contacts
  • Extend this to include patterns (some descriptions vary each time)
  • During import, match on bank-statement-description
  • For contacts with pledges, where possible apply the contribution as a pledge payment

Here are some problems we regularly have ...
  • Can't tell from the description which contact made the contribution (not sure anything can be done about that!), so manual interevention is required
  • Contribution amount doesn't match pledge amount (I think a fix is proposed to allow partial payments for pledges)
  • If the contribution can't possibly match a pledge (eg, contribution type is different) it would be good for CiviCRM to accept the contribution as not being a pledge payment

Ken

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Importing contributions from bank statements, etc
December 23, 2009, 08:52:14 am
Hi,

We are facing a somehow similar problem with membership, but on the top of that you have either the amount that is lower, the periodicity that might not match the one planned, or higher, in that case the sum above the expected amount is considered donation.

Some people said (Lobo if I recall properly) that the import contribution is versatile enough and made to be easily customised. We haven't looked at the detail yet.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Importing contributions from bank statements, etc
December 26, 2009, 05:39:50 pm
Quote from: ken on December 23, 2009, 05:02:10 am
If not, I think I will need to implement the following logic ...
  • Create custom data that stores (multiple) bank-statement-descriptions for contacts
  • Extend this to include patterns (some descriptions vary each time)
  • During import, match on bank-statement-description
  • For contacts with pledges, where possible apply the contribution as a pledge payment

Partial solution for this to play with and possibly use ...
- You could add a custom field for Individuals which holds the 'bank statement description'
- Add this to Strict dedupe rule for Individuals
- Then I think u can use this fields as the 'match to contact' field for contribution import

The drawback - you almost certainly ONLY want this rule in effect for contribution imports - and there's currently no way to control which dedupe rule is used for a particular import workflow. The desirable approach would be to add functionality that we've talked about for a while  - which is to allow user to select a specific dedupe ruleset for a given import (and probably an option save that selection to the import mapping).

You might be able to implement a hook to override the default strict dedupe rule and select your contribution specific one.
Protect your investment in CiviCRM by  becoming a Member!

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Importing contributions from bank statements, etc
December 31, 2009, 12:21:17 am
Dave,

Thanks for your suggestion. I did consider using the External Identifier, but it's possible for a person to have more than one Bank Statement Description (eg, if someone donates alternately via EFT or via Credit Card then the identifier will be different).

I'll try your proposal, and (initially) hard-wire the Contribution Import to use the new DeDupe Rule.

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviContribute Suggestions »
  • Importing contributions from bank statements, etc

This forum was archived on 2017-11-26.