<template id="report_header_custom"
inherit_id="report.external_layout_header">
<xpath expr="//div[@class='header']" position="replace">
<div class ="header">
Your Code
</div>
</xpath>
</template>