# GovTalk Form Submission to ammend Accounts / new accounts?

**URL:** <https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924>\
**Category:** Accounts\
**Created:** [March 29, 2026, 12:57pm UTC](https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924 "2026-03-29T12:57:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnLeeDevelops](https://xmlforum.companieshouse.gov.uk/user_avatar/xmlforum.companieshouse.gov.uk/johnleedevelops/32/212_2.png) [@JohnLeeDevelops](https://xmlforum.companieshouse.gov.uk/u/JohnLeeDevelops)\
**Post date:** [March 29, 2026, 12:57pm UTC](https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924/1 "2026-03-29T12:57:31Z")

</div>

Hi I’m trying to upload/ammend my accounts to Companies House I get the following error And I am confused. FormIdentifier does not match content in Form element.

Also is there a test server I can use for development.  
Many Thanks  
Jonathan Lee

send the following data.

```auto
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EnvelopeVersion>2.0</EnvelopeVersion>
  <Header>
    <MessageDetails>
      <Class>AnnualReturn</Class>
      <Qualifier>request</Qualifier>
      <Function>submit</Function>
      <CorrelationID/>
      <Transformation>XML</Transformation>
      <GatewayTest>0</GatewayTest>
    <TransactionID>1774788252873</TransactionID></MessageDetails>
    <SenderDetails>
      <IDAuthentication>
        <SenderID>....</SenderID>
        <Authentication>
          <Method>clear</Method>
          <Role>Principal</Role>
          <Value>....</Value>
        </Authentication>
      </IDAuthentication>
    </SenderDetails>
  </Header>
  <GovTalkDetails>
    <Keys>
      <Key Type="UTR">...</Key>
    </Keys>
    <TargetDetails>
      <Organisation>HMRC</Organisation>
    </TargetDetails>
    <ChannelRouting>
      <Channel>
        <URI>0000</URI>
        <Product>Harmony Accounts</Product>
        <Version>0.0.1</Version>
      </Channel>
    </ChannelRouting>
  </GovTalkDetails>
  <Body><FormSubmission>
    <FormIdentifier>Accounts</FormIdentifier>
    <FormHeader>
      <CompanyNumber>....</CompanyNumber>
      <CompanyType>0</CompanyType>
      <CompanyName>EXAMLPLE LTD</CompanyName>
      <CompanyAuthenticationCode>AAAAAA</CompanyAuthenticationCode>
      <PackageReference>EXAMPLE PACKAGE</PackageReference>
    </FormHeader>
    <DateSigned>2025-09-22</DateSigned>
  <Document>
    <Data>...</Data>
    <Filename>EXAMPLEaccounts20250731.xhtml</Filename>
    <ContentType>application/xhtml+xml</ContentType>
    <Category>ACCOUNTS</Category>
  </Document>
</FormSubmission></Body>
</GovTalkMessage>

```

And got the following response.’

```auto
<GovTalkMessage xsi:schemaLocation="http://www.govtalk.gov.uk/schemas/govtalk/govtalkheader http://xmlgw.companieshouse.gov.uk/v1-0/schema/Egov_ch.xsd" xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
  <EnvelopeVersion>1.0</EnvelopeVersion>
  <Header>
    <MessageDetails>
      <Class>AnnualReturn</Class>
      <Qualifier>error</Qualifier>
      <TransactionID>1774788252873</TransactionID>
      <GatewayTimestamp>2026-03-29T13:45:19-00:00</GatewayTimestamp>
    </MessageDetails>
    <SenderDetails>
      <IDAuthentication>
        <SenderID>7ff8cb8cfb96604c5fe49ca3cc90387b</SenderID>
        <Authentication>
          <Method>CHMD5</Method>
          <Value>0c7e611efbfdbbba4b9dbc9251b57029</Value>
        </Authentication>
      </IDAuthentication>
    </SenderDetails>
  </Header>
  <GovTalkDetails>
    <Keys/>
	<GovTalkErrors>
	  <Error>
	    <RaisedBy>AnnualReturn</RaisedBy>
	    <Number>9999</Number>
	    <Type>fatal</Type>
	    <Text>FormIdentifier does not match content in Form element</Text>
	    <Location></Location>
	  </Error>
	</GovTalkErrors>
  </GovTalkDetails>
  <Body>
  </Body>
</GovTalkMessage>

```

---

<div class="post-metadata">

**Author:** ![kadach](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/k/3be4f8/32.png) [@kadach](https://xmlforum.companieshouse.gov.uk/u/kadach)\
**Post date:** [March 30, 2026, 2:26pm UTC](https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924/2 "2026-03-30T14:26:07Z")

</div>

Hi @JohnLeeDevelops

Thank you for your post. The class field should be Accounts just like Accounts.

Thanks,

KAJ

---

<div class="post-metadata">

**Author:** ![JohnLeeDevelops](https://xmlforum.companieshouse.gov.uk/user_avatar/xmlforum.companieshouse.gov.uk/johnleedevelops/32/212_2.png) [@JohnLeeDevelops](https://xmlforum.companieshouse.gov.uk/u/JohnLeeDevelops)\
**Post date:** [March 30, 2026, 8:03pm UTC](https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924/3 "2026-03-30T20:03:13Z")

</div>

Thanks for your prompt reply.  
Ok I see the data has to align with FormSubmission-v2-11.xsd

Now my next question is how do I set my software up to be a valid software vendor as I get the following error after amending the Class field.

```auto
<GovTalkDetails>
    <Keys/>
	<GovTalkErrors>
	  <Error>
	    <RaisedBy>Accounts</RaisedBy>
	    <Number>9999</Number>
	    <Type>fatal</Type>
	    <Text>The package reference 'Harmony Accounts' is invalid</Text>
	    <Location></Location>
	  </Error>
	</GovTalkErrors>
  </GovTalkDetails>

```

---

<div class="post-metadata">

**Author:** ![kadach](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/k/3be4f8/32.png) [@kadach](https://xmlforum.companieshouse.gov.uk/u/kadach)\
**Post date:** [March 31, 2026, 6:40am UTC](https://xmlforum.companieshouse.gov.uk/t/govtalk-form-submission-to-ammend-accounts-new-accounts/1924/4 "2026-03-31T06:40:49Z")

</div>

Hi @JohnLeeDevelops Please see our guidance for more information - [Important information for software developers - read first - GOV.UK](https://www.gov.uk/government/publications/technical-interface-specifications-for-companies-house-software/important-information-for-software-developers-read-first).

Thanks,

KAJ
