How to convert Order to Invoice programmatically Magento 2?

Well, It’s been very easy to order object to invoice using converter model.

Below are line of code to achieve it.

Leave a Reply