Search code examples
xmlweb-servicesmtomirs

Sending a request to the IRS ACA A2A BulkRequestTransmitter web service


I am trying to send a request to the IRS's BulkRequestTransmitter service. I am constructing the message manually using C# (not WCF, I'm just creating all of the XML). The XML I've constructed is valid, and I can sign it with an X509 certificate (so I am past the point of the WS-Security error that many people struggle with for this service). I am also able to apply gzip compression to the outgoing request, and as far as I can tell, I am attaching the BulkExchangeFile properly. While working on this, I have occasionally seen errors telling me to ensure that the message is MTOM-encoded, but I have applied the appropriate headers and separators as far as I can tell, and the error message I currently receive is:

The message was not formatted properly and/or cannot be interpreted. Please review the XML standards outlined in Section 3 of the AIR Submission Composition and Reference Guide located at https://www.irs.gov/for-Tax-Pros/Software-Developers/Information-Returns/Affordable-Care-Act-Information-Return-AIR-Program, correct any issues, and try again.

A redacted version of my complete (uncompressed) request is below. Can anyone identify what is lacking here? Or if you have an example of a working request, would you please provide it?

POST https://la.www4.irs.gov/airp/aca/a2a/1095BC_Transmission_AATS2016 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Content-Type: multipart/related; type="application/xop+xml"; start="<rootpart@place>"; start-info="text/xml"; boundary="------separation"
SOAPAction: "BulkRequestTransmitter"
MIME-Version: 1.0
Host: la.www4.irs.gov
Content-Length: 26656
Connection: Keep-Alive

------separation
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-Disposition: form-data

<soapenv:Envelope xmlns:oas1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:us:gov:treasury:irs:ext:aca:air:7.0" xmlns:urn1="urn:us:gov:treasury:irs:common" xmlns:urn2="urn:us:gov:treasury:irs:msg:acabusinessheader" xmlns:urn3="urn:us:gov:treasury:irs:msg:acasecurityheader" xmlns:urn4="urn:us:gov:treasury:irs:msg:irsacabulkrequesttransmitter" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xd="http://www.w3.org/2000/09/xmldsig#">
  <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1" wsu:Id="X509-2536B72CF39EF8CCA91454680407206414">REDACTED</wsse:BinarySecurityToken><Signature Id="SIG-2536B72CF39EF8CCA91454680407206417" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI="#TS-2536B72CF39EF8CCA91454680407204413"><Transforms><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><InclusiveNamespaces PrefixList="wsse wsa oas1 soapenv urn urn1 urn2 urn3 urn4 xd" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>o/EHDkngH0Cpjsznht+9hob6EJM=</DigestValue></Reference><Reference URI="#id-B123454679813489712349871234987123"><Transforms><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><InclusiveNamespaces PrefixList="wsa oas1 soapenv urn urn1 urn3 urn4 xd" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>S+fJ7JQqtOBHu4ROJomDPCFBEzg=</DigestValue></Reference><Reference URI="#id-A123454679813489712349871234987123"><Transforms><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><InclusiveNamespaces PrefixList="wsa oas1 soapenv urn1 urn2 urn3 urn4 xd" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>p2UkJzH2M6t0Sv5SZtBeXd2NmdE=</DigestValue></Reference></SignedInfo><SignatureValue>REDACTED</SignatureValue><KeyInfo Id="KI-2536B72CF39EF8CCA91454680407206415"><wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" wsse11:TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1" wsu:Id="id-F123454679813489712349871234987123" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"><wsse:Reference URI="#X509-2536B72CF39EF8CCA91454680407206414" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1" /></wsse:SecurityTokenReference></KeyInfo></Signature><wsu:Timestamp wsu:Id="TS-2536B72CF39EF8CCA91454680407204413"><wsu:Created>2016-02-15T20:49:03Z</wsu:Created><wsu:Expires>2016-02-15T20:49:04Z</wsu:Expires></wsu:Timestamp></wsse:Security>

     <urn:ACATransmitterManifestReqDtl wsu:Id="id-A123454679813489712349871234987123" xmlns:irs="urn:us:gov:treasury:irs:common">
        <PaymentYr>2016</PaymentYr>
        <PriorYearDataInd>0</PriorYearDataInd>
        <irs:EIN>123456780</irs:EIN>
        <TransmissionTypeCd>O</TransmissionTypeCd>
        <TestFileCd>T</TestFileCd>
        <TransmitterNameGrp>
           <BusinessNameLine1Txt>Company</BusinessNameLine1Txt>
        </TransmitterNameGrp>
        <CompanyInformationGrp>
           <CompanyNm>Company</CompanyNm>
           <MailingAddressGrp>
              <USAddressGrp>
                 <AddressLine1Txt>100 Street Road</AddressLine1Txt>
                 <irs:CityNm>Pittsburgh</irs:CityNm>
                 <USStateCd>PA</USStateCd>
                 <irs:USZIPCd>15147</irs:USZIPCd>
              </USAddressGrp>
           </MailingAddressGrp>
           <ContactNameGrp>
              <PersonFirstNm>FirstName</PersonFirstNm>
              <PersonLastNm>LastName</PersonLastNm>
           </ContactNameGrp>
           <ContactPhoneNum>1234561333</ContactPhoneNum>
        </CompanyInformationGrp>
        <VendorInformationGrp>
           <VendorCd>I</VendorCd>
           <ContactNameGrp>
              <PersonFirstNm>FirstName</PersonFirstNm>
              <PersonLastNm>LastName</PersonLastNm>
           </ContactNameGrp>
           <ContactPhoneNum>1234561355</ContactPhoneNum>
        </VendorInformationGrp>
        <TotalPayeeRecordCnt>3</TotalPayeeRecordCnt>
        <TotalPayerRecordCnt>1</TotalPayerRecordCnt>
        <SoftwareId>REDACTED</SoftwareId>
        <FormTypeCd>1094/1095C</FormTypeCd>
        <irs:BinaryFormatCd>application/xml</irs:BinaryFormatCd>
        <irs:ChecksumAugmentationNum>88E29379045C75F748C50A42D41BE2B9</irs:ChecksumAugmentationNum>
        <irs:AttachmentByteSizeNum>13469</irs:AttachmentByteSizeNum>
        <DocumentSystemFileNm>1094C_Request_REDACTED_20160215T204902973Z.xml</DocumentSystemFileNm>
     </urn:ACATransmitterManifestReqDtl>


     <urn2:ACABusinessHeader wsu:Id="id-B123454679813489712349871234987123">
        <urn:UniqueTransmissionId>c8c22f37-aa2c-41a0-a262-da2fe16ea898:SYS12:REDACTED::T</urn:UniqueTransmissionId>
        <urn1:Timestamp>2016-02-15T20:49:03Z</urn1:Timestamp>
     </urn2:ACABusinessHeader>

  <wsa:Action>BulkRequestTransmitter</wsa:Action></soapenv:Header>
  <soapenv:Body>
     <urn4:ACABulkRequestTransmitter version="1.0">
        <urn1:BulkExchangeFile>1094C_Request_REDACTED_20160215T204902973Z.xml</urn1:BulkExchangeFile>
     </urn4:ACABulkRequestTransmitter>
  </soapenv:Body>
</soapenv:Envelope>
------separation
Content-Type: application/xml
Content-Transfer-Encoding: 7bit
Content-Disposition: form-data

<?xml version="1.0" encoding="utf-8"?>
<n1:Form109495CTransmittalUpstream xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns="urn:us:gov:treasury:irs:ext:aca:air:7.0" xmlns:irs="urn:us:gov:treasury:irs:common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:us:gov:treasury:irs:msg:form1094-1095Ctransmitterupstreammessage IRS-Form1094-1095CTransmitterUpstreamMessage.xsd" xmlns:n1="urn:us:gov:treasury:irs:msg:form1094-1095Ctransmitterupstreammessage">
 <Form1094CUpstreamDetail recordType="" lineNum="0">
   <SubmissionId>1</SubmissionId>
   <TestScenarioId>3-0</TestScenarioId>
   <irs:TaxYr>2015</irs:TaxYr>
   <CorrectedInd>0</CorrectedInd>
   <EmployerInformationGrp>
     <BusinessName>
       <BusinessNameLine1Txt>Amazon Information</BusinessNameLine1Txt>
     </BusinessName>
     <BusinessNameControlTxt>AMAZ</BusinessNameControlTxt>
     <irs:TINRequestTypeCd>BUSINESS_TIN</irs:TINRequestTypeCd>
     <irs:EmployerEIN>005234504</irs:EmployerEIN>
     <MailingAddressGrp>
       <USAddressGrp>
         <AddressLine1Txt>6689 Willow Court</AddressLine1Txt>
         <irs:CityNm>Beverly Hills</irs:CityNm>
         <USStateCd>CA</USStateCd>
         <irs:USZIPCd>90211</irs:USZIPCd>
       </USAddressGrp>
     </MailingAddressGrp>
     <ContactNameGrp>
       <PersonFirstNm>Rose</PersonFirstNm>
       <PersonMiddleNm>S</PersonMiddleNm>
       <PersonLastNm>Lincoln</PersonLastNm>
     </ContactNameGrp>
     <ContactPhoneNum>5559876543</ContactPhoneNum>
   </EmployerInformationGrp>
   <Form1095CAttachedCnt>3</Form1095CAttachedCnt>
   <AuthoritativeTransmittalInd>1</AuthoritativeTransmittalInd>
   <TotalForm1095CALEMemberCnt>455</TotalForm1095CALEMemberCnt>
   <AggregatedGroupMemberCd>1</AggregatedGroupMemberCd>
   <Section4980HReliefInd>1</Section4980HReliefInd>
   <ALEMemberInformationGrp>
     <YearlyALEMemberDetail>
       <AggregatedGroupInd>1</AggregatedGroupInd>
       <ALESect4980HTrnstReliefCd>B</ALESect4980HTrnstReliefCd>
     </YearlyALEMemberDetail>
     <JanALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>2</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>312</ALEMemberFTECnt>
       <TotalEmployeeCnt>351</TotalEmployeeCnt>
     </JanALEMonthlyInfoGrp>
     <FebALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>2</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>312</ALEMemberFTECnt>
       <TotalEmployeeCnt>352</TotalEmployeeCnt>
     </FebALEMonthlyInfoGrp>
     <MarALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>2</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>315</ALEMemberFTECnt>
       <TotalEmployeeCnt>358</TotalEmployeeCnt>
     </MarALEMonthlyInfoGrp>
     <AprALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>2</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>320</ALEMemberFTECnt>
       <TotalEmployeeCnt>365</TotalEmployeeCnt>
     </AprALEMonthlyInfoGrp>
     <MayALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>2</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>322</ALEMemberFTECnt>
       <TotalEmployeeCnt>369</TotalEmployeeCnt>
     </MayALEMonthlyInfoGrp>
     <JunALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>325</ALEMemberFTECnt>
       <TotalEmployeeCnt>376</TotalEmployeeCnt>
     </JunALEMonthlyInfoGrp>
     <JulALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>329</ALEMemberFTECnt>
       <TotalEmployeeCnt>372</TotalEmployeeCnt>
     </JulALEMonthlyInfoGrp>
     <AugALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>333</ALEMemberFTECnt>
       <TotalEmployeeCnt>369</TotalEmployeeCnt>
     </AugALEMonthlyInfoGrp>
     <SeptALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>341</ALEMemberFTECnt>
       <TotalEmployeeCnt>366</TotalEmployeeCnt>
     </SeptALEMonthlyInfoGrp>
     <OctALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>344</ALEMemberFTECnt>
       <TotalEmployeeCnt>363</TotalEmployeeCnt>
     </OctALEMonthlyInfoGrp>
     <NovALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>361</ALEMemberFTECnt>
       <TotalEmployeeCnt>377</TotalEmployeeCnt>
     </NovALEMonthlyInfoGrp>
     <DecALEMonthlyInfoGrp>
       <MinEssentialCvrOffrCd>1</MinEssentialCvrOffrCd>
       <ALEMemberFTECnt>372</ALEMemberFTECnt>
       <TotalEmployeeCnt>385</TotalEmployeeCnt>
     </DecALEMonthlyInfoGrp>
   </ALEMemberInformationGrp>
   <OtherALEMembersGrp>
     <BusinessName>
       <BusinessNameLine1Txt>Danube Information Inc</BusinessNameLine1Txt>
     </BusinessName>
     <BusinessNameControlTxt>DANU</BusinessNameControlTxt>
     <irs:TINRequestTypeCd>BUSINESS_TIN</irs:TINRequestTypeCd>
     <irs:EIN>005234507</irs:EIN>
   </OtherALEMembersGrp>
   <OtherALEMembersGrp>
     <BusinessName>
       <BusinessNameLine1Txt>Euphrates Limited</BusinessNameLine1Txt>
     </BusinessName>
     <BusinessNameControlTxt>EUPH</BusinessNameControlTxt>
     <irs:TINRequestTypeCd>BUSINESS_TIN</irs:TINRequestTypeCd>
     <irs:EIN>005234508</irs:EIN>
   </OtherALEMembersGrp>
   <OtherALEMembersGrp>
     <BusinessName>
       <BusinessNameLine1Txt>Mackenzie Inc</BusinessNameLine1Txt>
     </BusinessName>
     <BusinessNameControlTxt>MACK</BusinessNameControlTxt>
     <irs:TINRequestTypeCd>BUSINESS_TIN</irs:TINRequestTypeCd>
     <irs:EIN>005234505</irs:EIN>
   </OtherALEMembersGrp>
   <OtherALEMembersGrp>
     <BusinessName>
       <BusinessNameLine1Txt>Rio Grande Co</BusinessNameLine1Txt>
     </BusinessName>
     <BusinessNameControlTxt>RIO </BusinessNameControlTxt>
     <irs:TINRequestTypeCd>BUSINESS_TIN</irs:TINRequestTypeCd>
     <irs:EIN>005234506</irs:EIN>
   </OtherALEMembersGrp>
   <Form1095CUpstreamDetail recordType="" lineNum="0">
     <RecordId>1393</RecordId>
     <TestScenarioId>3-1</TestScenarioId>
     <CorrectedInd>0</CorrectedInd>
     <irs:TaxYr>2015</irs:TaxYr>
     <EmployeeInfoGrp>
       <OtherCompletePersonName>
         <PersonFirstNm>Teresa</PersonFirstNm>
         <PersonMiddleNm>L</PersonMiddleNm>
         <PersonLastNm>Grays</PersonLastNm>
       </OtherCompletePersonName>
       <PersonNameControlTxt>GRAY</PersonNameControlTxt>
       <irs:SSN>400001016</irs:SSN>
       <MailingAddressGrp>
         <USAddressGrp>
           <AddressLine1Txt>342 Ash Avenue</AddressLine1Txt>
           <irs:CityNm>Seattle</irs:CityNm>
           <USStateCd>WA</USStateCd>
           <irs:USZIPCd>98104</irs:USZIPCd>
         </USAddressGrp>
       </MailingAddressGrp>
     </EmployeeInfoGrp>
     <ALEContactPhoneNum>5559876550</ALEContactPhoneNum>
     <StartMonthNumberCd>06</StartMonthNumberCd>
     <EmployeeOfferAndCoverageGrp>
       <MonthlyOfferCoverageGrp>
         <JanOfferCd>1H</JanOfferCd>
         <FebOfferCd>1H</FebOfferCd>
         <MarOfferCd>1H</MarOfferCd>
         <AprOfferCd>1H</AprOfferCd>
         <MayOfferCd>1H</MayOfferCd>
         <JunOfferCd>1E</JunOfferCd>
         <JulOfferCd>1E</JulOfferCd>
         <AugOfferCd>1E</AugOfferCd>
         <SepOfferCd>1E</SepOfferCd>
         <OctOfferCd>1E</OctOfferCd>
         <NovOfferCd>1E</NovOfferCd>
         <DecOfferCd>1E</DecOfferCd>
       </MonthlyOfferCoverageGrp>
       <MonthlyShareOfLowestCostMonthlyPremGrp>
         <JuneAmt>139.00</JuneAmt>
         <JulyAmt>139.00</JulyAmt>
         <AugustAmt>139.00</AugustAmt>
         <SeptemberAmt>139.00</SeptemberAmt>
         <OctoberAmt>139.00</OctoberAmt>
         <NovemberAmt>139.00</NovemberAmt>
         <DecemberAmt>139.00</DecemberAmt>
       </MonthlyShareOfLowestCostMonthlyPremGrp>
       <MonthlySafeHarborGrp>
         <JunSafeHarborCd>2C</JunSafeHarborCd>
         <JulSafeHarborCd>2C</JulSafeHarborCd>
         <AugSafeHarborCd>2C</AugSafeHarborCd>
         <SepSafeHarborCd>2C</SepSafeHarborCd>
         <OctSafeHarborCd>2C</OctSafeHarborCd>
         <NovSafeHarborCd>2C</NovSafeHarborCd>
         <DecSafeHarborCd>2C</DecSafeHarborCd>
       </MonthlySafeHarborGrp>
     </EmployeeOfferAndCoverageGrp>
   </Form1095CUpstreamDetail>
   <Form1095CUpstreamDetail recordType="" lineNum="0">
     <RecordId>1394</RecordId>
     <TestScenarioId>3-2</TestScenarioId>
     <CorrectedInd>0</CorrectedInd>
     <irs:TaxYr>2015</irs:TaxYr>
     <EmployeeInfoGrp>
       <OtherCompletePersonName>
         <PersonFirstNm>Wanda</PersonFirstNm>
         <PersonMiddleNm>S</PersonMiddleNm>
         <PersonLastNm>Antero</PersonLastNm>
       </OtherCompletePersonName>
       <PersonNameControlTxt>ANTE</PersonNameControlTxt>
       <irs:SSN>400001018</irs:SSN>
       <MailingAddressGrp>
         <USAddressGrp>
           <AddressLine1Txt>46789 Aspen Avenue</AddressLine1Txt>
           <irs:CityNm>Wasco</irs:CityNm>
           <USStateCd>OR</USStateCd>
           <irs:USZIPCd>97065</irs:USZIPCd>
         </USAddressGrp>
       </MailingAddressGrp>
     </EmployeeInfoGrp>
     <ALEContactPhoneNum>5559876550</ALEContactPhoneNum>
     <StartMonthNumberCd>06</StartMonthNumberCd>
     <EmployeeOfferAndCoverageGrp>
       <MonthlyOfferCoverageGrp>
         <JanOfferCd>1H</JanOfferCd>
         <FebOfferCd>1H</FebOfferCd>
         <MarOfferCd>1H</MarOfferCd>
         <AprOfferCd>1H</AprOfferCd>
         <MayOfferCd>1H</MayOfferCd>
         <JunOfferCd>1E</JunOfferCd>
         <JulOfferCd>1E</JulOfferCd>
         <AugOfferCd>1E</AugOfferCd>
         <SepOfferCd>1E</SepOfferCd>
         <OctOfferCd>1E</OctOfferCd>
         <NovOfferCd>1E</NovOfferCd>
         <DecOfferCd>1E</DecOfferCd>
       </MonthlyOfferCoverageGrp>
       <MonthlyShareOfLowestCostMonthlyPremGrp>
         <JuneAmt>148.00</JuneAmt>
         <JulyAmt>148.00</JulyAmt>
         <AugustAmt>148.00</AugustAmt>
         <SeptemberAmt>148.00</SeptemberAmt>
         <OctoberAmt>148.00</OctoberAmt>
         <NovemberAmt>148.00</NovemberAmt>
         <DecemberAmt>148.00</DecemberAmt>
       </MonthlyShareOfLowestCostMonthlyPremGrp>
       <MonthlySafeHarborGrp>
         <JunSafeHarborCd>2C</JunSafeHarborCd>
         <JulSafeHarborCd>2C</JulSafeHarborCd>
         <AugSafeHarborCd>2C</AugSafeHarborCd>
         <SepSafeHarborCd>2C</SepSafeHarborCd>
         <OctSafeHarborCd>2C</OctSafeHarborCd>
         <NovSafeHarborCd>2C</NovSafeHarborCd>
         <DecSafeHarborCd>2C</DecSafeHarborCd>
       </MonthlySafeHarborGrp>
     </EmployeeOfferAndCoverageGrp>
   </Form1095CUpstreamDetail>
   <Form1095CUpstreamDetail recordType="" lineNum="0">
     <RecordId>1395</RecordId>
     <TestScenarioId>3-3</TestScenarioId>
     <CorrectedInd>0</CorrectedInd>
     <irs:TaxYr>2015</irs:TaxYr>
     <EmployeeInfoGrp>
       <OtherCompletePersonName>
         <PersonFirstNm>Arthur</PersonFirstNm>
         <PersonMiddleNm>T</PersonMiddleNm>
         <PersonLastNm>Torreys</PersonLastNm>
       </OtherCompletePersonName>
       <PersonNameControlTxt>TORR</PersonNameControlTxt>
       <irs:SSN>400001022</irs:SSN>
       <MailingAddressGrp>
         <USAddressGrp>
           <AddressLine1Txt>4375 Alder Lane</AddressLine1Txt>
           <irs:CityNm>Kent</irs:CityNm>
           <USStateCd>WA</USStateCd>
           <irs:USZIPCd>98089</irs:USZIPCd>
         </USAddressGrp>
       </MailingAddressGrp>
     </EmployeeInfoGrp>
     <ALEContactPhoneNum>5559876550</ALEContactPhoneNum>
     <StartMonthNumberCd>06</StartMonthNumberCd>
     <EmployeeOfferAndCoverageGrp>
       <MonthlyOfferCoverageGrp>
         <JanOfferCd>1H</JanOfferCd>
         <FebOfferCd>1H</FebOfferCd>
         <MarOfferCd>1H</MarOfferCd>
         <AprOfferCd>1H</AprOfferCd>
         <MayOfferCd>1H</MayOfferCd>
         <JunOfferCd>1C</JunOfferCd>
         <JulOfferCd>1C</JulOfferCd>
         <AugOfferCd>1C</AugOfferCd>
         <SepOfferCd>1C</SepOfferCd>
         <OctOfferCd>1C</OctOfferCd>
         <NovOfferCd>1C</NovOfferCd>
         <DecOfferCd>1C</DecOfferCd>
       </MonthlyOfferCoverageGrp>
       <MonthlyShareOfLowestCostMonthlyPremGrp>
         <JuneAmt>145.00</JuneAmt>
         <JulyAmt>145.00</JulyAmt>
         <AugustAmt>145.00</AugustAmt>
         <SeptemberAmt>145.00</SeptemberAmt>
         <OctoberAmt>145.00</OctoberAmt>
         <NovemberAmt>145.00</NovemberAmt>
         <DecemberAmt>145.00</DecemberAmt>
       </MonthlyShareOfLowestCostMonthlyPremGrp>
       <MonthlySafeHarborGrp>
         <JunSafeHarborCd>2C</JunSafeHarborCd>
         <JulSafeHarborCd>2C</JulSafeHarborCd>
         <AugSafeHarborCd>2C</AugSafeHarborCd>
         <SepSafeHarborCd>2C</SepSafeHarborCd>
         <OctSafeHarborCd>2C</OctSafeHarborCd>
         <NovSafeHarborCd>2C</NovSafeHarborCd>
         <DecSafeHarborCd>2C</DecSafeHarborCd>
       </MonthlySafeHarborGrp>
     </EmployeeOfferAndCoverageGrp>
   </Form1095CUpstreamDetail>
 </Form1094CUpstreamDetail>
</n1:Form109495CTransmittalUpstream>
------separation--

Solution

  • Your BulkExchangeFile element isn't correct. Should look more like:

    <BulkExchangeFile xmlns="urn:us:gov:treasury:irs:common">
        <xop:Include href="cid:UZE_26123_" xmlns:xop="http://www.w3.org/2004/08/xop/include" />
    </BulkExchangeFile>
    

    And then the MIME header for your attachment also needs a new header to match the href in the Include element:

    Content-Id: <UZE_26123_>
    

    Use whatever identifiers you want, of course.

    Source: https://www.w3.org/TR/SOAP-attachments

    ctrl+f for "content-id" to see example.