API to Apply Retainer invoice payment to Invoice

API to Apply Retainer invoice payment to Invoice

Hi Team,

I could not find  API to apply the Retainer invoice payment to existing Invoice. Can you please help ?

Attaching the screenshot

    Nederlandse Hulpbronnen