check null
create invoice from order