{
  "openapi": "3.0.3",
  "info": {
    "title": "E-CUBE Data Services WebAPI",
    "version": "v1",
    "description": "WebAPI REST di E-CUBE Data Services: autenticazione, lettura delle risorse, ricerca strutturata e sincronizzazione. Documentazione completa su https://docs.e-cube.it."
  },
  "servers": [
    {
      "url": "https://api.e-cube.it"
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Autenticazione",
      "description": "Emissione del token OAuth 2.0 e informazioni sul token."
    },
    {
      "name": "Sync",
      "description": "Sincronizzazione massiva: invio di array di record e lettura dei record variati."
    },
    {
      "name": "Query",
      "description": "Ricerca con filtri e ordinamenti nel corpo della richiesta."
    },
    {
      "name": "StoricoDocumentiT",
      "description": "Testate documento del gestionale"
    },
    {
      "name": "StoricoDocumentiR",
      "description": "Righe documento del gestionale"
    },
    {
      "name": "Articoli",
      "description": "Anagrafica articoli"
    },
    {
      "name": "Famiglia",
      "description": "Famiglia/Sottofam/Gruppo/Sottogruppo articolo(gerarchici)"
    },
    {
      "name": "Sottofamiglia",
      "description": "Famiglia/Sottofam/Gruppo/Sottogruppo articolo(gerarchici)"
    },
    {
      "name": "CondPagam",
      "description": "Condizioni di pagamento"
    },
    {
      "name": "MacroCategClifor",
      "description": "Macrocategoria/Sottocategoria/Categoria Cliente e Fornitore(gerarchico)"
    },
    {
      "name": "CategClifor",
      "description": "Macrocategoria/Sottocategoria/Categoria Cliente e Fornitore(gerarchico)"
    },
    {
      "name": "AliquoteIva",
      "description": "Codici IVA"
    },
    {
      "name": "StatiEsteri",
      "description": "Nazioni"
    },
    {
      "name": "CliFor",
      "description": "Anagrafica clienti e fornitori"
    },
    {
      "name": "CodiciDocumento",
      "description": "Codici documento"
    },
    {
      "name": "GruppiDocumento",
      "description": "Gruppi e famiglie documenti"
    },
    {
      "name": "MarcaArticoli",
      "description": "Marca articoli"
    },
    {
      "name": "MCPResources",
      "description": "Elenco risorse utilizzabili dal server MCP"
    },
    {
      "name": "MCPArticoli",
      "description": "Vista degli articoli con famiglia, sottofamiglia, gruppi, marca e unità di misura descritti"
    },
    {
      "name": "MCPClienti",
      "description": "Vista dei clienti con indirizzo, contatti, aree, categorie e agente descritti"
    },
    {
      "name": "MCPFornitori",
      "description": "Vista dei fornitori con indirizzo, nazione, partita IVA e classificazioni descritte"
    },
    {
      "name": "MCPDocumentiT",
      "description": "Vista delle testate documento con controparte classificata, pagamento e totali; contiene le righe"
    },
    {
      "name": "MCPDocumentiR",
      "description": "Vista delle righe documento con articolo, famiglia, marca, quantità, prezzi, sconti e IVA"
    }
  ],
  "x-tagGroups": [
    {
      "name": "Autenticazione e servizi",
      "tags": [
        "Autenticazione",
        "Sync",
        "Query"
      ]
    },
    {
      "name": "Tabelle di base",
      "tags": [
        "CondPagam",
        "AliquoteIva",
        "StatiEsteri"
      ]
    },
    {
      "name": "Clienti e fornitori",
      "tags": [
        "MacroCategClifor",
        "CategClifor",
        "CliFor"
      ]
    },
    {
      "name": "Articoli e classificazioni",
      "tags": [
        "Articoli",
        "Famiglia",
        "Sottofamiglia",
        "MarcaArticoli"
      ]
    },
    {
      "name": "Documenti",
      "tags": [
        "StoricoDocumentiT",
        "StoricoDocumentiR",
        "CodiciDocumento",
        "GruppiDocumento"
      ]
    },
    {
      "name": "Viste MCP",
      "tags": [
        "MCPResources",
        "MCPArticoli",
        "MCPClienti",
        "MCPFornitori",
        "MCPDocumentiT",
        "MCPDocumentiR"
      ]
    }
  ],
  "paths": {
    "/api/resources/StoricoDocumentiT": {
      "get": {
        "tags": [
          "StoricoDocumentiT"
        ],
        "summary": "Testate documento del gestionale",
        "operationId": "Resources_Get_StoricoDocumentiT",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoricoDocumentiT"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/StoricoDocumentiR": {
      "get": {
        "tags": [
          "StoricoDocumentiR"
        ],
        "summary": "Righe documento del gestionale",
        "operationId": "Resources_Get_StoricoDocumentiR",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StoricoDocumentiR"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/Articoli": {
      "get": {
        "tags": [
          "Articoli"
        ],
        "summary": "Anagrafica articoli",
        "operationId": "Resources_Get_Articoli",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Articoli"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/Famiglia": {
      "get": {
        "tags": [
          "Famiglia"
        ],
        "summary": "Famiglia/Sottofam/Gruppo/Sottogruppo articolo(gerarchici)",
        "operationId": "Resources_Get_Famiglia",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Famiglia"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/Sottofamiglia": {
      "get": {
        "tags": [
          "Sottofamiglia"
        ],
        "summary": "Famiglia/Sottofam/Gruppo/Sottogruppo articolo(gerarchici)",
        "operationId": "Resources_Get_Sottofamiglia",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Sottofamiglia"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/CondPagam": {
      "get": {
        "tags": [
          "CondPagam"
        ],
        "summary": "Condizioni di pagamento",
        "operationId": "Resources_Get_CondPagam",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CondPagam"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MacroCategClifor": {
      "get": {
        "tags": [
          "MacroCategClifor"
        ],
        "summary": "Macrocategoria/Sottocategoria/Categoria Cliente e Fornitore(gerarchico)",
        "operationId": "Resources_Get_MacroCategClifor",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MacroCategClifor"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/CategClifor": {
      "get": {
        "tags": [
          "CategClifor"
        ],
        "summary": "Macrocategoria/Sottocategoria/Categoria Cliente e Fornitore(gerarchico)",
        "operationId": "Resources_Get_CategClifor",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategClifor"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/AliquoteIva": {
      "get": {
        "tags": [
          "AliquoteIva"
        ],
        "summary": "Codici IVA",
        "operationId": "Resources_Get_AliquoteIva",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AliquoteIva"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/StatiEsteri": {
      "get": {
        "tags": [
          "StatiEsteri"
        ],
        "summary": "Nazioni",
        "operationId": "Resources_Get_StatiEsteri",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StatiEsteri"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/CliFor": {
      "get": {
        "tags": [
          "CliFor"
        ],
        "summary": "Anagrafica clienti e fornitori",
        "operationId": "Resources_Get_CliFor",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CliFor"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/CodiciDocumento": {
      "get": {
        "tags": [
          "CodiciDocumento"
        ],
        "summary": "Codici documento",
        "operationId": "Resources_Get_CodiciDocumento",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CodiciDocumento"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/GruppiDocumento": {
      "get": {
        "tags": [
          "GruppiDocumento"
        ],
        "summary": "Gruppi e famiglie documenti",
        "operationId": "Resources_Get_GruppiDocumento",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GruppiDocumento"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MarcaArticoli": {
      "get": {
        "tags": [
          "MarcaArticoli"
        ],
        "summary": "Marca articoli",
        "operationId": "Resources_Get_MarcaArticoli",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MarcaArticoli"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPResources": {
      "get": {
        "tags": [
          "MCPResources"
        ],
        "summary": "Elenco risorse utilizzabili dal server MCP",
        "operationId": "Resources_Get_MCPResources",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPResources"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPArticoli": {
      "get": {
        "tags": [
          "MCPArticoli"
        ],
        "summary": "Vista degli articoli con famiglia, sottofamiglia, gruppi, marca e unità di misura descritti",
        "operationId": "Resources_Get_MCPArticoli",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPArticoli"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPClienti": {
      "get": {
        "tags": [
          "MCPClienti"
        ],
        "summary": "Vista dei clienti con indirizzo, contatti, aree, categorie e agente descritti",
        "operationId": "Resources_Get_MCPClienti",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPClienti"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPFornitori": {
      "get": {
        "tags": [
          "MCPFornitori"
        ],
        "summary": "Vista dei fornitori con indirizzo, nazione, partita IVA e classificazioni descritte",
        "operationId": "Resources_Get_MCPFornitori",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPFornitori"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPDocumentiT": {
      "get": {
        "tags": [
          "MCPDocumentiT"
        ],
        "summary": "Vista delle testate documento con controparte classificata, pagamento e totali; contiene le righe",
        "operationId": "Resources_Get_MCPDocumentiT",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPDocumentiT"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/api/resources/MCPDocumentiR": {
      "get": {
        "tags": [
          "MCPDocumentiR"
        ],
        "summary": "Vista delle righe documento con articolo, famiglia, marca, quantità, prezzi, sconti e IVA",
        "operationId": "Resources_Get_MCPDocumentiR",
        "parameters": [
          {
            "name": "RecordSelection",
            "in": "query",
            "description": "Custom SQL WHERE filter",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "description": "Records per page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "description": "Page number (use with PageSize)",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array di record.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MCPDocumentiR"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ]
      }
    },
    "/Token": {
      "post": {
        "tags": [
          "Autenticazione"
        ],
        "summary": "Richiesta del token di accesso",
        "operationId": "Token_Post",
        "description": "OAuth 2.0 Resource Owner Password Credentials. Il corpo è `application/x-www-form-urlencoded`. Il token restituito va inviato come `Authorization: Bearer <access_token>`.",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "grant_type",
                  "username",
                  "password"
                ],
                "properties": {
                  "grant_type": {
                    "type": "string",
                    "enum": [
                      "password"
                    ]
                  },
                  "username": {
                    "type": "string",
                    "description": "Utente E-CUBE abilitato alle API."
                  },
                  "password": {
                    "type": "string",
                    "format": "password"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Token emesso.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "token_type": {
                      "type": "string",
                      "description": "`bearer`"
                    },
                    "expires_in": {
                      "type": "integer",
                      "description": "Durata del token in secondi."
                    },
                    "userName": {
                      "type": "string"
                    },
                    ".issued": {
                      "type": "string"
                    },
                    ".expires": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/Account/TokenInfo": {
      "get": {
        "tags": [
          "Autenticazione"
        ],
        "summary": "Informazioni sul token corrente",
        "operationId": "Account_TokenInfo",
        "description": "Restituisce le informazioni associate al token della richiesta.",
        "security": [
          {
            "oauth2": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Token mancante o non valido."
          }
        }
      }
    },
    "/api/sync/{Resource}": {
      "get": {
        "tags": [
          "Sync"
        ],
        "summary": "Lettura dei record variati",
        "operationId": "Sync_Get",
        "description": "Restituisce i record della risorsa variati dopo `LastUtcRun`. Con `1900-01-01 00:00:00.000` restituisce l'intero contenuto.",
        "security": [
          {
            "oauth2": []
          }
        ],
        "parameters": [
          {
            "name": "Resource",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Nome della risorsa, ad esempio `CliFor`."
          },
          {
            "name": "LastUtcRun",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "1900-01-01 00:00:00.000"
            },
            "description": "Data/ora UTC nel formato `YYYY-MM-DD HH:MM:SS.000`."
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Array JSON di record."
          },
          "401": {
            "description": "Token mancante o non valido."
          },
          "403": {
            "description": "Risorsa inesistente o non autorizzata."
          }
        }
      },
      "post": {
        "tags": [
          "Sync"
        ],
        "summary": "Invio massivo di record",
        "operationId": "Sync_Post",
        "description": "Invio di record alla risorsa. Il corpo è sempre un array JSON di record.",
        "security": [
          {
            "oauth2": []
          }
        ],
        "parameters": [
          {
            "name": "Resource",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Record accettati."
          },
          "401": {
            "description": "Token mancante o non valido."
          }
        }
      }
    },
    "/api/resources/{Resource}/query": {
      "post": {
        "tags": [
          "Query"
        ],
        "summary": "Ricerca con filtri e ordinamenti",
        "operationId": "Resources_Query",
        "description": "Filtri e ordinamenti nel corpo, con le strutture `ResourcesViewsFilters` e `ResourcesViewsSortFields`. Operazione di sola lettura.",
        "security": [
          {
            "oauth2": []
          }
        ],
        "parameters": [
          {
            "name": "Resource",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ResourcesViewsFilters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "FieldName",
                          "Operator",
                          "Value"
                        ],
                        "properties": {
                          "FieldName": {
                            "type": "string"
                          },
                          "Operator": {
                            "type": "string",
                            "example": "contains"
                          },
                          "Value": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "ResourcesViewsSortFields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "FieldName": {
                            "type": "string"
                          },
                          "Direction": {
                            "type": "string",
                            "example": "asc"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Token mancante o non valido."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth 2.0 password grant su `/Token`.",
        "flows": {
          "password": {
            "tokenUrl": "https://api.e-cube.it/Token",
            "scopes": {}
          }
        }
      }
    },
    "schemas": {
      "StoricoDocumentiT": {
        "required": [
          "customer_ID",
          "key_documento",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "key_documento": {
            "description": "Chiave",
            "maxLength": 500,
            "type": "string",
            "x-cube-key": true
          },
          "cod_gruppo_tipodoc": {
            "description": "Gruppo doc.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_tipodoc": {
            "description": "Codice doc.",
            "maxLength": 15,
            "type": "string",
            "nullable": true
          },
          "num_anno": {
            "format": "int32",
            "description": "Anno",
            "type": "integer",
            "nullable": true
          },
          "cod_stato_doc": {
            "description": "Stato doc.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_flusso_stato": {
            "description": "cod_flusso_stato",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "sig_serie_doc": {
            "description": "Sezione",
            "maxLength": 4,
            "type": "string",
            "nullable": true
          },
          "des_num_doc": {
            "description": "Numero",
            "maxLength": 15,
            "type": "string",
            "nullable": true
          },
          "num_prot": {
            "format": "float",
            "description": "Protocollo",
            "type": "number",
            "nullable": true
          },
          "des_numvsdoc": {
            "description": "Numero esterno",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "dat_vsdoc": {
            "format": "date-time",
            "description": "Data doc esterno",
            "type": "string",
            "nullable": true
          },
          "des_notevsdoc": {
            "description": "Note doc esterno",
            "maxLength": 240,
            "type": "string",
            "nullable": true
          },
          "ind_doc_bis": {
            "description": "Bis",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "dat_doc": {
            "format": "date-time",
            "description": "Data doc",
            "type": "string",
            "nullable": true
          },
          "dat_movimento": {
            "format": "date-time",
            "description": "Data mov",
            "type": "string",
            "nullable": true
          },
          "ind_clifor_c": {
            "description": "C/F",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_clifor_c": {
            "description": "Codice cli/for",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_banca": {
            "description": "Banca appoggio",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_agenzia": {
            "description": "Agenzia appoggio",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_agenzia_azi": {
            "description": "Canalizzazione",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_iva": {
            "description": "Codice IVA",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_pag": {
            "description": "Cod. pagam.",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_caumag": {
            "description": "Causale mag.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_dep_mov": {
            "description": "Deposito",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_dep_c": {
            "description": "Deposito collegato",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_valuta": {
            "description": "Valuta",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_agente": {
            "description": "Agente",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_listino": {
            "description": "Listino",
            "maxLength": 4,
            "type": "string",
            "nullable": true
          },
          "val_spese_tra": {
            "format": "float",
            "description": "val_spese_tra",
            "type": "number",
            "nullable": true
          },
          "val_spese_tra_val": {
            "format": "float",
            "description": "val_spese_tra_val",
            "type": "number",
            "nullable": true
          },
          "val_spese_acc": {
            "format": "float",
            "description": "val_spese_acc",
            "type": "number",
            "nullable": true
          },
          "val_spese_acc_val": {
            "format": "float",
            "description": "val_spese_acc_val",
            "type": "number",
            "nullable": true
          },
          "val_spese_inc": {
            "format": "float",
            "description": "val_spese_inc",
            "type": "number",
            "nullable": true
          },
          "val_spese_inc_val": {
            "format": "float",
            "description": "val_spese_inc_val",
            "type": "number",
            "nullable": true
          },
          "prc_sco1": {
            "format": "float",
            "description": "prc_sco1",
            "type": "number",
            "nullable": true
          },
          "prc_sco2": {
            "format": "float",
            "description": "prc_sco2",
            "type": "number",
            "nullable": true
          },
          "prc_sco3": {
            "format": "float",
            "description": "prc_sco3",
            "type": "number",
            "nullable": true
          },
          "prc_scopag": {
            "format": "float",
            "description": "prc_scopag",
            "type": "number",
            "nullable": true
          },
          "val_scmerce": {
            "format": "float",
            "description": "Sconto merce valore",
            "type": "number",
            "nullable": true
          },
          "des_note": {
            "description": "des_note",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "cod_sede": {
            "description": "cod_sede",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_mezzo_trasp": {
            "description": "cod_mezzo_trasp",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_porto": {
            "description": "cod_porto",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "ind_stato_evas": {
            "description": "Stato evasione documento",
            "maxLength": 1,
            "enum": [
              "E",
              "P",
              "I"
            ],
            "type": "string",
            "nullable": true
          },
          "dat_evasione": {
            "format": "date-time",
            "description": "dat_evasione",
            "type": "string",
            "nullable": true
          },
          "des_campo_libero1": {
            "description": "des_campo_libero1",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero2": {
            "description": "des_campo_libero2",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero3": {
            "description": "des_campo_libero3",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero4": {
            "description": "des_campo_libero4",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero5": {
            "description": "des_campo_libero5",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero6": {
            "description": "des_campo_libero6",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero7": {
            "description": "des_campo_libero7",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero8": {
            "description": "des_campo_libero8",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero9": {
            "description": "des_campo_libero9",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero10": {
            "description": "des_campo_libero10",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero11": {
            "description": "des_campo_libero11",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero12": {
            "description": "des_campo_libero12",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "val_campo_libero1": {
            "format": "float",
            "description": "val_campo_libero1",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero2": {
            "format": "float",
            "description": "val_campo_libero2",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero3": {
            "format": "float",
            "description": "val_campo_libero3",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero4": {
            "format": "float",
            "description": "val_campo_libero4",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero5": {
            "format": "float",
            "description": "val_campo_libero5",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero6": {
            "format": "float",
            "description": "val_campo_libero6",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero7": {
            "format": "float",
            "description": "val_campo_libero7",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero8": {
            "format": "float",
            "description": "val_campo_libero8",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero9": {
            "format": "float",
            "description": "val_campo_libero9",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero10": {
            "format": "float",
            "description": "val_campo_libero10",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero11": {
            "format": "float",
            "description": "val_campo_libero11",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero12": {
            "format": "float",
            "description": "val_campo_libero12",
            "type": "number",
            "nullable": true
          },
          "dat_campo_libero1": {
            "format": "date-time",
            "description": "dat_campo_libero1",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero2": {
            "format": "date-time",
            "description": "dat_campo_libero2",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero3": {
            "format": "date-time",
            "description": "dat_campo_libero3",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero4": {
            "format": "date-time",
            "description": "dat_campo_libero4",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero5": {
            "format": "date-time",
            "description": "dat_campo_libero5",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero6": {
            "format": "date-time",
            "description": "dat_campo_libero6",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero7": {
            "format": "date-time",
            "description": "dat_campo_libero7",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero8": {
            "format": "date-time",
            "description": "dat_campo_libero8",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero9": {
            "format": "date-time",
            "description": "dat_campo_libero9",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero10": {
            "format": "date-time",
            "description": "dat_campo_libero10",
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero1": {
            "description": "ind_campo_libero1",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero2": {
            "description": "ind_campo_libero2",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero3": {
            "description": "ind_campo_libero3",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero4": {
            "description": "ind_campo_libero4",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero5": {
            "description": "ind_campo_libero5",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero6": {
            "description": "ind_campo_libero6",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero7": {
            "description": "ind_campo_libero7",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero8": {
            "description": "ind_campo_libero8",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero9": {
            "description": "ind_campo_libero9",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero10": {
            "description": "ind_campo_libero10",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_sottogruppo_tipodoc": {
            "description": "Sottogruppo doc.",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "val_cambio": {
            "format": "float",
            "description": "Cambio valuta",
            "type": "number",
            "nullable": true
          },
          "val_tot_doc": {
            "format": "float",
            "description": "Totale Documento",
            "type": "number",
            "nullable": true
          },
          "val_tot_doc_val": {
            "format": "float",
            "description": "Totale Documento in valuta documento",
            "type": "number",
            "nullable": true
          },
          "val_tot_imp": {
            "format": "float",
            "description": "Totale Imponibile",
            "type": "number",
            "nullable": true
          },
          "val_tot_imp_val": {
            "format": "float",
            "description": "Totale Imponibile in valuta documento",
            "type": "number",
            "nullable": true
          },
          "val_tot_iva": {
            "format": "float",
            "description": "Totale Imposta",
            "type": "number",
            "nullable": true
          },
          "val_tot_iva_val": {
            "format": "float",
            "description": "Totale Imposta in valuta documento",
            "type": "number",
            "nullable": true
          },
          "val_tot_a_pagare": {
            "format": "float",
            "description": "Totale a pagare",
            "type": "number",
            "nullable": true
          },
          "val_tot_a_pagare_val": {
            "format": "float",
            "description": "Totale a pagare in valuta documento",
            "type": "number",
            "nullable": true
          },
          "val_tot_bolli": {
            "format": "float",
            "description": "Totale spese bolli",
            "type": "number",
            "nullable": true
          },
          "val_tot_bolli_val": {
            "format": "float",
            "description": "Totale spese bolli in valuta",
            "type": "number",
            "nullable": true
          },
          "val_lordo_merce": {
            "format": "float",
            "description": "val_lordo_merce",
            "type": "number",
            "nullable": true
          },
          "val_lordo_merce_val": {
            "format": "float",
            "description": "val_lordo_merce_val",
            "type": "number",
            "nullable": true
          },
          "val_netto_merce": {
            "format": "float",
            "description": "val_netto_merce",
            "type": "number",
            "nullable": true
          },
          "val_netto_merce_val": {
            "format": "float",
            "description": "val_netto_merce_val",
            "type": "number",
            "nullable": true
          },
          "des_rifesterno": {
            "description": "Riferimento esterno",
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "ind_priorita": {
            "format": "int32",
            "description": "Priorità",
            "type": "integer",
            "nullable": true
          },
          "des_notensdoc": {
            "description": "Note doc interno",
            "maxLength": 240,
            "type": "string",
            "nullable": true
          },
          "des_rifnsdoc": {
            "description": "Descrizione documento interno",
            "maxLength": 72,
            "type": "string",
            "nullable": true
          },
          "num_tot_colli": {
            "format": "int32",
            "description": "Numero totale colli",
            "type": "integer",
            "nullable": true
          },
          "qta_peso_netto_kg": {
            "format": "float",
            "description": "Tot. Peso Netto",
            "type": "number",
            "nullable": true
          },
          "qta_peso_lordo_kg": {
            "format": "float",
            "description": "Tot. Peso Lordo",
            "type": "number",
            "nullable": true
          },
          "cod_vettore_1": {
            "description": "Cod. vettore 1",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_cau_trasp": {
            "description": "Cod. causale di trasporto",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_asp_beni": {
            "description": "Cod. aspetto dei beni",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "dat_obsoleto",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "StoricoDocumentiR": {
            "description": "StoricoDocumentiR",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "StoricoDocumentiIVA": {
            "description": "IVA",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "dat_lastchange_tsec": {
            "format": "date-time",
            "description": "LAstchange ",
            "type": "string",
            "nullable": true
          },
          "cod_utente_cre": {
            "description": "Utente Creaz.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "dat_utente_cre": {
            "format": "date-time",
            "description": "Data Utente Creaz.",
            "type": "string",
            "nullable": true
          },
          "cod_utente_mod": {
            "description": "Utente Mod.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "dat_utente_mod": {
            "format": "date-time",
            "description": "Data Utente Mod.",
            "type": "string",
            "nullable": true
          },
          "val_imppagfix": {
            "format": "float",
            "description": "Pagamento fisso",
            "type": "number",
            "nullable": true
          },
          "cod_commessa": {
            "description": "Cod. Commessa",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_scommessa": {
            "description": "Cod. Sottocommessa",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_commessadoc": {
            "description": "Cod. Commessa Doc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_scommessadoc": {
            "description": "Cod. Sottocommessa Doc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_operatore": {
            "description": "Codice operatore",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "dat_cons_richiesta": {
            "format": "date-time",
            "description": "Dt cons richiesta",
            "type": "string",
            "nullable": true
          },
          "dat_cons_confermata": {
            "format": "date-time",
            "description": "Dt cons confermata",
            "type": "string",
            "nullable": true
          },
          "cod_chiave_bancheclifor": {
            "description": "Chiave banca cliente/fornitore",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "StoricoDocumentiR": {
        "required": [
          "customer_ID",
          "key_documento",
          "prg_riga",
          "num_riga",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "key_documento": {
            "description": "Chiave",
            "maxLength": 500,
            "type": "string",
            "x-cube-key": true
          },
          "prg_riga": {
            "format": "int32",
            "description": "Progr.",
            "type": "integer",
            "x-cube-key": true
          },
          "num_riga": {
            "format": "int32",
            "description": "Num.riga",
            "type": "integer"
          },
          "ind_tiporiga": {
            "description": "Tipo",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_dep_mov": {
            "description": "Dep.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_art": {
            "description": "Cod. art.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_variante": {
            "description": "variante",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_um_doc": {
            "description": "UM",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "cod_um_doc2": {
            "description": "UM 2",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "mlt_unimis": {
            "format": "float",
            "description": "Coeff.molt.",
            "type": "number",
            "nullable": true
          },
          "mlt_unimis_div": {
            "format": "float",
            "description": "Coeff.divis.",
            "type": "number",
            "nullable": true
          },
          "des_articolo_riga": {
            "description": "Descrizione",
            "maxLength": 5000,
            "type": "string",
            "nullable": true
          },
          "qta_merce": {
            "format": "float",
            "description": "Quantità",
            "type": "number",
            "nullable": true
          },
          "prz_merce": {
            "format": "float",
            "description": "Prezzo uni.",
            "type": "number",
            "nullable": true
          },
          "prz_merce_iva": {
            "format": "float",
            "description": "Prezzo uni. con IVA",
            "type": "number",
            "nullable": true
          },
          "prz_merce2": {
            "format": "float",
            "description": "Prezzo uni. 2",
            "type": "number",
            "nullable": true
          },
          "prz_merce2_iva": {
            "format": "float",
            "description": "Prezzo uni. 2 con IVA",
            "type": "number",
            "nullable": true
          },
          "prc_magg1": {
            "format": "float",
            "description": "%Magg1",
            "type": "number",
            "nullable": true
          },
          "prc_magg2": {
            "format": "float",
            "description": "%Magg2",
            "type": "number",
            "nullable": true
          },
          "prc_sconto1": {
            "format": "float",
            "description": "%Sc1",
            "type": "number",
            "nullable": true
          },
          "prc_sconto2": {
            "format": "float",
            "description": "%Sc2",
            "type": "number",
            "nullable": true
          },
          "prc_sconto3": {
            "format": "float",
            "description": "%Sc3",
            "type": "number",
            "nullable": true
          },
          "prc_sconto4": {
            "format": "float",
            "description": "%Sc4",
            "type": "number",
            "nullable": true
          },
          "prc_sconto5": {
            "format": "float",
            "description": "%Sc5",
            "type": "number",
            "nullable": true
          },
          "prc_sconto6": {
            "format": "float",
            "description": "%Sc6",
            "type": "number",
            "nullable": true
          },
          "val_merce_doc": {
            "format": "float",
            "description": "Tot. merce",
            "type": "number",
            "nullable": true
          },
          "val_spese_rip_doc": {
            "format": "float",
            "description": "val_spese_rip_doc",
            "type": "number",
            "nullable": true
          },
          "val_merce": {
            "format": "float",
            "description": "val_merce",
            "type": "number",
            "nullable": true
          },
          "val_merce_val": {
            "format": "float",
            "description": "val_merce_val",
            "type": "number",
            "nullable": true
          },
          "val_importo_doc": {
            "format": "float",
            "description": "val_importo_doc",
            "type": "number",
            "nullable": true
          },
          "prc_provvi": {
            "format": "float",
            "description": "prc_provvi",
            "type": "number",
            "nullable": true
          },
          "prc_provvi_ca": {
            "format": "float",
            "description": "prc_provvi_ca",
            "type": "number",
            "nullable": true
          },
          "cod_tipoomag": {
            "description": "cod_tipoomag",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_iva": {
            "description": "cod_iva",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "num_colli": {
            "format": "int32",
            "description": "num_colli",
            "type": "integer",
            "nullable": true
          },
          "flg_prezzo_con_iva": {
            "description": "flg_prezzo_con_iva",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero1": {
            "description": "des_campo_libero1",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero2": {
            "description": "des_campo_libero2",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero3": {
            "description": "des_campo_libero3",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero4": {
            "description": "des_campo_libero4",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero5": {
            "description": "des_campo_libero5",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero6": {
            "description": "des_campo_libero6",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero7": {
            "description": "des_campo_libero7",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero8": {
            "description": "des_campo_libero8",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero9": {
            "description": "des_campo_libero9",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero10": {
            "description": "des_campo_libero10",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero11": {
            "description": "des_campo_libero11",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero12": {
            "description": "des_campo_libero12",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "val_campo_libero1": {
            "format": "float",
            "description": "val_campo_libero1",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero2": {
            "format": "float",
            "description": "val_campo_libero2",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero3": {
            "format": "float",
            "description": "val_campo_libero3",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero4": {
            "format": "float",
            "description": "val_campo_libero4",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero5": {
            "format": "float",
            "description": "val_campo_libero5",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero6": {
            "format": "float",
            "description": "val_campo_libero6",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero7": {
            "format": "float",
            "description": "val_campo_libero7",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero8": {
            "format": "float",
            "description": "val_campo_libero8",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero9": {
            "format": "float",
            "description": "val_campo_libero9",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero10": {
            "format": "float",
            "description": "val_campo_libero10",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero11": {
            "format": "float",
            "description": "val_campo_libero11",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero12": {
            "format": "float",
            "description": "val_campo_libero12",
            "type": "number",
            "nullable": true
          },
          "dat_campo_libero1": {
            "format": "date-time",
            "description": "dat_campo_libero1",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero2": {
            "format": "date-time",
            "description": "dat_campo_libero2",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero3": {
            "format": "date-time",
            "description": "dat_campo_libero3",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero4": {
            "format": "date-time",
            "description": "dat_campo_libero4",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero5": {
            "format": "date-time",
            "description": "dat_campo_libero5",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero6": {
            "format": "date-time",
            "description": "dat_campo_libero6",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero7": {
            "format": "date-time",
            "description": "dat_campo_libero7",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero8": {
            "format": "date-time",
            "description": "dat_campo_libero8",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero9": {
            "format": "date-time",
            "description": "dat_campo_libero9",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero10": {
            "format": "date-time",
            "description": "dat_campo_libero10",
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero1": {
            "description": "ind_campo_libero1",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero2": {
            "description": "ind_campo_libero2",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero3": {
            "description": "ind_campo_libero3",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero4": {
            "description": "ind_campo_libero4",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero5": {
            "description": "ind_campo_libero5",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero6": {
            "description": "ind_campo_libero6",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero7": {
            "description": "ind_campo_libero7",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero8": {
            "description": "ind_campo_libero8",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero9": {
            "description": "ind_campo_libero9",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero10": {
            "description": "ind_campo_libero10",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "rifevas_key_documento": {
            "description": "Rif.doc.evas.",
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "rifevas_prg_riga": {
            "format": "int32",
            "description": "Riga.doc.evas.",
            "type": "integer",
            "nullable": true
          },
          "cod_spesa": {
            "description": "Cod. Spesa",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_cp_merce": {
            "description": "Cod. cp merce",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_commessa": {
            "description": "Cod. Commessa",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_scommessa": {
            "description": "Cod. Sottocommessa",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_commessadoc": {
            "description": "Cod. Commessa Doc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_scommessadoc": {
            "description": "Cod. Sottocommessa Doc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_nodoprogetto": {
            "description": "Cod. Nodo Com.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_lotto": {
            "description": "Lotto",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "cod_matricola": {
            "description": "Matricola",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "cod_attivita": {
            "description": "Cod. attivita ",
            "maxLength": 25,
            "type": "string",
            "nullable": true
          },
          "cod_spesa_wbs": {
            "description": "Cdice spesa WBS",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "qta_merce2": {
            "format": "float",
            "description": "Quantità 2",
            "type": "number",
            "nullable": true
          },
          "val_magg_importo": {
            "format": "float",
            "description": "Magg. Importo",
            "type": "number",
            "nullable": true
          },
          "val_importo_netto": {
            "format": "float",
            "description": "Imp. Netto",
            "type": "number",
            "nullable": true
          },
          "val_importo_netto_val": {
            "format": "float",
            "description": "Imp. Netto Valuta",
            "type": "number",
            "nullable": true
          },
          "val_costo_tot": {
            "format": "float",
            "description": "Costo totale",
            "type": "number",
            "nullable": true
          },
          "val_margine_netto": {
            "format": "float",
            "description": "Margine netto",
            "type": "number",
            "nullable": true
          },
          "qta_residua": {
            "format": "float",
            "description": "Quantità residua",
            "type": "number",
            "nullable": true
          },
          "prg_riga_cons": {
            "format": "float",
            "description": "Prg. Riga Cons.",
            "type": "number",
            "nullable": true
          },
          "cod_esercizio": {
            "description": "Esercizio",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "ind_stato_riga": {
            "description": "Stato evasione riga",
            "maxLength": 1,
            "enum": [
              "E",
              "P",
              "I"
            ],
            "type": "string",
            "nullable": true
          },
          "qta_evasa": {
            "format": "float",
            "description": "Quantità evasa",
            "type": "number",
            "nullable": true
          },
          "dat_cons_richiesta": {
            "format": "date-time",
            "description": "Dt cons richiesta",
            "type": "string",
            "nullable": true
          },
          "dat_cons_confermata": {
            "format": "date-time",
            "description": "Dt cons confermata",
            "type": "string",
            "nullable": true
          },
          "dat_inizio_lav": {
            "format": "date-time",
            "description": "Dt inizio lav.",
            "type": "string",
            "nullable": true
          },
          "cod_art_cli": {
            "description": "Cod. Art. Cli.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_art_for": {
            "description": "Cod. Art. For.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "flg_artkit": {
            "description": "Articolo kit",
            "type": "boolean",
            "nullable": true
          },
          "prg_rigakitpadre": {
            "format": "int32",
            "description": "Riga kit padre",
            "type": "integer",
            "nullable": true
          },
          "qta_unit_kit": {
            "format": "float",
            "description": "Quantità unitaria kit padre",
            "type": "number",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "dat_obsoleto",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "flg_exportEDI": {
            "description": "Flag esportato EDI",
            "type": "boolean",
            "nullable": true
          },
          "cod_caumag": {
            "description": "Causale mag.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_contenitore": {
            "description": "Codice confezione/contenitore",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "qta_contenitore": {
            "format": "float",
            "description": "Numero pezzi per confezione",
            "type": "number",
            "nullable": true
          },
          "StoricoDocumentiRDet": {
            "description": "StoricoDocumentiRDet",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "StoricoDocumentiRDetUbi": {
            "description": "StoricoDocumentiRDetUbi",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "StoricoDocumentiRLinkEvas": {
            "description": "StoricoDocumentiRLinkEvas",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "cod_voce": {
            "description": "Cod. Voce",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_centro": {
            "description": "Cod. Centro",
            "maxLength": 65,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "Articoli": {
        "required": [
          "customer_ID",
          "cod_art",
          "cod_variante",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_art": {
            "description": "Cod. Articolo",
            "maxLength": 50,
            "type": "string",
            "x-cube-key": true
          },
          "cod_variante": {
            "description": "Cod. Variante",
            "maxLength": 50,
            "type": "string",
            "x-cube-key": true
          },
          "ind_tiporiga": {
            "description": "Tipo Riga",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "des_articolo": {
            "description": "Des. Articolo",
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "cod_interno": {
            "description": "Alias",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "cod_um": {
            "description": "Um",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "cod_um2": {
            "description": "Um2",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "cod_um_ven": {
            "description": "Um Ven.",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "cod_um_acq": {
            "description": "Um Acq.",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "des_articolo_ex": {
            "description": "Des. Estesa",
            "type": "string",
            "nullable": true
          },
          "des_ubicazione": {
            "description": "Ubicazione",
            "maxLength": 60,
            "type": "string",
            "nullable": true
          },
          "cod_tipoomag_ven": {
            "description": "Cod. Tipo Omag. Ven.",
            "maxLength": 2,
            "type": "string",
            "nullable": true
          },
          "des_tipoomag_ven": {
            "description": "des_tipoomag_ven",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_tipoomag_acq": {
            "description": "Cod. Tipo Omag. Acq.",
            "maxLength": 2,
            "type": "string",
            "nullable": true
          },
          "des_tipoomag_acq": {
            "description": "des_tipoomag_acq",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_iva_ven": {
            "description": "Cod. Iva Ven.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_iva_ven": {
            "description": "des_iva_ven",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_iva_acq": {
            "description": "Cod. Iva Acq.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_iva_acq": {
            "description": "des_iva_acq",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_linea": {
            "description": "Cod. Linea",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_gruppostat1": {
            "description": "Cod. Gruppo 1 Stat.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppostat1": {
            "description": "des_gruppostat1",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppostat2": {
            "description": "Cod. Gruppo 2 Stat.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppostat2": {
            "description": "des_gruppostat2",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppostat3": {
            "description": "Cod. Gruppo 3 Stat.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppostat3": {
            "description": "des_gruppostat3",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppostat4": {
            "description": "Cod. Gruppo 4 Stat.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppostat4": {
            "description": "des_gruppostat4",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_provenienza": {
            "description": "Cod. Provenienza",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_marca": {
            "description": "Cod. Marca",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_gruppofiscale": {
            "description": "Cod. Gruppo Fiscale",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_tipoprodotto": {
            "description": "Cod. Tipo Prodotto",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_famiglia": {
            "description": "Cod. Famiglia",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_famiglia": {
            "description": "des_famiglia",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_sfamiglia": {
            "description": "Cod. Sotto Fam.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_sfamiglia": {
            "description": "des_sfamiglia",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_grumerc": {
            "description": "Cod. Gr. Mec.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_grumerc": {
            "description": "des_grumerc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_sgrumerc": {
            "description": "Cod. Sotto Gr. Mec.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_sgrumerc": {
            "description": "des_sgrumerc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "flg_gest_lotti": {
            "description": "Gestione Lotti ?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "flg_gest_matr": {
            "description": "Gestione Matricole ?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "qta_pes_lordo_kg": {
            "format": "float",
            "description": "Peso Lordo Kg",
            "type": "number",
            "nullable": true
          },
          "qta_pes_netto_kg": {
            "format": "float",
            "description": "Peso Netto Kg",
            "type": "number",
            "nullable": true
          },
          "qta_min_ordin": {
            "format": "float",
            "description": "Qtà Min. Ord.",
            "type": "number",
            "nullable": true
          },
          "qta_max_ordin": {
            "format": "float",
            "description": "Qtà Max Ord.",
            "type": "number",
            "nullable": true
          },
          "qta_scorta_min": {
            "format": "float",
            "description": "Qtà Scorta Min.",
            "type": "number",
            "nullable": true
          },
          "qta_scorta_max": {
            "format": "float",
            "description": "Qtà Scorta Max",
            "type": "number",
            "nullable": true
          },
          "qta_lotto_riord": {
            "format": "float",
            "description": "Qtà Lotto Riord.",
            "type": "number",
            "nullable": true
          },
          "dim_volume_colli": {
            "format": "float",
            "description": "Volume Colli",
            "type": "number",
            "nullable": true
          },
          "cod_gencod_lotti": {
            "description": "Cod. Gen. Lotto",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_gencod_matri": {
            "description": "Cod. Gen. Matricola",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "flg_gest_commesse": {
            "description": "Gestione Commesse ?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_abc_rimanenze": {
            "description": "Cod. ABC Rimanenze",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_abc_vendite": {
            "description": "Cod. ABC Vendite",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_abc_acquisti": {
            "description": "Cod. ABC Acquisti",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_abc_produzione": {
            "description": "Cod. ABC Produzione",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "dat_inizio_lotti": {
            "format": "date-time",
            "description": "Data inizio gestione lotti",
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Obsoleto dal",
            "type": "string",
            "nullable": true
          },
          "flg_conf_var": {
            "description": "Confez. Variabile ?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "flg_art_alt": {
            "description": "Prelievo Alternativo Possibile ?",
            "maxLength": 1,
            "enum": [
              "N",
              "A",
              "C",
              "G",
              "S",
              "U"
            ],
            "type": "string",
            "nullable": true
          },
          "des_campo_libero1": {
            "description": "des_campo_libero1",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero2": {
            "description": "des_campo_libero2",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero3": {
            "description": "des_campo_libero3",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero4": {
            "description": "des_campo_libero4",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero5": {
            "description": "des_campo_libero5",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero6": {
            "description": "des_campo_libero6",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero7": {
            "description": "des_campo_libero7",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero8": {
            "description": "des_campo_libero8",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero9": {
            "description": "des_campo_libero9",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero10": {
            "description": "des_campo_libero10",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "val_campo_libero1": {
            "format": "float",
            "description": "val_campo_libero1",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero2": {
            "format": "float",
            "description": "val_campo_libero2",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero3": {
            "format": "float",
            "description": "val_campo_libero3",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero4": {
            "format": "float",
            "description": "val_campo_libero4",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero5": {
            "format": "float",
            "description": "val_campo_libero5",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero6": {
            "format": "float",
            "description": "val_campo_libero6",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero7": {
            "format": "float",
            "description": "val_campo_libero7",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero8": {
            "format": "float",
            "description": "val_campo_libero8",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero9": {
            "format": "float",
            "description": "val_campo_libero9",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero10": {
            "format": "float",
            "description": "val_campo_libero10",
            "type": "number",
            "nullable": true
          },
          "dat_campo_libero1": {
            "format": "date-time",
            "description": "dat_campo_libero1",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero2": {
            "format": "date-time",
            "description": "dat_campo_libero2",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero3": {
            "format": "date-time",
            "description": "dat_campo_libero3",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero4": {
            "format": "date-time",
            "description": "dat_campo_libero4",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero5": {
            "format": "date-time",
            "description": "dat_campo_libero5",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero6": {
            "format": "date-time",
            "description": "dat_campo_libero6",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero7": {
            "format": "date-time",
            "description": "dat_campo_libero7",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero8": {
            "format": "date-time",
            "description": "dat_campo_libero8",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero9": {
            "format": "date-time",
            "description": "dat_campo_libero9",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero10": {
            "format": "date-time",
            "description": "dat_campo_libero10",
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero1": {
            "description": "ind_campo_libero1",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero2": {
            "description": "ind_campo_libero2",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero3": {
            "description": "ind_campo_libero3",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero4": {
            "description": "ind_campo_libero4",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero5": {
            "description": "ind_campo_libero5",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero6": {
            "description": "ind_campo_libero6",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero7": {
            "description": "ind_campo_libero7",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero8": {
            "description": "ind_campo_libero8",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero9": {
            "description": "ind_campo_libero9",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero10": {
            "description": "ind_campo_libero10",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "cod_conto_acq": {
            "description": "cod_conto_acq",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_conto_ven": {
            "description": "cod_conto_ven",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "dat_uca_acquis": {
            "format": "date-time",
            "description": "dat_uca_acquis",
            "type": "string",
            "nullable": true
          },
          "dat_upv_vendit": {
            "format": "date-time",
            "description": "dat_upv_vendit",
            "type": "string",
            "nullable": true
          },
          "val_uca_acquis": {
            "format": "float",
            "description": "val_uca_acquis",
            "type": "number",
            "nullable": true
          },
          "val_upv_vendit": {
            "format": "float",
            "description": "val_upv_vendit",
            "type": "number",
            "nullable": true
          },
          "MOD_priorita": {
            "format": "int32",
            "description": "MOD_priorita",
            "type": "integer",
            "nullable": true
          },
          "dat_inizio_matricole": {
            "format": "date-time",
            "description": "Data inizio gestione matricole",
            "type": "string",
            "nullable": true
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "dat_lastchange_tsec": {
            "format": "date-time",
            "description": "LAstchange ",
            "type": "string",
            "nullable": true
          },
          "cod_classif1": {
            "description": "Codice classificazione 1",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif2": {
            "description": "Codice classificazione 2",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif3": {
            "description": "Codice classificazione 3",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif4": {
            "description": "Codice classificazione 4",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif5": {
            "description": "Codice classificazione 5",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "flg_isarticolokit": {
            "description": "Articolo kit",
            "type": "boolean",
            "nullable": true
          },
          "des_nomcom_intra": {
            "description": "Nomenclatura INTRA",
            "maxLength": 8,
            "type": "string",
            "nullable": true
          },
          "ind_um_intra": {
            "format": "float",
            "description": "Ind. UM INTRA",
            "type": "number",
            "nullable": true
          },
          "val_massa_intra": {
            "format": "float",
            "description": "Massa intra",
            "type": "number",
            "nullable": true
          },
          "cod_nazori_intra": {
            "description": "Nazione origine INTRA",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "ind_stato_art": {
            "description": "Ind. stato articolo",
            "maxLength": 2,
            "type": "string",
            "nullable": true
          },
          "des_stato_art": {
            "description": "Des. stato articolo",
            "maxLength": 40,
            "type": "string",
            "nullable": true
          },
          "des_note": {
            "description": "Note articolo",
            "type": "string",
            "nullable": true
          },
          "CIC_id": {
            "description": "Id  Teamsystem Cassa In Cloud",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "Famiglia": {
        "required": [
          "customer_ID",
          "cod_famiglia",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_famiglia": {
            "description": "Cod. Famiglia",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_famiglia": {
            "description": "Des. Famiglia",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Obsoleto dal",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "CIC_id": {
            "description": "CIC_id",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "Sottofamiglia": {
        "required": [
          "customer_ID",
          "cod_famiglia",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_famiglia": {
            "description": "Cod. Famiglia",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_famiglia": {
            "description": "des_famiglia",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_sfamiglia": {
            "description": "Cod. Sotto Famiglia",
            "maxLength": 10,
            "type": "string",
            "nullable": true,
            "x-cube-key": true
          },
          "des_sfamiglia": {
            "description": "Des. Sotto Famiglia",
            "maxLength": 40,
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Obsoleto dal",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "CondPagam": {
        "required": [
          "customer_ID",
          "cod_pag",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_pag": {
            "description": "Codice",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_pag": {
            "description": "Descrizione",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "prc_scopag": {
            "format": "float",
            "description": "Sconto Pag.",
            "type": "number",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Obsoleto dal",
            "type": "string",
            "nullable": true
          },
          "flg_addebito_spese": {
            "description": "Addebito spese",
            "type": "boolean",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "id_codpag_tsec": {
            "format": "int32",
            "description": "Id TsCloud",
            "type": "integer",
            "nullable": true
          },
          "CondPagamDett": {
            "description": "CondPagamDett",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "MacroCategClifor": {
        "required": [
          "customer_ID",
          "ind_clifor",
          "cod_macrocat",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "ind_clifor": {
            "description": "Indicatore cli/for",
            "maxLength": 1,
            "type": "string",
            "x-cube-key": true
          },
          "cod_macrocat": {
            "description": "Codice macrocategoria",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_macrocat": {
            "description": "Descrizione",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "CategClifor": {
        "required": [
          "customer_ID",
          "ind_clifor",
          "cod_macrocat",
          "cod_categ",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "ind_clifor": {
            "description": "Indicatore cli/for",
            "maxLength": 1,
            "type": "string",
            "x-cube-key": true
          },
          "cod_macrocat": {
            "description": "Codice macrocategoria",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_macrocat": {
            "description": "des_macrocat",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_categ": {
            "description": "Codice categoria",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_categ": {
            "description": "Descrizione categoria",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "AliquoteIva": {
        "required": [
          "customer_ID",
          "cod_iva",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_iva": {
            "description": "cod_iva",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_iva": {
            "description": "des_iva",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "prc_iva": {
            "format": "float",
            "description": "prc_iva",
            "type": "number",
            "nullable": true
          },
          "prc_indetraibile": {
            "format": "float",
            "description": "prc_indetraibile",
            "type": "number",
            "nullable": true
          },
          "flg_iva_esente": {
            "description": "flg_iva_esente",
            "maxLength": 1,
            "enum": [
              "0",
              "1"
            ],
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "dat_obsoleto",
            "type": "string",
            "nullable": true
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "CIC_id_tax": {
            "description": "Id Cassa In Cloud",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "CIC_id_department": {
            "description": "Id reparto Cassa in Cloud",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "StatiEsteri": {
        "required": [
          "customer_ID",
          "cod_naz",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_naz": {
            "description": "cod_naz",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_naz": {
            "description": "des_naz",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "sig_iso": {
            "description": "sig_iso",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "cod_valuta": {
            "description": "cod_valuta",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_valuta": {
            "description": "des_valuta",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_lingua": {
            "description": "cod_lingua",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_lingua": {
            "description": "des_lingua",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ind_area_naz": {
            "description": "ind_area_naz",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "num_carat_piva": {
            "format": "int32",
            "description": "num_carat_piva",
            "type": "integer",
            "nullable": true
          },
          "cod_pae_uic": {
            "description": "cod_pae_uic",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "dat_obsoleto",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "CliFor": {
        "required": [
          "customer_ID",
          "ind_clifor",
          "cod_clifor",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "ind_clifor": {
            "description": "Ind. CliFor",
            "maxLength": 1,
            "enum": [
              "C",
              "F"
            ],
            "type": "string",
            "x-cube-key": true
          },
          "cod_clifor": {
            "description": "Cod. CliFor",
            "maxLength": 20,
            "type": "string",
            "x-cube-key": true
          },
          "des_ragsoc": {
            "description": "Ragione Sociale",
            "maxLength": 60,
            "type": "string",
            "nullable": true
          },
          "cod_cfisc": {
            "description": "Cod. Fisc.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_piva": {
            "description": "P.Iva",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_lingua": {
            "description": "Cod. Lingua",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_lingua": {
            "description": "des_lingua",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_valuta": {
            "description": "Cod. Valuta",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_valuta": {
            "description": "des_valuta",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_contatto": {
            "description": "Contatto",
            "maxLength": 40,
            "type": "string",
            "nullable": true
          },
          "des_email1": {
            "description": "Email1",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_email2": {
            "description": "Email2",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_url": {
            "description": "Sito Web",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "flg_pers_fis": {
            "description": "Pers. Fisica?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "des_cogn": {
            "description": "Cognome",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "des_nome": {
            "description": "Nome",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "ind_sesso": {
            "description": "Sesso",
            "maxLength": 1,
            "enum": [
              "M",
              "F"
            ],
            "type": "string",
            "nullable": true
          },
          "dat_nasc": {
            "format": "date-time",
            "description": "Data Nascita",
            "type": "string",
            "nullable": true
          },
          "des_localita_nasc": {
            "description": "Località Nascita",
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "sig_prov_nasc": {
            "description": "Prov. Nascita",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "cod_cap_nasc": {
            "description": "Cap Nascita",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_naz_nasc": {
            "description": "Cod. Naz. Nascita",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_naz_nasc": {
            "description": "des_naz_nasc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_indir_res": {
            "description": "Indirizzo Residenza",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "sig_tel_res": {
            "description": "Telefono Res.",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_tel1_res": {
            "description": "Telefono Res.1",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "cod_localita_res": {
            "description": "Cod. comune",
            "maxLength": 4,
            "type": "string",
            "nullable": true
          },
          "des_localita_res": {
            "description": "Località Residenza",
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "sig_tel2_res": {
            "description": "Telefono Res.2",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_fax_res": {
            "description": "Fax. Res.",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "cod_cap_res": {
            "description": "Cap. Res.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "sig_fax1_res": {
            "description": "Fax. Res. 1",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_prov_res": {
            "description": "Prov. Res.",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "cod_naz_res": {
            "description": "Cod. Naz. Res.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_naz_res": {
            "description": "des_naz_res",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_indir_fis": {
            "description": "Indirizzo Fiscale",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "sig_tel_fis": {
            "description": "Telefono Fis.",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_tel1_fis": {
            "description": "Telefono Fis. 1",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_tel2_fis": {
            "description": "Telefono Fis. 2",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_fax_fis": {
            "description": "Fax Fis.",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "sig_fax1_fis": {
            "description": "Fax Fis. 1",
            "maxLength": 18,
            "type": "string",
            "nullable": true
          },
          "cod_localita_fis": {
            "description": "Cod. comune fis.",
            "maxLength": 4,
            "type": "string",
            "nullable": true
          },
          "des_localita_fis": {
            "description": "Località Fiscale",
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "cod_cap_fis": {
            "description": "Cap Fis.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "sig_prov_fis": {
            "description": "Prov. Fis.",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "cod_naz_fis": {
            "description": "Cod. Naz. Fis.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_naz_fis": {
            "description": "des_naz_fis",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_regione": {
            "description": "Cod. Regione",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_regione": {
            "description": "des_regione",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_note": {
            "description": "Note",
            "type": "string",
            "nullable": true
          },
          "cod_iva": {
            "description": "Cod. Iva",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_iva": {
            "description": "des_iva",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ind_venacq": {
            "description": "Ind. Vend./Acq.",
            "maxLength": 1,
            "enum": [
              "V",
              "A",
              "G"
            ],
            "type": "string",
            "nullable": true
          },
          "cod_listino": {
            "description": "Cod. Listino",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_listino": {
            "description": "des_listino",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_macrocat": {
            "description": "Cod. Macrocateg.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_macrocat": {
            "description": "des_macrocat",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_categ": {
            "description": "Cod. Categoria",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_categ": {
            "description": "des_categ",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_sottocateg": {
            "description": "Cod. Sotto Categ.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_sottocateg": {
            "description": "des_sottocateg",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppocf1": {
            "description": "Cod. Ragg. CliFor",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppocf1": {
            "description": "des_gruppocf1",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppocf2": {
            "description": "Cod. Ragg. CliFor 2",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppocf2": {
            "description": "des_gruppocf2",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_gruppocf3": {
            "description": "Cod. Ragg. CliFor 3",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_gruppocf3": {
            "description": "des_gruppocf3",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_pag": {
            "description": "Cod. Pagamento",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_pag": {
            "description": "des_pag",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "num_mese_escl1": {
            "format": "int32",
            "description": "Primo mese escluso",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12"
            ],
            "type": "integer",
            "nullable": true
          },
          "num_mese_escl2": {
            "format": "int32",
            "description": "Secondo mese escluso",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12"
            ],
            "type": "integer",
            "nullable": true
          },
          "num_gio_mese_suc1": {
            "format": "int32",
            "description": "Giorno successivo al primo mese escluso",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7"
            ],
            "type": "integer",
            "nullable": true
          },
          "num_gio_mese_suc2": {
            "format": "int32",
            "description": "Giorno successivo al secondo mese escluso",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7"
            ],
            "type": "integer",
            "nullable": true
          },
          "num_gio_chiusura": {
            "format": "int32",
            "description": "Giono Chiusura",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7"
            ],
            "type": "integer",
            "nullable": true
          },
          "cod_macroarea": {
            "description": "Cod. Macro Area",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_macroarea": {
            "description": "des_macroarea",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_area": {
            "description": "Cod. Area",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_area": {
            "description": "des_area",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_zona": {
            "description": "Cod. Zona",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_zona": {
            "description": "des_zona",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_banca1": {
            "description": "Cod. Banca",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_agenzia1": {
            "description": "Cod. Agenza",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "sig_iban1": {
            "description": "Iban",
            "maxLength": 34,
            "type": "string",
            "nullable": true
          },
          "sig_bban1": {
            "description": "Bban",
            "maxLength": 30,
            "type": "string",
            "nullable": true
          },
          "sig_ccbanc1": {
            "description": "Conto Corrente",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "prc_sco1": {
            "format": "float",
            "description": "% Sc. 1",
            "type": "number",
            "nullable": true
          },
          "prc_sco2": {
            "format": "float",
            "description": "% Sc. 2",
            "type": "number",
            "nullable": true
          },
          "cod_agenzia_azi": {
            "description": "Cod. Banca Azienda",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "cod_asp_beni": {
            "description": "Cod. Asp. Beni",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_mezzo_trasp": {
            "description": "Cod. Mezzo Trasp.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_mezzo_trasp": {
            "description": "des_mezzo_trasp",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_porto": {
            "description": "Cod. Porto",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_porto": {
            "description": "des_porto",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_vettore": {
            "description": "Cod. Vettore",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "des_vettore": {
            "description": "des_vettore",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_agente": {
            "description": "Cod. Agente",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "des_agente": {
            "description": "des_agente",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "flg_addebito_bollo": {
            "description": "Addebito Bolli?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "flg_addebito_spese": {
            "description": "Addebito Spese?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "val_spese_inc": {
            "format": "float",
            "description": "Valore spese di incasso",
            "type": "number",
            "nullable": true
          },
          "cod_iva_spese_inc": {
            "description": "Codice iva spese incasso",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "flg_stp_prz_bolla": {
            "description": "Stampa prezzo in bolla?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "flg_scrp_fin_fat": {
            "description": "Scorpo Fine Fattura?",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_testo": {
            "description": "Cod. Testo",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "ind_fido_impegni": {
            "description": "Ctrl Fido su Impegni?",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "2"
            ],
            "type": "string",
            "nullable": true
          },
          "ind_bloccato": {
            "description": "Cliente Bloccato ?",
            "maxLength": 1,
            "enum": [
              "0",
              "1"
            ],
            "type": "string",
            "nullable": true
          },
          "ind_fido_doc_evas": {
            "description": "Ctrl Fido su Vendite?",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "2"
            ],
            "type": "string",
            "nullable": true
          },
          "val_fido": {
            "format": "float",
            "description": "Valore Fido",
            "type": "number",
            "nullable": true
          },
          "num_priorita_evas": {
            "format": "int32",
            "description": "Priorità Evasione",
            "type": "integer",
            "nullable": true
          },
          "cod_gruppo_tipodoc": {
            "description": "Cod. Gruppo Doc.",
            "maxLength": 3,
            "type": "string",
            "nullable": true
          },
          "des_gruppo_tipodoc": {
            "description": "des_gruppo_tipodoc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "cod_tipodoc": {
            "description": "Cod. Tipo Doc.",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_tipodoc": {
            "description": "des_tipodoc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ind_gest_omaggio": {
            "description": "Gest. Omaggi",
            "maxLength": 1,
            "enum": [
              "0",
              "1"
            ],
            "type": "string",
            "nullable": true
          },
          "cod_idest": {
            "description": "Id destinatario",
            "maxLength": 36,
            "type": "string",
            "nullable": true
          },
          "dat_ini_b2b": {
            "format": "date-time",
            "description": "Data inizio",
            "type": "string",
            "nullable": true
          },
          "ind_mod_invio_hub": {
            "description": "Modalità invio",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "des_email_pec_fe": {
            "description": "PEC e-mail",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero1": {
            "description": "des_campo_libero1",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero2": {
            "description": "des_campo_libero2",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero3": {
            "description": "des_campo_libero3",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero4": {
            "description": "des_campo_libero4",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero5": {
            "description": "des_campo_libero5",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero6": {
            "description": "des_campo_libero6",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero7": {
            "description": "des_campo_libero7",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero8": {
            "description": "des_campo_libero8",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero9": {
            "description": "des_campo_libero9",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero10": {
            "description": "des_campo_libero10",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero11": {
            "description": "des_campo_libero11",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero12": {
            "description": "des_campo_libero12",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero13": {
            "description": "des_campo_libero13",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "des_campo_libero14": {
            "description": "des_campo_libero14",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "val_campo_libero1": {
            "format": "float",
            "description": "val_campo_libero1",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero2": {
            "format": "float",
            "description": "val_campo_libero2",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero3": {
            "format": "float",
            "description": "val_campo_libero3",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero4": {
            "format": "float",
            "description": "val_campo_libero4",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero5": {
            "format": "float",
            "description": "val_campo_libero5",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero6": {
            "format": "float",
            "description": "val_campo_libero6",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero7": {
            "format": "float",
            "description": "val_campo_libero7",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero8": {
            "format": "float",
            "description": "val_campo_libero8",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero9": {
            "format": "float",
            "description": "val_campo_libero9",
            "type": "number",
            "nullable": true
          },
          "val_campo_libero10": {
            "format": "float",
            "description": "val_campo_libero10",
            "type": "number",
            "nullable": true
          },
          "dat_campo_libero1": {
            "format": "date-time",
            "description": "dat_campo_libero1",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero2": {
            "format": "date-time",
            "description": "dat_campo_libero2",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero3": {
            "format": "date-time",
            "description": "dat_campo_libero3",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero4": {
            "format": "date-time",
            "description": "dat_campo_libero4",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero5": {
            "format": "date-time",
            "description": "dat_campo_libero5",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero6": {
            "format": "date-time",
            "description": "dat_campo_libero6",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero7": {
            "format": "date-time",
            "description": "dat_campo_libero7",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero8": {
            "format": "date-time",
            "description": "dat_campo_libero8",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero9": {
            "format": "date-time",
            "description": "dat_campo_libero9",
            "type": "string",
            "nullable": true
          },
          "dat_campo_libero10": {
            "format": "date-time",
            "description": "dat_campo_libero10",
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero1": {
            "description": "ind_campo_libero1",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero2": {
            "description": "ind_campo_libero2",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero3": {
            "description": "ind_campo_libero3",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero4": {
            "description": "ind_campo_libero4",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero5": {
            "description": "ind_campo_libero5",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero6": {
            "description": "ind_campo_libero6",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero7": {
            "description": "ind_campo_libero7",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero8": {
            "description": "ind_campo_libero8",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero9": {
            "description": "ind_campo_libero9",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "ind_campo_libero10": {
            "description": "ind_campo_libero10",
            "maxLength": 1,
            "type": "string",
            "nullable": true
          },
          "cod_esterno": {
            "description": "Codice esterno",
            "maxLength": 128,
            "type": "string",
            "nullable": true
          },
          "cod_utente_cre_ERP": {
            "description": "Nome utente",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "dat_utente_cre_ERP": {
            "format": "date-time",
            "description": "Data di creazione",
            "type": "string",
            "nullable": true
          },
          "cod_utente_mod_ERP": {
            "description": "Nome utente",
            "maxLength": 20,
            "type": "string",
            "nullable": true
          },
          "dat_utente_mod_ERP": {
            "format": "date-time",
            "description": "Data ultima modifica",
            "type": "string",
            "nullable": true
          },
          "cod_caurit": {
            "description": "Cod. causale rit.",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Data Obsoleto",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "id_anaggen_tsec": {
            "format": "int32",
            "description": "Id anag. gen",
            "type": "integer",
            "nullable": true
          },
          "id_clifor_tsec": {
            "format": "int32",
            "description": "Id clifor",
            "type": "integer",
            "nullable": true
          },
          "dat_lastchange_tsec": {
            "format": "date-time",
            "description": "LAstchange ",
            "type": "string",
            "nullable": true
          },
          "cod_classif1": {
            "description": "Codice classificazione 1",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif2": {
            "description": "Codice classificazione 2",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif3": {
            "description": "Codice classificazione 3",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif4": {
            "description": "Codice classificazione 4",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_classif5": {
            "description": "Codice classificazione 5",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_conto_cpart": {
            "description": "Conto contabile ",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_gruppo_cpart": {
            "format": "float",
            "description": "Codice Pdc",
            "type": "number",
            "nullable": true
          },
          "cod_classifrs": {
            "description": "Cod. IFRS 15",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "des_classifrs": {
            "description": "Descr. IFRS 15",
            "maxLength": 80,
            "type": "string",
            "nullable": true
          },
          "dat_creazione": {
            "format": "date-time",
            "description": "Data Creazione",
            "type": "string",
            "nullable": true
          },
          "AgentiClienti": {
            "description": "Elenco Agenti Clienti",
            "type": "array",
            "items": {
              "type": "object"
            },
            "nullable": true
          },
          "cod_intermedio": {
            "description": "cod_intermedio",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "CIC_id": {
            "description": "Id Cassa in Cloud",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "CodiciDocumento": {
        "required": [
          "customer_ID",
          "cod_tipodoc",
          "cod_gruppo_tipodoc",
          "des_tipodoc",
          "cod_config",
          "ind_input_num_doc",
          "ind_controparte",
          "ind_tipo_fattura",
          "ind_ctr_esist_disp",
          "ind_qta_esistenza",
          "flg_qta_obbl",
          "flg_val_obbl",
          "flg_gest_lotti",
          "flg_ctrl_lotti",
          "flg_gest_matr",
          "flg_ctrl_matricole",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_tipodoc": {
            "description": "Cod. Tipo Doc.",
            "maxLength": 50,
            "type": "string",
            "x-cube-key": true
          },
          "cod_gruppo_tipodoc": {
            "description": "Cod. Gruppo Doc.",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_gruppo_tipodoc": {
            "description": "des_gruppo_tipodoc",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "des_reg_iva": {
            "description": "Registro IVA",
            "maxLength": 5,
            "type": "string",
            "nullable": true
          },
          "des_tipodoc": {
            "description": "Des. Tipo Doc.",
            "maxLength": 100,
            "type": "string"
          },
          "cod_config": {
            "description": "Cod. config. prezzi",
            "maxLength": 10,
            "type": "string"
          },
          "sig_serie_doc": {
            "description": "Sig. Serie Doc.",
            "maxLength": 4,
            "type": "string",
            "nullable": true
          },
          "cod_dep_mov": {
            "description": "Cod. Dep. Mov.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "cod_dep_c": {
            "description": "Cod. Dep. C",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "ind_input_num_doc": {
            "description": "Ins. Num. Doc.",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string"
          },
          "ind_controparte": {
            "description": "Ind. Controp.",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "2",
              "3"
            ],
            "type": "string"
          },
          "ind_tipo_fattura": {
            "description": "Tipo Fattura",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string"
          },
          "cod_cau_trasp": {
            "description": "Cod. Causale Trasp.",
            "maxLength": 10,
            "type": "string",
            "nullable": true
          },
          "ind_ctr_esist_disp": {
            "description": "Ctrl. Esistenza/Disp.",
            "maxLength": 1,
            "enum": [
              "0",
              "1",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string"
          },
          "ind_qta_esistenza": {
            "description": "Ind. Qta Es.",
            "maxLength": 1,
            "enum": [
              "1",
              "2",
              "0"
            ],
            "type": "string"
          },
          "flg_qta_obbl": {
            "description": "Qta Obb.",
            "type": "boolean"
          },
          "flg_val_obbl": {
            "description": "Val. Obb.",
            "type": "boolean"
          },
          "flg_gest_lotti": {
            "description": "Gest. Lotti",
            "type": "boolean"
          },
          "flg_ctrl_lotti": {
            "description": "Lotto Obb.",
            "type": "boolean"
          },
          "flg_gest_matr": {
            "description": "Gest. Matricole",
            "type": "boolean"
          },
          "flg_ctrl_matricole": {
            "description": "Matricola Obb.",
            "type": "boolean"
          },
          "ind_modo_ins": {
            "description": "Modalità inserimento",
            "maxLength": 1,
            "enum": [
              "X",
              "D",
              "E",
              "K",
              "I"
            ],
            "type": "string",
            "nullable": true
          },
          "flg_gest_kit": {
            "description": "Gestione Kit",
            "type": "boolean",
            "nullable": true
          },
          "dat_obsoleto": {
            "format": "date-time",
            "description": "Data Obsoleto",
            "type": "string",
            "nullable": true
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "ind_staper": {
            "description": "Standard/Personalizzato",
            "maxLength": 1,
            "enum": [
              "0",
              "1"
            ],
            "type": "string",
            "nullable": true
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "cod_tabListPriorita": {
            "description": "Tabella listino priorità",
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "GruppiDocumento": {
        "required": [
          "customer_ID",
          "cod_gruppo_tipodoc",
          "des_gruppo_tipodoc",
          "ind_tipo_doc",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_gruppo_tipodoc": {
            "description": "Cod. Gruppo Doc.",
            "maxLength": 10,
            "type": "string",
            "x-cube-key": true
          },
          "des_gruppo_tipodoc": {
            "description": "Desc. Gruppo Doc.",
            "maxLength": 50,
            "type": "string"
          },
          "ind_tipo_doc": {
            "description": "Tipo doc.",
            "maxLength": 1,
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string"
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "MarcaArticoli": {
        "required": [
          "customer_ID",
          "cod_marca",
          "des_marca",
          "flg_isdeleted",
          "ts_update",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "cod_marca": {
            "description": "Cod. Marca",
            "maxLength": 20,
            "type": "string",
            "x-cube-key": true
          },
          "des_marca": {
            "description": "Descrizione",
            "maxLength": 50,
            "type": "string"
          },
          "flg_isdeleted": {
            "description": "Eliminato",
            "type": "boolean"
          },
          "dat_sync_tsec": {
            "format": "date-time",
            "description": "Sync TsCloud",
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "MCPResources": {
        "required": [
          "customer_ID",
          "Resource_ID",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "type": "object",
        "properties": {
          "customer_ID": {
            "format": "int32",
            "description": "customer_ID",
            "type": "integer",
            "x-cube-key": true
          },
          "Resource_ID": {
            "format": "int32",
            "description": "Codice Risorsa",
            "type": "integer",
            "x-cube-key": true
          },
          "ResourceName": {
            "description": "Nome Risorsa",
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "Description": {
            "description": "Descrizione Risorsa",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "Endpoint": {
            "description": "Endpoint Risorsa",
            "maxLength": 255,
            "type": "string",
            "nullable": true
          },
          "ts_update": {
            "format": "byte",
            "description": "ts_update",
            "type": "string"
          },
          "flg_isdeleted": {
            "description": "flg_isdeleted",
            "type": "boolean"
          },
          "dat_ultvar": {
            "format": "date-time",
            "description": "dat_ultvar",
            "type": "string",
            "nullable": true
          },
          "Id": {
            "format": "int32",
            "description": "Id",
            "type": "integer"
          }
        }
      },
      "MCPArticoli": {
        "type": "object",
        "description": "Campi dalla guida: https://api.e-cube.it/Guide/Details?res=MCPArticoli",
        "required": [
          "customer_ID",
          "cod_art",
          "cod_variante",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "properties": {
          "customer_ID": {
            "type": "integer",
            "x-cube-key": true
          },
          "cod_art": {
            "type": "string",
            "maxLength": 50,
            "description": "Codice Articolo",
            "x-cube-key": true
          },
          "cod_variante": {
            "type": "string",
            "maxLength": 50,
            "description": "Codice Variante",
            "x-cube-key": true
          },
          "des_articolo": {
            "type": "string",
            "maxLength": 60,
            "description": "Descrizione Articolo",
            "nullable": true
          },
          "cod_famiglia": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Famiglia",
            "nullable": true
          },
          "des_famiglia": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Famiglia",
            "nullable": true
          },
          "cod_sfamiglia": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Sottofamiglia",
            "nullable": true
          },
          "des_sfamiglia": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Sottofamiglia",
            "nullable": true
          },
          "cod_grumerc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo",
            "nullable": true
          },
          "des_grumerc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo",
            "nullable": true
          },
          "cod_sgrumerc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Sottogruppo",
            "nullable": true
          },
          "des_sgrumerc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Sottogruppo",
            "nullable": true
          },
          "cod_gruppostat1": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo Statistico 1",
            "nullable": true
          },
          "des_gruppostat1": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo Statistico 1",
            "nullable": true
          },
          "cod_gruppostat2": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo Statistico 2",
            "nullable": true
          },
          "des_gruppostat2": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo Statistico 2",
            "nullable": true
          },
          "cod_gruppostat3": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo Statistico 3",
            "nullable": true
          },
          "des_gruppostat3": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo Statistico 3",
            "nullable": true
          },
          "cod_gruppostat4": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo Statistico 4",
            "nullable": true
          },
          "des_gruppostat4": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo Statistico 4",
            "nullable": true
          },
          "cod_marca": {
            "type": "string",
            "maxLength": 20,
            "description": "Codice Marca",
            "nullable": true
          },
          "des_marca": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Marca",
            "nullable": true
          },
          "cod_gruppofiscale": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Gruppo Fiscale",
            "nullable": true
          },
          "des_gruppofiscale": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo Fiscale",
            "nullable": true
          },
          "cod_um": {
            "type": "string",
            "maxLength": 5,
            "description": "Unità di misura",
            "nullable": true
          },
          "cod_provenienza": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Provenienza",
            "nullable": true
          },
          "des_provenienza": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Provenienza",
            "nullable": true
          },
          "cod_tipoprodotto": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Tipo Prodotto",
            "nullable": true
          },
          "des_tipoprodotto": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Tipo Prodotto",
            "nullable": true
          },
          "cod_abc_rimanenze": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice ABC Rimanenze",
            "nullable": true
          },
          "cod_abc_vendite": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice ABC Vendite",
            "nullable": true
          },
          "cod_abc_acquisti": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice ABC Acquisti",
            "nullable": true
          },
          "cod_abc_produzione": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice ABC Produzione",
            "nullable": true
          },
          "ts_update": {
            "type": "string",
            "format": "byte"
          },
          "flg_isdeleted": {
            "type": "boolean"
          },
          "dat_ultvar": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Id": {
            "type": "integer"
          }
        }
      },
      "MCPClienti": {
        "type": "object",
        "description": "Campi dalla guida: https://api.e-cube.it/Guide/Details?res=MCPClienti",
        "required": [
          "customer_ID",
          "ind_clifor",
          "cod_clifor",
          "des_ragsoc",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "properties": {
          "customer_ID": {
            "type": "integer",
            "x-cube-key": true
          },
          "ind_clifor": {
            "type": "string",
            "maxLength": 1,
            "description": "Indicatore cliente/fornitore (C/F)",
            "x-cube-key": true
          },
          "cod_clifor": {
            "type": "string",
            "maxLength": 20,
            "description": "Codice cliente",
            "x-cube-key": true
          },
          "des_ragsoc": {
            "type": "string",
            "maxLength": 60,
            "description": "Ragione Sociale Cliente"
          },
          "des_indir_res": {
            "type": "string",
            "maxLength": 255,
            "description": "Indirizzo",
            "nullable": true
          },
          "cod_cap_res": {
            "type": "string",
            "maxLength": 10,
            "description": "CAP",
            "nullable": true
          },
          "des_localita_res": {
            "type": "string",
            "maxLength": 100,
            "description": "Citta",
            "nullable": true
          },
          "sig_prov_res": {
            "type": "string",
            "maxLength": 3,
            "description": "Provincia",
            "nullable": true
          },
          "cod_naz_res": {
            "type": "number",
            "description": "Codice Stato Estero",
            "nullable": true
          },
          "des_naz": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Stato Estero",
            "nullable": true
          },
          "sig_iso": {
            "type": "string",
            "maxLength": 3,
            "description": "Codice ISO Stato Estero",
            "nullable": true
          },
          "cod_piva": {
            "type": "string",
            "maxLength": 50,
            "description": "Partita Iva",
            "nullable": true
          },
          "sig_tel_res": {
            "type": "string",
            "maxLength": 18,
            "description": "Telefono",
            "nullable": true
          },
          "sig_fax1_res": {
            "type": "string",
            "maxLength": 18,
            "description": "Fax",
            "nullable": true
          },
          "des_email1": {
            "type": "string",
            "maxLength": 255,
            "description": "Email",
            "nullable": true
          },
          "cod_macroarea": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Macroarea",
            "nullable": true
          },
          "des_macroarea": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macroarea",
            "nullable": true
          },
          "cod_area": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Area",
            "nullable": true
          },
          "des_area": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Area",
            "nullable": true
          },
          "cod_zona": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Zona",
            "nullable": true
          },
          "des_zona": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Zona",
            "nullable": true
          },
          "cod_macrocat": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Macrocategoria",
            "nullable": true
          },
          "des_macrocat": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macrocategoria",
            "nullable": true
          },
          "cod_categ": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Categoria",
            "nullable": true
          },
          "des_categ": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Categoria",
            "nullable": true
          },
          "cod_sottocateg": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Sottocategoria",
            "nullable": true
          },
          "des_sottocateg": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Sottocategoria",
            "nullable": true
          },
          "cod_gruppocf1": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 1",
            "nullable": true
          },
          "des_gruppocf1": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 1",
            "nullable": true
          },
          "cod_gruppocf2": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 2",
            "nullable": true
          },
          "des_gruppocf2": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 2",
            "nullable": true
          },
          "cod_gruppocf3": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 3",
            "nullable": true
          },
          "des_gruppocf3": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 3",
            "nullable": true
          },
          "cod_agente": {
            "type": "string",
            "maxLength": 20,
            "description": "Codice Agente",
            "nullable": true
          },
          "des_agente": {
            "type": "string",
            "maxLength": 60,
            "description": "Descrizione Agente",
            "nullable": true
          },
          "ts_update": {
            "type": "string",
            "format": "byte"
          },
          "flg_isdeleted": {
            "type": "boolean"
          },
          "dat_ultvar": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Id": {
            "type": "integer"
          }
        }
      },
      "MCPFornitori": {
        "type": "object",
        "description": "Campi dalla guida: https://api.e-cube.it/Guide/Details?res=MCPFornitori",
        "required": [
          "customer_ID",
          "ind_clifor",
          "cod_clifor",
          "des_ragsoc",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "properties": {
          "customer_ID": {
            "type": "integer",
            "x-cube-key": true
          },
          "ind_clifor": {
            "type": "string",
            "maxLength": 1,
            "description": "Indicatore cliente/fornitore (C/F)",
            "x-cube-key": true
          },
          "cod_clifor": {
            "type": "string",
            "maxLength": 20,
            "description": "Codice Fornitore",
            "x-cube-key": true
          },
          "des_ragsoc": {
            "type": "string",
            "maxLength": 60,
            "description": "Ragione Sociale Fornitore"
          },
          "des_indir_res": {
            "type": "string",
            "maxLength": 255,
            "description": "Indirizzo Fornitore",
            "nullable": true
          },
          "cod_cap_res": {
            "type": "string",
            "maxLength": 10,
            "description": "CAP Fornitore",
            "nullable": true
          },
          "des_localita_res": {
            "type": "string",
            "maxLength": 100,
            "description": "Citta Fornitore",
            "nullable": true
          },
          "sig_prov_res": {
            "type": "string",
            "maxLength": 3,
            "description": "Provincia Fornitore",
            "nullable": true
          },
          "cod_naz_res": {
            "type": "number",
            "description": "Codice Stato Estero Fornitore",
            "nullable": true
          },
          "des_naz": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Stato Estero Fornitore",
            "nullable": true
          },
          "sig_iso": {
            "type": "string",
            "maxLength": 3,
            "description": "Codice ISO Stato Estero Fornitore",
            "nullable": true
          },
          "cod_piva": {
            "type": "string",
            "maxLength": 50,
            "description": "Partita Iva Fornitore",
            "nullable": true
          },
          "sig_tel_res": {
            "type": "string",
            "maxLength": 18,
            "description": "Telefono Fornitore",
            "nullable": true
          },
          "sig_fax1_res": {
            "type": "string",
            "maxLength": 18,
            "description": "Fax Fornitore",
            "nullable": true
          },
          "des_email1": {
            "type": "string",
            "maxLength": 255,
            "description": "Email Fornitore",
            "nullable": true
          },
          "cod_macroarea": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Macroarea Fornitore",
            "nullable": true
          },
          "des_macroarea": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macroarea Fornitore",
            "nullable": true
          },
          "cod_area": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Area Fornitore",
            "nullable": true
          },
          "des_area": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Area Fornitore",
            "nullable": true
          },
          "cod_zona": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Zona Fornitore",
            "nullable": true
          },
          "des_zona": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Zona Fornitore",
            "nullable": true
          },
          "cod_macrocat": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Macrocategoria Fornitore",
            "nullable": true
          },
          "des_macrocat": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macrocategoria Fornitore",
            "nullable": true
          },
          "cod_categ": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Categoria Fornitore",
            "nullable": true
          },
          "des_categ": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Categoria Fornitore",
            "nullable": true
          },
          "cod_sottocateg": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Sottocategoria Fornitore",
            "nullable": true
          },
          "des_sottocateg": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Sottocategoria Fornitore",
            "nullable": true
          },
          "cod_gruppocf1": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 1 Fornitore",
            "nullable": true
          },
          "des_gruppocf1": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 1 Fornitore",
            "nullable": true
          },
          "cod_gruppocf2": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 2 Fornitore",
            "nullable": true
          },
          "des_gruppocf2": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 2 Fornitore",
            "nullable": true
          },
          "cod_gruppocf3": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Raggruppamento 3 Fornitore",
            "nullable": true
          },
          "des_gruppocf3": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Raggruppamento 3 Fornitore",
            "nullable": true
          },
          "cod_agente": {
            "type": "string",
            "maxLength": 20,
            "description": "Codice Agente",
            "nullable": true
          },
          "des_agente": {
            "type": "string",
            "maxLength": 60,
            "description": "Descrizione Agente",
            "nullable": true
          },
          "ts_update": {
            "type": "string",
            "format": "byte"
          },
          "flg_isdeleted": {
            "type": "boolean"
          },
          "dat_ultvar": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Id": {
            "type": "integer"
          }
        }
      },
      "MCPDocumentiT": {
        "type": "object",
        "description": "Campi dalla guida: https://api.e-cube.it/Guide/Details?res=MCPDocumentiT",
        "required": [
          "customer_ID",
          "key_documento",
          "cod_tipodoc",
          "num_anno",
          "dat_doc",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "properties": {
          "customer_ID": {
            "type": "integer",
            "x-cube-key": true
          },
          "key_documento": {
            "type": "string",
            "maxLength": 500,
            "description": "Key Documento",
            "x-cube-key": true
          },
          "cod_gruppo_tipodoc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo documento",
            "nullable": true
          },
          "des_gruppo_tipodoc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo documento",
            "nullable": true
          },
          "cod_tipodoc": {
            "type": "string",
            "maxLength": 15,
            "description": "Codice tipo documento"
          },
          "des_tipodoc": {
            "type": "string",
            "maxLength": 100,
            "description": "Descrizione tipo documento",
            "nullable": true
          },
          "num_anno": {
            "type": "integer",
            "description": "Anno"
          },
          "des_num_doc": {
            "type": "string",
            "maxLength": 15,
            "description": "Numero documento",
            "nullable": true
          },
          "sig_serie_doc": {
            "type": "string",
            "maxLength": 4,
            "description": "Sezionale/Serie documento",
            "nullable": true
          },
          "dat_doc": {
            "type": "string",
            "format": "date-time",
            "description": "Data Documento"
          },
          "mese": {
            "type": "integer",
            "description": "Mese",
            "nullable": true
          },
          "settimana": {
            "type": "integer",
            "description": "Settimana",
            "nullable": true
          },
          "ind_clifor_c": {
            "type": "string",
            "maxLength": 1,
            "description": "Ind. CliFor Controparte",
            "nullable": true
          },
          "cod_clifor_c": {
            "type": "string",
            "maxLength": 20,
            "description": "Cod. CliFor Controparte",
            "nullable": true
          },
          "des_ragsoc": {
            "type": "string",
            "description": "Ragione Sociale Clifor Controparte",
            "nullable": true
          },
          "cod_cfisc": {
            "type": "string",
            "maxLength": 50,
            "description": "Codice fiscale Clifor Controparte",
            "nullable": true
          },
          "cod_piva": {
            "type": "string",
            "maxLength": 50,
            "description": "Partita IVA Clifor Controparte",
            "nullable": true
          },
          "cod_valuta": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Valuta",
            "nullable": true
          },
          "sig_valuta": {
            "type": "string",
            "maxLength": 5,
            "description": "Sigla Valuta",
            "nullable": true
          },
          "des_valuta": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Valuta",
            "nullable": true
          },
          "cod_sede": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice sede",
            "nullable": true
          },
          "des_sede": {
            "type": "string",
            "maxLength": 60,
            "description": "Descrizione Sede",
            "nullable": true
          },
          "des_localita": {
            "type": "string",
            "maxLength": 100,
            "description": "Descrizione Località",
            "nullable": true
          },
          "sig_prov": {
            "type": "string",
            "maxLength": 3,
            "description": "Sigla Provincia",
            "nullable": true
          },
          "cod_naz": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Nazione",
            "nullable": true
          },
          "des_naz": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Nazione",
            "nullable": true
          },
          "sig_iso": {
            "type": "string",
            "maxLength": 3,
            "description": "ISO nazione",
            "nullable": true
          },
          "cod_gruppocf1": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Gruppo CliFor 1",
            "nullable": true
          },
          "des_gruppocf1": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo CliFor 1",
            "nullable": true
          },
          "cod_gruppocf2": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Gruppo CliFor 2",
            "nullable": true
          },
          "des_gruppocf2": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo CliFor 2",
            "nullable": true
          },
          "cod_gruppocf3": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Gruppo CliFor 3",
            "nullable": true
          },
          "des_gruppocf3": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Gruppo CliFor 3",
            "nullable": true
          },
          "cod_macroarea": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Macroarea",
            "nullable": true
          },
          "des_macroarea": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macroarea",
            "nullable": true
          },
          "cod_area": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. area",
            "nullable": true
          },
          "des_area": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Area",
            "nullable": true
          },
          "cod_zona": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. zona",
            "nullable": true
          },
          "des_zona": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Zona",
            "nullable": true
          },
          "cod_macrocat": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Macrocategoria",
            "nullable": true
          },
          "des_macrocat": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Macrocategoria",
            "nullable": true
          },
          "cod_categ": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. categoria",
            "nullable": true
          },
          "des_categ": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Categoria",
            "nullable": true
          },
          "cod_sottocateg": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. sottocategoria",
            "nullable": true
          },
          "des_sottocateg": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Sottocategoria",
            "nullable": true
          },
          "cod_dep_mov": {
            "type": "string",
            "maxLength": 4,
            "description": "Cod. Deposito Movimentato",
            "nullable": true
          },
          "des_dep_mov": {
            "type": "string",
            "maxLength": 30,
            "description": "Descrizione Deposito movimentato",
            "nullable": true
          },
          "cod_pag": {
            "type": "string",
            "maxLength": 20,
            "description": "Cod. Pagamento",
            "nullable": true
          },
          "des_pag": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Pagamento",
            "nullable": true
          },
          "cod_agente": {
            "type": "string",
            "maxLength": 20,
            "description": "Cod. Agente",
            "nullable": true
          },
          "des_agente": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Agente",
            "nullable": true
          },
          "val_spese_tra": {
            "type": "number",
            "description": "Spese Trasporto",
            "nullable": true
          },
          "val_spese_acc": {
            "type": "number",
            "description": "Spese Accessorie",
            "nullable": true
          },
          "val_spese_inc": {
            "type": "number",
            "description": "Spese Incasso",
            "nullable": true
          },
          "prc_sco1": {
            "type": "number",
            "description": "Sconto 1",
            "nullable": true
          },
          "prc_sco2": {
            "type": "number",
            "description": "Sconto 2",
            "nullable": true
          },
          "prc_scopag": {
            "type": "number",
            "description": "Sconto Pag.",
            "nullable": true
          },
          "cod_mezzo_trasp": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. Mezzo Trasp.",
            "nullable": true
          },
          "des_mezzo_trasp": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Mezzo Trasporto",
            "nullable": true
          },
          "cod_porto": {
            "type": "string",
            "maxLength": 10,
            "description": "Cod. porto",
            "nullable": true
          },
          "des_porto": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione porto",
            "nullable": true
          },
          "val_tot_doc": {
            "type": "number",
            "description": "Totale Documento",
            "nullable": true
          },
          "val_tot_imp": {
            "type": "number",
            "description": "Imponibile Documento",
            "nullable": true
          },
          "val_tot_iva": {
            "type": "number",
            "description": "Totale Iva Documento",
            "nullable": true
          },
          "val_tot_bolli": {
            "type": "number",
            "description": "Totale Bolli",
            "nullable": true
          },
          "val_tot_a_pagare": {
            "type": "number",
            "description": "Totale a Pagare",
            "nullable": true
          },
          "MCPDocumentiR": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/MCPDocumentiR"
            },
            "description": "Righe del documento."
          },
          "ts_update": {
            "type": "string",
            "format": "byte"
          },
          "flg_isdeleted": {
            "type": "boolean"
          },
          "dat_ultvar": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Id": {
            "type": "integer"
          }
        }
      },
      "MCPDocumentiR": {
        "type": "object",
        "description": "Campi dalla guida: https://api.e-cube.it/Guide/Details?res=MCPDocumentiR",
        "required": [
          "customer_ID",
          "key_documento",
          "prg_riga",
          "num_riga",
          "num_anno",
          "dat_doc",
          "cod_tipodoc",
          "ts_update",
          "flg_isdeleted",
          "Id"
        ],
        "properties": {
          "customer_ID": {
            "type": "integer",
            "x-cube-key": true
          },
          "key_documento": {
            "type": "string",
            "maxLength": 500,
            "description": "Key Documento",
            "x-cube-key": true
          },
          "prg_riga": {
            "type": "integer",
            "description": "Progressivo di riga fisica",
            "x-cube-key": true
          },
          "num_riga": {
            "type": "integer",
            "description": "Numero riga logica per ordinamento in stampa"
          },
          "ind_tiporiga": {
            "type": "string",
            "maxLength": 1,
            "description": "Indicatore tipo riga",
            "nullable": true
          },
          "des_tiporiga": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione tipo riga",
            "nullable": true
          },
          "cod_dep_mov": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice deposito movimento",
            "nullable": true
          },
          "des_dep_mov": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione deposito movimentato",
            "nullable": true
          },
          "cod_art": {
            "type": "string",
            "maxLength": 50,
            "description": "Codice articolo",
            "nullable": true
          },
          "cod_variante": {
            "type": "string",
            "maxLength": 50,
            "description": "Variante",
            "nullable": true
          },
          "des_articolo_riga": {
            "type": "string",
            "maxLength": 5000,
            "description": "Descrizione articolo modificabile",
            "nullable": true
          },
          "cod_um_doc": {
            "type": "string",
            "maxLength": 5,
            "description": "Unità misura del documento",
            "nullable": true
          },
          "des_um_doc": {
            "type": "string",
            "maxLength": 30,
            "description": "Descrizione Unità misura del documento",
            "nullable": true
          },
          "qta_merce": {
            "type": "number",
            "description": "Quantità merce",
            "nullable": true
          },
          "prz_merce": {
            "type": "number",
            "description": "Prezzo unitario",
            "nullable": true
          },
          "prc_magg1": {
            "type": "number",
            "description": "Maggiorazione %1",
            "nullable": true
          },
          "prc_magg2": {
            "type": "number",
            "description": "Maggiorazione %2",
            "nullable": true
          },
          "prc_sconto1": {
            "type": "number",
            "description": "Sconto1 %",
            "nullable": true
          },
          "prc_sconto2": {
            "type": "number",
            "description": "Sconto2 %",
            "nullable": true
          },
          "prc_sconto3": {
            "type": "number",
            "description": "Sconto3 %",
            "nullable": true
          },
          "prc_sconto4": {
            "type": "number",
            "description": "Sconto4 %",
            "nullable": true
          },
          "prc_sconto5": {
            "type": "number",
            "description": "Sconto5 %",
            "nullable": true
          },
          "prc_sconto6": {
            "type": "number",
            "description": "Sconto6 %",
            "nullable": true
          },
          "val_merce": {
            "type": "number",
            "description": "Valore merce",
            "nullable": true
          },
          "cod_tipoomag": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice tipo omaggio",
            "nullable": true
          },
          "des_tipoomag": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione tipo omaggio",
            "nullable": true
          },
          "prc_provvi": {
            "type": "number",
            "description": "%Provv",
            "nullable": true
          },
          "prc_provvi_ca": {
            "type": "number",
            "description": "%Provv capo area",
            "nullable": true
          },
          "cod_iva": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Iva",
            "nullable": true
          },
          "des_iva": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Iva",
            "nullable": true
          },
          "prc_iva": {
            "type": "number",
            "description": "% Iva",
            "nullable": true
          },
          "flg_prezzo_con_iva": {
            "type": "string",
            "maxLength": 1,
            "description": "Flag prezzi con IVA",
            "nullable": true
          },
          "num_colli": {
            "type": "integer",
            "description": "Numero colli",
            "nullable": true
          },
          "cod_cp_merce": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice contropartita merce",
            "nullable": true
          },
          "des_cp_merce": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione contropartita merce",
            "nullable": true
          },
          "cod_commessa": {
            "type": "string",
            "maxLength": 50,
            "description": "Codice commessa",
            "nullable": true
          },
          "des_commessa": {
            "type": "string",
            "maxLength": 100,
            "description": "Descrizione commessa",
            "nullable": true
          },
          "cod_famiglia": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice famiglia articolo",
            "nullable": true
          },
          "des_famiglia": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione famiglia articolo",
            "nullable": true
          },
          "cod_sfamiglia": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice sottofamiglia articolo",
            "nullable": true
          },
          "des_sfamiglia": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione sottofamiglia articolo",
            "nullable": true
          },
          "cod_grumerc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo merceologico articolo",
            "nullable": true
          },
          "des_grumerc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo merceologico articolo",
            "nullable": true
          },
          "cod_sgrumerc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice sottogruppo merceologico articolo",
            "nullable": true
          },
          "des_sgrumerc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione sottogruppo",
            "nullable": true
          },
          "cod_gruppostat1": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo statistico 1 articolo",
            "nullable": true
          },
          "des_gruppostat1": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo statistico 1 articolo",
            "nullable": true
          },
          "cod_gruppostat2": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo statistico 2 articolo",
            "nullable": true
          },
          "des_gruppostat2": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo statistico 2 articolo",
            "nullable": true
          },
          "cod_gruppostat3": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo statistico 3 articolo",
            "nullable": true
          },
          "des_gruppostat3": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo statistico 3 articolo",
            "nullable": true
          },
          "cod_gruppostat4": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo statistico 4 articolo",
            "nullable": true
          },
          "des_gruppostat4": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo statistico 4 articolo",
            "nullable": true
          },
          "cod_marca": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice Marca",
            "nullable": true
          },
          "des_marca": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Marca",
            "nullable": true
          },
          "dat_cons_richiesta": {
            "type": "string",
            "format": "date-time",
            "description": "Data consegna richiesta",
            "nullable": true
          },
          "dat_cons_confermata": {
            "type": "string",
            "format": "date-time",
            "description": "Data consegna confermata",
            "nullable": true
          },
          "ind_stato_riga": {
            "type": "string",
            "maxLength": 1,
            "description": "Stato evasione riga",
            "nullable": true
          },
          "qta_evasa": {
            "type": "number",
            "description": "Quantità evasa",
            "nullable": true
          },
          "num_anno": {
            "type": "integer",
            "description": "Anno"
          },
          "dat_doc": {
            "type": "string",
            "format": "date-time",
            "description": "Data Documento"
          },
          "cod_clifor_c": {
            "type": "string",
            "maxLength": 20,
            "description": "Cod. CliFor Controparte",
            "nullable": true
          },
          "ind_clifor_c": {
            "type": "string",
            "maxLength": 1,
            "description": "Ind. CliFor Controparte",
            "nullable": true
          },
          "des_ragsoc": {
            "type": "string",
            "description": "Ragione Sociale Clifor Controparte",
            "nullable": true
          },
          "cod_gruppo_tipodoc": {
            "type": "string",
            "maxLength": 10,
            "description": "Codice gruppo documento",
            "nullable": true
          },
          "des_gruppo_tipodoc": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione gruppo documento",
            "nullable": true
          },
          "cod_tipodoc": {
            "type": "string",
            "maxLength": 15,
            "description": "Codice tipo documento"
          },
          "des_tipodoc": {
            "type": "string",
            "maxLength": 100,
            "description": "Descrizione tipo documento",
            "nullable": true
          },
          "cod_agente": {
            "type": "string",
            "maxLength": 20,
            "description": "Cod. Agente",
            "nullable": true
          },
          "des_agente": {
            "type": "string",
            "maxLength": 50,
            "description": "Descrizione Agente",
            "nullable": true
          },
          "ts_update": {
            "type": "string",
            "format": "byte"
          },
          "flg_isdeleted": {
            "type": "boolean"
          },
          "dat_ultvar": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Id": {
            "type": "integer"
          }
        }
      }
    }
  }
}
