PUT api/Fattura
Request Information
URI Parameters
None.
Body Parameters
DTOFatturaName | Description | Type | Additional information |
---|---|---|---|
IsFromDDT | boolean |
None. |
|
IdTestata | integer |
None. |
|
IdTestataMovimentoMagazzino | integer |
None. |
|
IdCausale | integer |
None. |
|
IdCausaleSecondaria |
Non presente a Db ma valorizzata per l'inserimento del movimento di magazzino |
integer |
None. |
IdMagazzinoPartenza | integer |
None. |
|
IdBanca | integer |
None. |
|
IdPagamento | integer |
None. |
|
IdCliente | integer |
None. |
|
TipoFattura | string |
String length: inclusive between 0 and 1 |
|
NumeroDocumento | integer |
None. |
|
DataDocumento | date |
None. |
|
RagioneSociale1 | string |
String length: inclusive between 0 and 80 |
|
RagioneSociale2 | string |
String length: inclusive between 0 and 80 |
|
Indirizzo | string |
String length: inclusive between 0 and 150 |
|
Paese | string |
String length: inclusive between 0 and 40 |
|
CAP | string |
String length: inclusive between 0 and 50 |
|
Provincia | string |
String length: inclusive between 0 and 4 |
|
Stato | string |
String length: inclusive between 0 and 50 |
|
Referente | string |
String length: inclusive between 0 and 200 |
|
PartitaIva | string |
String length: inclusive between 0 and 50 |
|
CodiceFiscale | string |
String length: inclusive between 0 and 50 |
|
DescrizionePagamento | string |
String length: inclusive between 0 and 80 |
|
Banca | string |
String length: inclusive between 0 and 255 |
|
Agenzia | string |
String length: inclusive between 0 and 255 |
|
ABI | string |
String length: inclusive between 0 and 50 |
|
CAB | string |
String length: inclusive between 0 and 50 |
|
ScontoTotale | boolean |
None. |
|
ValoreSconto | decimal number |
None. |
|
Stampato | boolean |
None. |
|
DataRegistrazione | date |
None. |
|
Protocollo | integer |
None. |
|
Note | string |
String length: inclusive between 0 and 3000 |
|
DataCreaz | date |
None. |
|
OraCreaz | date |
None. |
|
Locked | string |
String length: inclusive between 0 and 255 |
|
Oggetto | string |
String length: inclusive between 0 and 3000 |
|
TotImponibile | decimal number |
None. |
|
TotIva | decimal number |
None. |
|
TotIvato | decimal number |
None. |
|
ContoCorrente | string |
String length: inclusive between 0 and 20 |
|
Cin | string |
String length: inclusive between 0 and 1 |
|
SpeseIncasso | decimal number |
None. |
|
SpeseTrasporto | decimal number |
None. |
|
SpeseBollo | decimal number |
None. |
|
Ritenuta1 | decimal number |
None. |
|
Ritenuta2 | decimal number |
None. |
|
IsAIvaForzata | boolean |
None. |
|
AIvaForzata | decimal number |
None. |
|
IsAttiva_Ritenuta1 | boolean |
None. |
|
IsAttiva_Ritenuta2 | boolean |
None. |
|
IdListino | integer |
None. |
|
IdScontoListini | ScontoRicarico |
None. |
|
Sconto1 | decimal number |
None. |
|
Sconto2 | decimal number |
None. |
|
Sconto3 | decimal number |
None. |
|
Sconto4 | decimal number |
None. |
|
ForzaListinoTestata | boolean |
None. |
|
IdDichiarazioneIntento | integer |
None. |
|
IsAttivaDichiarazioneIntento | boolean |
None. |
|
Bollettario | string |
String length: inclusive between 0 and 10 |
|
NumeroDocumentoFornitore | string |
String length: inclusive between 0 and 50 |
|
DataDocumentoFornitore | date |
None. |
|
DataAgg | date |
None. |
|
UtenteUltimoAccesso | string |
String length: inclusive between 0 and 255 |
|
IdCausaleContabile | integer |
None. |
|
DocumentoBloccato | boolean |
None. |
|
Contabilizzato | boolean |
None. |
|
CodiceIvaForzata | string |
String length: inclusive between 0 and 4 |
|
IdAgente | integer |
None. |
|
IBAN | string |
String length: inclusive between 0 and 50 |
|
TotNonImponibile | decimal number |
None. |
|
DataCreaz_Stampa | date |
None. |
|
DataAgg_Stampa | date |
None. |
|
DataCreaz_Mail | date |
None. |
|
DataAgg_Mail | date |
None. |
|
IdDestinazioneCantiere | integer |
None. |
|
ReferenteCantiere | string |
String length: inclusive between 0 and 50 |
|
ResponsabileCantiere1 | string |
String length: inclusive between 0 and 50 |
|
ResponsabileCantiere2 | string |
String length: inclusive between 0 and 50 |
|
ResponsabileCantiere3 | string |
String length: inclusive between 0 and 50 |
|
ResponsabileCantiere4 | string |
String length: inclusive between 0 and 50 |
|
ResponsabileCantiere5 | string |
String length: inclusive between 0 and 50 |
|
IsExported | boolean |
None. |
|
RifNumeroDocumento | string |
String length: inclusive between 0 and 50 |
|
RifDataDocumento | string |
String length: inclusive between 0 and 10 |
|
IsRigheZero | boolean |
None. |
|
TotaleFiniDoganali | decimal number |
None. |
|
IsAccorpaSconti | boolean |
None. |
|
CodiceIvaSpeseIncasso | string |
String length: inclusive between 0 and 255 |
|
CodiceIvaSpeseTrasporto | string |
String length: inclusive between 0 and 255 |
|
CodiceIvaSpeseBollo | string |
String length: inclusive between 0 and 255 |
|
Swift | string |
String length: inclusive between 0 and 254 |
|
IdZona | integer |
None. |
|
IdPony | integer |
None. |
|
OraConsegna | date |
None. |
|
TipoAsporto | integer |
None. |
|
IdTessera | integer |
None. |
|
SaldoTessera | decimal number |
None. |
|
SaldoTessera_iniziale | decimal number |
None. |
|
IdTransazioneFidelity | integer |
None. |
|
IdUtente_Creazione | integer |
None. |
|
Cassa | integer |
None. |
|
IdSala | integer |
None. |
|
IdTavolo | integer |
None. |
|
Sala | string |
String length: inclusive between 0 and 255 |
|
Tavolo | string |
String length: inclusive between 0 and 255 |
|
DataChiusura | date |
None. |
|
Valuta2 | string |
String length: inclusive between 0 and 50 |
|
ImportoValuta2 | decimal number |
None. |
|
CambioValuta2 | decimal number |
None. |
|
ValutaTotDoc2 | string |
String length: inclusive between 0 and 50 |
|
ImportoValutaTotDoc2 | decimal number |
None. |
|
CambioValutaTotDoc2 | decimal number |
None. |
|
IdIndirizzoFatturazione | integer |
None. |
|
IdDestinazione | integer |
None. |
|
NumeroComanda | integer |
None. |
|
SplitPayment | decimal number |
None. |
|
Ingenico_AuthCode | string |
String length: inclusive between 0 and 50 |
|
Ingenico_Ticket | string |
None. |
|
Ingenico_CardType | integer |
None. |
|
IdComanda | integer |
None. |
|
IdContoComanda | integer |
None. |
|
Peso | decimal number |
None. |
|
IdEsportazioneSAP | integer |
None. |
|
NumPietanzeAsporto | decimal number |
None. |
|
AsportoIncassatoInAnticipo | boolean |
None. |
|
DataScontrino | date |
None. |
|
NumeroScontrino | date |
None. |
|
IdCassa | integer |
None. |
|
IdTestataChiusura | integer |
None. |
|
DTOFatturaDettagli | Collection of DTOFatturaDettaglio |
None. |
Request Formats
application/json, text/json
{ "IsFromDDT": true, "IdTestata": 2, "IdTestataMovimentoMagazzino": 1, "IdCausale": 1, "IdCausaleSecondaria": 1, "IdMagazzinoPartenza": 1, "IdBanca": 1, "IdPagamento": 1, "IdCliente": 1, "TipoFattura": "sample string 3", "NumeroDocumento": 1, "DataDocumento": "2024-05-03T16:58:03.4244998", "RagioneSociale1": "sample string 4", "RagioneSociale2": "sample string 5", "Indirizzo": "sample string 6", "Paese": "sample string 7", "CAP": "sample string 8", "Provincia": "sample string 9", "Stato": "sample string 10", "Referente": "sample string 11", "PartitaIva": "sample string 12", "CodiceFiscale": "sample string 13", "DescrizionePagamento": "sample string 14", "Banca": "sample string 15", "Agenzia": "sample string 16", "ABI": "sample string 17", "CAB": "sample string 18", "ScontoTotale": true, "ValoreSconto": 1.1, "Stampato": true, "DataRegistrazione": "2024-05-03T16:58:03.4244998", "Protocollo": 1, "Note": "sample string 21", "DataCreaz": "2024-05-03T16:58:03.4244998", "OraCreaz": "2024-05-03T16:58:03.4244998", "Locked": "sample string 22", "Oggetto": "sample string 23", "TotImponibile": 1.1, "TotIva": 1.1, "TotIvato": 1.1, "ContoCorrente": "sample string 24", "Cin": "sample string 25", "SpeseIncasso": 1.1, "SpeseTrasporto": 1.1, "SpeseBollo": 1.1, "Ritenuta1": 1.1, "Ritenuta2": 1.1, "IsAIvaForzata": true, "AIvaForzata": 1.1, "IsAttiva_Ritenuta1": true, "IsAttiva_Ritenuta2": true, "IdListino": 1, "IdScontoListini": 0, "Sconto1": 1.1, "Sconto2": 1.1, "Sconto3": 1.1, "Sconto4": 1.1, "ForzaListinoTestata": true, "IdDichiarazioneIntento": 1, "IsAttivaDichiarazioneIntento": true, "Bollettario": "sample string 26", "NumeroDocumentoFornitore": "sample string 27", "DataDocumentoFornitore": "2024-05-03T16:58:03.4244998", "DataAgg": "2024-05-03T16:58:03.4244998", "UtenteUltimoAccesso": "sample string 28", "IdCausaleContabile": 1, "DocumentoBloccato": true, "Contabilizzato": true, "CodiceIvaForzata": "sample string 29", "IdAgente": 1, "IBAN": "sample string 30", "TotNonImponibile": 1.1, "DataCreaz_Stampa": "2024-05-03T16:58:03.4244998", "DataAgg_Stampa": "2024-05-03T16:58:03.4244998", "DataCreaz_Mail": "2024-05-03T16:58:03.4244998", "DataAgg_Mail": "2024-05-03T16:58:03.4244998", "IdDestinazioneCantiere": 1, "ReferenteCantiere": "sample string 31", "ResponsabileCantiere1": "sample string 32", "ResponsabileCantiere2": "sample string 33", "ResponsabileCantiere3": "sample string 34", "ResponsabileCantiere4": "sample string 35", "ResponsabileCantiere5": "sample string 36", "IsExported": true, "RifNumeroDocumento": "sample string 37", "RifDataDocumento": "sample string 38", "IsRigheZero": true, "TotaleFiniDoganali": 1.1, "IsAccorpaSconti": true, "CodiceIvaSpeseIncasso": "sample string 39", "CodiceIvaSpeseTrasporto": "sample string 40", "CodiceIvaSpeseBollo": "sample string 41", "Swift": "sample string 42", "IdZona": 1, "IdPony": 1, "OraConsegna": "2024-05-03T16:58:03.4244998", "TipoAsporto": 1, "IdTessera": 1, "SaldoTessera": 1.1, "SaldoTessera_iniziale": 1.1, "IdTransazioneFidelity": 1, "IdUtente_Creazione": 1, "Cassa": 1, "IdSala": 1, "IdTavolo": 1, "Sala": "sample string 43", "Tavolo": "sample string 44", "DataChiusura": "2024-05-03T16:58:03.4244998", "Valuta2": "sample string 45", "ImportoValuta2": 1.1, "CambioValuta2": 1.1, "ValutaTotDoc2": "sample string 46", "ImportoValutaTotDoc2": 1.1, "CambioValutaTotDoc2": 1.1, "IdIndirizzoFatturazione": 1, "IdDestinazione": 1, "NumeroComanda": 1, "SplitPayment": 1.1, "Ingenico_AuthCode": "sample string 47", "Ingenico_Ticket": "sample string 48", "Ingenico_CardType": 1, "IdComanda": 1, "IdContoComanda": 1, "Peso": 1.0, "IdEsportazioneSAP": 49, "NumPietanzeAsporto": 1.0, "AsportoIncassatoInAnticipo": true, "DataScontrino": "2024-05-03T16:58:03.4244998", "NumeroScontrino": "2024-05-03T16:58:03.4244998", "IdCassa": 1, "IdTestataChiusura": 50, "DTOFatturaDettagli": [ { "IdDettaglio": 1, "IdTestata": 1, "IdDettaglioMagazzino": 1, "DocumentoRiferimento": "sample string 2", "DataDocumentoRiferimento": "sample string 3", "IdArticolo": 1, "IdMagazzino": 1, "BarCode": "sample string 4", "Descrizione": "sample string 5", "UM": "sample string 6", "Quantita": 1.1, "PrezzoVendita": 1.1, "PrezzoVenditaNettoIva": 1.1, "AliquotaIva": 1.1, "Totale": 1.1, "Sconto1": 1.1, "Sconto2": 1.1, "Sconto3": 1.1, "Sconto4": 1.1, "ImportoSconto": 1.1, "TotaleNettoSconto": 1.1, "Imponibile": 1.1, "Iva": 1.1, "DataCreaz": "2024-05-03T16:58:03.4244998", "OraCreaz": "2024-05-03T16:58:03.4244998", "Note": "sample string 7", "Riga": 1, "IdConto": 1, "DescrizioneConto": "sample string 8", "CodiceIva": "sample string 9", "UM2": "sample string 10", "Quantita2": 1.1, "DataAgg": "2024-05-03T16:58:03.4244998", "UtenteUltimoAccesso": "sample string 11", "Annotazioni": "sample string 12", "ProvvigionePercentuale": 1.1, "ProvvigioneImporto": 1.1, "IsVuoto": true, "IdRifDettaglioVuoto": 1, "IdMultiRow": 1, "CostoImponibile": 1.1, "CostoImporto": 1.1, "CostoCodiceIva": "sample string 13", "CostoSconto1": 1.1, "CostoSconto2": 1.1, "CostoSconto3": 1.1, "CostoSconto4": 1.1, "CostoTotaleImponibile": 1.1, "CostoTotaleIva": 1.1, "CostoTotaleImporto": 1.1, "MarginalitaEuro": 1.1, "MarginalitaPercen": 1.1, "DataCompetenzaDa": "2024-05-03T16:58:03.4401331", "DataCompetenzaA": "2024-05-03T16:58:03.4401331", "Volume": 1.1, "Peso": 1.1, "IdPietanza": 1, "IdUtente_Comanda": 1, "IsSconto": 1, "IsOmaggio": true, "ImportoOmaggio": 1.1, "TotaleScontoRigaEasypos": 1.1, "IdDettaglioMagazzinoContoVendita": 1, "IdDettaglio_RifMPF": 1, "TipoRiga": 1 }, { "IdDettaglio": 1, "IdTestata": 1, "IdDettaglioMagazzino": 1, "DocumentoRiferimento": "sample string 2", "DataDocumentoRiferimento": "sample string 3", "IdArticolo": 1, "IdMagazzino": 1, "BarCode": "sample string 4", "Descrizione": "sample string 5", "UM": "sample string 6", "Quantita": 1.1, "PrezzoVendita": 1.1, "PrezzoVenditaNettoIva": 1.1, "AliquotaIva": 1.1, "Totale": 1.1, "Sconto1": 1.1, "Sconto2": 1.1, "Sconto3": 1.1, "Sconto4": 1.1, "ImportoSconto": 1.1, "TotaleNettoSconto": 1.1, "Imponibile": 1.1, "Iva": 1.1, "DataCreaz": "2024-05-03T16:58:03.4244998", "OraCreaz": "2024-05-03T16:58:03.4244998", "Note": "sample string 7", "Riga": 1, "IdConto": 1, "DescrizioneConto": "sample string 8", "CodiceIva": "sample string 9", "UM2": "sample string 10", "Quantita2": 1.1, "DataAgg": "2024-05-03T16:58:03.4244998", "UtenteUltimoAccesso": "sample string 11", "Annotazioni": "sample string 12", "ProvvigionePercentuale": 1.1, "ProvvigioneImporto": 1.1, "IsVuoto": true, "IdRifDettaglioVuoto": 1, "IdMultiRow": 1, "CostoImponibile": 1.1, "CostoImporto": 1.1, "CostoCodiceIva": "sample string 13", "CostoSconto1": 1.1, "CostoSconto2": 1.1, "CostoSconto3": 1.1, "CostoSconto4": 1.1, "CostoTotaleImponibile": 1.1, "CostoTotaleIva": 1.1, "CostoTotaleImporto": 1.1, "MarginalitaEuro": 1.1, "MarginalitaPercen": 1.1, "DataCompetenzaDa": "2024-05-03T16:58:03.4401331", "DataCompetenzaA": "2024-05-03T16:58:03.4401331", "Volume": 1.1, "Peso": 1.1, "IdPietanza": 1, "IdUtente_Comanda": 1, "IsSconto": 1, "IsOmaggio": true, "ImportoOmaggio": 1.1, "TotaleScontoRigaEasypos": 1.1, "IdDettaglioMagazzinoContoVendita": 1, "IdDettaglio_RifMPF": 1, "TipoRiga": 1 } ] }
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.