Added Mark as Sent and tagged the invoice so it cleans the json before upload