cancel
Showing results for 
Search instead for 
Did you mean: 

How do I modify invoice request xml file by adding posting date?

Former Member
0 Kudos


Hi,

We import customer invoice requests via xml files from an external data source. Currently the standard SAP xml file does not include the posting date, and invoices enter SAP with a blank posting date. When the invoice is released, the posting date is taken from the invoice date.

Due to our month end processes, we have hundreds of invoice requests every month where we do not want posting date to equal the invoice date, and for each of those invoices the posting date is manually entered one invoice at a time during the release process. This is very time consuming.

We would like to build functionality in our external system to create the posting date at the xml file generation stage. Could anyone let us know the following:

- what is the name of the posting date field on invoice requests (invoice documents)?

- where would we place the additional script in the xml file?

I'm attaching one of our current xml files (which already contains one section that has been customized)

Your suggestions would be appreciated.

Thanks,

Kerstin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kerstin,

The closest i could find in the WSDL of the Manage Invoice Request Web Service that handles this integration is "<ProposedInvoiceDate>" or possibly even "<ProposedDeviatingPostingdate>", both of which sit directly under the <CustomerInvoiceRequest> element.

For more information, go to the Service Explorer, find the ManageInvoiceRequestsIn Web Service, download the WSDL, and open it in SOAP-UI or something similar. This way you can see all the fields that you can write to, which is where i found these two elements.

Former Member
0 Kudos

Hi Dan, thanks so much for your suggestions!


<ProposedDeviatingPostingdate> is indeed the right name for Posting Date in Invoice Requests. I further realized, after downloading the WSDL, that this name is case sensitive, and was able to import the posting date by calling it <ProposedDeviatingPostingDate>.

Kerstin

Answers (1)

Answers (1)

Former Member
0 Kudos

Please note that it is the section handling Region Code that is customized in the existing xml file