Custom fields added to invoice are not showing in the custom invoice template

See: Custom Field Placement through HTML