0

Hello,
is there someone that can help me about the syntactic form of the file XML for the italian "FATTURA PA"?
From 2017/01/01 is changed the file's form (rel 1.2), and the file created by my procedure is not accepted from the SDI system (outcome: "error 0200 - file not conform to format - The published version invoiceis not present among those admitted").
The file header contains (I carry a snippet):

<?xml version="1.0" encoding="UTF-8"?> 
<p:FatturaElettronica versione="1.2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2" xmlns:xsi="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"> 
     <FatturaElettronicaHeader> 
          <DatiTrasmissione>
            ...

Can you help me to understand where is the error?
Thanks in advance
Antonio BIANCA

Edited by niobi

2
Contributors
1
Reply
7
Views
5 Months
Discussion Span
Last Post by cereal
0

Hi,

as the error states the format of the invoice is not recognized by their system, you are showing only the namespaces in the header of the XML document. The document must conform to these namespaces. So if the namespace xlmns:p defines nodes like <p:FatturaElettronica> the following:

<FatturaElettronicaHeader> 
      <DatiTrasmissione>

Will probably be:

<p:FatturaElettronicaHeader> 
      <p:DatiTrasmissione>

Ans so on. Verify if there are nodes that are breaking these rules. If you have difficulties, please share a full example of this document and the related documentation.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.