Jump to content
  • 0

Creating Invoice Based On Activities


dgerman

Question

I posted this in the developers corner/extensions was that the wrong place?


Forgive cross posting.


 


Is blesta billing suitable for a activity based environment?


 


I have a  system where the customers are charged $10 per retrieval.


There are no reoccurring charges.


 


How do I transfer / import activity records into blesta?


the records are in the form:


blestaAccount#,uname,$,description


 


There are a few hundred customers with 50-90 actives each.


 


For example:


Invoice ###


 


customer 1


 


userA


11/20/13  retrieve aaa   $10


11/23/13  retrieve yyy   $10   


11/27/13  retrieve xxx   $10


                subtotal $30


userB


11/20/13  retrieve aaa   $10


11/23/13  retrieve yyy   $10  


                subtotal $20


 


                   total $50


                                  


 


userA


11/20/13  retrieve aaa   $10


11/23/13  retrieve yyy   $10   


11/27/13  retrieve xxx   $10


 


               total     $30


 


 


 


Invoice ###


 


Customer 2


 


UserC


11/19/13  retrieve rrr   $10


11/26/13  retrieve uuu   $10


                 total   $20


Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

I am surprised that some kind of import is not already available.

 

Would the PHP developer use:  the create invoice API ?

 

 

There had been a reference at

http://www.blesta.com/manual/API:Create_Invoice

 

but that seems to be  no longer available.


ARGH I hate when this forum buggers a link.

 

manual/API:CreateInvoice

Link to comment
Share on other sites

  • 0

Is this code sample still valid?

 

<?php

include("/home2/realger1/www/blesta/inc/init.php");

 

// http://www.blesta.com/manual/API#Local_Access

// http://www.blesta.com/manual/API:Create_Invoice

 

$api = new API();

 

$data array ();

    $data ['key'] = "abcdefg1234567";

    $data ['createinvoice'] = "true";

    $data ['uid'] = "1514";

 

I guess not for version 3

Link to comment
Share on other sites

  • 0

My current license is under mid phase.

Should I buy another license in order to open a ticket?

 

I emailed sales Friday, but I guess they are on holiday.

 

I have  an idea which is MUCH simpler and more useful to anyone:

 

PLEASE see my post :Import Invoice Data From File

 

thank you.

 

PS I private message zaveo and he said he would contact a developer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...