added functionality to store contributions as draft invoice or as confirmed