<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <template id="report_payment_receipt_document" inherit_id="account.report_payment_receipt_document">
        <xpath expr="//strong[@id='payment_title']" position="replace">
            <!-- Customary in Australia to use the term "Remittance Advice" for payments to suppliers -->
            <t t-if="o.company_id.account_fiscal_country_id.code == 'AU' and o.partner_type == 'supplier'">
                <strong>Remittance Advice: <span t-field="o.name"/></strong>
            </t>
            <t t-else="">
                <strong>Payment Receipt: <span t-field="o.name"/></strong>
            </t>
        </xpath>
    </template>
</odoo>
