tag:jbilling.tenderapp.com,2012-10-15:/discussions/problems/103-invoices-carried-over-to-other-invoicesjBilling: Discussion 2015-01-21T08:53:07Ztag:jbilling.tenderapp.com,2012-10-15:Comment/274135912013-06-21T05:52:54Z2013-06-21T05:52:57ZInvoices Carried Over to Other Invoices<div><p>Old invoice's status should have been set to delegated (28).</p></div>info.emsys@gmail.comtag:jbilling.tenderapp.com,2012-10-15:Comment/274135912013-06-21T09:06:25Z2013-06-21T09:06:25ZInvoices Carried Over to Other Invoices<div><p>Yes it is in status 28 however the balance still not 0.00. Also
when you trying to make a payment the new invoice Balance is less
then Invoice total and in most cases you make payment against
Balance not total wich will be incorect in this case. In addition
to above you still have an option to pay Delegated invoice .</p>
<p>Thanks Pav</p></div>pavtag:jbilling.tenderapp.com,2012-10-15:Comment/274135912013-06-21T09:12:10Z2013-06-21T09:12:10ZInvoices Carried Over to Other Invoices<div><p>which version of jBilling are on !</p></div>info.emsys@gmail.comtag:jbilling.tenderapp.com,2012-10-15:Comment/274135912013-06-21T09:19:41Z2013-06-21T09:19:41ZInvoices Carried Over to Other Invoices<div><p>sorry should have mentioned from the begining it's 2.2</p></div>pavtag:jbilling.tenderapp.com,2012-10-15:Comment/274135912013-06-25T10:05:45Z2013-06-25T10:05:45ZInvoices Carried Over to Other Invoices<div><p>Not sure if the luck of response is due to the fact that
I’m using v2.2 the bottom line is the problem still exist in
newer version or it's not the problem it's just current logic. The
code below is from v 3.0.1:<br>
for (InvoiceDTO oldInvoice : invoice.getInvoices()) {<br>
// since this invoice is being delegated, mark it as being carried
forward // so that it is not re-processed later. do not clear the
old balance! oldInvoice.setInvoiceStatus(new
InvoiceStatusDAS().find(Constants.INVOICE_STATUS_UNPAID_AND_CARRIED));
}</p>
<p>From the code above it’s clearly states that balance from
old invoice not cleared when invoices is delegated. The question
is, how to pay off the delegated invoices? As new invoice Balance
is less then Total and usually you pay against balance.</p>
<p>Regards Pav</p></div>pavtag:jbilling.tenderapp.com,2012-10-15:Comment/274135912015-01-20T12:53:47Z2015-01-20T12:53:47ZInvoices Carried Over to Other Invoices<div><p>Please let us know if your are still facing this issue.</p>
<p>Thank you,<br>
jBilling Technical Support Team</p></div>Technical Support