@invoicetronic/ts-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/.github/workflows/release.yml +58 -0
  2. package/LICENSE +21 -0
  3. package/README.md +55 -0
  4. package/api.ts +24 -0
  5. package/base.ts +86 -0
  6. package/common.ts +151 -0
  7. package/configuration.ts +116 -0
  8. package/dist/api.d.ts +18 -0
  9. package/dist/api.js +36 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +65 -0
  12. package/dist/common.d.ts +66 -0
  13. package/dist/common.js +162 -0
  14. package/dist/configuration.d.ts +91 -0
  15. package/dist/configuration.js +44 -0
  16. package/dist/esm/api.d.ts +18 -0
  17. package/dist/esm/api.js +20 -0
  18. package/dist/esm/base.d.ts +66 -0
  19. package/dist/esm/base.js +60 -0
  20. package/dist/esm/common.d.ts +66 -0
  21. package/dist/esm/common.js +150 -0
  22. package/dist/esm/configuration.d.ts +91 -0
  23. package/dist/esm/configuration.js +40 -0
  24. package/dist/esm/index.d.ts +14 -0
  25. package/dist/esm/index.js +16 -0
  26. package/dist/esm/src/api/company-api.d.ts +268 -0
  27. package/dist/esm/src/api/company-api.js +426 -0
  28. package/dist/esm/src/api/log-api.d.ts +197 -0
  29. package/dist/esm/src/api/log-api.js +302 -0
  30. package/dist/esm/src/api/receive-api.d.ts +259 -0
  31. package/dist/esm/src/api/receive-api.js +403 -0
  32. package/dist/esm/src/api/send-api.d.ts +676 -0
  33. package/dist/esm/src/api/send-api.js +1063 -0
  34. package/dist/esm/src/api/status-api.d.ts +85 -0
  35. package/dist/esm/src/api/status-api.js +127 -0
  36. package/dist/esm/src/api/update-api.d.ts +207 -0
  37. package/dist/esm/src/api/update-api.js +309 -0
  38. package/dist/esm/src/api/webhook-api.d.ts +393 -0
  39. package/dist/esm/src/api/webhook-api.js +620 -0
  40. package/dist/esm/src/models/allegati.d.ts +48 -0
  41. package/dist/esm/src/models/allegati.js +14 -0
  42. package/dist/esm/src/models/altri-dati-gestionali.d.ts +42 -0
  43. package/dist/esm/src/models/altri-dati-gestionali.js +14 -0
  44. package/dist/esm/src/models/anagrafica.d.ts +48 -0
  45. package/dist/esm/src/models/anagrafica.js +14 -0
  46. package/dist/esm/src/models/cedente-prestatore.d.ts +59 -0
  47. package/dist/esm/src/models/cedente-prestatore.js +14 -0
  48. package/dist/esm/src/models/cessionario-committente.d.ts +46 -0
  49. package/dist/esm/src/models/cessionario-committente.js +14 -0
  50. package/dist/esm/src/models/codice-articolo.d.ts +30 -0
  51. package/dist/esm/src/models/codice-articolo.js +14 -0
  52. package/dist/esm/src/models/company.d.ts +60 -0
  53. package/dist/esm/src/models/company.js +14 -0
  54. package/dist/esm/src/models/contatti-trasmittente.d.ts +30 -0
  55. package/dist/esm/src/models/contatti-trasmittente.js +14 -0
  56. package/dist/esm/src/models/contatti.d.ts +36 -0
  57. package/dist/esm/src/models/contatti.js +14 -0
  58. package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
  59. package/dist/esm/src/models/dati-anagrafici-cedente-prestatore.js +14 -0
  60. package/dist/esm/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
  61. package/dist/esm/src/models/dati-anagrafici-cessionario-committente.js +14 -0
  62. package/dist/esm/src/models/dati-anagrafici-vettore.d.ts +44 -0
  63. package/dist/esm/src/models/dati-anagrafici-vettore.js +14 -0
  64. package/dist/esm/src/models/dati-anagrafici.d.ts +38 -0
  65. package/dist/esm/src/models/dati-anagrafici.js +14 -0
  66. package/dist/esm/src/models/dati-beni-servizi.d.ts +32 -0
  67. package/dist/esm/src/models/dati-beni-servizi.js +14 -0
  68. package/dist/esm/src/models/dati-bollo.d.ts +30 -0
  69. package/dist/esm/src/models/dati-bollo.js +14 -0
  70. package/dist/esm/src/models/dati-cassa-previdenziale.d.ts +66 -0
  71. package/dist/esm/src/models/dati-cassa-previdenziale.js +14 -0
  72. package/dist/esm/src/models/dati-contratto.d.ts +60 -0
  73. package/dist/esm/src/models/dati-contratto.js +14 -0
  74. package/dist/esm/src/models/dati-convenzione.d.ts +60 -0
  75. package/dist/esm/src/models/dati-convenzione.js +14 -0
  76. package/dist/esm/src/models/dati-ddt.d.ts +36 -0
  77. package/dist/esm/src/models/dati-ddt.js +14 -0
  78. package/dist/esm/src/models/dati-fatture-collegate.d.ts +60 -0
  79. package/dist/esm/src/models/dati-fatture-collegate.js +14 -0
  80. package/dist/esm/src/models/dati-generali-documento.d.ts +94 -0
  81. package/dist/esm/src/models/dati-generali-documento.js +14 -0
  82. package/dist/esm/src/models/dati-generali.d.ts +88 -0
  83. package/dist/esm/src/models/dati-generali.js +14 -0
  84. package/dist/esm/src/models/dati-ordine-acquisto.d.ts +60 -0
  85. package/dist/esm/src/models/dati-ordine-acquisto.js +14 -0
  86. package/dist/esm/src/models/dati-pagamento.d.ts +31 -0
  87. package/dist/esm/src/models/dati-pagamento.js +14 -0
  88. package/dist/esm/src/models/dati-ricezione.d.ts +60 -0
  89. package/dist/esm/src/models/dati-ricezione.js +14 -0
  90. package/dist/esm/src/models/dati-riepilogo.d.ts +66 -0
  91. package/dist/esm/src/models/dati-riepilogo.js +14 -0
  92. package/dist/esm/src/models/dati-ritenuta.d.ts +42 -0
  93. package/dist/esm/src/models/dati-ritenuta.js +14 -0
  94. package/dist/esm/src/models/dati-sal.d.ts +24 -0
  95. package/dist/esm/src/models/dati-sal.js +14 -0
  96. package/dist/esm/src/models/dati-trasmissione.d.ts +56 -0
  97. package/dist/esm/src/models/dati-trasmissione.js +14 -0
  98. package/dist/esm/src/models/dati-trasporto.d.ts +98 -0
  99. package/dist/esm/src/models/dati-trasporto.js +14 -0
  100. package/dist/esm/src/models/dati-veicoli.d.ts +30 -0
  101. package/dist/esm/src/models/dati-veicoli.js +14 -0
  102. package/dist/esm/src/models/dettaglio-linee.d.ts +117 -0
  103. package/dist/esm/src/models/dettaglio-linee.js +14 -0
  104. package/dist/esm/src/models/dettaglio-pagamento.d.ts +144 -0
  105. package/dist/esm/src/models/dettaglio-pagamento.js +14 -0
  106. package/dist/esm/src/models/document-data.d.ts +30 -0
  107. package/dist/esm/src/models/document-data.js +14 -0
  108. package/dist/esm/src/models/event.d.ts +108 -0
  109. package/dist/esm/src/models/event.js +14 -0
  110. package/dist/esm/src/models/fattura-elettronica-body.d.ts +53 -0
  111. package/dist/esm/src/models/fattura-elettronica-body.js +14 -0
  112. package/dist/esm/src/models/fattura-elettronica-header.d.ts +59 -0
  113. package/dist/esm/src/models/fattura-elettronica-header.js +14 -0
  114. package/dist/esm/src/models/fattura-ordinaria.d.ts +38 -0
  115. package/dist/esm/src/models/fattura-ordinaria.js +14 -0
  116. package/dist/esm/src/models/fattura-principale.d.ts +30 -0
  117. package/dist/esm/src/models/fattura-principale.js +14 -0
  118. package/dist/esm/src/models/id-fiscale-iva.d.ts +30 -0
  119. package/dist/esm/src/models/id-fiscale-iva.js +14 -0
  120. package/dist/esm/src/models/id-trasmittente.d.ts +30 -0
  121. package/dist/esm/src/models/id-trasmittente.js +14 -0
  122. package/dist/esm/src/models/index.d.ts +60 -0
  123. package/dist/esm/src/models/index.js +60 -0
  124. package/dist/esm/src/models/indirizzo-resa.d.ts +54 -0
  125. package/dist/esm/src/models/indirizzo-resa.js +14 -0
  126. package/dist/esm/src/models/iscrizione-rea.d.ts +48 -0
  127. package/dist/esm/src/models/iscrizione-rea.js +14 -0
  128. package/dist/esm/src/models/model-error.d.ts +36 -0
  129. package/dist/esm/src/models/model-error.js +14 -0
  130. package/dist/esm/src/models/problem-details.d.ts +49 -0
  131. package/dist/esm/src/models/problem-details.js +14 -0
  132. package/dist/esm/src/models/problem-http-result.d.ts +37 -0
  133. package/dist/esm/src/models/problem-http-result.js +14 -0
  134. package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
  135. package/dist/esm/src/models/rappresentante-fiscale-cessionario-committente.js +14 -0
  136. package/dist/esm/src/models/rappresentante-fiscale.d.ts +25 -0
  137. package/dist/esm/src/models/rappresentante-fiscale.js +14 -0
  138. package/dist/esm/src/models/receive.d.ts +126 -0
  139. package/dist/esm/src/models/receive.js +17 -0
  140. package/dist/esm/src/models/sconto-maggiorazione.d.ts +36 -0
  141. package/dist/esm/src/models/sconto-maggiorazione.js +14 -0
  142. package/dist/esm/src/models/sede-cedente-prestatore.d.ts +54 -0
  143. package/dist/esm/src/models/sede-cedente-prestatore.js +14 -0
  144. package/dist/esm/src/models/sede-cessionario-committente.d.ts +54 -0
  145. package/dist/esm/src/models/sede-cessionario-committente.js +14 -0
  146. package/dist/esm/src/models/send-reduced.d.ts +51 -0
  147. package/dist/esm/src/models/send-reduced.js +14 -0
  148. package/dist/esm/src/models/send.d.ts +129 -0
  149. package/dist/esm/src/models/send.js +17 -0
  150. package/dist/esm/src/models/stabile-organizzazione.d.ts +54 -0
  151. package/dist/esm/src/models/stabile-organizzazione.js +14 -0
  152. package/dist/esm/src/models/status.d.ts +30 -0
  153. package/dist/esm/src/models/status.js +14 -0
  154. package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
  155. package/dist/esm/src/models/terzo-intermediario-osoggetto-emittente.js +14 -0
  156. package/dist/esm/src/models/update.d.ts +109 -0
  157. package/dist/esm/src/models/update.js +24 -0
  158. package/dist/esm/src/models/web-hook-history.d.ts +72 -0
  159. package/dist/esm/src/models/web-hook-history.js +14 -0
  160. package/dist/esm/src/models/web-hook.d.ts +78 -0
  161. package/dist/esm/src/models/web-hook.js +14 -0
  162. package/dist/index.d.ts +14 -0
  163. package/dist/index.js +32 -0
  164. package/dist/src/api/company-api.d.ts +268 -0
  165. package/dist/src/api/company-api.js +433 -0
  166. package/dist/src/api/log-api.d.ts +197 -0
  167. package/dist/src/api/log-api.js +309 -0
  168. package/dist/src/api/receive-api.d.ts +259 -0
  169. package/dist/src/api/receive-api.js +410 -0
  170. package/dist/src/api/send-api.d.ts +676 -0
  171. package/dist/src/api/send-api.js +1070 -0
  172. package/dist/src/api/status-api.d.ts +85 -0
  173. package/dist/src/api/status-api.js +134 -0
  174. package/dist/src/api/update-api.d.ts +207 -0
  175. package/dist/src/api/update-api.js +316 -0
  176. package/dist/src/api/webhook-api.d.ts +393 -0
  177. package/dist/src/api/webhook-api.js +627 -0
  178. package/dist/src/models/allegati.d.ts +48 -0
  179. package/dist/src/models/allegati.js +15 -0
  180. package/dist/src/models/altri-dati-gestionali.d.ts +42 -0
  181. package/dist/src/models/altri-dati-gestionali.js +15 -0
  182. package/dist/src/models/anagrafica.d.ts +48 -0
  183. package/dist/src/models/anagrafica.js +15 -0
  184. package/dist/src/models/cedente-prestatore.d.ts +59 -0
  185. package/dist/src/models/cedente-prestatore.js +15 -0
  186. package/dist/src/models/cessionario-committente.d.ts +46 -0
  187. package/dist/src/models/cessionario-committente.js +15 -0
  188. package/dist/src/models/codice-articolo.d.ts +30 -0
  189. package/dist/src/models/codice-articolo.js +15 -0
  190. package/dist/src/models/company.d.ts +60 -0
  191. package/dist/src/models/company.js +15 -0
  192. package/dist/src/models/contatti-trasmittente.d.ts +30 -0
  193. package/dist/src/models/contatti-trasmittente.js +15 -0
  194. package/dist/src/models/contatti.d.ts +36 -0
  195. package/dist/src/models/contatti.js +15 -0
  196. package/dist/src/models/dati-anagrafici-cedente-prestatore.d.ts +68 -0
  197. package/dist/src/models/dati-anagrafici-cedente-prestatore.js +15 -0
  198. package/dist/src/models/dati-anagrafici-cessionario-committente.d.ts +38 -0
  199. package/dist/src/models/dati-anagrafici-cessionario-committente.js +15 -0
  200. package/dist/src/models/dati-anagrafici-vettore.d.ts +44 -0
  201. package/dist/src/models/dati-anagrafici-vettore.js +15 -0
  202. package/dist/src/models/dati-anagrafici.d.ts +38 -0
  203. package/dist/src/models/dati-anagrafici.js +15 -0
  204. package/dist/src/models/dati-beni-servizi.d.ts +32 -0
  205. package/dist/src/models/dati-beni-servizi.js +15 -0
  206. package/dist/src/models/dati-bollo.d.ts +30 -0
  207. package/dist/src/models/dati-bollo.js +15 -0
  208. package/dist/src/models/dati-cassa-previdenziale.d.ts +66 -0
  209. package/dist/src/models/dati-cassa-previdenziale.js +15 -0
  210. package/dist/src/models/dati-contratto.d.ts +60 -0
  211. package/dist/src/models/dati-contratto.js +15 -0
  212. package/dist/src/models/dati-convenzione.d.ts +60 -0
  213. package/dist/src/models/dati-convenzione.js +15 -0
  214. package/dist/src/models/dati-ddt.d.ts +36 -0
  215. package/dist/src/models/dati-ddt.js +15 -0
  216. package/dist/src/models/dati-fatture-collegate.d.ts +60 -0
  217. package/dist/src/models/dati-fatture-collegate.js +15 -0
  218. package/dist/src/models/dati-generali-documento.d.ts +94 -0
  219. package/dist/src/models/dati-generali-documento.js +15 -0
  220. package/dist/src/models/dati-generali.d.ts +88 -0
  221. package/dist/src/models/dati-generali.js +15 -0
  222. package/dist/src/models/dati-ordine-acquisto.d.ts +60 -0
  223. package/dist/src/models/dati-ordine-acquisto.js +15 -0
  224. package/dist/src/models/dati-pagamento.d.ts +31 -0
  225. package/dist/src/models/dati-pagamento.js +15 -0
  226. package/dist/src/models/dati-ricezione.d.ts +60 -0
  227. package/dist/src/models/dati-ricezione.js +15 -0
  228. package/dist/src/models/dati-riepilogo.d.ts +66 -0
  229. package/dist/src/models/dati-riepilogo.js +15 -0
  230. package/dist/src/models/dati-ritenuta.d.ts +42 -0
  231. package/dist/src/models/dati-ritenuta.js +15 -0
  232. package/dist/src/models/dati-sal.d.ts +24 -0
  233. package/dist/src/models/dati-sal.js +15 -0
  234. package/dist/src/models/dati-trasmissione.d.ts +56 -0
  235. package/dist/src/models/dati-trasmissione.js +15 -0
  236. package/dist/src/models/dati-trasporto.d.ts +98 -0
  237. package/dist/src/models/dati-trasporto.js +15 -0
  238. package/dist/src/models/dati-veicoli.d.ts +30 -0
  239. package/dist/src/models/dati-veicoli.js +15 -0
  240. package/dist/src/models/dettaglio-linee.d.ts +117 -0
  241. package/dist/src/models/dettaglio-linee.js +15 -0
  242. package/dist/src/models/dettaglio-pagamento.d.ts +144 -0
  243. package/dist/src/models/dettaglio-pagamento.js +15 -0
  244. package/dist/src/models/document-data.d.ts +30 -0
  245. package/dist/src/models/document-data.js +15 -0
  246. package/dist/src/models/event.d.ts +108 -0
  247. package/dist/src/models/event.js +15 -0
  248. package/dist/src/models/fattura-elettronica-body.d.ts +53 -0
  249. package/dist/src/models/fattura-elettronica-body.js +15 -0
  250. package/dist/src/models/fattura-elettronica-header.d.ts +59 -0
  251. package/dist/src/models/fattura-elettronica-header.js +15 -0
  252. package/dist/src/models/fattura-ordinaria.d.ts +38 -0
  253. package/dist/src/models/fattura-ordinaria.js +15 -0
  254. package/dist/src/models/fattura-principale.d.ts +30 -0
  255. package/dist/src/models/fattura-principale.js +15 -0
  256. package/dist/src/models/id-fiscale-iva.d.ts +30 -0
  257. package/dist/src/models/id-fiscale-iva.js +15 -0
  258. package/dist/src/models/id-trasmittente.d.ts +30 -0
  259. package/dist/src/models/id-trasmittente.js +15 -0
  260. package/dist/src/models/index.d.ts +60 -0
  261. package/dist/src/models/index.js +76 -0
  262. package/dist/src/models/indirizzo-resa.d.ts +54 -0
  263. package/dist/src/models/indirizzo-resa.js +15 -0
  264. package/dist/src/models/iscrizione-rea.d.ts +48 -0
  265. package/dist/src/models/iscrizione-rea.js +15 -0
  266. package/dist/src/models/model-error.d.ts +36 -0
  267. package/dist/src/models/model-error.js +15 -0
  268. package/dist/src/models/problem-details.d.ts +49 -0
  269. package/dist/src/models/problem-details.js +15 -0
  270. package/dist/src/models/problem-http-result.d.ts +37 -0
  271. package/dist/src/models/problem-http-result.js +15 -0
  272. package/dist/src/models/rappresentante-fiscale-cessionario-committente.d.ts +43 -0
  273. package/dist/src/models/rappresentante-fiscale-cessionario-committente.js +15 -0
  274. package/dist/src/models/rappresentante-fiscale.d.ts +25 -0
  275. package/dist/src/models/rappresentante-fiscale.js +15 -0
  276. package/dist/src/models/receive.d.ts +126 -0
  277. package/dist/src/models/receive.js +20 -0
  278. package/dist/src/models/sconto-maggiorazione.d.ts +36 -0
  279. package/dist/src/models/sconto-maggiorazione.js +15 -0
  280. package/dist/src/models/sede-cedente-prestatore.d.ts +54 -0
  281. package/dist/src/models/sede-cedente-prestatore.js +15 -0
  282. package/dist/src/models/sede-cessionario-committente.d.ts +54 -0
  283. package/dist/src/models/sede-cessionario-committente.js +15 -0
  284. package/dist/src/models/send-reduced.d.ts +51 -0
  285. package/dist/src/models/send-reduced.js +15 -0
  286. package/dist/src/models/send.d.ts +129 -0
  287. package/dist/src/models/send.js +20 -0
  288. package/dist/src/models/stabile-organizzazione.d.ts +54 -0
  289. package/dist/src/models/stabile-organizzazione.js +15 -0
  290. package/dist/src/models/status.d.ts +30 -0
  291. package/dist/src/models/status.js +15 -0
  292. package/dist/src/models/terzo-intermediario-osoggetto-emittente.d.ts +25 -0
  293. package/dist/src/models/terzo-intermediario-osoggetto-emittente.js +15 -0
  294. package/dist/src/models/update.d.ts +109 -0
  295. package/dist/src/models/update.js +27 -0
  296. package/dist/src/models/web-hook-history.d.ts +72 -0
  297. package/dist/src/models/web-hook-history.js +15 -0
  298. package/dist/src/models/web-hook.d.ts +78 -0
  299. package/dist/src/models/web-hook.js +15 -0
  300. package/docs/Allegati.md +28 -0
  301. package/docs/AltriDatiGestionali.md +26 -0
  302. package/docs/Anagrafica.md +28 -0
  303. package/docs/CedentePrestatore.md +30 -0
  304. package/docs/CessionarioCommittente.md +26 -0
  305. package/docs/CodiceArticolo.md +22 -0
  306. package/docs/Company.md +33 -0
  307. package/docs/CompanyApi.md +285 -0
  308. package/docs/Contatti.md +24 -0
  309. package/docs/ContattiTrasmittente.md +22 -0
  310. package/docs/DatiAnagrafici.md +24 -0
  311. package/docs/DatiAnagraficiCedentePrestatore.md +34 -0
  312. package/docs/DatiAnagraficiCessionarioCommittente.md +24 -0
  313. package/docs/DatiAnagraficiVettore.md +26 -0
  314. package/docs/DatiBeniServizi.md +22 -0
  315. package/docs/DatiBollo.md +22 -0
  316. package/docs/DatiCassaPrevidenziale.md +34 -0
  317. package/docs/DatiContratto.md +32 -0
  318. package/docs/DatiConvenzione.md +32 -0
  319. package/docs/DatiDDT.md +24 -0
  320. package/docs/DatiFattureCollegate.md +32 -0
  321. package/docs/DatiGenerali.md +38 -0
  322. package/docs/DatiGeneraliDocumento.md +42 -0
  323. package/docs/DatiOrdineAcquisto.md +32 -0
  324. package/docs/DatiPagamento.md +22 -0
  325. package/docs/DatiRicezione.md +32 -0
  326. package/docs/DatiRiepilogo.md +34 -0
  327. package/docs/DatiRitenuta.md +26 -0
  328. package/docs/DatiSAL.md +20 -0
  329. package/docs/DatiTrasmissione.md +30 -0
  330. package/docs/DatiTrasporto.md +44 -0
  331. package/docs/DatiVeicoli.md +22 -0
  332. package/docs/DettaglioLinee.md +50 -0
  333. package/docs/DettaglioPagamento.md +60 -0
  334. package/docs/DocumentData.md +22 -0
  335. package/docs/Error.md +25 -0
  336. package/docs/Event.md +48 -0
  337. package/docs/FatturaElettronicaBody.md +28 -0
  338. package/docs/FatturaElettronicaHeader.md +30 -0
  339. package/docs/FatturaOrdinaria.md +24 -0
  340. package/docs/FatturaPrincipale.md +22 -0
  341. package/docs/IdFiscaleIVA.md +22 -0
  342. package/docs/IdTrasmittente.md +22 -0
  343. package/docs/IndirizzoResa.md +30 -0
  344. package/docs/IscrizioneREA.md +28 -0
  345. package/docs/LogApi.md +153 -0
  346. package/docs/ProblemDetails.md +28 -0
  347. package/docs/ProblemHttpResult.md +24 -0
  348. package/docs/RappresentanteFiscale.md +20 -0
  349. package/docs/RappresentanteFiscaleCessionarioCommittente.md +26 -0
  350. package/docs/Receive.md +52 -0
  351. package/docs/ReceiveApi.md +220 -0
  352. package/docs/ScontoMaggiorazione.md +24 -0
  353. package/docs/SedeCedentePrestatore.md +30 -0
  354. package/docs/SedeCessionarioCommittente.md +30 -0
  355. package/docs/Send.md +52 -0
  356. package/docs/SendApi.md +681 -0
  357. package/docs/SendReduced.md +29 -0
  358. package/docs/StabileOrganizzazione.md +30 -0
  359. package/docs/Status.md +22 -0
  360. package/docs/StatusApi.md +52 -0
  361. package/docs/TerzoIntermediarioOSoggettoEmittente.md +20 -0
  362. package/docs/Update.md +44 -0
  363. package/docs/UpdateApi.md +150 -0
  364. package/docs/WebHook.md +38 -0
  365. package/docs/WebHookHistory.md +37 -0
  366. package/docs/WebhookApi.md +416 -0
  367. package/index.ts +18 -0
  368. package/package.json +33 -0
  369. package/src/api/company-api.ts +515 -0
  370. package/src/api/log-api.ts +367 -0
  371. package/src/api/receive-api.ts +490 -0
  372. package/src/api/send-api.ts +1296 -0
  373. package/src/api/status-api.ts +148 -0
  374. package/src/api/update-api.ts +373 -0
  375. package/src/api/webhook-api.ts +756 -0
  376. package/src/models/allegati.ts +54 -0
  377. package/src/models/altri-dati-gestionali.ts +48 -0
  378. package/src/models/anagrafica.ts +54 -0
  379. package/src/models/cedente-prestatore.ts +75 -0
  380. package/src/models/cessionario-committente.ts +60 -0
  381. package/src/models/codice-articolo.ts +36 -0
  382. package/src/models/company.ts +66 -0
  383. package/src/models/contatti-trasmittente.ts +36 -0
  384. package/src/models/contatti.ts +42 -0
  385. package/src/models/dati-anagrafici-cedente-prestatore.ts +78 -0
  386. package/src/models/dati-anagrafici-cessionario-committente.ts +48 -0
  387. package/src/models/dati-anagrafici-vettore.ts +54 -0
  388. package/src/models/dati-anagrafici.ts +48 -0
  389. package/src/models/dati-beni-servizi.ts +42 -0
  390. package/src/models/dati-bollo.ts +36 -0
  391. package/src/models/dati-cassa-previdenziale.ts +72 -0
  392. package/src/models/dati-contratto.ts +66 -0
  393. package/src/models/dati-convenzione.ts +66 -0
  394. package/src/models/dati-ddt.ts +42 -0
  395. package/src/models/dati-fatture-collegate.ts +66 -0
  396. package/src/models/dati-generali-documento.ts +108 -0
  397. package/src/models/dati-generali.ts +114 -0
  398. package/src/models/dati-ordine-acquisto.ts +66 -0
  399. package/src/models/dati-pagamento.ts +39 -0
  400. package/src/models/dati-ricezione.ts +66 -0
  401. package/src/models/dati-riepilogo.ts +72 -0
  402. package/src/models/dati-ritenuta.ts +48 -0
  403. package/src/models/dati-sal.ts +30 -0
  404. package/src/models/dati-trasmissione.ts +66 -0
  405. package/src/models/dati-trasporto.ts +108 -0
  406. package/src/models/dati-veicoli.ts +36 -0
  407. package/src/models/dettaglio-linee.ts +129 -0
  408. package/src/models/dettaglio-pagamento.ts +150 -0
  409. package/src/models/document-data.ts +36 -0
  410. package/src/models/event.ts +114 -0
  411. package/src/models/fattura-elettronica-body.ts +69 -0
  412. package/src/models/fattura-elettronica-header.ts +75 -0
  413. package/src/models/fattura-ordinaria.ts +48 -0
  414. package/src/models/fattura-principale.ts +36 -0
  415. package/src/models/id-fiscale-iva.ts +36 -0
  416. package/src/models/id-trasmittente.ts +36 -0
  417. package/src/models/index.ts +60 -0
  418. package/src/models/indirizzo-resa.ts +60 -0
  419. package/src/models/iscrizione-rea.ts +54 -0
  420. package/src/models/model-error.ts +42 -0
  421. package/src/models/problem-details.ts +56 -0
  422. package/src/models/problem-http-result.ts +45 -0
  423. package/src/models/rappresentante-fiscale-cessionario-committente.ts +51 -0
  424. package/src/models/rappresentante-fiscale.ts +33 -0
  425. package/src/models/receive.ts +137 -0
  426. package/src/models/sconto-maggiorazione.ts +42 -0
  427. package/src/models/sede-cedente-prestatore.ts +60 -0
  428. package/src/models/sede-cessionario-committente.ts +60 -0
  429. package/src/models/send-reduced.ts +57 -0
  430. package/src/models/send.ts +140 -0
  431. package/src/models/stabile-organizzazione.ts +60 -0
  432. package/src/models/status.ts +36 -0
  433. package/src/models/terzo-intermediario-osoggetto-emittente.ts +33 -0
  434. package/src/models/update.ts +120 -0
  435. package/src/models/web-hook-history.ts +78 -0
  436. package/src/models/web-hook.ts +84 -0
  437. package/tsconfig.esm.json +7 -0
  438. package/tsconfig.json +18 -0
@@ -0,0 +1,60 @@
1
+ # DettaglioPagamento
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **beneficiario** | **string** | | [optional] [default to undefined]
9
+ **modalita_pagamento** | **string** | | [optional] [default to undefined]
10
+ **data_riferimento_termini_pagamento** | **string** | | [optional] [default to undefined]
11
+ **giorni_termini_pagamento** | **number** | | [optional] [default to undefined]
12
+ **data_scadenza_pagamento** | **string** | | [optional] [default to undefined]
13
+ **importo_pagamento** | **number** | | [optional] [default to undefined]
14
+ **cod_ufficio_postale** | **string** | | [optional] [default to undefined]
15
+ **cognome_quietanzante** | **string** | | [optional] [default to undefined]
16
+ **nome_quietanzante** | **string** | | [optional] [default to undefined]
17
+ **cf_quietanzante** | **string** | | [optional] [default to undefined]
18
+ **titolo_quietanzante** | **string** | | [optional] [default to undefined]
19
+ **istituto_finanziario** | **string** | | [optional] [default to undefined]
20
+ **iban** | **string** | | [optional] [default to undefined]
21
+ **abi** | **string** | | [optional] [default to undefined]
22
+ **cab** | **string** | | [optional] [default to undefined]
23
+ **bic** | **string** | | [optional] [default to undefined]
24
+ **sconto_pagamento_anticipato** | **number** | | [optional] [default to undefined]
25
+ **data_limite_pagamento_anticipato** | **string** | | [optional] [default to undefined]
26
+ **penalita_pagamenti_ritardati** | **number** | | [optional] [default to undefined]
27
+ **data_decorrenza_penale** | **string** | | [optional] [default to undefined]
28
+ **codice_pagamento** | **string** | | [optional] [default to undefined]
29
+
30
+ ## Example
31
+
32
+ ```typescript
33
+ import { DettaglioPagamento } from '@invoicetronic/ts-sdk';
34
+
35
+ const instance: DettaglioPagamento = {
36
+ beneficiario,
37
+ modalita_pagamento,
38
+ data_riferimento_termini_pagamento,
39
+ giorni_termini_pagamento,
40
+ data_scadenza_pagamento,
41
+ importo_pagamento,
42
+ cod_ufficio_postale,
43
+ cognome_quietanzante,
44
+ nome_quietanzante,
45
+ cf_quietanzante,
46
+ titolo_quietanzante,
47
+ istituto_finanziario,
48
+ iban,
49
+ abi,
50
+ cab,
51
+ bic,
52
+ sconto_pagamento_anticipato,
53
+ data_limite_pagamento_anticipato,
54
+ penalita_pagamenti_ritardati,
55
+ data_decorrenza_penale,
56
+ codice_pagamento,
57
+ };
58
+ ```
59
+
60
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # DocumentData
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **number** | **string** | | [optional] [default to undefined]
9
+ **date** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DocumentData } from '@invoicetronic/ts-sdk';
15
+
16
+ const instance: DocumentData = {
17
+ number,
18
+ date,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Error.md ADDED
@@ -0,0 +1,25 @@
1
+ # ModelError
2
+
3
+ Validation error from the SDI.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **code** | **string** | Error code. | [optional] [default to undefined]
10
+ **description** | **string** | Error description. | [optional] [default to undefined]
11
+ **hint** | **string** | Hint on how to solve the issue. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ModelError } from '@invoicetronic/ts-sdk';
17
+
18
+ const instance: ModelError = {
19
+ code,
20
+ description,
21
+ hint,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Event.md ADDED
@@ -0,0 +1,48 @@
1
+ # Event
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Unique identifier. Leave it at 0 for new records as it will be set automatically. | [optional] [default to undefined]
9
+ **created** | **string** | Creation date. It is set automatically. | [optional] [default to undefined]
10
+ **version** | **number** | Row version, for optimistic concurrency. It is set automatically. | [optional] [default to undefined]
11
+ **user_id** | **number** | User id. | [optional] [default to undefined]
12
+ **api_key_id** | **number** | Api key id. | [optional] [default to undefined]
13
+ **company_id** | **number** | Company id. | [optional] [default to undefined]
14
+ **method** | **string** | Request method. | [optional] [default to undefined]
15
+ **query** | **string** | Request query. | [optional] [default to undefined]
16
+ **endpoint** | **string** | API endpoint. | [optional] [default to undefined]
17
+ **api_version** | **number** | Api version. | [optional] [default to undefined]
18
+ **status_code** | **number** | Status code returned by the API. | [optional] [default to undefined]
19
+ **date_time** | **string** | Date and time of the request. | [optional] [default to undefined]
20
+ **error** | **string** | Response error. | [optional] [default to undefined]
21
+ **success** | **boolean** | Wether the request was successful. | [optional] [readonly] [default to undefined]
22
+ **response_body** | **string** | Response payload. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { Event } from '@invoicetronic/ts-sdk';
28
+
29
+ const instance: Event = {
30
+ id,
31
+ created,
32
+ version,
33
+ user_id,
34
+ api_key_id,
35
+ company_id,
36
+ method,
37
+ query,
38
+ endpoint,
39
+ api_version,
40
+ status_code,
41
+ date_time,
42
+ error,
43
+ success,
44
+ response_body,
45
+ };
46
+ ```
47
+
48
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # FatturaElettronicaBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **dati_generali** | [**DatiGenerali**](DatiGenerali.md) | | [optional] [default to undefined]
9
+ **dati_beni_servizi** | [**DatiBeniServizi**](DatiBeniServizi.md) | | [optional] [default to undefined]
10
+ **dati_veicoli** | [**DatiVeicoli**](DatiVeicoli.md) | | [optional] [default to undefined]
11
+ **dati_pagamento** | [**Array<DatiPagamento>**](DatiPagamento.md) | | [optional] [default to undefined]
12
+ **allegati** | [**Array<Allegati>**](Allegati.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FatturaElettronicaBody } from '@invoicetronic/ts-sdk';
18
+
19
+ const instance: FatturaElettronicaBody = {
20
+ dati_generali,
21
+ dati_beni_servizi,
22
+ dati_veicoli,
23
+ dati_pagamento,
24
+ allegati,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # FatturaElettronicaHeader
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **dati_trasmissione** | [**DatiTrasmissione**](DatiTrasmissione.md) | | [optional] [default to undefined]
9
+ **cedente_prestatore** | [**CedentePrestatore**](CedentePrestatore.md) | | [optional] [default to undefined]
10
+ **RappresentanteFiscale** | [**RappresentanteFiscale**](RappresentanteFiscale.md) | | [optional] [default to undefined]
11
+ **cessionario_committente** | [**CessionarioCommittente**](CessionarioCommittente.md) | | [optional] [default to undefined]
12
+ **terzo_intermediario_o_soggetto_emittente** | [**TerzoIntermediarioOSoggettoEmittente**](TerzoIntermediarioOSoggettoEmittente.md) | | [optional] [default to undefined]
13
+ **soggetto_emittente** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { FatturaElettronicaHeader } from '@invoicetronic/ts-sdk';
19
+
20
+ const instance: FatturaElettronicaHeader = {
21
+ dati_trasmissione,
22
+ cedente_prestatore,
23
+ RappresentanteFiscale,
24
+ cessionario_committente,
25
+ terzo_intermediario_o_soggetto_emittente,
26
+ soggetto_emittente,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # FatturaOrdinaria
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sistema_emittente** | **string** | | [optional] [default to undefined]
9
+ **fattura_elettronica_header** | [**FatturaElettronicaHeader**](FatturaElettronicaHeader.md) | | [optional] [default to undefined]
10
+ **fattura_elettronica_body** | [**Array<FatturaElettronicaBody>**](FatturaElettronicaBody.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { FatturaOrdinaria } from '@invoicetronic/ts-sdk';
16
+
17
+ const instance: FatturaOrdinaria = {
18
+ sistema_emittente,
19
+ fattura_elettronica_header,
20
+ fattura_elettronica_body,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # FatturaPrincipale
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **numero_fattura_principale** | **string** | | [optional] [default to undefined]
9
+ **data_fattura_principale** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FatturaPrincipale } from '@invoicetronic/ts-sdk';
15
+
16
+ const instance: FatturaPrincipale = {
17
+ numero_fattura_principale,
18
+ data_fattura_principale,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # IdFiscaleIVA
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id_paese** | **string** | | [optional] [default to undefined]
9
+ **id_codice** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { IdFiscaleIVA } from '@invoicetronic/ts-sdk';
15
+
16
+ const instance: IdFiscaleIVA = {
17
+ id_paese,
18
+ id_codice,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # IdTrasmittente
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id_paese** | **string** | | [optional] [default to undefined]
9
+ **id_codice** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { IdTrasmittente } from '@invoicetronic/ts-sdk';
15
+
16
+ const instance: IdTrasmittente = {
17
+ id_paese,
18
+ id_codice,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # IndirizzoResa
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **indirizzo** | **string** | | [optional] [default to undefined]
9
+ **numero_civico** | **string** | | [optional] [default to undefined]
10
+ **cap** | **string** | | [optional] [default to undefined]
11
+ **comune** | **string** | | [optional] [default to undefined]
12
+ **provincia** | **string** | | [optional] [default to undefined]
13
+ **nazione** | **string** | | [optional] [default to 'IT']
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { IndirizzoResa } from '@invoicetronic/ts-sdk';
19
+
20
+ const instance: IndirizzoResa = {
21
+ indirizzo,
22
+ numero_civico,
23
+ cap,
24
+ comune,
25
+ provincia,
26
+ nazione,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # IscrizioneREA
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **ufficio** | **string** | | [optional] [default to undefined]
9
+ **numero_rea** | **string** | | [optional] [default to undefined]
10
+ **capitale_sociale** | **number** | | [optional] [default to undefined]
11
+ **socio_unico** | **string** | | [optional] [default to undefined]
12
+ **stato_liquidazione** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { IscrizioneREA } from '@invoicetronic/ts-sdk';
18
+
19
+ const instance: IscrizioneREA = {
20
+ ufficio,
21
+ numero_rea,
22
+ capitale_sociale,
23
+ socio_unico,
24
+ stato_liquidazione,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/LogApi.md ADDED
@@ -0,0 +1,153 @@
1
+ # LogApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**logGet**](#logget) | **GET** /log | List events|
8
+ |[**logIdGet**](#logidget) | **GET** /log/{id} | Get an event by id|
9
+
10
+ # **logGet**
11
+ > Array<Event> logGet()
12
+
13
+ Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ LogApi,
20
+ Configuration
21
+ } from '@invoicetronic/ts-sdk';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new LogApi(configuration);
25
+
26
+ let companyId: number; //Company id (optional) (default to undefined)
27
+ let endpoint: string; // (optional) (default to undefined)
28
+ let method: string; // (optional) (default to undefined)
29
+ let apiVerion: number; //Api version (optional) (default to undefined)
30
+ let statusCode: number; //Response status code (optional) (default to undefined)
31
+ let dateCreatedFrom: string; //UTC ISO 8601 (2024-11-29T12:34:56Z) (optional) (default to undefined)
32
+ let dateCreatedTo: string; //UTC ISO 8601 (2024-11-29T12:34:56Z) (optional) (default to undefined)
33
+ let page: number; //Page number. (optional) (default to 1)
34
+ let pageSize: number; //Items per page. Cannot be greater than 200. (optional) (default to 100)
35
+ let sort: string; //Sort by field. Prefix with \'-\' for descending order. (optional) (default to undefined)
36
+ let query: string; // (optional) (default to undefined)
37
+ let success: boolean; // (optional) (default to undefined)
38
+ let dateTimeFrom: string; //Date and time of the event (optional) (default to undefined)
39
+ let dateTimeTo: string; //Date and time of the event (optional) (default to undefined)
40
+
41
+ const { status, data } = await apiInstance.logGet(
42
+ companyId,
43
+ endpoint,
44
+ method,
45
+ apiVerion,
46
+ statusCode,
47
+ dateCreatedFrom,
48
+ dateCreatedTo,
49
+ page,
50
+ pageSize,
51
+ sort,
52
+ query,
53
+ success,
54
+ dateTimeFrom,
55
+ dateTimeTo
56
+ );
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+ |Name | Type | Description | Notes|
62
+ |------------- | ------------- | ------------- | -------------|
63
+ | **companyId** | [**number**] | Company id | (optional) defaults to undefined|
64
+ | **endpoint** | [**string**] | | (optional) defaults to undefined|
65
+ | **method** | [**string**] | | (optional) defaults to undefined|
66
+ | **apiVerion** | [**number**] | Api version | (optional) defaults to undefined|
67
+ | **statusCode** | [**number**] | Response status code | (optional) defaults to undefined|
68
+ | **dateCreatedFrom** | [**string**] | UTC ISO 8601 (2024-11-29T12:34:56Z) | (optional) defaults to undefined|
69
+ | **dateCreatedTo** | [**string**] | UTC ISO 8601 (2024-11-29T12:34:56Z) | (optional) defaults to undefined|
70
+ | **page** | [**number**] | Page number. | (optional) defaults to 1|
71
+ | **pageSize** | [**number**] | Items per page. Cannot be greater than 200. | (optional) defaults to 100|
72
+ | **sort** | [**string**] | Sort by field. Prefix with \&#39;-\&#39; for descending order. | (optional) defaults to undefined|
73
+ | **query** | [**string**] | | (optional) defaults to undefined|
74
+ | **success** | [**boolean**] | | (optional) defaults to undefined|
75
+ | **dateTimeFrom** | [**string**] | Date and time of the event | (optional) defaults to undefined|
76
+ | **dateTimeTo** | [**string**] | Date and time of the event | (optional) defaults to undefined|
77
+
78
+
79
+ ### Return type
80
+
81
+ **Array<Event>**
82
+
83
+ ### Authorization
84
+
85
+ [Basic](../README.md#Basic)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: Not defined
90
+ - **Accept**: application/json
91
+
92
+
93
+ ### HTTP response details
94
+ | Status code | Description | Response headers |
95
+ |-------------|-------------|------------------|
96
+ |**200** | OK | - |
97
+ |**404** | Not Found | - |
98
+ |**400** | Bad Request | - |
99
+
100
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
101
+
102
+ # **logIdGet**
103
+ > Event logIdGet()
104
+
105
+ Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
106
+
107
+ ### Example
108
+
109
+ ```typescript
110
+ import {
111
+ LogApi,
112
+ Configuration
113
+ } from '@invoicetronic/ts-sdk';
114
+
115
+ const configuration = new Configuration();
116
+ const apiInstance = new LogApi(configuration);
117
+
118
+ let id: number; //Item id (default to undefined)
119
+
120
+ const { status, data } = await apiInstance.logIdGet(
121
+ id
122
+ );
123
+ ```
124
+
125
+ ### Parameters
126
+
127
+ |Name | Type | Description | Notes|
128
+ |------------- | ------------- | ------------- | -------------|
129
+ | **id** | [**number**] | Item id | defaults to undefined|
130
+
131
+
132
+ ### Return type
133
+
134
+ **Event**
135
+
136
+ ### Authorization
137
+
138
+ [Basic](../README.md#Basic)
139
+
140
+ ### HTTP request headers
141
+
142
+ - **Content-Type**: Not defined
143
+ - **Accept**: application/json
144
+
145
+
146
+ ### HTTP response details
147
+ | Status code | Description | Response headers |
148
+ |-------------|-------------|------------------|
149
+ |**200** | OK | - |
150
+ |**404** | Not Found | - |
151
+
152
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
153
+
@@ -0,0 +1,28 @@
1
+ # ProblemDetails
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **status** | **number** | | [optional] [default to undefined]
11
+ **detail** | **string** | | [optional] [default to undefined]
12
+ **instance** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ProblemDetails } from '@invoicetronic/ts-sdk';
18
+
19
+ const instance: ProblemDetails = {
20
+ type,
21
+ title,
22
+ status,
23
+ detail,
24
+ instance,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # ProblemHttpResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **problem_details** | [**ProblemDetails**](ProblemDetails.md) | | [optional] [default to undefined]
9
+ **content_type** | **string** | | [optional] [readonly] [default to undefined]
10
+ **status_code** | **number** | | [optional] [readonly] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ProblemHttpResult } from '@invoicetronic/ts-sdk';
16
+
17
+ const instance: ProblemHttpResult = {
18
+ problem_details,
19
+ content_type,
20
+ status_code,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # RappresentanteFiscale
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **dati_anagrafici** | [**DatiAnagrafici**](DatiAnagrafici.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RappresentanteFiscale } from '@invoicetronic/ts-sdk';
14
+
15
+ const instance: RappresentanteFiscale = {
16
+ dati_anagrafici,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # RappresentanteFiscaleCessionarioCommittente
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **denominazione** | **string** | | [optional] [default to undefined]
9
+ **nome** | **string** | | [optional] [default to undefined]
10
+ **cognome** | **string** | | [optional] [default to undefined]
11
+ **id_fiscale_iva** | [**IdFiscaleIVA**](IdFiscaleIVA.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RappresentanteFiscaleCessionarioCommittente } from '@invoicetronic/ts-sdk';
17
+
18
+ const instance: RappresentanteFiscaleCessionarioCommittente = {
19
+ denominazione,
20
+ nome,
21
+ cognome,
22
+ id_fiscale_iva,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,52 @@
1
+ # Receive
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | Unique identifier. Leave it at 0 for new records as it will be set automatically. | [optional] [default to undefined]
9
+ **created** | **string** | Creation date. It is set automatically. | [optional] [default to undefined]
10
+ **version** | **number** | Row version, for optimistic concurrency. It is set automatically. | [optional] [default to undefined]
11
+ **user_id** | **number** | User id. | [optional] [default to undefined]
12
+ **company_id** | **number** | Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\&#39;s VAT number. If a matching company is not found, the invoice will be rejected until the company is created. | [optional] [default to undefined]
13
+ **committente** | **string** | VAT number of the Cessionario/Committente (customer). This is automatically set based on the recipient\&#39;s VAT number. | [optional] [default to undefined]
14
+ **prestatore** | **string** | VAT number of the Cedente/Prestatore (vendor). This is automatically set based on the sender\&#39;s VAT number. | [optional] [default to undefined]
15
+ **identifier** | **string** | SDI identifier. This is set by the SDI and is guaranted to be unique within the SDI system. | [optional] [default to undefined]
16
+ **file_name** | **string** | Xml file name. | [optional] [default to undefined]
17
+ **format** | **string** | SDI format (FPA12, FPR12, FSM10, ...) | [optional] [default to undefined]
18
+ **payload** | **string** | Xml payloaad. This is the actual xml content, as string. On send, it can be base64 encoded. If it\&#39;s not, it will be encoded before sending. It is guaranteed to be cyphered at rest. | [optional] [default to undefined]
19
+ **last_update** | **string** | Last update from SDI. | [optional] [default to undefined]
20
+ **date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
21
+ **documents** | [**Array&lt;DocumentData&gt;**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
22
+ **encoding** | **string** | Whether the payload is Base64 encoded or a plain XML (text). | [optional] [default to undefined]
23
+ **is_read** | **boolean** | Wether the invoice has been read at least once. | [optional] [default to undefined]
24
+ **message_id** | **string** | SDI message id. | [optional] [default to undefined]
25
+
26
+ ## Example
27
+
28
+ ```typescript
29
+ import { Receive } from '@invoicetronic/ts-sdk';
30
+
31
+ const instance: Receive = {
32
+ id,
33
+ created,
34
+ version,
35
+ user_id,
36
+ company_id,
37
+ committente,
38
+ prestatore,
39
+ identifier,
40
+ file_name,
41
+ format,
42
+ payload,
43
+ last_update,
44
+ date_sent,
45
+ documents,
46
+ encoding,
47
+ is_read,
48
+ message_id,
49
+ };
50
+ ```
51
+
52
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)