web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Bug in FATTURA PA export of ITALIAN local functionality

(6) ShareShare
ReportReport
Posted on by 23
L'esportazione del file XML per la FATTURAPA (fattura elettronica italiana) da inviare allo SDI non funziona correttamente. Non esporta i dati relativi all'ordine di acquisto presenti sulla fattura di vendita.
 
 
I have the same question (1)
  • Suggested answer
    Montassar Krichi Profile Picture
    231 on at
    Bug in FATTURA PA export of ITALIAN local functionality
    Hi,
    Based on your description, it appears that the XML file generated for the FATTURAPA (Italian electronic invoice) does not include the purchase order reference from the sales invoice, which is required for proper transmission to the SDI platform.
    This issue may stem from one of the following causes:
    1. Missing or Incorrect Mapping:
      The standard Business Central XML mapping for FATTURAPA may not include the DatiOrdineAcquisto section unless the relevant fields (e.g., “Your Reference”, “Order No.”, or “External Document No.”) are properly filled in on the sales invoice.
    2. Localization Customization:
      If you are using a localized Italian version or a specific localization extension for FATTURAPA, the export logic may require customization or proper configuration to include purchase order references.
    3. Field Configuration:
      The system might not be set to capture or transfer those fields into the XML schema. This would require a review of the XML port or the AL extension handling the FATTURAPA generation.

    Recommended Next Steps:
    1. Verify Sales Invoice Data
      Ensure that the purchase order number is correctly populated in the “Your Reference” or “External Document No.” field on the sales invoice.
    2. Check the XML Structure
      Review the generated XML to confirm whether the <DatiOrdineAcquisto> node is present or missing entirely.
    3. Review Customizations or Localization Extension
      If you are using a third-party solution or a Microsoft localization pack, confirm if the mapping includes PO data and whether additional configuration is needed.
    4. Consider Custom AL Development
      If the standard export does not meet your business requirements, a small AL extension can be developed to ensure the purchase order information is injected into the correct XML node during export.

    If this Helps, please mark as resovled
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    19,517 Super User 2025 Season 2 on at
  • Gerardo Rentería García Profile Picture
    23,590 Most Valuable Professional on at
    Bug in FATTURA PA export of ITALIAN local functionality
    Hi
    You can check and ask questions in the official Yammer group related to the localizations of the different countries.
    Best
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    93,438 Super User 2025 Season 2 on at
    Bug in FATTURA PA export of ITALIAN local functionality
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,095 Super User 2025 Season 2 on at
    Bug in FATTURA PA export of ITALIAN local functionality
    Ciao LorSon,
     
    Questo è un comportamento già segnalato da diversi utenti e può essere causato da uno dei seguenti motivi:
     
    1. Campi mancanti nel documento di vendita: Assicurati che i dati dell’ordine di acquisto (come il numero ordine, codice CIG/CUP, riferimento amministrazione, ecc.) siano correttamente compilati nella scheda cliente e sulla fattura.
     
     
    2. Mappatura errata nei layout XML: Controlla se la versione dell’estensione localizzata italiana che stai usando ha una mappatura aggiornata per il tracciato FatturaPA. Alcune versioni vecchie non esportano i riferimenti ordine correttamente.
     
     
    3. Hotfix disponibile: Verifica nel portale di supporto Microsoft o PartnerSource se è stato rilasciato un aggiornamento correttivo (hotfix) per questo problema.
     
     
    4. Workaround temporaneo: Se urgente, puoi considerare modificare manualmente l’XML generato, oppure usare un'estensione personalizzata per forzare l'inserimento dei dati mancanti.
     
     
     
    Ti consiglio anche di contattare il tuo Microsoft Partner locale per verificare se si tratta di un bug noto nella tua versione di Business Central.
     
    Se trovi utile questa risposta, marcala come Verified Answer ✅
     
     
  • LorSon Profile Picture
    23 on at
    Bug in FATTURA PA export of ITALIAN local functionality
    Hello,
    we use the online version of Business Central (so we cannot install patch or other).
     
    I have request the update to 26.2 and check if the bug is correct.
     
    Thanks
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 2,204

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 1,933

#3
YUN ZHU Profile Picture

YUN ZHU 1,885 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans