Important: The template needs to be designed by Kalin Setterberg specifically for rejecting media invoices, otherwise the function won't work properly.