Feature Requests
Share ideas, discuss and vote on requests from other users in community

API Function: Merge Invoices

Mantas Pakamore shared this idea 3 years ago
Under Consideration

We want to generate real consolidated invoices.

Once a new invoice is generated, we can catch it with a hook. Then we can check whether a user has other unpaid invoices. If he has, we want to merge the new invoice with a previous invoice. For that to work we need an API function to merge invoices.

Ideally, all admin commands should be available through API. Now there is a feeling that we can do everything through API, but when we start working, we always find some small missing functions here and there.

Comments (2)


Agreed, this would be a great addition to the API. However it would be ideal if all basic Admin area functions were exposed through the API as well.


Needed here too.

Or, al least, that other API like



Permit to add invoice lines with a relid that connect them to product that must be renew.

With this should be possibile to copy lines to an invoice to another in order to simulate a "merge" but without relids when the CU will pay the renew action will not perform automatically... :(