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. ...