Get advance in sales/purchase invoice