This code example shows how to code the retrieve a sales invoice using the GetSalesInvoiceByKey endpoint.