Discussione:
FatturaEU nei formati UBL e CII
(troppo vecchio per rispondere)
Simone Calligaris
2024-11-25 10:01:56 UTC
Permalink
Stavo dando un'occhiata alle specifiche tecniche per FattureEU (se ho
ben capito saranno obbligatorie per Fatture Intra tra qualche anno).

https://www.fatturapa.gov.it/export/documenti/Specifiche-Tecniche-Fatturazione-Europea-v2.5.pdf

Conoscete links da cui scaricare esempi di FT generate in quei formati?

Saluti
BFS
2024-11-25 15:57:02 UTC
Permalink
Post by Simone Calligaris
Stavo dando un'occhiata alle specifiche tecniche per FattureEU (se ho
ben capito saranno obbligatorie per Fatture Intra tra qualche anno).
https://www.fatturapa.gov.it/export/documenti/Specifiche-Tecniche-Fatturazione-Europea-v2.5.pdf
Conoscete links da cui scaricare esempi di FT generate in quei formati?
Saluti
vedi qui se aiuta

https://docs.peppol.eu/poacc/billing/3.0/


e un esempio prodotto da chatgpt

<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"

xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"

xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"

xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>

<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>INV-123456</cbc:ID>
<cbc:IssueDate>2024-11-25</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>

<!-- Dati del venditore -->
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Azienda Esempio S.p.A.</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Via Roma</cbc:StreetName>
<cbc:CityName>Roma</cbc:CityName>
<cbc:PostalZone>00100</cbc:PostalZone>
<cbc:CountrySubentity>Lazio</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>IT</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>IT12345678901</cbc:CompanyID>
<cbc:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cbc:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingSupplierParty>

<!-- Dati del cliente -->
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Cliente Esempio SRL</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Via Milano</cbc:StreetName>
<cbc:CityName>Milano</cbc:CityName>
<cbc:PostalZone>20100</cbc:PostalZone>
<cbc:CountrySubentity>Lombardia</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>IT</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>IT98765432101</cbc:CompanyID>
<cbc:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cbc:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingCustomerParty>

<!-- Linea di fatturazione -->
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="EA">10</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount
currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Prodotto Esempio</cbc:Name>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">10.00</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>

<!-- Totali -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount
currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount
currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount
currencyID="EUR">122.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">122.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>

<!-- Dati fiscali -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">22.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">22.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
</Invoice>
Simone Calligaris
2024-11-25 17:01:17 UTC
Permalink
Post by BFS
vedi qui se aiuta
https://docs.peppol.eu/poacc/billing/3.0/
e un esempio prodotto da chatgpt
Interessante: che tipo di richiesta hai fatto a chatgpt per generare
l'esempio in oggetto?

Saluti da Simone
BFS
2024-11-25 17:15:32 UTC
Permalink
Post by Simone Calligaris
Post by BFS
vedi qui se aiuta
https://docs.peppol.eu/poacc/billing/3.0/
e un esempio prodotto da chatgpt
Interessante: che tipo di richiesta hai fatto a chatgpt per generare
l'esempio in oggetto?
Saluti da Simone
testuale

"Fammi un esempio di fattura europea versione 2.5"

oltre all'esempio ha aggiunto:

Spiegazione dei principali tag:

<cbc:CustomizationID>: identifica il profilo EN 16931.
<cbc:ProfileID>: specifica il profilo Peppol BIS.
<cac:AccountingSupplierParty>: informazioni sul venditore.
<cac:AccountingCustomerParty>: informazioni sul cliente.
<cac:InvoiceLine>: descrizione delle linee di fattura.
<cac:TaxTotal>: riepilogo delle imposte.

Questo è un esempio semplificato; una fattura reale può includere molti
altri dettagli, come termini di pagamento, dati bancari e riferimenti
contrattuali.
Simone Calligaris
2024-11-25 18:18:41 UTC
Permalink
Post by BFS
Post by Simone Calligaris
Interessante: che tipo di richiesta hai fatto a chatgpt per generare
l'esempio in oggetto?
Saluti da Simone
testuale
"Fammi un esempio di fattura europea versione 2.5"
<cbc:CustomizationID>: identifica il profilo EN 16931.
<cbc:ProfileID>: specifica il profilo Peppol BIS.
<cac:AccountingSupplierParty>: informazioni sul venditore.
<cac:AccountingCustomerParty>: informazioni sul cliente.
<cac:InvoiceLine>: descrizione delle linee di fattura.
<cac:TaxTotal>: riepilogo delle imposte.
Questo è un esempio semplificato; una fattura reale può includere molti altri
dettagli, come termini di pagamento, dati bancari e riferimenti contrattuali.
In effetti ho valutato che Chatgpt può produrre un tracciato (forse)
completo di tutti i tags della fattura europea, tuttavia sembra troppo
semplice.
Tu hai già implementato e testato la cosa?




<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:cen.eu:en16931:2017"

xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"

xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"

xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
<!-- Estensioni personalizzate (opzionali) -->
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent />
</ext:UBLExtension>
</ext:UBLExtensions>

<!-- Identificazione del documento -->
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>

<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>FATT-2024-00001</cbc:ID>
<cbc:CopyIndicator>false</cbc:CopyIndicator>
<cbc:UUID>123e4567-e89b-12d3-a456-426614174000</cbc:UUID> <!-- ID
univoco -->
<cbc:IssueDate>2024-11-25</cbc:IssueDate>
<cbc:IssueTime>09:00:00</cbc:IssueTime>
<cbc:DueDate>2024-12-25</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:Note>Nota generale sulla fattura</cbc:Note>
<cbc:TaxPointDate>2024-11-25</cbc:TaxPointDate> <!-- Data di
riferimento fiscale -->
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cbc:TaxCurrencyCode>EUR</cbc:TaxCurrencyCode>
<cbc:BuyerReference>RIF-ORD12345</cbc:BuyerReference>

<!-- Informazioni sul fornitore -->
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID
schemeID="VAT">IT12345678901</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>Azienda Srl</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Via Milano</cbc:StreetName>
<cbc:AdditionalStreetName>Scala
B</cbc:AdditionalStreetName>
<cbc:CityName>Torino</cbc:CityName>
<cbc:PostalZone>10100</cbc:PostalZone>
<cbc:Country>
<cbc:IdentificationCode>IT</cbc:IdentificationCode>
</cbc:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>IT12345678901</cbc:CompanyID>
<cbc:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cbc:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Azienda
Srl</cbc:RegistrationName>
<cbc:CompanyID>IT12345678901</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>

<!-- Informazioni sul cliente -->
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID
schemeID="VAT">IT98765432109</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>Cliente Spa</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Via Roma</cbc:StreetName>
<cbc:CityName>Firenze</cbc:CityName>
<cbc:PostalZone>50100</cbc:PostalZone>
<cbc:Country>
<cbc:IdentificationCode>IT</cbc:IdentificationCode>
</cbc:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>IT98765432109</cbc:CompanyID>
<cbc:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cbc:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Cliente
Spa</cbc:RegistrationName>
<cbc:CompanyID>IT98765432109</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>

<!-- Termini di pagamento -->
<cac:PaymentTerms>
<cbc:Note>Pagamento a 30 giorni</cbc:Note>
<cbc:PaymentDueDate>2024-12-25</cbc:PaymentDueDate>
</cac:PaymentTerms>

<!-- Dettagli di pagamento -->
<cac:PaymentMeans>
<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode> <!-- Bonifico
bancario -->
<cbc:PaymentID>RIF-BON12345</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>IBANIT12345678901234567890</cbc:ID>
<cbc:Name>Banca Fornitore</cbc:Name>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>

<!-- Righe della fattura -->
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="EA">5</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount
currencyID="EUR">250.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Prodotto A</cbc:Name>
<cbc:Description>Descrizione dettagliata del prodotto
A</cbc:Description>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">50.00</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>

<!-- Totali della fattura -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount
currencyID="EUR">950.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount
currencyID="EUR">950.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount
currencyID="EUR">1,159.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount
currencyID="EUR">50.00</cbc:AllowanceTotalAmount>
<cbc:PayableAmount
currencyID="EUR">1,109.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>

<!-- Dettagli IVA -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">209.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount
currencyID="EUR">950.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">209.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>22</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
</Invoice>
BFS
2024-11-26 06:42:29 UTC
Permalink
Post by Simone Calligaris
Post by BFS
Post by Simone Calligaris
Interessante: che tipo di richiesta hai fatto a chatgpt per generare
l'esempio in oggetto?
Saluti da Simone
testuale
"Fammi un esempio di fattura europea versione 2.5"
     <cbc:CustomizationID>: identifica il profilo EN 16931.
     <cbc:ProfileID>: specifica il profilo Peppol BIS.
     <cac:AccountingSupplierParty>: informazioni sul venditore.
     <cac:AccountingCustomerParty>: informazioni sul cliente.
     <cac:InvoiceLine>: descrizione delle linee di fattura.
     <cac:TaxTotal>: riepilogo delle imposte.
Questo è un esempio semplificato; una fattura reale può includere
molti altri dettagli, come termini di pagamento, dati bancari e
riferimenti contrattuali.
In effetti ho valutato che Chatgpt può produrre un tracciato (forse)
completo di tutti i tags della fattura europea, tuttavia sembra troppo
semplice.
Tu hai già implementato e testato la cosa?
no, avevo dato una letta a suo tempo, una volta che ho visto che si
trattava di una falsa riga delle fatture elettroniche (tag e valori) e
appurato quindi che non c'è nulla di complicato da gestire ho lasciato
stare.
in attesa che entri in vigore

BFS
RobertoA
2024-11-26 07:55:40 UTC
Permalink
Post by BFS
Post by Simone Calligaris
Post by BFS
Post by Simone Calligaris
Interessante: che tipo di richiesta hai fatto a chatgpt per generare
l'esempio in oggetto?
Saluti da Simone
testuale
"Fammi un esempio di fattura europea versione 2.5"
     <cbc:CustomizationID>: identifica il profilo EN 16931.
     <cbc:ProfileID>: specifica il profilo Peppol BIS.
     <cac:AccountingSupplierParty>: informazioni sul venditore.
     <cac:AccountingCustomerParty>: informazioni sul cliente.
     <cac:InvoiceLine>: descrizione delle linee di fattura.
     <cac:TaxTotal>: riepilogo delle imposte.
Questo è un esempio semplificato; una fattura reale può includere
molti altri dettagli, come termini di pagamento, dati bancari e
riferimenti contrattuali.
In effetti ho valutato che Chatgpt può produrre un tracciato (forse)
completo di tutti i tags della fattura europea, tuttavia sembra troppo
semplice.
Tu hai già implementato e testato la cosa?
appurato quindi che non c'è nulla di complicato da gestire ho lasciato
stare.
Credo sia una forma mentis dei programmatori, avviarsi lancia in resta
contro il prossimo ostacolo, il prossimo muro da abbattere
Se non c'e' problema da risolvere, allora lasciamo stare
VR46 direbbe "..non c'e' gusto.."

Loading...