# XML response from approved Incorporation missing element?

**URL:** <https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161>\
**Category:** Incorporation\
**Created:** [June 15, 2016, 10:11am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161 "2016-06-15T10:11:50Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![davedowns](https://xmlforum.companieshouse.gov.uk/user_avatar/xmlforum.companieshouse.gov.uk/davedowns/32/31_2.png) [@davedowns](https://xmlforum.companieshouse.gov.uk/u/davedowns)\
**Post date:** [June 15, 2016, 10:11am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/1 "2016-06-15T10:11:50Z")

</div>

We’ve had some incorporation requests using the beta gateway approved but the XML response seems to be missing an `IncorporationDetails` element and thus causing errors in our system when this is being processed.

We’re expecting the response to contain the `IncorporationDate`, `AuthenticationCode` and `DocRequestKey` elements but these are not present in the response, is this to be expected in live or are these missing simply because it’s a test submission?

---

<div class="post-metadata">

**Author:** ![steve](https://xmlforum.companieshouse.gov.uk/user_avatar/xmlforum.companieshouse.gov.uk/steve/32/58_2.png) [@steve](https://xmlforum.companieshouse.gov.uk/u/steve)\
**Post date:** [June 16, 2016, 8:10am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/2 "2016-06-16T08:10:59Z")

</div>

Is there any word on this? Like the example above, we too were expecting the IncorporationDetails element to be present in the GetSubmissionStatus response after our Incorporation request was accepted by CH.

---

<div class="post-metadata">

**Author:** ![npreece](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/n/e47c2d/32.png) [@npreece](https://xmlforum.companieshouse.gov.uk/u/npreece)\
**Post date:** [June 16, 2016, 8:34am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/3 "2016-06-16T08:34:01Z")

</div>

We haven’t changed the get submission status process so I would expect the response to contain the same elements as currently in live.

I will try one myself and post the response.

I assume your submission hasn’t been processed and accepted anyway?

Nigel Preece

---

<div class="post-metadata">

**Author:** ![davedowns](https://xmlforum.companieshouse.gov.uk/user_avatar/xmlforum.companieshouse.gov.uk/davedowns/32/31_2.png) [@davedowns](https://xmlforum.companieshouse.gov.uk/u/davedowns)\
**Post date:** [June 16, 2016, 9:56am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/4 "2016-06-16T09:56:28Z")

</div>

I thought it might be helpful to add some XML for clarity.

This is from our live system (anonymised)

```
<SubmissionStatus>
    <Status>
        <SubmissionNumber>LIVE01</SubmissionNumber>
        <StatusCode>ACCEPT</StatusCode>
        <CompanyNumber>01234567</CompanyNumber>
        <Rejections></Rejections>
        <IncorporationDetails>
            <DocRequestKey>ANONYMISED</DocRequestKey>
            <IncorporationDate>2016-06-16</IncorporationDate>
            <AuthenticationCode>AUTH01</AuthenticationCode>
        </IncorporationDetails>
    </Status>
</SubmissionStatus>

```

From the beta gateway (anonymised):

```
<SubmissionStatus>
    <Status>
        <SubmissionNumber>TEST01</SubmissionNumber>
        <StatusCode>ACCEPT</StatusCode>
        <CompanyNumber>000000</CompanyNumber>
        <Rejections>
        </Rejections>
        <Examiner>
            <Telephone>Fred Blogs</Telephone>
            <Comment>Admin Accepted:</Comment>
        </Examiner>
    </Status>
</SubmissionStatus>

```

As you can see, the live system returns an `IncorporationDetails` element that we then use to get document information and store the actual incorporation date. Because that’s not present on the response from the beta gateway our system is raising an error.

I presume this is because the Incorporation had to be manually accepted on the beta gateway, however we wanted to check that this wouldn’t happen on live when the schemas update?

If it won’t change on live is there any way to get responses passed back with the `IncorporationDetails` element?

---

<div class="post-metadata">

**Author:** ![chirst](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/8baadc/32.png) [@chirst](https://xmlforum.companieshouse.gov.uk/u/chirst)\
**Post date:** [June 20, 2016, 12:14pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/5 "2016-06-20T12:14:10Z")

</div>

Apologies for delay there is a bug, which is currently being tested and the developer will let you know as soon as it has been released - thanks

---

<div class="post-metadata">

**Author:** ![philip](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/p/96bed5/32.png) [@philip](https://xmlforum.companieshouse.gov.uk/u/philip)\
**Post date:** [June 21, 2016, 3:36pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/6 "2016-06-21T15:36:19Z")

</div>

Do you have an update on this issue as we are keen to progress our testing around this.

Thanks

---

<div class="post-metadata">

**Author:** ![npreece](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/n/e47c2d/32.png) [@npreece](https://xmlforum.companieshouse.gov.uk/u/npreece)\
**Post date:** [June 22, 2016, 1:02pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/7 "2016-06-22T13:02:06Z")

</div>

We just updated the inc schema on beta to include the correct base types and also ensure the correct response is returned when your inc is accepted.

If you wish to test this please communicate with @snicholas as normal.

thanks

Nigel Preece

---

<div class="post-metadata">

**Author:** ![clo](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@clo](https://xmlforum.companieshouse.gov.uk/u/clo)\
**Post date:** [June 22, 2016, 3:05pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/8 "2016-06-22T15:05:25Z")

</div>

Hi Nigel,

Thanks for this.

Yes, the missing elements are now being returned in the response.

Can we assume that this was a ‘one-off’ issue on **XMLBETA** , and no change is required to be rolled out onto **XMLGW** , i.e. the ‘Live’ site which may already have the fix?

Many thanks

---

<div class="post-metadata">

**Author:** ![npreece](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/n/e47c2d/32.png) [@npreece](https://xmlforum.companieshouse.gov.uk/u/npreece)\
**Post date:** [June 22, 2016, 4:28pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/9 "2016-06-22T16:28:16Z")

</div>

@clo Yes, that’s a correct assumption. We’d introduced a bug, now resolved. Thanks to your (and others) help in ensuring it was sorted.

Nigel Preece

---

<div class="post-metadata">

**Author:** ![rory](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@rory](https://xmlforum.companieshouse.gov.uk/u/rory)\
**Post date:** [August 4, 2016, 4:09pm UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/10 "2016-08-04T16:09:20Z")

</div>

Hi,  
I’ve had a similar issue on XMLGW with a test submission.  
In the GetSubmissionStatus response I’m not getting an IncorporationDetails element for an accepted submission.  
Is this still an issue?  
Thanks

---

<div class="post-metadata">

**Author:** ![chirst](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/8baadc/32.png) [@chirst](https://xmlforum.companieshouse.gov.uk/u/chirst)\
**Post date:** [August 5, 2016, 7:17am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/11 "2016-08-05T07:17:44Z")

</div>

Thanks I will ask support to look into it for you.

---

<div class="post-metadata">

**Author:** ![rory](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@rory](https://xmlforum.companieshouse.gov.uk/u/rory)\
**Post date:** [August 9, 2016, 8:22am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/12 "2016-08-09T08:22:16Z")

</div>

Hi, did anyone get looking into this yet?  
I can send on more info if required.  
Thanks

---

<div class="post-metadata">

**Author:** ![chirst](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/8baadc/32.png) [@chirst](https://xmlforum.companieshouse.gov.uk/u/chirst)\
**Post date:** [August 16, 2016, 7:59am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/13 "2016-08-16T07:59:51Z")

</div>

Apologies I have chased up our support team who are investigating today for you.

---

<div class="post-metadata">

**Author:** ![dcornelius](https://xmlforum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@dcornelius](https://xmlforum.companieshouse.gov.uk/u/dcornelius)\
**Post date:** [August 16, 2016, 10:42am UTC](https://xmlforum.companieshouse.gov.uk/t/xml-response-from-approved-incorporation-missing-element/161/14 "2016-08-16T10:42:39Z")

</div>

Sorry for the delay in our response. Can you email the full xml request and response to [snicholas@companieshouse.gov.uk](mailto:snicholas@companieshouse.gov.uk)
