SAP Knowledge Base Article - Public

3582373 - Wrong Date in XML of Invoice for Italy

Symptom

When opening the XML of the invoice or credit memo, the tag DatiGeneraliDocumento has wrong date. 

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to Supplier Invoicing work center.
  2. Go to Invoices and Credit Memos view.
  3. Search for ABC (ABC is the invoice's ID). 
  4. Click in Edit button.
  5. Navigate to Attachments tab. 
  6. Open the XML document. 

See the tags: 

OPQ = document type code
DEF = currency
YYYY-DD-MM = date (year/month/day)
RST = Sequential Document Number 

<DatiGeneraliDocumento>
<TipoDocumento>OPQ</TipoDocumento>
<Divisa>DEF</Divisa>
<Data>YYYY-MM-DD</Data>
<Numero>RST</Numero>
</DatiGeneraliDocumento>

It was expected another date in the "Data" tag instead. 

Cause

For Italy Supplier Invoice or Credit Memo, the XML file tag "<DatiGeneraliDocumento>(<Data>YYYY-MM-DD</Data>) is expected to fill with the "Receipt Date" of the invoice only.

It is not the "Posting Date". 

Resolution

System is working as expected. 

Keywords

DatiGeneraliDocumento, Supplier Invoice, Credit Memo, Italy, Receipt Date, XML , KBA , SRD-SRM-SI , Supplier Invoicing , How To

Product

SAP Business ByDesign all versions