Dear Forum
We are currently implementing e-invoice for Finland using the following concept:
1. Generate invoice IDOC via EDI output type in SAP ERP
2. Send the IDOC to XI
3. Map the IDOC structure to the XML structure (xsd) for the "Finvoice" standard.
Now we face the problem that we have to generate an XML file which contains several invoices and for each of the XML invoice we should get a kind of SOAP enveloppe header :
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink=" http://www.w3.org/1999/xlink" xmlns:eb=" http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<SOAP-ENV:Header>
http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" SOAP-ENV:mustUnderstand="1" eb:id="20021209133003285">
<eb:From>
<eb:PartyId>FI1120921800010210</eb:PartyId>
<eb:Role>Sender</eb:Role>
</eb:From>
<eb:From>
<eb:PartyId>NDEAFIHH</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:From>
<eb:To>
<eb:PartyId>003717655142</eb:PartyId>
<eb:Role>Receiver</eb:Role>
</eb:To>
<eb:To>
<eb:PartyId>003703575029</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:To>
<eb:CPAId>yoursandmycpa</eb:CPAId>
<eb:ConversationId></eb:ConversationId>
<eb:Service>Routing</eb:Service>
<eb:Action>ProcessInvoice</eb:Action>
<eb:MessageData>
<eb:MessageId>20060829-0105151141</eb:MessageId>
<eb:Timestamp>2006-08-29T11:07:39+02</eb:Timestamp>
<eb:RefToMessageId></eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest eb:id="Manifest" eb:version="2.0">
<eb:Reference eb:id="Finvoice" xlink:href="20060829-0105151141">
http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
</eb:Reference>
</eb:Manifest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Could you give me any hint how we could get this "header" into the XML file in XI ?
Many thanks
Regards Stefan