SAP Knowledge Base Article - Public

3779219 - Incorrect <TipoDocumento> Value Populated in Supplier Invoice XML (Italy Self-Invoice)

Symptom

In Italian supplier invoice XML attachment, the wrong <TipoDocumento> value is populated. 

Environment

 SAP Business ByDesign

Reproducing the Issue

  1. Go to Supplier Invoicing work center.
  2. Go to Invoices and Credit Memos view.
  3. Search with Supplier Invoice ID ABC (ABC refers to Supplier Invoice ID).
  4. Select Edit button.
  5. Select Attachments tab.
  6. Select the hyperlink of the XML file.

<TipoDocumento> value in the XML is incorrect.

Note: The Supplier Invoice ABC is an Italian Self-Invoice

Cause

  • Under Italian e-invoicing regulations (SDI), the correct TipoDocumento code must be assigned to self-invoices based on the nature of the purchase. The mapping is as follows:

                          TD16    Internal reverse charge    
                          TD17    Self-billing  -  purchase of services from abroad
                          TD18    Self-billing  -  intra-community goods purchase
                          TD19    Self-invoice - purchase of goods under reverse charge from non-resident / foreign supplier scenario

  • The SDI document type (TipoDocumento) is determined based on the tax code in the transaction. Tax code 30 is configured to derive TD16; therefore, when tax code 30 is used, the system determines TD16.

Resolution

  1. Review the tax code-to-TipoDocumento mapping used for Italian e‑invoice determination in configuration.
  2. Maintain and use a tax code that is mapped to TD19 for Purchase of Goods ex Art. 17 c.2 DPR 633/72 (depending on configuration tax codes such as 63, 64, 66, 67, 68).

See Also

XML files for self‑invoices and reverse charge invoices – Italy

Keywords

Italian e-invoice; self-billing; SDI; TipoDocumento; td16; td19; Italy localization; supplier invoice; , KBA , AP-SIP-SIV-GLO , Cross-Country Extensions , Problem

Product

SAP Business ByDesign all versions