Turn off automatic credit note function for invoice

Hello Everyone,
Is it possible to turn off automatic credit for invoices? If an invoice need a credit i would prefer to go and generate the credit note from my API. I know this might be stupid question but in version 10 am getting credit note for 0.00 outstanding amount.