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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Contributions created via API are unbalanced
Pages: [1]

Author Topic: Contributions created via API are unbalanced  (Read 364 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Contributions created via API are unbalanced
June 29, 2013, 07:00:51 pm
After using the Contribution Create API ( with skipLineItem = 1 ) and the LineItem create API to create a new contribution, I end up with an unbalanced transaction listed in the Bookkeeping Transaction report.  ( Financial Account Debit is listed as "Payment Processor Account" but Financial Account Credit is empty.)

I also noticed that there is no records for this contribution in the table "civicrm_financial_item"

Is there a special parm I need to the API to get balanced transactions?

(I am using version 4.3.4, I am creating a contribution that uses a priceset)
« Last Edit: June 29, 2013, 07:22:14 pm by epg »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Contributions created via API are unbalanced
June 29, 2013, 08:46:16 pm
I created a JIRA for this at: http://issues.civicrm.org/jira/browse/CRM-12983
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Contributions created via API are unbalanced

This forum was archived on 2017-11-26.