Automatically Apply Credit to New Invoice?

Version ie v5.10.29

Environment: Docker

Task: Automatically apply credit to single invoice

Hi,

I’m evaluating IN 5 for now and at the moment I wish the following work flow elements:

  1. I’m creating a credit for a demo customer and all new non-recurring invoices should be be paid automatically if there’s enough credit available for a customers invoice.
  2. If there’s only the part of the full amount of an invoice left of a credit the invoice should be marked “partially paid”.
  3. Whenever a new invoice or a new credit is created for a customer, the system should check and auto-apply available credit to open invoices either paying the full amount, paying the left over amount of a partial paid invoice or maybe just decreasing the outstanding amount of money to be paid by accounting the available credit to a partial paid invoice.

Is this possible?

I tested the following with no success:

  • I created a credit with an amount of 200 EUR. I marked the credit as sent.
  • I created an invoice, with amount of ~50 EUR. I enabled auto-billing within the settings and saved the invoice. After that I marked invoice as sent.

I would assume, that auto-billing will happen exactly at that point, because sufficient credit is available.

Regards,
Tobias

Hi,

Is the “Use available credits” option enabled on Settings > Payment Settings.

Note: if the auto-bill option is checked I believe it may take up to an hour to be processed. You can use the auto-bill action to have it happen immediately.

1 Like

The Option “Use available credits” is enabled.

Currently I have 3 invoices with amount of ~ 60 EUR each in status “sent” since >3 hours. All invoices have automatic payment enabled.

I have a a credit with amount of ~ 120 EUR in status “sent” since >3 hours.

The invoices are not marked as paid so far. I’ll check tomorrow

Ah. Maybe the due date is not reached so far. Must check that…

That could explain, auto-billing wouldn’t occur until the due date

I hope I now configured everything as needed (did so yesterday).

  1. These are the payment settings:

  2. Here are the overdue invoices (I set due date manually to the current date yesterday):

  3. Here is the invoice settings page:

  4. Here are the available credits for the client:

Is there anything wrong from my side?
Should the invoices not already be paid?

Do you see an option to pay with credit when viewing the invoice in the client portal?

“Pay with credit”? → No.
Only “Pay”.

What do you see after clicking ‘Pay now’?

I can select “pay with credit” and when I do this, the invoice is paid. (This is not what I want).

Understood, I suggest creating a discussion on GitHub to confirm that available credits are used for auto-billing

Hi hillel,

thanks again for your prompt support!

The discussion is here:

After hint from the IN Maintainer in the github discussion, I also enabled “Use unapplied payments”. But this also does not help to get the credits automatically applied.