More invoice processing magic. Added Batch registration