def METHOD_NAME(sp, section_id, soh_reports, datestring):
    return """
        <ns0:balance xmlns:ns0="http://commcarehq.org/ledger/v1" xmlns="http://openrosa.org/http/response" date="{long_date}" entity-id="{sp_id}" section-id="{section_id}">
            {product_block}
        </ns0:balance>
    """.format(
        sp_id=sp.case_id,
        section_id=section_id,
        long_date=datestring,
        product_block=products_xml([(report.product_id, report.amount) for report in soh_reports]),
    )