diff --git a/app/Services/EDocument/Standards/FatturaPA.php b/app/Services/EDocument/Standards/FatturaPA.php index e8c0ad2145c7..6c08be878ae7 100644 --- a/app/Services/EDocument/Standards/FatturaPA.php +++ b/app/Services/EDocument/Standards/FatturaPA.php @@ -19,37 +19,37 @@ use SimpleXMLElement; - - - IT - 01234567890 + // Transmission data + // Transmitter ID + IT //Country code + 01234567890 //Taxpayer code - 00001 - FPR12 - ABCDE1 + 00001 // Transmission progress + FPR12// Transmission format + ABCDE1// Receiver code - + //Seller/Provider - + //Buyer/Recipient - - - TD01 - EUR - 2023-04-21 - 1 + //General data + // Document general data + TD01// Document type + EUR// Currency + 2023-04-21// Date + 1// Number - + //Goods and services data - + //Payment data @@ -60,6 +60,20 @@ class FatturaPA extends AbstractService { private $xml; + //urn:cen.eu:en16931:2017#compliant#urn:fatturapa.gov.it:CIUS-IT:2.0.0 + //UFF001 + + /** + * File Types + * + * EI01 => FILE VUOTO + * EI02 => SERVIZIO NON DISPONIBILE + * EI03 => UTENTE NON ABILITATO + */ + + /** + * @param Invoice $invoice + */ public function __construct(public Invoice $invoice) { $this->xml = new SimpleXMLElement('');