XML 13 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - shares
3 Months Ended
Apr. 30, 2017
May 31, 2017
Document And Entity Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Apr. 30, 2017  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q1  
Trading Symbol VEEV  
Entity Registrant Name VEEVA SYSTEMS INC  
Entity Central Index Key 0001393052  
Current Fiscal Year End Date --01-31  
Entity Filer Category Large Accelerated Filer  
Class A common stock [Member]    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   108,775,209
Class B common stock [Member]    
Document And Entity Information [Line Items]    
Entity Common Stock, Shares Outstanding   30,977,237