This isn't something that core API does. It's probably something you'll need to write an endpoint that will accept invoice ID and then it'll generate it for you.
----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!