VDN_SCAMBIO_DATI completo
Standard unico INPUT / OUTPUT / ARCHIVIO / ERRORI — V0.6.6
Sequenza logica
Programmi/APP producono JSON→INPUT→controllo envelope + idempotency_key→messaggi_scambio + log file→ARCHIVIO o ERRORI→OUTPUT per export amministrativi
Cartelle standard
INPUT
3 file JSON
OUTPUT
5 file JSON
ARCHIVIO
3 file JSON
ERRORI
3 file JSON
Genera JSON demo INPUT Processa INPUT Genera export OUTPUT Verifica VDN_SCAMBIO_DATI
Tipi messaggio standard
NEGOZIO_IMPORTCLIENTE_IMPORTVENDITA_IMPORTPUNTI_MOVIMENTI_EXPORTCREDITO_MOVIMENTI_EXPORTFEES_MOVIMENTI_EXPORTCOUPON_EXPORTFATTURAZIONE_EXPORTEsempio JSON NEGOZIO_IMPORT V0.6.6
{
"schema": "VDN_SCAMBIO_DATI",
"schema_version": "1.0",
"message": {
"type": "NEGOZIO_IMPORT",
"id_operazione": "NEGOZIO_IMPORT_DEMO_V0_6_6",
"idempotency_key": "NEGOZIO_IMPORT_DEMO_V0_6_6",
"source_system": "PROGRAMMA_AGENTI_NEGOZI",
"target_system": "DATABASE_CENTRALE_VDN",
"payload_schema": "VDN_NEGOZIO_IMPORT_1.1",
"created_at": "2026-06-27T00:01:59.488707"
},
"payload": {
"negozio": {
"id_negozio": "",
"id_pratica": "",
"nome_commerciale": "Negozio Import Demo V0.6.6",
"ragione_sociale": "Negozio Import Demo SRL",
"partita_iva": "06606606606",
"codice_fiscale": "06606606606",
"pec": "negozioimport066@pec.it",
"sdi_code": "SDI0660",
"indirizzo": "Via Scambio Dati 6",
"cap": "13900",
"comune": "Biella",
"provincia": "BI",
"nazione": "IT",
"telefono": "015666666",
"email": "import066@example.com",
"sito_web": "https://www.vienidanoi.eu",
"categoria": "Demo",
"latitudine": "",
"longitudine": "",
"referente_nome": "Referente",
"referente_cognome": "Import",
"referente_ruolo": "Titolare",
"referente_telefono": "3336666666",
"referente_email": "referente.import066@example.com",
"credito_iniziale": 100.0,
"percentuale_punti_cliente": 2.0,
"pagamento_adesione_importo": 100.0,
"origine_pratica": "ADESIONE_DIRETTA",
"id_agente": "",
"id_cliente_segnalatore": "",
"id_segnalazione": "",
"descrizione_breve": "Negozio aderente al circuito Vieni da noi.",
"descrizione_lunga": "Scheda Negozio acquisita con tracciato dati unificato VDN.",
"testo_trovato_online": "",
"testo_proposto": "Negozio aderente al circuito Vieni da noi.",
"testo_accettato_dal_negozio": "Negozio aderente al circuito Vieni da noi.",
"coupon_titolo": "Sconto benvenuto adesione",
"coupon_tipo": "SCONTO_PERCENTUALE",
"coupon_valore": "10",
"coupon_quantita_totale": 100,
"coupon_quantita_per_cliente": 1,
"json_import_file": "",
"materiali": [],
"coupon_lista": []
}
}
}