Symptom
In Italian supplier invoice XML attachment, the wrong <TipoDocumento> value is populated.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Supplier Invoicing work center.
- Go to Invoices and Credit Memos view.
- Search with Supplier Invoice ID ABC (ABC refers to Supplier Invoice ID).
- Select Edit button.
- Select Attachments tab.
- 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
- Review the tax code-to-TipoDocumento mapping used for Italian e‑invoice determination in configuration.
- 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
Keywords
Italian e-invoice; self-billing; SDI; TipoDocumento; td16; td19; Italy localization; supplier invoice; , KBA , AP-SIP-SIV-GLO , Cross-Country Extensions , Problem
SAP Knowledge Base Article - Public