XML failed schema validation: Invalid XML: Element 'StatementOfCapital' is not valid for content model

Hello

i’m getting the below error when submitting a limited by share company for incorporation. We have submitted serveral incorporation successfully. The only difference with this company is it has 4 directors and 4 shareholders all holding 25% of share, can someone plesase help.

XML failed schema validation: Invalid XML: Element ‘StatementOfCapital’ is not valid for content model: ‘((CompanyType,RegistersHeldOnPublicRecord,CountryOfIncorporation,RegisteredOfficeAddress,Articles,RestrictedArticles,Appointment,PSCs,StatementOfCapital,Subscribers,Guarantors,Authoriser,SameDay,SameName,NameAuthorisation,RejectReference,SICCodes),StateSingleMemberCompany)’ line 523 column 24

It looks like you are missing PSC information, this is now mandatory information. Hope that helps

The four equal shareholders thing is probably a relevant here as if you have code that automatically derives PSCs from shareholdings none of them are going to hit the “over 25%” threshold to be a PSC based on ownership. You probably need to send the no PSCs company statement instead.

1 Like

spot on, thanks i have now updated the code to reflect this

hello

i’ve now got the PSC details but still getting the same error

XML failed schema validation: Invalid XML: Element ‘StatementOfCapital’ is not valid for content model: ‘((CompanyType,RegistersHeldOnPublicRecord,CountryOfIncorporation,RegisteredOfficeAddress,Articles,RestrictedArticles,Appointment,PSCs,StatementOfCapital,Subscribers,Guarantors,Authoriser,SameDay,SameName,NameAuthorisation,RejectReference,SICCodes),StateSingleMemberCompany)’ line 493 column 24

<?xml version="1.0" encoding="UTF-8"?>

1.0

<MessageDetails>
  <Class>CompanyIncorporation</Class>
  <Qualifier>request</Qualifier>
  <TransactionID>551583</TransactionID>
 
</MessageDetails>
<SenderDetails>
  <IDAuthentication>
    <SenderID>XXXXXXXXXXXXXXXXXXXXXXXXXXX</SenderID>
    <Authentication>
      <Method>clear</Method>
      <Value>XXXXXXXXXXXXXXXXXXXXXXX</Value>
    </Authentication>
  </IDAuthentication>
  <EmailAddress>XXXXXX@XXXXXX.com</EmailAddress>
</SenderDetails>
XXX XXXX XXX XXXXX LIMITED 1891 CompanyIncorporation 551583 2016-07-14

BYSHR

<Directors>true</Directors>
<DirectorsURA>false</DirectorsURA>
EW 11 New Road BROMSGROVE WORCESTERSHIRE GB-ENG B60 2JF

BESPOKE
false

	<Appointment>
	<ConsentToAct>true</ConsentToAct>
		
		<Director>
			
				<Person>
				   <Title>MR</Title> 
				  <Forename>XXXX</Forename> 
				  <Surname>XXXX</Surname> 
				  
				  
					  <ServiceAddress>
					  	<Address>
							  <Premise>11 NEW ROAD</Premise> 
							  <Street/> 
							  <PostTown>BROMSGROVE</PostTown> 
							  
							  	<Country>GB-ENG</Country>
							   
							  
							  <Postcode>B60 2JF</Postcode> 
						  </Address>
						</ServiceAddress>
				
				  <DOB>1909-03-18</DOB> 
				  <Nationality>XXXXXXX</Nationality> 
				  <Occupation>XXXXXX</Occupation>
				  <CountryOfResidence>UNITED KINGDOM</CountryOfResidence>  
				   <ResidentialAddress>
				  	<Address>
						  <Premise>XXXX TREE BARN</Premise> 
						  <Street>XXXXX TREE LANE XXX</Street> 
						  <PostTown>XXXXX</PostTown> 
						  <County>WORCESTERSHIRE</County>
						  
							  	<Country>GB-ENG</Country>
							 
						  <Postcode>XXXX XXXXX</Postcode> 
					  </Address>
					    
					</ResidentialAddress>
					
					
				</Person>
			
		  </Director>
	</Appointment>

	<Appointment>
	<ConsentToAct>true</ConsentToAct>
		
		<Director>
			
				<Person>
				   <Title>XXX</Title> 
				  <Forename>XXXX</Forename> 
				  <Surname>XXXX</Surname> 
				  
				  
					  <ServiceAddress>
					  	<Address>
							  <Premise>11 XXX ROAD</Premise> 
							  <Street/> 
							  <PostTown>XXX</PostTown> 
							  
							  	<Country>GB-ENG</Country>
							   
							  
							  <Postcode>XXX XXX</Postcode> 
						  </Address>
						</ServiceAddress>
				
				  <DOB>1905-10-01</DOB> 
				  <Nationality>XXXX</Nationality> 
				  <Occupation>XXXX</Occupation>
				  <CountryOfResidence>UNITED KINGDOM</CountryOfResidence>  
				   <ResidentialAddress>
				  	<Address>
						  <Premise>111 NEW BARN LANE</Premise> 
						  <Street>PRESTBURY</Street> 
						  <PostTown>XXXX</PostTown> 
						  <County>XXX</County>
						  
							  	<Country>GB-ENG</Country>
							 
						  <Postcode>XXXX XXX</Postcode> 
					  </Address>
					    
					</ResidentialAddress>
					
					
				</Person>
			
		  </Director>
	</Appointment>

	<Appointment>
	<ConsentToAct>true</ConsentToAct>
		
		<Director>
			
				<Person>
				   <Title>MR</Title> 
				  <Forename>XXX</Forename> 
				  <Surname>XXX</Surname> 
				  
				  
					  <ServiceAddress>
					  	<Address>
							  <Premise>11 NEW ROAD</Premise> 
							  <Street/> 
							  <PostTown>XXX</PostTown> 
							  
							  	<Country>GB-ENG</Country>
							   
							  
							  <Postcode>XXX XXX</Postcode> 
						  </Address>
						</ServiceAddress>
				
				  <DOB>1976-03-17</DOB> 
				  <Nationality>XXXX</Nationality> 
				  <Occupation>XXXXXX</Occupation>
				  <CountryOfResidence>UNITED KINGDOM</CountryOfResidence>  
				   <ResidentialAddress>
				  	<Address>
						  <Premise>53 TOWER ROAD</Premise> 
						  <Street/> 
						  <PostTown>XXXX XXX</PostTown> 
						  <County>WEST XXX</County>
						  
							  	<Country>XXXX</Country>
							 
						  <Postcode>XX XX</Postcode> 
					  </Address>
					    
					</ResidentialAddress>
					
					
				</Person>
			
		  </Director>
	</Appointment>
0 100 GBP
	<TotalAggregateNominalValue>100</TotalAggregateNominalValue> 
	
	
			<Shares>
	 			<ShareClass>A Ordinary</ShareClass> 
	  			<PrescribedParticulars>The shares have attached to them voting, dividend and capital distribution (including on winding up) rights; they do not confer any rights of redemption</PrescribedParticulars>
	  			<NumShares>60</NumShares> 
	  			
	  			<AggregateNominalValue>60</AggregateNominalValue> 
	  		</Shares>
			
			<Shares>
	 			<ShareClass>B Ordinary</ShareClass> 
	  			<PrescribedParticulars>The shares have attached to them voting, dividend and capital distribution (including on winding up) rights; they do not confer any rights of redemption</PrescribedParticulars>
	  			<NumShares>40</NumShares> 
	  			
	  			<AggregateNominalValue>40</AggregateNominalValue> 
	  		</Shares>
			
</Capital>
		<Subscribers>
			
				<Person>
					
				  <Forename>XXXX</Forename>  
				  <Surname>XXXX</Surname> 
				</Person> 
					  	<Address>
							  <Premise>XXX ROAD</Premise> 
							  <Street/> 
							  <Thoroughfare/> 
							  <PostTown>BROMSGROVE</PostTown> 
							  <County>XXX</County>
							   
								  	<Country>XXX</Country>
								 
							  <Postcode>XX XX</Postcode> 
							  
							 </Address>
						
				
					<Authentication>
					  <PersonalAttribute>BIRTOWN</PersonalAttribute> 
					  <PersonalData>Wor</PersonalData> 
					  </Authentication>
					<Authentication>
					  <PersonalAttribute>MUM</PersonalAttribute> 
					  <PersonalData>Blo</PersonalData> 
					  </Authentication>
					<Authentication>
					  <PersonalAttribute>EYE</PersonalAttribute> 
					  <PersonalData>Gre</PersonalData> 
					</Authentication>
				
								<Shares>
						 			<ShareClass>B Ordinary</ShareClass> 
						  			<NumShares>40</NumShares> 
						  			<AmountPaidDuePerShare>40</AmountPaidDuePerShare> 
						 			<AmountUnpaidPerShare>0</AmountUnpaidPerShare> 
						  			<ShareCurrency>GBP</ShareCurrency>
									<ShareValue>1</ShareValue> 
						  		</Shares>
							 
			
			
		</Subscribers>
		
	 	
		<Subscribers>
			
					<Corporate>
					  
					   
					  	<CorporateName>XXXX XXX XXX</CorporateName>
					 </Corporate> 
					  	<Address>
							  <Premise>11 NEW ROAD</Premise> 
							  <Street/> 
							  <Thoroughfare/> 
							  <PostTown>BROMSGROVE</PostTown> 
							  <County>WORCESTERSHIRE</County>
							   
								  	<Country>GB-ENG</Country>
								 
							  <Postcode>B60 2JF</Postcode> 
							  
							 </Address>
						
				
					<Authentication>
					  <PersonalAttribute>EYE</PersonalAttribute> 
					  <PersonalData>Bro</PersonalData> 
					  </Authentication>
					<Authentication>
					  <PersonalAttribute>MUM</PersonalAttribute> 
					  <PersonalData>Gil</PersonalData> 
					  </Authentication>
					<Authentication>
					  <PersonalAttribute>BIRTOWN</PersonalAttribute> 
					  <PersonalData>Ogm</PersonalData> 
					</Authentication>
				
								<Shares>
						 			<ShareClass>A Ordinary</ShareClass> 
						  			<NumShares>60</NumShares> 
						  			<AmountPaidDuePerShare>60</AmountPaidDuePerShare> 
						 			<AmountUnpaidPerShare>0</AmountUnpaidPerShare> 
						  			<ShareCurrency>GBP</ShareCurrency>
									<ShareValue>1</ShareValue> 
						  		</Shares>
			
			
		</Subscribers>
		 <PSCs>
				
						<PSC>
							<PSCNotification>
							
								<Individual>
								<Forename>XXX</Forename> 
								<Surname>XXXX</Surname>
								<ServiceAddress>
							
									<Address>
									  <Premise>11 NEW ROAD</Premise> 
									  <Street/> 
									  <Thoroughfare/> 
									  <PostTown>BROMSGROVE</PostTown> 
									  <County>XXX</County>
									   
										  	<Country>XXX</Country>
										 
									  <Postcode>XXX XXX</Postcode> 
									 </Address>
								
							</ServiceAddress>
						
								<DOB>1926-03-17</DOB> 
								<Nationality>XXXXX</Nationality>
						  		<CountryOfResidence>UNITED KINGDOM</CountryOfResidence>  
						  		 <ResidentialAddress>
							  		<Address>
									  <Premise>53 XXXX ROAD</Premise> 
									  <Street/> 
									  <PostTown>XXX XXXX</PostTown> 
									  <County>WEST XX</County>
									  
										  	<Country>XX</Country>
										 
									  <Postcode>XX XXX</Postcode> 
								  	</Address>
								</ResidentialAddress>
								<ConsentStatement>true</ConsentStatement>
								
								</Individual>
							
								<NatureOfControls>
									<NatureOfControl>OWNERSHIPOFSHARES_25TO50PERCENT</NatureOfControl>
								</NatureOfControls>
							
							</PSCNotification>
						</PSC>
					
					
						<PSC>
							<PSCNotification>
							
								<Corporate>
									
										  	<CorporateName>XXX XXX LIMITED</CorporateName>
										
										<Address>
										  <Premise>11 XXX ROAD</Premise> 
										  <Street/> 
										  <Thoroughfare/> 
										  <PostTown>XXX</PostTown> 
										  <County>XXX</County>
										   
											  	<Country>GB-ENG</Country>
											 
										  <Postcode>XX XXX</Postcode> 
									 </Address>
									 <PSCCompanyIdentification>
									<LawGoverned>UK Law</LawGoverned>
									<LegalForm>Legal Form</LegalForm>
									</PSCCompanyIdentification>
									
								</Corporate>
							
							
								<NatureOfControls>
									<NatureOfControl>OWNERSHIPOFSHARES_50TO75PERCENT</NatureOfControl>
								</NatureOfControls>
							
							
							
							</PSCNotification>
						</PSC>
					
				
				 </PSCs>  
  <Agent>
	<Corporate>
  		
		<CorporateName>XXXXXXX</CorporateName>
  	</Corporate>
	
	
	<Authentication>
	  <PersonalAttribute>BIRTOWN</PersonalAttribute> 
	  <PersonalData>KIL</PersonalData> 
	  </Authentication>
	<Authentication>
	  <PersonalAttribute>MUM</PersonalAttribute> 
	  <PersonalData>KEV</PersonalData> 
	  </Authentication>
	<Authentication>
	  <PersonalAttribute>DAD</PersonalAttribute> 
	  <PersonalData>DEN</PersonalData> 
	</Authentication>
	<Address>
		<Premise>3RD FLOOR</Premise> 
  		<Street>14 HANOVER STREET, HANOVER SQUARE</Street> 
  		<PostTown>LONDON</PostTown>
		<Country>GB-ENG</Country> 
  		<Postcode>W1S 1YH</Postcode> 
  	</Address>
</Agent> 

78109

false
false
false

 	  <Document>
		</Data>
		<Date>2016-07-14</Date>
		<Filename>MNA_132788.prn</Filename>
		<ContentType>application/vnd.hp-pcl</ContentType>
		<Category>MEMARTS</Category>
	</Document>  

HI, sorry XML is really hard to read could you send full XML to Simon Nicholas snicholas@companieshouse.gov.uk, so we can take a look

thanks

Discourse has a code format tool, one of the mods should be able to edit the post, select the XML and click to format as code.