Earlier, the API value dontPrint was not supported on the CustomerInvoice endpoint.This has now been fixed.