SolutionDOC_Hub
Click here for a complete list of operations.
SendElectronicInvoice
Fattura Elettronica Attiva Servizio Hub
Servizio di invio file Fattura Elettronica PA (Pubblica Amministrazione) o PR (Privati) precedentemente caricato a sistema mediante funzione InsertDraftElectronicInvoice, al Sistema di Interscambio (Sdi).
Vengono effettuati i controlli necessari alla validazione della firma e formattazione XML e inviati al Servizio di Interscambio.
(opzionale) I file Fattura Elettronica possono essere firmati con firma CAdES-BES (.p7m) prima dell'invio.
(opzionale) Proprietà informazioni di invio documenti.
(opzionale) Elenco indirizzi per invio e-Mail del documento.
Viene ritornato l'esito di elaborazione o una lista di errori.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /update/SolutionDOC_Hub.asmx HTTP/1.1 Host: dev3.solutiondocondemand.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/SendElectronicInvoice" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendElectronicInvoice xmlns="http://tempuri.org/"> <paramAuth> <CustomerCode>string</CustomerCode> <Password>base64Binary</Password> </paramAuth> <paramInvoice> <paramInfo> <IdUser>string</IdUser> <FiscalCode>string</FiscalCode> <Application>string</Application> </paramInfo> <paramEmail> <Send>boolean</Send> <Address> <string>string</string> <string>string</string> </Address> </paramEmail> <IdTransaction>string</IdTransaction> <Proforma>boolean</Proforma> <AutoInvoiceTD01>boolean</AutoInvoiceTD01> </paramInvoice> </SendElectronicInvoice> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <SendElectronicInvoiceResponse xmlns="http://tempuri.org/"> <SendElectronicInvoiceResult> <IdSdi>long</IdSdi> <DateSdi>dateTime</DateSdi> <StatusEmail>None or InProgress or Sent or Read or Error</StatusEmail> </SendElectronicInvoiceResult> </SendElectronicInvoiceResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /update/SolutionDOC_Hub.asmx HTTP/1.1 Host: dev3.solutiondocondemand.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SendElectronicInvoice xmlns="http://tempuri.org/"> <paramAuth> <CustomerCode>string</CustomerCode> <Password>base64Binary</Password> </paramAuth> <paramInvoice> <paramInfo> <IdUser>string</IdUser> <FiscalCode>string</FiscalCode> <Application>string</Application> </paramInfo> <paramEmail> <Send>boolean</Send> <Address> <string>string</string> <string>string</string> </Address> </paramEmail> <IdTransaction>string</IdTransaction> <Proforma>boolean</Proforma> <AutoInvoiceTD01>boolean</AutoInvoiceTD01> </paramInvoice> </SendElectronicInvoice> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SendElectronicInvoiceResponse xmlns="http://tempuri.org/"> <SendElectronicInvoiceResult> <IdSdi>long</IdSdi> <DateSdi>dateTime</DateSdi> <StatusEmail>None or InProgress or Sent or Read or Error</StatusEmail> </SendElectronicInvoiceResult> </SendElectronicInvoiceResponse> </soap12:Body> </soap12:Envelope>