[OperationContract]
[FaultContract(typeof(DbFaultContract))]
[SwaggerWcfTag("Expeditions", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Retrieves a completed expedition by its invoice number.", Description = "This result contains information about the expedition, including the expedition number, client code, date sent, invoice number, transport information, and the number of orders.")]
[WebGet(UriTemplate = "/Expeditions/Completed/Invoice/{invoiceNumber}", ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.OK, Description = "Success")]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.InternalServerError, Description = "An unexpected error occurred while processing the request.", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Fault exception", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.NotFound, Description = "No match found for provided invoiceNumber", Type = typeof(JsonErrorMessage))]
CompletedExpeditionContract GetCompletedExpeditionByInvoice(string invoiceNumber)