Invoice Generation API