Need your help to clear a doubt regarding COD orders. We check the field called total_outstanding to determine if there is any amount to be collected. That tells us if to treat the order as prepaid or COD. However in few cases, we are seeing some discrepancy. We are finding orders for which the total_outstanding is 0 but financial_status field is still indicating that its a COD order. In that, how are we to conclude whether it is a COD order and then how much amount is to be collected?