def grab_invoice_details(doc, method):
	if doc.redeem_points:
		point_validation(doc)
		make_gl_entry(doc)
	initiate_point_engine(doc)
def grab_invoice_details(doc, method):
    if doc.redeem_points:
        point_validation(doc)
        make_gl_entry(doc)
    initiate_point_engine(doc)
def grab_jv_and_invoice_details(doc, method):
	si = get_invoice_details(doc.get('entries'))
	if si:
		initiate_point_engine(doc, si)
def grab_jv_and_invoice_details(doc, method):
    si = get_invoice_details(doc.get('entries'))
    if si:
        initiate_point_engine(doc, si)