As it seems it is not possible to "uncheck" down payments to draw into A/R credit memo when using DI-API or Service Layer. In B1 application there is an option to deselect the down payments (which are selected by default) before adding the document. This option seems to be missing from DI-API and Service Layer functionality.
Is there a way to add this option or is there any work around for this?