Wrong data type, I assign number but in your export interface CreateInvoiceRequest, invoiceDuration is string.