made POST and GET invoiceId the same