def METHOD_NAME(product_amounts, section_id='stock'):
    return """
        <ns0:balance xmlns:ns0="http://commcarehq.org/ledger/v1" date="{long_date}" entity-id="{sp_id}">
            %(product_block)s
        </ns0:balance>
    """ % {'product_block': _enumerated_products_xml(product_amounts, section_id), 'section_id': section_id}