@factpulse/sdk 4.0.0 → 4.0.2

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 (1751) hide show
  1. package/.openapi-generator/FILES +52 -20
  2. package/.openapi-generator/VERSION +1 -1
  3. package/CHANGELOG.md +5 -9
  4. package/api/afnorpdppaapi.ts +9 -74
  5. package/api/afnorpdppadirectory-service-api.ts +1 -1
  6. package/api/afnorpdppaflow-service-api.ts +1 -1
  7. package/api/async-tasks-api.ts +132 -0
  8. package/api/chorus-pro-api.ts +1 -1
  9. package/api/client-management-api.ts +672 -0
  10. package/api/downloads-api.ts +1 -153
  11. package/api/electronic-signature-api.ts +481 -0
  12. package/api/{document-conversion-api.ts → factur-xconversion-api.ts} +63 -63
  13. package/api/factur-xgeneration-api.ts +364 -0
  14. package/api/factur-xpdfxmlverification-api.ts +316 -0
  15. package/api/factur-xvalidation-api.ts +374 -0
  16. package/api/{ereporting-api.ts → flux10-ereporting-api.ts} +61 -53
  17. package/api/flux6-invoice-lifecycle-cdarapi.ts +781 -0
  18. package/api/health-api.ts +66 -1
  19. package/api.ts +10 -7
  20. package/base.ts +1 -1
  21. package/common.ts +1 -1
  22. package/configuration.ts +1 -1
  23. package/dist/api/afnorpdppaapi.d.ts +9 -37
  24. package/dist/api/afnorpdppaapi.js +9 -71
  25. package/dist/api/afnorpdppadirectory-service-api.d.ts +1 -1
  26. package/dist/api/afnorpdppadirectory-service-api.js +1 -1
  27. package/dist/api/afnorpdppaflow-service-api.d.ts +1 -1
  28. package/dist/api/afnorpdppaflow-service-api.js +1 -1
  29. package/dist/api/async-tasks-api.d.ts +67 -0
  30. package/dist/api/async-tasks-api.js +135 -0
  31. package/dist/api/chorus-pro-api.d.ts +1 -1
  32. package/dist/api/chorus-pro-api.js +1 -1
  33. package/dist/api/client-management-api.d.ts +309 -0
  34. package/dist/api/client-management-api.js +642 -0
  35. package/dist/api/downloads-api.d.ts +1 -69
  36. package/dist/api/downloads-api.js +1 -146
  37. package/dist/api/electronic-signature-api.d.ts +220 -0
  38. package/dist/api/electronic-signature-api.js +456 -0
  39. package/dist/api/factur-xconversion-api.d.ts +190 -0
  40. package/dist/api/{document-conversion-api.js → factur-xconversion-api.js} +68 -68
  41. package/dist/api/factur-xgeneration-api.d.ts +171 -0
  42. package/dist/api/factur-xgeneration-api.js +343 -0
  43. package/dist/api/factur-xpdfxmlverification-api.d.ts +145 -0
  44. package/dist/api/factur-xpdfxmlverification-api.js +304 -0
  45. package/dist/api/factur-xvalidation-api.d.ts +170 -0
  46. package/dist/api/factur-xvalidation-api.js +351 -0
  47. package/dist/api/{ereporting-api.d.ts → flux10-ereporting-api.d.ts} +29 -25
  48. package/dist/api/{ereporting-api.js → flux10-ereporting-api.js} +65 -58
  49. package/dist/api/flux6-invoice-lifecycle-cdarapi.d.ts +361 -0
  50. package/dist/api/flux6-invoice-lifecycle-cdarapi.js +737 -0
  51. package/dist/api/health-api.d.ts +29 -1
  52. package/dist/api/health-api.js +63 -1
  53. package/dist/api.d.ts +10 -7
  54. package/dist/api.js +10 -7
  55. package/dist/base.d.ts +1 -1
  56. package/dist/base.js +1 -1
  57. package/dist/common.d.ts +1 -1
  58. package/dist/common.js +1 -1
  59. package/dist/configuration.d.ts +1 -1
  60. package/dist/configuration.js +1 -1
  61. package/dist/esm/api/afnorpdppaapi.d.ts +9 -37
  62. package/dist/esm/api/afnorpdppaapi.js +9 -71
  63. package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +1 -1
  64. package/dist/esm/api/afnorpdppadirectory-service-api.js +1 -1
  65. package/dist/esm/api/afnorpdppaflow-service-api.d.ts +1 -1
  66. package/dist/esm/api/afnorpdppaflow-service-api.js +1 -1
  67. package/dist/esm/api/async-tasks-api.d.ts +67 -0
  68. package/dist/esm/api/async-tasks-api.js +125 -0
  69. package/dist/esm/api/chorus-pro-api.d.ts +1 -1
  70. package/dist/esm/api/chorus-pro-api.js +1 -1
  71. package/dist/esm/api/client-management-api.d.ts +309 -0
  72. package/dist/esm/api/client-management-api.js +632 -0
  73. package/dist/esm/api/downloads-api.d.ts +1 -69
  74. package/dist/esm/api/downloads-api.js +1 -146
  75. package/dist/esm/api/electronic-signature-api.d.ts +220 -0
  76. package/dist/esm/api/electronic-signature-api.js +446 -0
  77. package/dist/esm/api/factur-xconversion-api.d.ts +190 -0
  78. package/dist/esm/api/{document-conversion-api.js → factur-xconversion-api.js} +63 -63
  79. package/dist/esm/api/factur-xgeneration-api.d.ts +171 -0
  80. package/dist/esm/api/factur-xgeneration-api.js +333 -0
  81. package/dist/esm/api/factur-xpdfxmlverification-api.d.ts +145 -0
  82. package/dist/esm/api/factur-xpdfxmlverification-api.js +294 -0
  83. package/dist/esm/api/factur-xvalidation-api.d.ts +170 -0
  84. package/dist/esm/api/factur-xvalidation-api.js +341 -0
  85. package/dist/esm/api/{ereporting-api.d.ts → flux10-ereporting-api.d.ts} +29 -25
  86. package/dist/esm/api/{ereporting-api.js → flux10-ereporting-api.js} +60 -53
  87. package/dist/esm/api/flux6-invoice-lifecycle-cdarapi.d.ts +361 -0
  88. package/dist/esm/api/flux6-invoice-lifecycle-cdarapi.js +727 -0
  89. package/dist/esm/api/health-api.d.ts +29 -1
  90. package/dist/esm/api/health-api.js +64 -2
  91. package/dist/esm/api.d.ts +10 -7
  92. package/dist/esm/api.js +10 -7
  93. package/dist/esm/base.d.ts +1 -1
  94. package/dist/esm/base.js +1 -1
  95. package/dist/esm/common.d.ts +1 -1
  96. package/dist/esm/common.js +1 -1
  97. package/dist/esm/configuration.d.ts +1 -1
  98. package/dist/esm/configuration.js +1 -1
  99. package/dist/esm/index.d.ts +1 -1
  100. package/dist/esm/index.js +1 -1
  101. package/dist/esm/models/acknowledgment-status.d.ts +1 -1
  102. package/dist/esm/models/acknowledgment-status.js +1 -1
  103. package/dist/esm/models/action-code-info.d.ts +1 -1
  104. package/dist/esm/models/action-code-info.js +1 -1
  105. package/dist/esm/models/action-codes-response.d.ts +1 -1
  106. package/dist/esm/models/action-codes-response.js +1 -1
  107. package/dist/esm/models/additional-document.d.ts +1 -1
  108. package/dist/esm/models/additional-document.js +1 -1
  109. package/dist/esm/models/afnoracknowledgement-detail.d.ts +1 -1
  110. package/dist/esm/models/afnoracknowledgement-detail.js +1 -1
  111. package/dist/esm/models/afnoracknowledgement.d.ts +1 -1
  112. package/dist/esm/models/afnoracknowledgement.js +1 -1
  113. package/dist/esm/models/afnoraddress-edit.d.ts +1 -1
  114. package/dist/esm/models/afnoraddress-edit.js +1 -1
  115. package/dist/esm/models/afnoraddress-patch.d.ts +1 -1
  116. package/dist/esm/models/afnoraddress-patch.js +1 -1
  117. package/dist/esm/models/afnoraddress-put.d.ts +1 -1
  118. package/dist/esm/models/afnoraddress-put.js +1 -1
  119. package/dist/esm/models/afnoraddress-read.d.ts +1 -1
  120. package/dist/esm/models/afnoraddress-read.js +1 -1
  121. package/dist/esm/models/afnoralgorithm.d.ts +1 -1
  122. package/dist/esm/models/afnoralgorithm.js +1 -1
  123. package/dist/esm/models/afnorcontains-operator.d.ts +1 -1
  124. package/dist/esm/models/afnorcontains-operator.js +1 -1
  125. package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
  126. package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
  127. package/dist/esm/models/afnorcreate-directory-line-body-period.d.ts +1 -1
  128. package/dist/esm/models/afnorcreate-directory-line-body-period.js +1 -1
  129. package/dist/esm/models/afnorcreate-directory-line-body.d.ts +1 -1
  130. package/dist/esm/models/afnorcreate-directory-line-body.js +1 -1
  131. package/dist/esm/models/afnorcreate-routing-code-body.d.ts +1 -1
  132. package/dist/esm/models/afnorcreate-routing-code-body.js +1 -1
  133. package/dist/esm/models/afnorcredentials.d.ts +1 -1
  134. package/dist/esm/models/afnorcredentials.js +1 -1
  135. package/dist/esm/models/afnordestination.d.ts +1 -1
  136. package/dist/esm/models/afnordestination.js +1 -1
  137. package/dist/esm/models/afnordiffusion-status.d.ts +1 -1
  138. package/dist/esm/models/afnordiffusion-status.js +1 -1
  139. package/dist/esm/models/afnordirectory-line-field.d.ts +1 -1
  140. package/dist/esm/models/afnordirectory-line-field.js +1 -1
  141. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
  142. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
  143. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
  144. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
  145. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
  146. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
  147. package/dist/esm/models/afnordirectory-line-post201-response.d.ts +1 -1
  148. package/dist/esm/models/afnordirectory-line-post201-response.js +1 -1
  149. package/dist/esm/models/afnordirectory-line-search-post200-response.d.ts +1 -1
  150. package/dist/esm/models/afnordirectory-line-search-post200-response.js +1 -1
  151. package/dist/esm/models/afnorentity-type.d.ts +1 -1
  152. package/dist/esm/models/afnorentity-type.js +1 -1
  153. package/dist/esm/models/afnorerror.d.ts +1 -1
  154. package/dist/esm/models/afnorerror.js +1 -1
  155. package/dist/esm/models/afnorfacility-administrative-status.d.ts +1 -1
  156. package/dist/esm/models/afnorfacility-administrative-status.js +1 -1
  157. package/dist/esm/models/afnorfacility-nature.d.ts +1 -1
  158. package/dist/esm/models/afnorfacility-nature.js +1 -1
  159. package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
  160. package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
  161. package/dist/esm/models/afnorfacility-payload-history.d.ts +1 -1
  162. package/dist/esm/models/afnorfacility-payload-history.js +1 -1
  163. package/dist/esm/models/afnorfacility-payload-included.d.ts +1 -1
  164. package/dist/esm/models/afnorfacility-payload-included.js +1 -1
  165. package/dist/esm/models/afnorfacility-type.d.ts +1 -1
  166. package/dist/esm/models/afnorfacility-type.js +1 -1
  167. package/dist/esm/models/afnorflow-ack-status.d.ts +1 -1
  168. package/dist/esm/models/afnorflow-ack-status.js +1 -1
  169. package/dist/esm/models/afnorflow-direction.d.ts +1 -1
  170. package/dist/esm/models/afnorflow-direction.js +1 -1
  171. package/dist/esm/models/afnorflow-info.d.ts +1 -1
  172. package/dist/esm/models/afnorflow-info.js +1 -1
  173. package/dist/esm/models/afnorflow-profile.d.ts +1 -1
  174. package/dist/esm/models/afnorflow-profile.js +1 -1
  175. package/dist/esm/models/afnorflow-syntax.d.ts +1 -1
  176. package/dist/esm/models/afnorflow-syntax.js +1 -1
  177. package/dist/esm/models/afnorflow-type.d.ts +1 -1
  178. package/dist/esm/models/afnorflow-type.js +1 -1
  179. package/dist/esm/models/afnorflow.d.ts +1 -1
  180. package/dist/esm/models/afnorflow.js +1 -1
  181. package/dist/esm/models/afnorfull-flow-info.d.ts +1 -1
  182. package/dist/esm/models/afnorfull-flow-info.js +1 -1
  183. package/dist/esm/models/afnorhealth-check-response.d.ts +1 -1
  184. package/dist/esm/models/afnorhealth-check-response.js +1 -1
  185. package/dist/esm/models/afnorlegal-unit-administrative-status.d.ts +1 -1
  186. package/dist/esm/models/afnorlegal-unit-administrative-status.js +1 -1
  187. package/dist/esm/models/afnorlegal-unit-payload-history.d.ts +1 -1
  188. package/dist/esm/models/afnorlegal-unit-payload-history.js +1 -1
  189. package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
  190. package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
  191. package/dist/esm/models/afnorlegal-unit-payload-included.d.ts +1 -1
  192. package/dist/esm/models/afnorlegal-unit-payload-included.js +1 -1
  193. package/dist/esm/models/afnorplatform-status.d.ts +1 -1
  194. package/dist/esm/models/afnorplatform-status.js +1 -1
  195. package/dist/esm/models/afnorprocessing-rule.d.ts +1 -1
  196. package/dist/esm/models/afnorprocessing-rule.js +1 -1
  197. package/dist/esm/models/afnorreason-code-enum.d.ts +1 -1
  198. package/dist/esm/models/afnorreason-code-enum.js +1 -1
  199. package/dist/esm/models/afnorreason-code.d.ts +1 -1
  200. package/dist/esm/models/afnorreason-code.js +1 -1
  201. package/dist/esm/models/afnorrecipient-platform-type.d.ts +1 -1
  202. package/dist/esm/models/afnorrecipient-platform-type.js +1 -1
  203. package/dist/esm/models/afnorresult.d.ts +1 -1
  204. package/dist/esm/models/afnorresult.js +1 -1
  205. package/dist/esm/models/afnorrouting-code-administrative-status.d.ts +1 -1
  206. package/dist/esm/models/afnorrouting-code-administrative-status.js +1 -1
  207. package/dist/esm/models/afnorrouting-code-field.d.ts +1 -1
  208. package/dist/esm/models/afnorrouting-code-field.js +1 -1
  209. package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
  210. package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
  211. package/dist/esm/models/afnorrouting-code-post201-response.d.ts +1 -1
  212. package/dist/esm/models/afnorrouting-code-post201-response.js +1 -1
  213. package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
  214. package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
  215. package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
  216. package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
  217. package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
  218. package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
  219. package/dist/esm/models/afnorrouting-code-search-filters.d.ts +1 -1
  220. package/dist/esm/models/afnorrouting-code-search-filters.js +1 -1
  221. package/dist/esm/models/afnorrouting-code-search-post200-response.d.ts +1 -1
  222. package/dist/esm/models/afnorrouting-code-search-post200-response.js +1 -1
  223. package/dist/esm/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
  224. package/dist/esm/models/afnorrouting-code-search-sorting-inner.js +1 -1
  225. package/dist/esm/models/afnorrouting-code-search.d.ts +1 -1
  226. package/dist/esm/models/afnorrouting-code-search.js +1 -1
  227. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
  228. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
  229. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
  230. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
  231. package/dist/esm/models/afnorsearch-directory-line-filters.d.ts +1 -1
  232. package/dist/esm/models/afnorsearch-directory-line-filters.js +1 -1
  233. package/dist/esm/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
  234. package/dist/esm/models/afnorsearch-directory-line-sorting-inner.js +1 -1
  235. package/dist/esm/models/afnorsearch-directory-line.d.ts +1 -1
  236. package/dist/esm/models/afnorsearch-directory-line.js +1 -1
  237. package/dist/esm/models/afnorsearch-flow-content.d.ts +1 -1
  238. package/dist/esm/models/afnorsearch-flow-content.js +1 -1
  239. package/dist/esm/models/afnorsearch-flow-filters.d.ts +1 -1
  240. package/dist/esm/models/afnorsearch-flow-filters.js +1 -1
  241. package/dist/esm/models/afnorsearch-flow-params.d.ts +1 -1
  242. package/dist/esm/models/afnorsearch-flow-params.js +1 -1
  243. package/dist/esm/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
  244. package/dist/esm/models/afnorsearch-siren-filters-administrative-status.js +1 -1
  245. package/dist/esm/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
  246. package/dist/esm/models/afnorsearch-siren-filters-business-name.js +1 -1
  247. package/dist/esm/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
  248. package/dist/esm/models/afnorsearch-siren-filters-entity-type.js +1 -1
  249. package/dist/esm/models/afnorsearch-siren-filters-siren.d.ts +1 -1
  250. package/dist/esm/models/afnorsearch-siren-filters-siren.js +1 -1
  251. package/dist/esm/models/afnorsearch-siren-filters.d.ts +1 -1
  252. package/dist/esm/models/afnorsearch-siren-filters.js +1 -1
  253. package/dist/esm/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
  254. package/dist/esm/models/afnorsearch-siren-sorting-inner.js +1 -1
  255. package/dist/esm/models/afnorsearch-siren.d.ts +1 -1
  256. package/dist/esm/models/afnorsearch-siren.js +1 -1
  257. package/dist/esm/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
  258. package/dist/esm/models/afnorsearch-siret-filters-address-lines.js +1 -1
  259. package/dist/esm/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
  260. package/dist/esm/models/afnorsearch-siret-filters-administrative-status.js +1 -1
  261. package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
  262. package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
  263. package/dist/esm/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
  264. package/dist/esm/models/afnorsearch-siret-filters-facility-type.js +1 -1
  265. package/dist/esm/models/afnorsearch-siret-filters-locality.d.ts +1 -1
  266. package/dist/esm/models/afnorsearch-siret-filters-locality.js +1 -1
  267. package/dist/esm/models/afnorsearch-siret-filters-name.d.ts +1 -1
  268. package/dist/esm/models/afnorsearch-siret-filters-name.js +1 -1
  269. package/dist/esm/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
  270. package/dist/esm/models/afnorsearch-siret-filters-postal-code.js +1 -1
  271. package/dist/esm/models/afnorsearch-siret-filters-siret.d.ts +1 -1
  272. package/dist/esm/models/afnorsearch-siret-filters-siret.js +1 -1
  273. package/dist/esm/models/afnorsearch-siret-filters.d.ts +1 -1
  274. package/dist/esm/models/afnorsearch-siret-filters.js +1 -1
  275. package/dist/esm/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
  276. package/dist/esm/models/afnorsearch-siret-sorting-inner.js +1 -1
  277. package/dist/esm/models/afnorsearch-siret.d.ts +1 -1
  278. package/dist/esm/models/afnorsearch-siret.js +1 -1
  279. package/dist/esm/models/afnorsiren-field.d.ts +1 -1
  280. package/dist/esm/models/afnorsiren-field.js +1 -1
  281. package/dist/esm/models/afnorsiren-search-post200-response.d.ts +1 -1
  282. package/dist/esm/models/afnorsiren-search-post200-response.js +1 -1
  283. package/dist/esm/models/afnorsiret-field.d.ts +1 -1
  284. package/dist/esm/models/afnorsiret-field.js +1 -1
  285. package/dist/esm/models/afnorsiret-search-post200-response.d.ts +1 -1
  286. package/dist/esm/models/afnorsiret-search-post200-response.js +1 -1
  287. package/dist/esm/models/afnorsorting-order.d.ts +1 -1
  288. package/dist/esm/models/afnorsorting-order.js +1 -1
  289. package/dist/esm/models/afnorstrict-operator.d.ts +1 -1
  290. package/dist/esm/models/afnorstrict-operator.js +1 -1
  291. package/dist/esm/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
  292. package/dist/esm/models/afnorupdate-patch-directory-line-body.js +1 -1
  293. package/dist/esm/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
  294. package/dist/esm/models/afnorupdate-patch-routing-code-body.js +1 -1
  295. package/dist/esm/models/afnorupdate-put-routing-code-body.d.ts +1 -1
  296. package/dist/esm/models/afnorupdate-put-routing-code-body.js +1 -1
  297. package/dist/esm/models/afnorwebhook-callback-content.d.ts +1 -1
  298. package/dist/esm/models/afnorwebhook-callback-content.js +1 -1
  299. package/dist/esm/models/aggregated-payment-input.d.ts +1 -1
  300. package/dist/esm/models/aggregated-payment-input.js +1 -1
  301. package/dist/esm/models/aggregated-transaction-input.d.ts +1 -1
  302. package/dist/esm/models/aggregated-transaction-input.js +1 -1
  303. package/dist/esm/models/allowance-charge-reason-code.d.ts +1 -1
  304. package/dist/esm/models/allowance-charge-reason-code.js +1 -1
  305. package/dist/esm/models/allowance-charge.d.ts +3 -3
  306. package/dist/esm/models/allowance-charge.js +1 -1
  307. package/dist/esm/models/allowance-reason-code.d.ts +1 -1
  308. package/dist/esm/models/allowance-reason-code.js +1 -1
  309. package/dist/esm/models/allowance-total-amount.d.ts +1 -1
  310. package/dist/esm/models/allowance-total-amount.js +1 -1
  311. package/dist/esm/models/amount-due.d.ts +1 -1
  312. package/dist/esm/models/amount-due.js +1 -1
  313. package/dist/esm/models/amount.d.ts +2 -2
  314. package/dist/esm/models/amount.js +1 -1
  315. package/dist/esm/models/amount1.d.ts +2 -2
  316. package/dist/esm/models/amount1.js +1 -1
  317. package/dist/esm/models/amount2.d.ts +16 -0
  318. package/dist/esm/models/amount2.js +14 -0
  319. package/dist/esm/models/apierror.d.ts +1 -1
  320. package/dist/esm/models/apierror.js +1 -1
  321. package/dist/esm/models/apiprofile.d.ts +1 -1
  322. package/dist/esm/models/apiprofile.js +1 -1
  323. package/dist/esm/models/async-task-status.d.ts +1 -1
  324. package/dist/esm/models/async-task-status.js +1 -1
  325. package/dist/esm/models/base-amount.d.ts +1 -1
  326. package/dist/esm/models/base-amount.js +1 -1
  327. package/dist/esm/models/bounding-box-schema.d.ts +1 -1
  328. package/dist/esm/models/bounding-box-schema.js +1 -1
  329. package/dist/esm/models/buyercountry.d.ts +2 -2
  330. package/dist/esm/models/buyercountry.js +1 -1
  331. package/dist/esm/models/celery-status.d.ts +1 -1
  332. package/dist/esm/models/celery-status.js +1 -1
  333. package/dist/esm/models/certificate-info-response.d.ts +1 -1
  334. package/dist/esm/models/certificate-info-response.js +1 -1
  335. package/dist/esm/models/charge-total-amount.d.ts +1 -1
  336. package/dist/esm/models/charge-total-amount.js +1 -1
  337. package/dist/esm/models/chorus-pro-credentials.d.ts +8 -20
  338. package/dist/esm/models/chorus-pro-credentials.js +1 -1
  339. package/dist/esm/models/chorus-pro-destination.d.ts +3 -3
  340. package/dist/esm/models/chorus-pro-destination.js +1 -1
  341. package/dist/esm/models/chorus-pro-result.d.ts +1 -1
  342. package/dist/esm/models/chorus-pro-result.js +1 -1
  343. package/dist/esm/models/client-activate-response.d.ts +28 -0
  344. package/dist/esm/models/client-activate-response.js +14 -0
  345. package/dist/esm/models/client-create-request.d.ts +22 -0
  346. package/dist/esm/models/client-create-request.js +14 -0
  347. package/dist/esm/models/client-detail.d.ts +48 -0
  348. package/dist/esm/models/client-detail.js +14 -0
  349. package/dist/esm/models/client-list-response.d.ts +33 -0
  350. package/dist/esm/models/client-list-response.js +14 -0
  351. package/dist/esm/models/client-summary.d.ts +48 -0
  352. package/dist/esm/models/client-summary.js +14 -0
  353. package/dist/esm/models/client-update-request.d.ts +19 -0
  354. package/dist/esm/models/client-update-request.js +14 -0
  355. package/dist/esm/models/contact.d.ts +1 -1
  356. package/dist/esm/models/contact.js +1 -1
  357. package/dist/esm/models/convert-resume-request.d.ts +1 -1
  358. package/dist/esm/models/convert-resume-request.js +1 -1
  359. package/dist/esm/models/convert-success-response.d.ts +1 -1
  360. package/dist/esm/models/convert-success-response.js +1 -1
  361. package/dist/esm/models/convert-validation-failed-response.d.ts +1 -1
  362. package/dist/esm/models/convert-validation-failed-response.js +1 -1
  363. package/dist/esm/models/country-code.d.ts +1 -1
  364. package/dist/esm/models/country-code.js +1 -1
  365. package/dist/esm/models/create-aggregated-report-request.d.ts +4 -2
  366. package/dist/esm/models/create-aggregated-report-request.js +1 -1
  367. package/dist/esm/models/create-cdarrequest.d.ts +1 -1
  368. package/dist/esm/models/create-cdarrequest.js +1 -1
  369. package/dist/esm/models/create-ereporting-request.d.ts +4 -2
  370. package/dist/esm/models/create-ereporting-request.js +1 -1
  371. package/dist/esm/models/currency-code.d.ts +1 -1
  372. package/dist/esm/models/currency-code.js +1 -1
  373. package/dist/esm/models/currency.d.ts +1 -1
  374. package/dist/esm/models/currency.js +1 -1
  375. package/dist/esm/models/delivery-party.d.ts +1 -1
  376. package/dist/esm/models/delivery-party.js +1 -1
  377. package/dist/esm/models/destination.d.ts +1 -1
  378. package/dist/esm/models/destination.js +1 -1
  379. package/dist/esm/models/doc-type.d.ts +1 -1
  380. package/dist/esm/models/doc-type.js +1 -1
  381. package/dist/esm/models/document-type-info.d.ts +1 -1
  382. package/dist/esm/models/document-type-info.js +1 -1
  383. package/dist/esm/models/electronic-address.d.ts +1 -1
  384. package/dist/esm/models/electronic-address.js +1 -1
  385. package/dist/esm/models/encaisseamount.d.ts +1 -1
  386. package/dist/esm/models/encaisseamount.js +1 -1
  387. package/dist/esm/models/encaisseamount1.d.ts +1 -1
  388. package/dist/esm/models/encaisseamount1.js +1 -1
  389. package/dist/esm/models/encaissee-request.d.ts +47 -0
  390. package/dist/esm/models/encaissee-request.js +14 -0
  391. package/dist/esm/models/enriched-invoice-info.d.ts +1 -1
  392. package/dist/esm/models/enriched-invoice-info.js +1 -1
  393. package/dist/esm/models/ereporting-flow-type.d.ts +1 -1
  394. package/dist/esm/models/ereporting-flow-type.js +1 -1
  395. package/dist/esm/models/ereporting-validation-error.d.ts +1 -1
  396. package/dist/esm/models/ereporting-validation-error.js +1 -1
  397. package/dist/esm/models/error-level.d.ts +1 -1
  398. package/dist/esm/models/error-level.js +1 -1
  399. package/dist/esm/models/error-source.d.ts +2 -1
  400. package/dist/esm/models/error-source.js +2 -1
  401. package/dist/esm/models/extraction-info.d.ts +1 -1
  402. package/dist/esm/models/extraction-info.js +1 -1
  403. package/dist/esm/models/factur-xinvoice.d.ts +2 -2
  404. package/dist/esm/models/factur-xinvoice.js +1 -1
  405. package/dist/esm/models/factur-xpdfinfo.d.ts +1 -1
  406. package/dist/esm/models/factur-xpdfinfo.js +1 -1
  407. package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +1 -1
  408. package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +1 -1
  409. package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +36 -0
  410. package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +14 -0
  411. package/dist/esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts +22 -0
  412. package/dist/esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +23 -0
  413. package/dist/esm/models/field-status.d.ts +1 -1
  414. package/dist/esm/models/field-status.js +1 -1
  415. package/dist/esm/models/file-info.d.ts +1 -1
  416. package/dist/esm/models/file-info.js +1 -1
  417. package/dist/esm/models/files-info.d.ts +1 -1
  418. package/dist/esm/models/files-info.js +1 -1
  419. package/dist/esm/models/flow-direction.d.ts +1 -1
  420. package/dist/esm/models/flow-direction.js +1 -1
  421. package/dist/esm/models/flow-profile.d.ts +1 -1
  422. package/dist/esm/models/flow-profile.js +1 -1
  423. package/dist/esm/models/flow-summary.d.ts +1 -1
  424. package/dist/esm/models/flow-summary.js +1 -1
  425. package/dist/esm/models/flow-syntax.d.ts +1 -1
  426. package/dist/esm/models/flow-syntax.js +1 -1
  427. package/dist/esm/models/flow-type.d.ts +1 -1
  428. package/dist/esm/models/flow-type.js +1 -1
  429. package/dist/esm/models/generate-aggregated-report-response.d.ts +1 -1
  430. package/dist/esm/models/generate-aggregated-report-response.js +1 -1
  431. package/dist/esm/models/generate-cdarresponse.d.ts +1 -1
  432. package/dist/esm/models/generate-cdarresponse.js +1 -1
  433. package/dist/esm/models/generate-certificate-request.d.ts +1 -1
  434. package/dist/esm/models/generate-certificate-request.js +1 -1
  435. package/dist/esm/models/generate-certificate-response.d.ts +1 -1
  436. package/dist/esm/models/generate-certificate-response.js +1 -1
  437. package/dist/esm/models/generate-ereporting-response.d.ts +1 -1
  438. package/dist/esm/models/generate-ereporting-response.js +1 -1
  439. package/dist/esm/models/get-chorus-pro-id-request.d.ts +3 -3
  440. package/dist/esm/models/get-chorus-pro-id-request.js +1 -1
  441. package/dist/esm/models/get-chorus-pro-id-response.d.ts +1 -1
  442. package/dist/esm/models/get-chorus-pro-id-response.js +1 -1
  443. package/dist/esm/models/get-invoice-request.d.ts +3 -3
  444. package/dist/esm/models/get-invoice-request.js +1 -1
  445. package/dist/esm/models/get-invoice-response.d.ts +1 -1
  446. package/dist/esm/models/get-invoice-response.js +1 -1
  447. package/dist/esm/models/get-structure-request.d.ts +3 -3
  448. package/dist/esm/models/get-structure-request.js +1 -1
  449. package/dist/esm/models/get-structure-response.d.ts +1 -1
  450. package/dist/esm/models/get-structure-response.js +1 -1
  451. package/dist/esm/models/global-allowance-amount.d.ts +1 -1
  452. package/dist/esm/models/global-allowance-amount.js +1 -1
  453. package/dist/esm/models/gross-unit-price.d.ts +1 -1
  454. package/dist/esm/models/gross-unit-price.js +1 -1
  455. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  456. package/dist/esm/models/httpvalidation-error.js +1 -1
  457. package/dist/esm/models/incoming-invoice.d.ts +1 -1
  458. package/dist/esm/models/incoming-invoice.js +1 -1
  459. package/dist/esm/models/incoming-supplier.d.ts +1 -1
  460. package/dist/esm/models/incoming-supplier.js +1 -1
  461. package/dist/esm/models/index.d.ts +17 -4
  462. package/dist/esm/models/index.js +17 -4
  463. package/dist/esm/models/invoice-format.d.ts +1 -1
  464. package/dist/esm/models/invoice-format.js +1 -1
  465. package/dist/esm/models/invoice-input.d.ts +6 -8
  466. package/dist/esm/models/invoice-input.js +1 -1
  467. package/dist/esm/models/invoice-line-allowance-amount.d.ts +1 -1
  468. package/dist/esm/models/invoice-line-allowance-amount.js +1 -1
  469. package/dist/esm/models/invoice-line.d.ts +1 -1
  470. package/dist/esm/models/invoice-line.js +1 -1
  471. package/dist/esm/models/invoice-note.d.ts +1 -1
  472. package/dist/esm/models/invoice-note.js +1 -1
  473. package/dist/esm/models/invoice-payment-input.d.ts +1 -1
  474. package/dist/esm/models/invoice-payment-input.js +1 -1
  475. package/dist/esm/models/invoice-references.d.ts +1 -1
  476. package/dist/esm/models/invoice-references.js +1 -1
  477. package/dist/esm/models/invoice-status.d.ts +1 -1
  478. package/dist/esm/models/invoice-status.js +1 -1
  479. package/dist/esm/models/invoice-totals-prepayment.d.ts +1 -1
  480. package/dist/esm/models/invoice-totals-prepayment.js +1 -1
  481. package/dist/esm/models/invoice-totals.d.ts +1 -1
  482. package/dist/esm/models/invoice-totals.js +1 -1
  483. package/dist/esm/models/invoice-type-code-output.d.ts +1 -1
  484. package/dist/esm/models/invoice-type-code-output.js +1 -1
  485. package/dist/esm/models/invoice-type-code.d.ts +66 -7
  486. package/dist/esm/models/invoice-type-code.js +66 -7
  487. package/dist/esm/models/invoicing-framework-code.d.ts +1 -1
  488. package/dist/esm/models/invoicing-framework-code.js +1 -1
  489. package/dist/esm/models/invoicing-framework.d.ts +1 -1
  490. package/dist/esm/models/invoicing-framework.js +1 -1
  491. package/dist/esm/models/issuer-role-code.d.ts +19 -0
  492. package/dist/esm/models/issuer-role-code.js +20 -0
  493. package/dist/esm/models/line-net-amount.d.ts +1 -1
  494. package/dist/esm/models/line-net-amount.js +1 -1
  495. package/dist/esm/models/line-sub-type.d.ts +1 -1
  496. package/dist/esm/models/line-sub-type.js +1 -1
  497. package/dist/esm/models/line-total-amount.d.ts +1 -1
  498. package/dist/esm/models/line-total-amount.js +1 -1
  499. package/dist/esm/models/location-inner.d.ts +1 -1
  500. package/dist/esm/models/location-inner.js +1 -1
  501. package/dist/esm/models/mandatory-note-schema.d.ts +1 -1
  502. package/dist/esm/models/mandatory-note-schema.js +1 -1
  503. package/dist/esm/models/manual-rate.d.ts +1 -1
  504. package/dist/esm/models/manual-rate.js +1 -1
  505. package/dist/esm/models/manual-vat-rate.d.ts +1 -1
  506. package/dist/esm/models/manual-vat-rate.js +1 -1
  507. package/dist/esm/models/missing-field.d.ts +1 -1
  508. package/dist/esm/models/missing-field.js +1 -1
  509. package/dist/esm/models/operation-nature.d.ts +1 -1
  510. package/dist/esm/models/operation-nature.js +1 -1
  511. package/dist/esm/models/output-format.d.ts +1 -1
  512. package/dist/esm/models/output-format.js +1 -1
  513. package/dist/esm/models/page-dimensions-schema.d.ts +1 -1
  514. package/dist/esm/models/page-dimensions-schema.js +1 -1
  515. package/dist/esm/models/payee.d.ts +1 -1
  516. package/dist/esm/models/payee.js +1 -1
  517. package/dist/esm/models/payment-amount-by-rate.d.ts +3 -3
  518. package/dist/esm/models/payment-amount-by-rate.js +1 -1
  519. package/dist/esm/models/payment-card.d.ts +1 -1
  520. package/dist/esm/models/payment-card.js +1 -1
  521. package/dist/esm/models/payment-means.d.ts +1 -1
  522. package/dist/esm/models/payment-means.js +1 -1
  523. package/dist/esm/models/pdfvalidation-result-api.d.ts +1 -1
  524. package/dist/esm/models/pdfvalidation-result-api.js +1 -1
  525. package/dist/esm/models/pdpconfig-response.d.ts +34 -0
  526. package/dist/esm/models/pdpconfig-response.js +14 -0
  527. package/dist/esm/models/pdpconfig-update-request.d.ts +40 -0
  528. package/dist/esm/models/pdpconfig-update-request.js +14 -0
  529. package/dist/esm/models/pdpcredentials.d.ts +1 -1
  530. package/dist/esm/models/pdpcredentials.js +1 -1
  531. package/dist/esm/models/percentage.d.ts +1 -1
  532. package/dist/esm/models/percentage.js +1 -1
  533. package/dist/esm/models/postal-address.d.ts +1 -1
  534. package/dist/esm/models/postal-address.js +1 -1
  535. package/dist/esm/models/price-allowance-amount.d.ts +1 -1
  536. package/dist/esm/models/price-allowance-amount.js +1 -1
  537. package/dist/esm/models/price-basis-quantity.d.ts +1 -1
  538. package/dist/esm/models/price-basis-quantity.js +1 -1
  539. package/dist/esm/models/processing-options.d.ts +1 -1
  540. package/dist/esm/models/processing-options.js +1 -1
  541. package/dist/esm/models/processing-rule.d.ts +1 -1
  542. package/dist/esm/models/processing-rule.js +1 -1
  543. package/dist/esm/models/product-characteristic.d.ts +1 -1
  544. package/dist/esm/models/product-characteristic.js +1 -1
  545. package/dist/esm/models/product-classification.d.ts +1 -1
  546. package/dist/esm/models/product-classification.js +1 -1
  547. package/dist/esm/models/quantity.d.ts +1 -1
  548. package/dist/esm/models/quantity.js +1 -1
  549. package/dist/esm/models/rate.d.ts +1 -1
  550. package/dist/esm/models/rate.js +1 -1
  551. package/dist/esm/models/rate1.d.ts +1 -1
  552. package/dist/esm/models/rate1.js +1 -1
  553. package/dist/esm/models/reason-code-info.d.ts +1 -1
  554. package/dist/esm/models/reason-code-info.js +1 -1
  555. package/dist/esm/models/reason-codes-response.d.ts +1 -1
  556. package/dist/esm/models/reason-codes-response.js +1 -1
  557. package/dist/esm/models/recipient-input.d.ts +1 -1
  558. package/dist/esm/models/recipient-input.js +1 -1
  559. package/dist/esm/models/recipient.d.ts +1 -1
  560. package/dist/esm/models/recipient.js +1 -1
  561. package/dist/esm/models/refusee-request.d.ts +46 -0
  562. package/dist/esm/models/refusee-request.js +14 -0
  563. package/dist/esm/models/report-issuer.d.ts +27 -0
  564. package/dist/esm/models/report-issuer.js +14 -0
  565. package/dist/esm/models/report-period.d.ts +1 -1
  566. package/dist/esm/models/report-period.js +1 -1
  567. package/dist/esm/models/report-sender.d.ts +3 -3
  568. package/dist/esm/models/report-sender.js +1 -1
  569. package/dist/esm/models/rounding-amount.d.ts +1 -1
  570. package/dist/esm/models/rounding-amount.js +1 -1
  571. package/dist/esm/models/schematron-validation-error.d.ts +1 -1
  572. package/dist/esm/models/schematron-validation-error.js +1 -1
  573. package/dist/esm/models/scheme-id.d.ts +1 -1
  574. package/dist/esm/models/scheme-id.js +1 -1
  575. package/dist/esm/models/search-flow-request.d.ts +1 -1
  576. package/dist/esm/models/search-flow-request.js +1 -1
  577. package/dist/esm/models/search-flow-response.d.ts +1 -1
  578. package/dist/esm/models/search-flow-response.js +1 -1
  579. package/dist/esm/models/search-services-response.d.ts +1 -1
  580. package/dist/esm/models/search-services-response.js +1 -1
  581. package/dist/esm/models/search-structure-request.d.ts +3 -3
  582. package/dist/esm/models/search-structure-request.js +1 -1
  583. package/dist/esm/models/search-structure-response.d.ts +1 -1
  584. package/dist/esm/models/search-structure-response.js +1 -1
  585. package/dist/esm/models/secret-status.d.ts +24 -0
  586. package/dist/esm/models/secret-status.js +14 -0
  587. package/dist/esm/models/sellercountry.d.ts +2 -2
  588. package/dist/esm/models/sellercountry.js +1 -1
  589. package/dist/esm/models/signature-info-api.d.ts +1 -1
  590. package/dist/esm/models/signature-info-api.js +1 -1
  591. package/dist/esm/models/signature-info.d.ts +1 -1
  592. package/dist/esm/models/signature-info.js +1 -1
  593. package/dist/esm/models/signature-parameters.d.ts +1 -1
  594. package/dist/esm/models/signature-parameters.js +1 -1
  595. package/dist/esm/models/simplified-cdarresponse.d.ts +36 -0
  596. package/dist/esm/models/simplified-cdarresponse.js +14 -0
  597. package/dist/esm/models/simplified-invoice-data.d.ts +3 -3
  598. package/dist/esm/models/simplified-invoice-data.js +1 -1
  599. package/dist/esm/models/status-code-info.d.ts +1 -1
  600. package/dist/esm/models/status-code-info.js +1 -1
  601. package/dist/esm/models/status-codes-response.d.ts +1 -1
  602. package/dist/esm/models/status-codes-response.js +1 -1
  603. package/dist/esm/models/structure-info.d.ts +1 -1
  604. package/dist/esm/models/structure-info.js +1 -1
  605. package/dist/esm/models/structure-parameters.d.ts +1 -1
  606. package/dist/esm/models/structure-parameters.js +1 -1
  607. package/dist/esm/models/structure-service.d.ts +1 -1
  608. package/dist/esm/models/structure-service.js +1 -1
  609. package/dist/esm/models/submission-mode.d.ts +1 -1
  610. package/dist/esm/models/submission-mode.js +1 -1
  611. package/dist/esm/models/submit-aggregated-report-request.d.ts +1 -1
  612. package/dist/esm/models/submit-aggregated-report-request.js +1 -1
  613. package/dist/esm/models/submit-cdarrequest.d.ts +5 -1
  614. package/dist/esm/models/submit-cdarrequest.js +1 -1
  615. package/dist/esm/models/submit-cdarresponse.d.ts +1 -1
  616. package/dist/esm/models/submit-cdarresponse.js +1 -1
  617. package/dist/esm/models/submit-cdarxmlrequest.d.ts +5 -1
  618. package/dist/esm/models/submit-cdarxmlrequest.js +1 -1
  619. package/dist/esm/models/submit-complete-invoice-request.d.ts +1 -1
  620. package/dist/esm/models/submit-complete-invoice-request.js +1 -1
  621. package/dist/esm/models/submit-complete-invoice-response.d.ts +1 -1
  622. package/dist/esm/models/submit-complete-invoice-response.js +1 -1
  623. package/dist/esm/models/submit-ereporting-request.d.ts +1 -1
  624. package/dist/esm/models/submit-ereporting-request.js +1 -1
  625. package/dist/esm/models/submit-ereporting-response.d.ts +1 -1
  626. package/dist/esm/models/submit-ereporting-response.js +1 -1
  627. package/dist/esm/models/submit-flow-request.d.ts +1 -1
  628. package/dist/esm/models/submit-flow-request.js +1 -1
  629. package/dist/esm/models/submit-flow-response.d.ts +1 -1
  630. package/dist/esm/models/submit-flow-response.js +1 -1
  631. package/dist/esm/models/submit-gross-amount.d.ts +1 -1
  632. package/dist/esm/models/submit-gross-amount.js +1 -1
  633. package/dist/esm/models/submit-invoice-request.d.ts +3 -3
  634. package/dist/esm/models/submit-invoice-request.js +1 -1
  635. package/dist/esm/models/submit-invoice-response.d.ts +1 -1
  636. package/dist/esm/models/submit-invoice-response.js +1 -1
  637. package/dist/esm/models/submit-net-amount.d.ts +1 -1
  638. package/dist/esm/models/submit-net-amount.js +1 -1
  639. package/dist/esm/models/submit-vat-amount.d.ts +1 -1
  640. package/dist/esm/models/submit-vat-amount.js +1 -1
  641. package/dist/esm/models/supplementary-attachment.d.ts +1 -1
  642. package/dist/esm/models/supplementary-attachment.js +1 -1
  643. package/dist/esm/models/supplier.d.ts +1 -1
  644. package/dist/esm/models/supplier.js +1 -1
  645. package/dist/esm/models/task-response.d.ts +1 -1
  646. package/dist/esm/models/task-response.js +1 -1
  647. package/dist/esm/models/tax-breakdown-input.d.ts +1 -1
  648. package/dist/esm/models/tax-breakdown-input.js +1 -1
  649. package/dist/esm/models/tax-due-date-type.d.ts +1 -1
  650. package/dist/esm/models/tax-due-date-type.js +1 -1
  651. package/dist/esm/models/tax-representative.d.ts +1 -1
  652. package/dist/esm/models/tax-representative.js +1 -1
  653. package/dist/esm/models/taxable-amount.d.ts +1 -1
  654. package/dist/esm/models/taxable-amount.js +1 -1
  655. package/dist/esm/models/taxableamount.d.ts +1 -1
  656. package/dist/esm/models/taxableamount.js +1 -1
  657. package/dist/esm/models/taxamount.d.ts +1 -1
  658. package/dist/esm/models/taxamount.js +1 -1
  659. package/dist/esm/models/taxamount1.d.ts +1 -1
  660. package/dist/esm/models/taxamount1.js +1 -1
  661. package/dist/esm/models/taxamount2.d.ts +1 -1
  662. package/dist/esm/models/taxamount2.js +1 -1
  663. package/dist/esm/models/taxexclusiveamount.d.ts +1 -1
  664. package/dist/esm/models/taxexclusiveamount.js +1 -1
  665. package/dist/esm/models/taxexclusiveamount1.d.ts +1 -1
  666. package/dist/esm/models/taxexclusiveamount1.js +1 -1
  667. package/dist/esm/models/total-gross-amount.d.ts +1 -1
  668. package/dist/esm/models/total-gross-amount.js +1 -1
  669. package/dist/esm/models/total-net-amount.d.ts +1 -1
  670. package/dist/esm/models/total-net-amount.js +1 -1
  671. package/dist/esm/models/total-vatamount.d.ts +1 -1
  672. package/dist/esm/models/total-vatamount.js +1 -1
  673. package/dist/esm/models/transaction-category.d.ts +1 -1
  674. package/dist/esm/models/transaction-category.js +1 -1
  675. package/dist/esm/models/transmission-type-code.d.ts +1 -1
  676. package/dist/esm/models/transmission-type-code.js +1 -1
  677. package/dist/esm/models/unit-net-price.d.ts +1 -1
  678. package/dist/esm/models/unit-net-price.js +1 -1
  679. package/dist/esm/models/unit-of-measure.d.ts +1 -1
  680. package/dist/esm/models/unit-of-measure.js +1 -1
  681. package/dist/esm/models/validate-cdarrequest.d.ts +1 -1
  682. package/dist/esm/models/validate-cdarrequest.js +1 -1
  683. package/dist/esm/models/validate-cdarresponse.d.ts +1 -1
  684. package/dist/esm/models/validate-cdarresponse.js +1 -1
  685. package/dist/esm/models/validate-ereporting-request.d.ts +1 -1
  686. package/dist/esm/models/validate-ereporting-request.js +1 -1
  687. package/dist/esm/models/validate-ereporting-response.d.ts +1 -1
  688. package/dist/esm/models/validate-ereporting-response.js +1 -1
  689. package/dist/esm/models/validation-error-detail.d.ts +1 -1
  690. package/dist/esm/models/validation-error-detail.js +1 -1
  691. package/dist/esm/models/validation-error-response.d.ts +1 -1
  692. package/dist/esm/models/validation-error-response.js +1 -1
  693. package/dist/esm/models/validation-error.d.ts +1 -1
  694. package/dist/esm/models/validation-error.js +1 -1
  695. package/dist/esm/models/validation-info.d.ts +1 -1
  696. package/dist/esm/models/validation-info.js +1 -1
  697. package/dist/esm/models/validation-success-response.d.ts +1 -1
  698. package/dist/esm/models/validation-success-response.js +1 -1
  699. package/dist/esm/models/vat-rate.d.ts +1 -1
  700. package/dist/esm/models/vat-rate.js +1 -1
  701. package/dist/esm/models/vataccounting-code.d.ts +1 -1
  702. package/dist/esm/models/vataccounting-code.js +1 -1
  703. package/dist/esm/models/vatamount.d.ts +1 -1
  704. package/dist/esm/models/vatamount.js +1 -1
  705. package/dist/esm/models/vatcategory.d.ts +1 -1
  706. package/dist/esm/models/vatcategory.js +1 -1
  707. package/dist/esm/models/vatline.d.ts +1 -1
  708. package/dist/esm/models/vatline.js +1 -1
  709. package/dist/esm/models/vatpoint-date-code.d.ts +1 -1
  710. package/dist/esm/models/vatpoint-date-code.js +1 -1
  711. package/dist/esm/models/verification-success-response.d.ts +1 -1
  712. package/dist/esm/models/verification-success-response.js +1 -1
  713. package/dist/esm/models/verified-field-schema.d.ts +1 -1
  714. package/dist/esm/models/verified-field-schema.js +1 -1
  715. package/dist/esm/src/helpers/client.d.ts +3 -1
  716. package/dist/esm/src/helpers/client.js +28 -7
  717. package/dist/esm/src/helpers/exceptions.d.ts +3 -1
  718. package/dist/esm/src/helpers/exceptions.js +7 -1
  719. package/dist/index.d.ts +1 -1
  720. package/dist/index.js +1 -1
  721. package/dist/models/acknowledgment-status.d.ts +1 -1
  722. package/dist/models/acknowledgment-status.js +1 -1
  723. package/dist/models/action-code-info.d.ts +1 -1
  724. package/dist/models/action-code-info.js +1 -1
  725. package/dist/models/action-codes-response.d.ts +1 -1
  726. package/dist/models/action-codes-response.js +1 -1
  727. package/dist/models/additional-document.d.ts +1 -1
  728. package/dist/models/additional-document.js +1 -1
  729. package/dist/models/afnoracknowledgement-detail.d.ts +1 -1
  730. package/dist/models/afnoracknowledgement-detail.js +1 -1
  731. package/dist/models/afnoracknowledgement.d.ts +1 -1
  732. package/dist/models/afnoracknowledgement.js +1 -1
  733. package/dist/models/afnoraddress-edit.d.ts +1 -1
  734. package/dist/models/afnoraddress-edit.js +1 -1
  735. package/dist/models/afnoraddress-patch.d.ts +1 -1
  736. package/dist/models/afnoraddress-patch.js +1 -1
  737. package/dist/models/afnoraddress-put.d.ts +1 -1
  738. package/dist/models/afnoraddress-put.js +1 -1
  739. package/dist/models/afnoraddress-read.d.ts +1 -1
  740. package/dist/models/afnoraddress-read.js +1 -1
  741. package/dist/models/afnoralgorithm.d.ts +1 -1
  742. package/dist/models/afnoralgorithm.js +1 -1
  743. package/dist/models/afnorcontains-operator.d.ts +1 -1
  744. package/dist/models/afnorcontains-operator.js +1 -1
  745. package/dist/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
  746. package/dist/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
  747. package/dist/models/afnorcreate-directory-line-body-period.d.ts +1 -1
  748. package/dist/models/afnorcreate-directory-line-body-period.js +1 -1
  749. package/dist/models/afnorcreate-directory-line-body.d.ts +1 -1
  750. package/dist/models/afnorcreate-directory-line-body.js +1 -1
  751. package/dist/models/afnorcreate-routing-code-body.d.ts +1 -1
  752. package/dist/models/afnorcreate-routing-code-body.js +1 -1
  753. package/dist/models/afnorcredentials.d.ts +1 -1
  754. package/dist/models/afnorcredentials.js +1 -1
  755. package/dist/models/afnordestination.d.ts +1 -1
  756. package/dist/models/afnordestination.js +1 -1
  757. package/dist/models/afnordiffusion-status.d.ts +1 -1
  758. package/dist/models/afnordiffusion-status.js +1 -1
  759. package/dist/models/afnordirectory-line-field.d.ts +1 -1
  760. package/dist/models/afnordirectory-line-field.js +1 -1
  761. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
  762. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
  763. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
  764. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
  765. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
  766. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
  767. package/dist/models/afnordirectory-line-post201-response.d.ts +1 -1
  768. package/dist/models/afnordirectory-line-post201-response.js +1 -1
  769. package/dist/models/afnordirectory-line-search-post200-response.d.ts +1 -1
  770. package/dist/models/afnordirectory-line-search-post200-response.js +1 -1
  771. package/dist/models/afnorentity-type.d.ts +1 -1
  772. package/dist/models/afnorentity-type.js +1 -1
  773. package/dist/models/afnorerror.d.ts +1 -1
  774. package/dist/models/afnorerror.js +1 -1
  775. package/dist/models/afnorfacility-administrative-status.d.ts +1 -1
  776. package/dist/models/afnorfacility-administrative-status.js +1 -1
  777. package/dist/models/afnorfacility-nature.d.ts +1 -1
  778. package/dist/models/afnorfacility-nature.js +1 -1
  779. package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
  780. package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
  781. package/dist/models/afnorfacility-payload-history.d.ts +1 -1
  782. package/dist/models/afnorfacility-payload-history.js +1 -1
  783. package/dist/models/afnorfacility-payload-included.d.ts +1 -1
  784. package/dist/models/afnorfacility-payload-included.js +1 -1
  785. package/dist/models/afnorfacility-type.d.ts +1 -1
  786. package/dist/models/afnorfacility-type.js +1 -1
  787. package/dist/models/afnorflow-ack-status.d.ts +1 -1
  788. package/dist/models/afnorflow-ack-status.js +1 -1
  789. package/dist/models/afnorflow-direction.d.ts +1 -1
  790. package/dist/models/afnorflow-direction.js +1 -1
  791. package/dist/models/afnorflow-info.d.ts +1 -1
  792. package/dist/models/afnorflow-info.js +1 -1
  793. package/dist/models/afnorflow-profile.d.ts +1 -1
  794. package/dist/models/afnorflow-profile.js +1 -1
  795. package/dist/models/afnorflow-syntax.d.ts +1 -1
  796. package/dist/models/afnorflow-syntax.js +1 -1
  797. package/dist/models/afnorflow-type.d.ts +1 -1
  798. package/dist/models/afnorflow-type.js +1 -1
  799. package/dist/models/afnorflow.d.ts +1 -1
  800. package/dist/models/afnorflow.js +1 -1
  801. package/dist/models/afnorfull-flow-info.d.ts +1 -1
  802. package/dist/models/afnorfull-flow-info.js +1 -1
  803. package/dist/models/afnorhealth-check-response.d.ts +1 -1
  804. package/dist/models/afnorhealth-check-response.js +1 -1
  805. package/dist/models/afnorlegal-unit-administrative-status.d.ts +1 -1
  806. package/dist/models/afnorlegal-unit-administrative-status.js +1 -1
  807. package/dist/models/afnorlegal-unit-payload-history.d.ts +1 -1
  808. package/dist/models/afnorlegal-unit-payload-history.js +1 -1
  809. package/dist/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
  810. package/dist/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
  811. package/dist/models/afnorlegal-unit-payload-included.d.ts +1 -1
  812. package/dist/models/afnorlegal-unit-payload-included.js +1 -1
  813. package/dist/models/afnorplatform-status.d.ts +1 -1
  814. package/dist/models/afnorplatform-status.js +1 -1
  815. package/dist/models/afnorprocessing-rule.d.ts +1 -1
  816. package/dist/models/afnorprocessing-rule.js +1 -1
  817. package/dist/models/afnorreason-code-enum.d.ts +1 -1
  818. package/dist/models/afnorreason-code-enum.js +1 -1
  819. package/dist/models/afnorreason-code.d.ts +1 -1
  820. package/dist/models/afnorreason-code.js +1 -1
  821. package/dist/models/afnorrecipient-platform-type.d.ts +1 -1
  822. package/dist/models/afnorrecipient-platform-type.js +1 -1
  823. package/dist/models/afnorresult.d.ts +1 -1
  824. package/dist/models/afnorresult.js +1 -1
  825. package/dist/models/afnorrouting-code-administrative-status.d.ts +1 -1
  826. package/dist/models/afnorrouting-code-administrative-status.js +1 -1
  827. package/dist/models/afnorrouting-code-field.d.ts +1 -1
  828. package/dist/models/afnorrouting-code-field.js +1 -1
  829. package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
  830. package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
  831. package/dist/models/afnorrouting-code-post201-response.d.ts +1 -1
  832. package/dist/models/afnorrouting-code-post201-response.js +1 -1
  833. package/dist/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
  834. package/dist/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
  835. package/dist/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
  836. package/dist/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
  837. package/dist/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
  838. package/dist/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
  839. package/dist/models/afnorrouting-code-search-filters.d.ts +1 -1
  840. package/dist/models/afnorrouting-code-search-filters.js +1 -1
  841. package/dist/models/afnorrouting-code-search-post200-response.d.ts +1 -1
  842. package/dist/models/afnorrouting-code-search-post200-response.js +1 -1
  843. package/dist/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
  844. package/dist/models/afnorrouting-code-search-sorting-inner.js +1 -1
  845. package/dist/models/afnorrouting-code-search.d.ts +1 -1
  846. package/dist/models/afnorrouting-code-search.js +1 -1
  847. package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
  848. package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
  849. package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
  850. package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
  851. package/dist/models/afnorsearch-directory-line-filters.d.ts +1 -1
  852. package/dist/models/afnorsearch-directory-line-filters.js +1 -1
  853. package/dist/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
  854. package/dist/models/afnorsearch-directory-line-sorting-inner.js +1 -1
  855. package/dist/models/afnorsearch-directory-line.d.ts +1 -1
  856. package/dist/models/afnorsearch-directory-line.js +1 -1
  857. package/dist/models/afnorsearch-flow-content.d.ts +1 -1
  858. package/dist/models/afnorsearch-flow-content.js +1 -1
  859. package/dist/models/afnorsearch-flow-filters.d.ts +1 -1
  860. package/dist/models/afnorsearch-flow-filters.js +1 -1
  861. package/dist/models/afnorsearch-flow-params.d.ts +1 -1
  862. package/dist/models/afnorsearch-flow-params.js +1 -1
  863. package/dist/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
  864. package/dist/models/afnorsearch-siren-filters-administrative-status.js +1 -1
  865. package/dist/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
  866. package/dist/models/afnorsearch-siren-filters-business-name.js +1 -1
  867. package/dist/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
  868. package/dist/models/afnorsearch-siren-filters-entity-type.js +1 -1
  869. package/dist/models/afnorsearch-siren-filters-siren.d.ts +1 -1
  870. package/dist/models/afnorsearch-siren-filters-siren.js +1 -1
  871. package/dist/models/afnorsearch-siren-filters.d.ts +1 -1
  872. package/dist/models/afnorsearch-siren-filters.js +1 -1
  873. package/dist/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
  874. package/dist/models/afnorsearch-siren-sorting-inner.js +1 -1
  875. package/dist/models/afnorsearch-siren.d.ts +1 -1
  876. package/dist/models/afnorsearch-siren.js +1 -1
  877. package/dist/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
  878. package/dist/models/afnorsearch-siret-filters-address-lines.js +1 -1
  879. package/dist/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
  880. package/dist/models/afnorsearch-siret-filters-administrative-status.js +1 -1
  881. package/dist/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
  882. package/dist/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
  883. package/dist/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
  884. package/dist/models/afnorsearch-siret-filters-facility-type.js +1 -1
  885. package/dist/models/afnorsearch-siret-filters-locality.d.ts +1 -1
  886. package/dist/models/afnorsearch-siret-filters-locality.js +1 -1
  887. package/dist/models/afnorsearch-siret-filters-name.d.ts +1 -1
  888. package/dist/models/afnorsearch-siret-filters-name.js +1 -1
  889. package/dist/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
  890. package/dist/models/afnorsearch-siret-filters-postal-code.js +1 -1
  891. package/dist/models/afnorsearch-siret-filters-siret.d.ts +1 -1
  892. package/dist/models/afnorsearch-siret-filters-siret.js +1 -1
  893. package/dist/models/afnorsearch-siret-filters.d.ts +1 -1
  894. package/dist/models/afnorsearch-siret-filters.js +1 -1
  895. package/dist/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
  896. package/dist/models/afnorsearch-siret-sorting-inner.js +1 -1
  897. package/dist/models/afnorsearch-siret.d.ts +1 -1
  898. package/dist/models/afnorsearch-siret.js +1 -1
  899. package/dist/models/afnorsiren-field.d.ts +1 -1
  900. package/dist/models/afnorsiren-field.js +1 -1
  901. package/dist/models/afnorsiren-search-post200-response.d.ts +1 -1
  902. package/dist/models/afnorsiren-search-post200-response.js +1 -1
  903. package/dist/models/afnorsiret-field.d.ts +1 -1
  904. package/dist/models/afnorsiret-field.js +1 -1
  905. package/dist/models/afnorsiret-search-post200-response.d.ts +1 -1
  906. package/dist/models/afnorsiret-search-post200-response.js +1 -1
  907. package/dist/models/afnorsorting-order.d.ts +1 -1
  908. package/dist/models/afnorsorting-order.js +1 -1
  909. package/dist/models/afnorstrict-operator.d.ts +1 -1
  910. package/dist/models/afnorstrict-operator.js +1 -1
  911. package/dist/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
  912. package/dist/models/afnorupdate-patch-directory-line-body.js +1 -1
  913. package/dist/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
  914. package/dist/models/afnorupdate-patch-routing-code-body.js +1 -1
  915. package/dist/models/afnorupdate-put-routing-code-body.d.ts +1 -1
  916. package/dist/models/afnorupdate-put-routing-code-body.js +1 -1
  917. package/dist/models/afnorwebhook-callback-content.d.ts +1 -1
  918. package/dist/models/afnorwebhook-callback-content.js +1 -1
  919. package/dist/models/aggregated-payment-input.d.ts +1 -1
  920. package/dist/models/aggregated-payment-input.js +1 -1
  921. package/dist/models/aggregated-transaction-input.d.ts +1 -1
  922. package/dist/models/aggregated-transaction-input.js +1 -1
  923. package/dist/models/allowance-charge-reason-code.d.ts +1 -1
  924. package/dist/models/allowance-charge-reason-code.js +1 -1
  925. package/dist/models/allowance-charge.d.ts +3 -3
  926. package/dist/models/allowance-charge.js +1 -1
  927. package/dist/models/allowance-reason-code.d.ts +1 -1
  928. package/dist/models/allowance-reason-code.js +1 -1
  929. package/dist/models/allowance-total-amount.d.ts +1 -1
  930. package/dist/models/allowance-total-amount.js +1 -1
  931. package/dist/models/amount-due.d.ts +1 -1
  932. package/dist/models/amount-due.js +1 -1
  933. package/dist/models/amount.d.ts +2 -2
  934. package/dist/models/amount.js +1 -1
  935. package/dist/models/amount1.d.ts +2 -2
  936. package/dist/models/amount1.js +1 -1
  937. package/dist/models/amount2.d.ts +16 -0
  938. package/dist/models/amount2.js +15 -0
  939. package/dist/models/apierror.d.ts +1 -1
  940. package/dist/models/apierror.js +1 -1
  941. package/dist/models/apiprofile.d.ts +1 -1
  942. package/dist/models/apiprofile.js +1 -1
  943. package/dist/models/async-task-status.d.ts +1 -1
  944. package/dist/models/async-task-status.js +1 -1
  945. package/dist/models/base-amount.d.ts +1 -1
  946. package/dist/models/base-amount.js +1 -1
  947. package/dist/models/bounding-box-schema.d.ts +1 -1
  948. package/dist/models/bounding-box-schema.js +1 -1
  949. package/dist/models/buyercountry.d.ts +2 -2
  950. package/dist/models/buyercountry.js +1 -1
  951. package/dist/models/celery-status.d.ts +1 -1
  952. package/dist/models/celery-status.js +1 -1
  953. package/dist/models/certificate-info-response.d.ts +1 -1
  954. package/dist/models/certificate-info-response.js +1 -1
  955. package/dist/models/charge-total-amount.d.ts +1 -1
  956. package/dist/models/charge-total-amount.js +1 -1
  957. package/dist/models/chorus-pro-credentials.d.ts +8 -20
  958. package/dist/models/chorus-pro-credentials.js +1 -1
  959. package/dist/models/chorus-pro-destination.d.ts +3 -3
  960. package/dist/models/chorus-pro-destination.js +1 -1
  961. package/dist/models/chorus-pro-result.d.ts +1 -1
  962. package/dist/models/chorus-pro-result.js +1 -1
  963. package/dist/models/client-activate-response.d.ts +28 -0
  964. package/dist/models/client-activate-response.js +15 -0
  965. package/dist/models/client-create-request.d.ts +22 -0
  966. package/dist/models/client-create-request.js +15 -0
  967. package/dist/models/client-detail.d.ts +48 -0
  968. package/dist/models/client-detail.js +15 -0
  969. package/dist/models/client-list-response.d.ts +33 -0
  970. package/dist/models/client-list-response.js +15 -0
  971. package/dist/models/client-summary.d.ts +48 -0
  972. package/dist/models/client-summary.js +15 -0
  973. package/dist/models/client-update-request.d.ts +19 -0
  974. package/dist/models/client-update-request.js +15 -0
  975. package/dist/models/contact.d.ts +1 -1
  976. package/dist/models/contact.js +1 -1
  977. package/dist/models/convert-resume-request.d.ts +1 -1
  978. package/dist/models/convert-resume-request.js +1 -1
  979. package/dist/models/convert-success-response.d.ts +1 -1
  980. package/dist/models/convert-success-response.js +1 -1
  981. package/dist/models/convert-validation-failed-response.d.ts +1 -1
  982. package/dist/models/convert-validation-failed-response.js +1 -1
  983. package/dist/models/country-code.d.ts +1 -1
  984. package/dist/models/country-code.js +1 -1
  985. package/dist/models/create-aggregated-report-request.d.ts +4 -2
  986. package/dist/models/create-aggregated-report-request.js +1 -1
  987. package/dist/models/create-cdarrequest.d.ts +1 -1
  988. package/dist/models/create-cdarrequest.js +1 -1
  989. package/dist/models/create-ereporting-request.d.ts +4 -2
  990. package/dist/models/create-ereporting-request.js +1 -1
  991. package/dist/models/currency-code.d.ts +1 -1
  992. package/dist/models/currency-code.js +1 -1
  993. package/dist/models/currency.d.ts +1 -1
  994. package/dist/models/currency.js +1 -1
  995. package/dist/models/delivery-party.d.ts +1 -1
  996. package/dist/models/delivery-party.js +1 -1
  997. package/dist/models/destination.d.ts +1 -1
  998. package/dist/models/destination.js +1 -1
  999. package/dist/models/doc-type.d.ts +1 -1
  1000. package/dist/models/doc-type.js +1 -1
  1001. package/dist/models/document-type-info.d.ts +1 -1
  1002. package/dist/models/document-type-info.js +1 -1
  1003. package/dist/models/electronic-address.d.ts +1 -1
  1004. package/dist/models/electronic-address.js +1 -1
  1005. package/dist/models/encaisseamount.d.ts +1 -1
  1006. package/dist/models/encaisseamount.js +1 -1
  1007. package/dist/models/encaisseamount1.d.ts +1 -1
  1008. package/dist/models/encaisseamount1.js +1 -1
  1009. package/dist/models/encaissee-request.d.ts +47 -0
  1010. package/dist/models/encaissee-request.js +15 -0
  1011. package/dist/models/enriched-invoice-info.d.ts +1 -1
  1012. package/dist/models/enriched-invoice-info.js +1 -1
  1013. package/dist/models/ereporting-flow-type.d.ts +1 -1
  1014. package/dist/models/ereporting-flow-type.js +1 -1
  1015. package/dist/models/ereporting-validation-error.d.ts +1 -1
  1016. package/dist/models/ereporting-validation-error.js +1 -1
  1017. package/dist/models/error-level.d.ts +1 -1
  1018. package/dist/models/error-level.js +1 -1
  1019. package/dist/models/error-source.d.ts +2 -1
  1020. package/dist/models/error-source.js +2 -1
  1021. package/dist/models/extraction-info.d.ts +1 -1
  1022. package/dist/models/extraction-info.js +1 -1
  1023. package/dist/models/factur-xinvoice.d.ts +2 -2
  1024. package/dist/models/factur-xinvoice.js +1 -1
  1025. package/dist/models/factur-xpdfinfo.d.ts +1 -1
  1026. package/dist/models/factur-xpdfinfo.js +1 -1
  1027. package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +1 -1
  1028. package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +1 -1
  1029. package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +36 -0
  1030. package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +15 -0
  1031. package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts +22 -0
  1032. package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +26 -0
  1033. package/dist/models/field-status.d.ts +1 -1
  1034. package/dist/models/field-status.js +1 -1
  1035. package/dist/models/file-info.d.ts +1 -1
  1036. package/dist/models/file-info.js +1 -1
  1037. package/dist/models/files-info.d.ts +1 -1
  1038. package/dist/models/files-info.js +1 -1
  1039. package/dist/models/flow-direction.d.ts +1 -1
  1040. package/dist/models/flow-direction.js +1 -1
  1041. package/dist/models/flow-profile.d.ts +1 -1
  1042. package/dist/models/flow-profile.js +1 -1
  1043. package/dist/models/flow-summary.d.ts +1 -1
  1044. package/dist/models/flow-summary.js +1 -1
  1045. package/dist/models/flow-syntax.d.ts +1 -1
  1046. package/dist/models/flow-syntax.js +1 -1
  1047. package/dist/models/flow-type.d.ts +1 -1
  1048. package/dist/models/flow-type.js +1 -1
  1049. package/dist/models/generate-aggregated-report-response.d.ts +1 -1
  1050. package/dist/models/generate-aggregated-report-response.js +1 -1
  1051. package/dist/models/generate-cdarresponse.d.ts +1 -1
  1052. package/dist/models/generate-cdarresponse.js +1 -1
  1053. package/dist/models/generate-certificate-request.d.ts +1 -1
  1054. package/dist/models/generate-certificate-request.js +1 -1
  1055. package/dist/models/generate-certificate-response.d.ts +1 -1
  1056. package/dist/models/generate-certificate-response.js +1 -1
  1057. package/dist/models/generate-ereporting-response.d.ts +1 -1
  1058. package/dist/models/generate-ereporting-response.js +1 -1
  1059. package/dist/models/get-chorus-pro-id-request.d.ts +3 -3
  1060. package/dist/models/get-chorus-pro-id-request.js +1 -1
  1061. package/dist/models/get-chorus-pro-id-response.d.ts +1 -1
  1062. package/dist/models/get-chorus-pro-id-response.js +1 -1
  1063. package/dist/models/get-invoice-request.d.ts +3 -3
  1064. package/dist/models/get-invoice-request.js +1 -1
  1065. package/dist/models/get-invoice-response.d.ts +1 -1
  1066. package/dist/models/get-invoice-response.js +1 -1
  1067. package/dist/models/get-structure-request.d.ts +3 -3
  1068. package/dist/models/get-structure-request.js +1 -1
  1069. package/dist/models/get-structure-response.d.ts +1 -1
  1070. package/dist/models/get-structure-response.js +1 -1
  1071. package/dist/models/global-allowance-amount.d.ts +1 -1
  1072. package/dist/models/global-allowance-amount.js +1 -1
  1073. package/dist/models/gross-unit-price.d.ts +1 -1
  1074. package/dist/models/gross-unit-price.js +1 -1
  1075. package/dist/models/httpvalidation-error.d.ts +1 -1
  1076. package/dist/models/httpvalidation-error.js +1 -1
  1077. package/dist/models/incoming-invoice.d.ts +1 -1
  1078. package/dist/models/incoming-invoice.js +1 -1
  1079. package/dist/models/incoming-supplier.d.ts +1 -1
  1080. package/dist/models/incoming-supplier.js +1 -1
  1081. package/dist/models/index.d.ts +17 -4
  1082. package/dist/models/index.js +17 -4
  1083. package/dist/models/invoice-format.d.ts +1 -1
  1084. package/dist/models/invoice-format.js +1 -1
  1085. package/dist/models/invoice-input.d.ts +6 -8
  1086. package/dist/models/invoice-input.js +1 -1
  1087. package/dist/models/invoice-line-allowance-amount.d.ts +1 -1
  1088. package/dist/models/invoice-line-allowance-amount.js +1 -1
  1089. package/dist/models/invoice-line.d.ts +1 -1
  1090. package/dist/models/invoice-line.js +1 -1
  1091. package/dist/models/invoice-note.d.ts +1 -1
  1092. package/dist/models/invoice-note.js +1 -1
  1093. package/dist/models/invoice-payment-input.d.ts +1 -1
  1094. package/dist/models/invoice-payment-input.js +1 -1
  1095. package/dist/models/invoice-references.d.ts +1 -1
  1096. package/dist/models/invoice-references.js +1 -1
  1097. package/dist/models/invoice-status.d.ts +1 -1
  1098. package/dist/models/invoice-status.js +1 -1
  1099. package/dist/models/invoice-totals-prepayment.d.ts +1 -1
  1100. package/dist/models/invoice-totals-prepayment.js +1 -1
  1101. package/dist/models/invoice-totals.d.ts +1 -1
  1102. package/dist/models/invoice-totals.js +1 -1
  1103. package/dist/models/invoice-type-code-output.d.ts +1 -1
  1104. package/dist/models/invoice-type-code-output.js +1 -1
  1105. package/dist/models/invoice-type-code.d.ts +66 -7
  1106. package/dist/models/invoice-type-code.js +66 -7
  1107. package/dist/models/invoicing-framework-code.d.ts +1 -1
  1108. package/dist/models/invoicing-framework-code.js +1 -1
  1109. package/dist/models/invoicing-framework.d.ts +1 -1
  1110. package/dist/models/invoicing-framework.js +1 -1
  1111. package/dist/models/issuer-role-code.d.ts +19 -0
  1112. package/dist/models/issuer-role-code.js +23 -0
  1113. package/dist/models/line-net-amount.d.ts +1 -1
  1114. package/dist/models/line-net-amount.js +1 -1
  1115. package/dist/models/line-sub-type.d.ts +1 -1
  1116. package/dist/models/line-sub-type.js +1 -1
  1117. package/dist/models/line-total-amount.d.ts +1 -1
  1118. package/dist/models/line-total-amount.js +1 -1
  1119. package/dist/models/location-inner.d.ts +1 -1
  1120. package/dist/models/location-inner.js +1 -1
  1121. package/dist/models/mandatory-note-schema.d.ts +1 -1
  1122. package/dist/models/mandatory-note-schema.js +1 -1
  1123. package/dist/models/manual-rate.d.ts +1 -1
  1124. package/dist/models/manual-rate.js +1 -1
  1125. package/dist/models/manual-vat-rate.d.ts +1 -1
  1126. package/dist/models/manual-vat-rate.js +1 -1
  1127. package/dist/models/missing-field.d.ts +1 -1
  1128. package/dist/models/missing-field.js +1 -1
  1129. package/dist/models/operation-nature.d.ts +1 -1
  1130. package/dist/models/operation-nature.js +1 -1
  1131. package/dist/models/output-format.d.ts +1 -1
  1132. package/dist/models/output-format.js +1 -1
  1133. package/dist/models/page-dimensions-schema.d.ts +1 -1
  1134. package/dist/models/page-dimensions-schema.js +1 -1
  1135. package/dist/models/payee.d.ts +1 -1
  1136. package/dist/models/payee.js +1 -1
  1137. package/dist/models/payment-amount-by-rate.d.ts +3 -3
  1138. package/dist/models/payment-amount-by-rate.js +1 -1
  1139. package/dist/models/payment-card.d.ts +1 -1
  1140. package/dist/models/payment-card.js +1 -1
  1141. package/dist/models/payment-means.d.ts +1 -1
  1142. package/dist/models/payment-means.js +1 -1
  1143. package/dist/models/pdfvalidation-result-api.d.ts +1 -1
  1144. package/dist/models/pdfvalidation-result-api.js +1 -1
  1145. package/dist/models/pdpconfig-response.d.ts +34 -0
  1146. package/dist/models/pdpconfig-response.js +15 -0
  1147. package/dist/models/pdpconfig-update-request.d.ts +40 -0
  1148. package/dist/models/pdpconfig-update-request.js +15 -0
  1149. package/dist/models/pdpcredentials.d.ts +1 -1
  1150. package/dist/models/pdpcredentials.js +1 -1
  1151. package/dist/models/percentage.d.ts +1 -1
  1152. package/dist/models/percentage.js +1 -1
  1153. package/dist/models/postal-address.d.ts +1 -1
  1154. package/dist/models/postal-address.js +1 -1
  1155. package/dist/models/price-allowance-amount.d.ts +1 -1
  1156. package/dist/models/price-allowance-amount.js +1 -1
  1157. package/dist/models/price-basis-quantity.d.ts +1 -1
  1158. package/dist/models/price-basis-quantity.js +1 -1
  1159. package/dist/models/processing-options.d.ts +1 -1
  1160. package/dist/models/processing-options.js +1 -1
  1161. package/dist/models/processing-rule.d.ts +1 -1
  1162. package/dist/models/processing-rule.js +1 -1
  1163. package/dist/models/product-characteristic.d.ts +1 -1
  1164. package/dist/models/product-characteristic.js +1 -1
  1165. package/dist/models/product-classification.d.ts +1 -1
  1166. package/dist/models/product-classification.js +1 -1
  1167. package/dist/models/quantity.d.ts +1 -1
  1168. package/dist/models/quantity.js +1 -1
  1169. package/dist/models/rate.d.ts +1 -1
  1170. package/dist/models/rate.js +1 -1
  1171. package/dist/models/rate1.d.ts +1 -1
  1172. package/dist/models/rate1.js +1 -1
  1173. package/dist/models/reason-code-info.d.ts +1 -1
  1174. package/dist/models/reason-code-info.js +1 -1
  1175. package/dist/models/reason-codes-response.d.ts +1 -1
  1176. package/dist/models/reason-codes-response.js +1 -1
  1177. package/dist/models/recipient-input.d.ts +1 -1
  1178. package/dist/models/recipient-input.js +1 -1
  1179. package/dist/models/recipient.d.ts +1 -1
  1180. package/dist/models/recipient.js +1 -1
  1181. package/dist/models/refusee-request.d.ts +46 -0
  1182. package/dist/models/refusee-request.js +15 -0
  1183. package/dist/models/report-issuer.d.ts +27 -0
  1184. package/dist/models/report-issuer.js +15 -0
  1185. package/dist/models/report-period.d.ts +1 -1
  1186. package/dist/models/report-period.js +1 -1
  1187. package/dist/models/report-sender.d.ts +3 -3
  1188. package/dist/models/report-sender.js +1 -1
  1189. package/dist/models/rounding-amount.d.ts +1 -1
  1190. package/dist/models/rounding-amount.js +1 -1
  1191. package/dist/models/schematron-validation-error.d.ts +1 -1
  1192. package/dist/models/schematron-validation-error.js +1 -1
  1193. package/dist/models/scheme-id.d.ts +1 -1
  1194. package/dist/models/scheme-id.js +1 -1
  1195. package/dist/models/search-flow-request.d.ts +1 -1
  1196. package/dist/models/search-flow-request.js +1 -1
  1197. package/dist/models/search-flow-response.d.ts +1 -1
  1198. package/dist/models/search-flow-response.js +1 -1
  1199. package/dist/models/search-services-response.d.ts +1 -1
  1200. package/dist/models/search-services-response.js +1 -1
  1201. package/dist/models/search-structure-request.d.ts +3 -3
  1202. package/dist/models/search-structure-request.js +1 -1
  1203. package/dist/models/search-structure-response.d.ts +1 -1
  1204. package/dist/models/search-structure-response.js +1 -1
  1205. package/dist/models/secret-status.d.ts +24 -0
  1206. package/dist/models/secret-status.js +15 -0
  1207. package/dist/models/sellercountry.d.ts +2 -2
  1208. package/dist/models/sellercountry.js +1 -1
  1209. package/dist/models/signature-info-api.d.ts +1 -1
  1210. package/dist/models/signature-info-api.js +1 -1
  1211. package/dist/models/signature-info.d.ts +1 -1
  1212. package/dist/models/signature-info.js +1 -1
  1213. package/dist/models/signature-parameters.d.ts +1 -1
  1214. package/dist/models/signature-parameters.js +1 -1
  1215. package/dist/models/simplified-cdarresponse.d.ts +36 -0
  1216. package/dist/models/simplified-cdarresponse.js +15 -0
  1217. package/dist/models/simplified-invoice-data.d.ts +3 -3
  1218. package/dist/models/simplified-invoice-data.js +1 -1
  1219. package/dist/models/status-code-info.d.ts +1 -1
  1220. package/dist/models/status-code-info.js +1 -1
  1221. package/dist/models/status-codes-response.d.ts +1 -1
  1222. package/dist/models/status-codes-response.js +1 -1
  1223. package/dist/models/structure-info.d.ts +1 -1
  1224. package/dist/models/structure-info.js +1 -1
  1225. package/dist/models/structure-parameters.d.ts +1 -1
  1226. package/dist/models/structure-parameters.js +1 -1
  1227. package/dist/models/structure-service.d.ts +1 -1
  1228. package/dist/models/structure-service.js +1 -1
  1229. package/dist/models/submission-mode.d.ts +1 -1
  1230. package/dist/models/submission-mode.js +1 -1
  1231. package/dist/models/submit-aggregated-report-request.d.ts +1 -1
  1232. package/dist/models/submit-aggregated-report-request.js +1 -1
  1233. package/dist/models/submit-cdarrequest.d.ts +5 -1
  1234. package/dist/models/submit-cdarrequest.js +1 -1
  1235. package/dist/models/submit-cdarresponse.d.ts +1 -1
  1236. package/dist/models/submit-cdarresponse.js +1 -1
  1237. package/dist/models/submit-cdarxmlrequest.d.ts +5 -1
  1238. package/dist/models/submit-cdarxmlrequest.js +1 -1
  1239. package/dist/models/submit-complete-invoice-request.d.ts +1 -1
  1240. package/dist/models/submit-complete-invoice-request.js +1 -1
  1241. package/dist/models/submit-complete-invoice-response.d.ts +1 -1
  1242. package/dist/models/submit-complete-invoice-response.js +1 -1
  1243. package/dist/models/submit-ereporting-request.d.ts +1 -1
  1244. package/dist/models/submit-ereporting-request.js +1 -1
  1245. package/dist/models/submit-ereporting-response.d.ts +1 -1
  1246. package/dist/models/submit-ereporting-response.js +1 -1
  1247. package/dist/models/submit-flow-request.d.ts +1 -1
  1248. package/dist/models/submit-flow-request.js +1 -1
  1249. package/dist/models/submit-flow-response.d.ts +1 -1
  1250. package/dist/models/submit-flow-response.js +1 -1
  1251. package/dist/models/submit-gross-amount.d.ts +1 -1
  1252. package/dist/models/submit-gross-amount.js +1 -1
  1253. package/dist/models/submit-invoice-request.d.ts +3 -3
  1254. package/dist/models/submit-invoice-request.js +1 -1
  1255. package/dist/models/submit-invoice-response.d.ts +1 -1
  1256. package/dist/models/submit-invoice-response.js +1 -1
  1257. package/dist/models/submit-net-amount.d.ts +1 -1
  1258. package/dist/models/submit-net-amount.js +1 -1
  1259. package/dist/models/submit-vat-amount.d.ts +1 -1
  1260. package/dist/models/submit-vat-amount.js +1 -1
  1261. package/dist/models/supplementary-attachment.d.ts +1 -1
  1262. package/dist/models/supplementary-attachment.js +1 -1
  1263. package/dist/models/supplier.d.ts +1 -1
  1264. package/dist/models/supplier.js +1 -1
  1265. package/dist/models/task-response.d.ts +1 -1
  1266. package/dist/models/task-response.js +1 -1
  1267. package/dist/models/tax-breakdown-input.d.ts +1 -1
  1268. package/dist/models/tax-breakdown-input.js +1 -1
  1269. package/dist/models/tax-due-date-type.d.ts +1 -1
  1270. package/dist/models/tax-due-date-type.js +1 -1
  1271. package/dist/models/tax-representative.d.ts +1 -1
  1272. package/dist/models/tax-representative.js +1 -1
  1273. package/dist/models/taxable-amount.d.ts +1 -1
  1274. package/dist/models/taxable-amount.js +1 -1
  1275. package/dist/models/taxableamount.d.ts +1 -1
  1276. package/dist/models/taxableamount.js +1 -1
  1277. package/dist/models/taxamount.d.ts +1 -1
  1278. package/dist/models/taxamount.js +1 -1
  1279. package/dist/models/taxamount1.d.ts +1 -1
  1280. package/dist/models/taxamount1.js +1 -1
  1281. package/dist/models/taxamount2.d.ts +1 -1
  1282. package/dist/models/taxamount2.js +1 -1
  1283. package/dist/models/taxexclusiveamount.d.ts +1 -1
  1284. package/dist/models/taxexclusiveamount.js +1 -1
  1285. package/dist/models/taxexclusiveamount1.d.ts +1 -1
  1286. package/dist/models/taxexclusiveamount1.js +1 -1
  1287. package/dist/models/total-gross-amount.d.ts +1 -1
  1288. package/dist/models/total-gross-amount.js +1 -1
  1289. package/dist/models/total-net-amount.d.ts +1 -1
  1290. package/dist/models/total-net-amount.js +1 -1
  1291. package/dist/models/total-vatamount.d.ts +1 -1
  1292. package/dist/models/total-vatamount.js +1 -1
  1293. package/dist/models/transaction-category.d.ts +1 -1
  1294. package/dist/models/transaction-category.js +1 -1
  1295. package/dist/models/transmission-type-code.d.ts +1 -1
  1296. package/dist/models/transmission-type-code.js +1 -1
  1297. package/dist/models/unit-net-price.d.ts +1 -1
  1298. package/dist/models/unit-net-price.js +1 -1
  1299. package/dist/models/unit-of-measure.d.ts +1 -1
  1300. package/dist/models/unit-of-measure.js +1 -1
  1301. package/dist/models/validate-cdarrequest.d.ts +1 -1
  1302. package/dist/models/validate-cdarrequest.js +1 -1
  1303. package/dist/models/validate-cdarresponse.d.ts +1 -1
  1304. package/dist/models/validate-cdarresponse.js +1 -1
  1305. package/dist/models/validate-ereporting-request.d.ts +1 -1
  1306. package/dist/models/validate-ereporting-request.js +1 -1
  1307. package/dist/models/validate-ereporting-response.d.ts +1 -1
  1308. package/dist/models/validate-ereporting-response.js +1 -1
  1309. package/dist/models/validation-error-detail.d.ts +1 -1
  1310. package/dist/models/validation-error-detail.js +1 -1
  1311. package/dist/models/validation-error-response.d.ts +1 -1
  1312. package/dist/models/validation-error-response.js +1 -1
  1313. package/dist/models/validation-error.d.ts +1 -1
  1314. package/dist/models/validation-error.js +1 -1
  1315. package/dist/models/validation-info.d.ts +1 -1
  1316. package/dist/models/validation-info.js +1 -1
  1317. package/dist/models/validation-success-response.d.ts +1 -1
  1318. package/dist/models/validation-success-response.js +1 -1
  1319. package/dist/models/vat-rate.d.ts +1 -1
  1320. package/dist/models/vat-rate.js +1 -1
  1321. package/dist/models/vataccounting-code.d.ts +1 -1
  1322. package/dist/models/vataccounting-code.js +1 -1
  1323. package/dist/models/vatamount.d.ts +1 -1
  1324. package/dist/models/vatamount.js +1 -1
  1325. package/dist/models/vatcategory.d.ts +1 -1
  1326. package/dist/models/vatcategory.js +1 -1
  1327. package/dist/models/vatline.d.ts +1 -1
  1328. package/dist/models/vatline.js +1 -1
  1329. package/dist/models/vatpoint-date-code.d.ts +1 -1
  1330. package/dist/models/vatpoint-date-code.js +1 -1
  1331. package/dist/models/verification-success-response.d.ts +1 -1
  1332. package/dist/models/verification-success-response.js +1 -1
  1333. package/dist/models/verified-field-schema.d.ts +1 -1
  1334. package/dist/models/verified-field-schema.js +1 -1
  1335. package/dist/src/helpers/client.d.ts +3 -1
  1336. package/dist/src/helpers/client.js +61 -7
  1337. package/dist/src/helpers/exceptions.d.ts +3 -1
  1338. package/dist/src/helpers/exceptions.js +7 -1
  1339. package/docs/AFNORPDPPAApi.md +5 -52
  1340. package/docs/AllowanceCharge.md +1 -1
  1341. package/docs/Amount.md +1 -1
  1342. package/docs/Amount1.md +1 -1
  1343. package/docs/Amount2.md +19 -0
  1344. package/docs/AsyncTasksApi.md +61 -0
  1345. package/docs/Buyercountry.md +1 -1
  1346. package/docs/ChorusProCredentials.md +9 -9
  1347. package/docs/ChorusProDestination.md +1 -1
  1348. package/docs/ClientActivateResponse.md +25 -0
  1349. package/docs/ClientCreateRequest.md +25 -0
  1350. package/docs/ClientDetail.md +41 -0
  1351. package/docs/ClientListResponse.md +27 -0
  1352. package/docs/ClientManagementApi.md +483 -0
  1353. package/docs/ClientSummary.md +41 -0
  1354. package/docs/ClientUpdateRequest.md +25 -0
  1355. package/docs/CreateAggregatedReportRequest.md +3 -1
  1356. package/docs/CreateEReportingRequest.md +3 -1
  1357. package/docs/DownloadsApi.md +0 -115
  1358. package/docs/ElectronicSignatureApi.md +274 -0
  1359. package/docs/EncaisseeRequest.md +43 -0
  1360. package/docs/ErrorSource.md +2 -0
  1361. package/docs/{DocumentConversionApi.md → FacturXConversionApi.md} +29 -29
  1362. package/docs/FacturXGenerationApi.md +199 -0
  1363. package/docs/FacturXInvoice.md +1 -1
  1364. package/docs/FacturXPDFXMLVerificationApi.md +180 -0
  1365. package/docs/FacturXValidationApi.md +199 -0
  1366. package/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +29 -0
  1367. package/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +17 -0
  1368. package/docs/{EReportingApi.md → Flux10EReportingApi.md} +31 -28
  1369. package/docs/Flux6InvoiceLifecycleCDARApi.md +549 -0
  1370. package/docs/GetChorusProIdRequest.md +1 -1
  1371. package/docs/GetInvoiceRequest.md +1 -1
  1372. package/docs/GetStructureRequest.md +1 -1
  1373. package/docs/HealthApi.md +46 -0
  1374. package/docs/InvoiceInput.md +5 -3
  1375. package/docs/InvoiceTypeCode.md +28 -6
  1376. package/docs/IssuerRoleCode.md +11 -0
  1377. package/docs/PDPConfigResponse.md +47 -0
  1378. package/docs/PDPConfigUpdateRequest.md +31 -0
  1379. package/docs/PaymentAmountByRate.md +1 -1
  1380. package/docs/RefuseeRequest.md +43 -0
  1381. package/docs/ReportIssuer.md +27 -0
  1382. package/docs/ReportSender.md +2 -2
  1383. package/docs/SearchStructureRequest.md +1 -1
  1384. package/docs/SecretStatus.md +23 -0
  1385. package/docs/Sellercountry.md +1 -1
  1386. package/docs/SimplifiedCDARResponse.md +29 -0
  1387. package/docs/SimplifiedInvoiceData.md +1 -1
  1388. package/docs/SubmitCDARRequest.md +8 -0
  1389. package/docs/SubmitCDARXMLRequest.md +8 -0
  1390. package/docs/SubmitInvoiceRequest.md +1 -1
  1391. package/index.ts +1 -1
  1392. package/models/acknowledgment-status.ts +1 -1
  1393. package/models/action-code-info.ts +1 -1
  1394. package/models/action-codes-response.ts +1 -1
  1395. package/models/additional-document.ts +1 -1
  1396. package/models/afnoracknowledgement-detail.ts +1 -1
  1397. package/models/afnoracknowledgement.ts +1 -1
  1398. package/models/afnoraddress-edit.ts +1 -1
  1399. package/models/afnoraddress-patch.ts +1 -1
  1400. package/models/afnoraddress-put.ts +1 -1
  1401. package/models/afnoraddress-read.ts +1 -1
  1402. package/models/afnoralgorithm.ts +1 -1
  1403. package/models/afnorcontains-operator.ts +1 -1
  1404. package/models/afnorcreate-directory-line-body-addressing-information.ts +1 -1
  1405. package/models/afnorcreate-directory-line-body-period.ts +1 -1
  1406. package/models/afnorcreate-directory-line-body.ts +1 -1
  1407. package/models/afnorcreate-routing-code-body.ts +1 -1
  1408. package/models/afnorcredentials.ts +1 -1
  1409. package/models/afnordestination.ts +1 -1
  1410. package/models/afnordiffusion-status.ts +1 -1
  1411. package/models/afnordirectory-line-field.ts +1 -1
  1412. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.ts +1 -1
  1413. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.ts +1 -1
  1414. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.ts +1 -1
  1415. package/models/afnordirectory-line-post201-response.ts +1 -1
  1416. package/models/afnordirectory-line-search-post200-response.ts +1 -1
  1417. package/models/afnorentity-type.ts +1 -1
  1418. package/models/afnorerror.ts +1 -1
  1419. package/models/afnorfacility-administrative-status.ts +1 -1
  1420. package/models/afnorfacility-nature.ts +1 -1
  1421. package/models/afnorfacility-payload-history-ule-b2g-additional-data.ts +1 -1
  1422. package/models/afnorfacility-payload-history.ts +1 -1
  1423. package/models/afnorfacility-payload-included.ts +1 -1
  1424. package/models/afnorfacility-type.ts +1 -1
  1425. package/models/afnorflow-ack-status.ts +1 -1
  1426. package/models/afnorflow-direction.ts +1 -1
  1427. package/models/afnorflow-info.ts +1 -1
  1428. package/models/afnorflow-profile.ts +1 -1
  1429. package/models/afnorflow-syntax.ts +1 -1
  1430. package/models/afnorflow-type.ts +1 -1
  1431. package/models/afnorflow.ts +1 -1
  1432. package/models/afnorfull-flow-info.ts +1 -1
  1433. package/models/afnorhealth-check-response.ts +1 -1
  1434. package/models/afnorlegal-unit-administrative-status.ts +1 -1
  1435. package/models/afnorlegal-unit-payload-history.ts +1 -1
  1436. package/models/afnorlegal-unit-payload-included-no-siren.ts +1 -1
  1437. package/models/afnorlegal-unit-payload-included.ts +1 -1
  1438. package/models/afnorplatform-status.ts +1 -1
  1439. package/models/afnorprocessing-rule.ts +1 -1
  1440. package/models/afnorreason-code-enum.ts +1 -1
  1441. package/models/afnorreason-code.ts +1 -1
  1442. package/models/afnorrecipient-platform-type.ts +1 -1
  1443. package/models/afnorresult.ts +1 -1
  1444. package/models/afnorrouting-code-administrative-status.ts +1 -1
  1445. package/models/afnorrouting-code-field.ts +1 -1
  1446. package/models/afnorrouting-code-payload-history-legal-unit-facility.ts +1 -1
  1447. package/models/afnorrouting-code-post201-response.ts +1 -1
  1448. package/models/afnorrouting-code-search-filters-administrative-status.ts +1 -1
  1449. package/models/afnorrouting-code-search-filters-routing-code-name.ts +1 -1
  1450. package/models/afnorrouting-code-search-filters-routing-identifier.ts +1 -1
  1451. package/models/afnorrouting-code-search-filters.ts +1 -1
  1452. package/models/afnorrouting-code-search-post200-response.ts +1 -1
  1453. package/models/afnorrouting-code-search-sorting-inner.ts +1 -1
  1454. package/models/afnorrouting-code-search.ts +1 -1
  1455. package/models/afnorsearch-directory-line-filters-addressing-identifier.ts +1 -1
  1456. package/models/afnorsearch-directory-line-filters-addressing-suffix.ts +1 -1
  1457. package/models/afnorsearch-directory-line-filters.ts +1 -1
  1458. package/models/afnorsearch-directory-line-sorting-inner.ts +1 -1
  1459. package/models/afnorsearch-directory-line.ts +1 -1
  1460. package/models/afnorsearch-flow-content.ts +1 -1
  1461. package/models/afnorsearch-flow-filters.ts +1 -1
  1462. package/models/afnorsearch-flow-params.ts +1 -1
  1463. package/models/afnorsearch-siren-filters-administrative-status.ts +1 -1
  1464. package/models/afnorsearch-siren-filters-business-name.ts +1 -1
  1465. package/models/afnorsearch-siren-filters-entity-type.ts +1 -1
  1466. package/models/afnorsearch-siren-filters-siren.ts +1 -1
  1467. package/models/afnorsearch-siren-filters.ts +1 -1
  1468. package/models/afnorsearch-siren-sorting-inner.ts +1 -1
  1469. package/models/afnorsearch-siren.ts +1 -1
  1470. package/models/afnorsearch-siret-filters-address-lines.ts +1 -1
  1471. package/models/afnorsearch-siret-filters-administrative-status.ts +1 -1
  1472. package/models/afnorsearch-siret-filters-country-subdivision.ts +1 -1
  1473. package/models/afnorsearch-siret-filters-facility-type.ts +1 -1
  1474. package/models/afnorsearch-siret-filters-locality.ts +1 -1
  1475. package/models/afnorsearch-siret-filters-name.ts +1 -1
  1476. package/models/afnorsearch-siret-filters-postal-code.ts +1 -1
  1477. package/models/afnorsearch-siret-filters-siret.ts +1 -1
  1478. package/models/afnorsearch-siret-filters.ts +1 -1
  1479. package/models/afnorsearch-siret-sorting-inner.ts +1 -1
  1480. package/models/afnorsearch-siret.ts +1 -1
  1481. package/models/afnorsiren-field.ts +1 -1
  1482. package/models/afnorsiren-search-post200-response.ts +1 -1
  1483. package/models/afnorsiret-field.ts +1 -1
  1484. package/models/afnorsiret-search-post200-response.ts +1 -1
  1485. package/models/afnorsorting-order.ts +1 -1
  1486. package/models/afnorstrict-operator.ts +1 -1
  1487. package/models/afnorupdate-patch-directory-line-body.ts +1 -1
  1488. package/models/afnorupdate-patch-routing-code-body.ts +1 -1
  1489. package/models/afnorupdate-put-routing-code-body.ts +1 -1
  1490. package/models/afnorwebhook-callback-content.ts +1 -1
  1491. package/models/aggregated-payment-input.ts +1 -1
  1492. package/models/aggregated-transaction-input.ts +1 -1
  1493. package/models/allowance-charge-reason-code.ts +1 -1
  1494. package/models/allowance-charge.ts +3 -3
  1495. package/models/allowance-reason-code.ts +1 -1
  1496. package/models/allowance-total-amount.ts +1 -1
  1497. package/models/amount-due.ts +1 -1
  1498. package/models/amount.ts +2 -2
  1499. package/models/amount1.ts +2 -2
  1500. package/models/amount2.ts +22 -0
  1501. package/models/apierror.ts +1 -1
  1502. package/models/apiprofile.ts +1 -1
  1503. package/models/async-task-status.ts +1 -1
  1504. package/models/base-amount.ts +1 -1
  1505. package/models/bounding-box-schema.ts +1 -1
  1506. package/models/buyercountry.ts +2 -2
  1507. package/models/celery-status.ts +1 -1
  1508. package/models/certificate-info-response.ts +1 -1
  1509. package/models/charge-total-amount.ts +1 -1
  1510. package/models/chorus-pro-credentials.ts +8 -20
  1511. package/models/chorus-pro-destination.ts +3 -3
  1512. package/models/chorus-pro-result.ts +1 -1
  1513. package/models/client-activate-response.ts +34 -0
  1514. package/models/client-create-request.ts +28 -0
  1515. package/models/client-detail.ts +54 -0
  1516. package/models/client-list-response.ts +41 -0
  1517. package/models/client-summary.ts +54 -0
  1518. package/models/client-update-request.ts +25 -0
  1519. package/models/contact.ts +1 -1
  1520. package/models/convert-resume-request.ts +1 -1
  1521. package/models/convert-success-response.ts +1 -1
  1522. package/models/convert-validation-failed-response.ts +1 -1
  1523. package/models/country-code.ts +1 -1
  1524. package/models/create-aggregated-report-request.ts +6 -2
  1525. package/models/create-cdarrequest.ts +1 -1
  1526. package/models/create-ereporting-request.ts +6 -2
  1527. package/models/currency-code.ts +1 -1
  1528. package/models/currency.ts +1 -1
  1529. package/models/delivery-party.ts +1 -1
  1530. package/models/destination.ts +1 -1
  1531. package/models/doc-type.ts +1 -1
  1532. package/models/document-type-info.ts +1 -1
  1533. package/models/electronic-address.ts +1 -1
  1534. package/models/encaisseamount.ts +1 -1
  1535. package/models/encaisseamount1.ts +1 -1
  1536. package/models/encaissee-request.ts +55 -0
  1537. package/models/enriched-invoice-info.ts +1 -1
  1538. package/models/ereporting-flow-type.ts +1 -1
  1539. package/models/ereporting-validation-error.ts +1 -1
  1540. package/models/error-level.ts +1 -1
  1541. package/models/error-source.ts +2 -1
  1542. package/models/extraction-info.ts +1 -1
  1543. package/models/factur-xinvoice.ts +2 -2
  1544. package/models/factur-xpdfinfo.ts +1 -1
  1545. package/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.ts +1 -1
  1546. package/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts +42 -0
  1547. package/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.ts +32 -0
  1548. package/models/field-status.ts +1 -1
  1549. package/models/file-info.ts +1 -1
  1550. package/models/files-info.ts +1 -1
  1551. package/models/flow-direction.ts +1 -1
  1552. package/models/flow-profile.ts +1 -1
  1553. package/models/flow-summary.ts +1 -1
  1554. package/models/flow-syntax.ts +1 -1
  1555. package/models/flow-type.ts +1 -1
  1556. package/models/generate-aggregated-report-response.ts +1 -1
  1557. package/models/generate-cdarresponse.ts +1 -1
  1558. package/models/generate-certificate-request.ts +1 -1
  1559. package/models/generate-certificate-response.ts +1 -1
  1560. package/models/generate-ereporting-response.ts +1 -1
  1561. package/models/get-chorus-pro-id-request.ts +3 -3
  1562. package/models/get-chorus-pro-id-response.ts +1 -1
  1563. package/models/get-invoice-request.ts +3 -3
  1564. package/models/get-invoice-response.ts +1 -1
  1565. package/models/get-structure-request.ts +3 -3
  1566. package/models/get-structure-response.ts +1 -1
  1567. package/models/global-allowance-amount.ts +1 -1
  1568. package/models/gross-unit-price.ts +1 -1
  1569. package/models/httpvalidation-error.ts +1 -1
  1570. package/models/incoming-invoice.ts +1 -1
  1571. package/models/incoming-supplier.ts +1 -1
  1572. package/models/index.ts +17 -4
  1573. package/models/invoice-format.ts +1 -1
  1574. package/models/invoice-input.ts +6 -8
  1575. package/models/invoice-line-allowance-amount.ts +1 -1
  1576. package/models/invoice-line.ts +1 -1
  1577. package/models/invoice-note.ts +1 -1
  1578. package/models/invoice-payment-input.ts +1 -1
  1579. package/models/invoice-references.ts +1 -1
  1580. package/models/invoice-status.ts +1 -1
  1581. package/models/invoice-totals-prepayment.ts +1 -1
  1582. package/models/invoice-totals.ts +1 -1
  1583. package/models/invoice-type-code-output.ts +1 -1
  1584. package/models/invoice-type-code.ts +66 -7
  1585. package/models/invoicing-framework-code.ts +1 -1
  1586. package/models/invoicing-framework.ts +1 -1
  1587. package/models/issuer-role-code.ts +29 -0
  1588. package/models/line-net-amount.ts +1 -1
  1589. package/models/line-sub-type.ts +1 -1
  1590. package/models/line-total-amount.ts +1 -1
  1591. package/models/location-inner.ts +1 -1
  1592. package/models/mandatory-note-schema.ts +1 -1
  1593. package/models/manual-rate.ts +1 -1
  1594. package/models/manual-vat-rate.ts +1 -1
  1595. package/models/missing-field.ts +1 -1
  1596. package/models/operation-nature.ts +1 -1
  1597. package/models/output-format.ts +1 -1
  1598. package/models/page-dimensions-schema.ts +1 -1
  1599. package/models/payee.ts +1 -1
  1600. package/models/payment-amount-by-rate.ts +3 -3
  1601. package/models/payment-card.ts +1 -1
  1602. package/models/payment-means.ts +1 -1
  1603. package/models/pdfvalidation-result-api.ts +1 -1
  1604. package/models/pdpconfig-response.ts +42 -0
  1605. package/models/pdpconfig-update-request.ts +46 -0
  1606. package/models/pdpcredentials.ts +1 -1
  1607. package/models/percentage.ts +1 -1
  1608. package/models/postal-address.ts +1 -1
  1609. package/models/price-allowance-amount.ts +1 -1
  1610. package/models/price-basis-quantity.ts +1 -1
  1611. package/models/processing-options.ts +1 -1
  1612. package/models/processing-rule.ts +1 -1
  1613. package/models/product-characteristic.ts +1 -1
  1614. package/models/product-classification.ts +1 -1
  1615. package/models/quantity.ts +1 -1
  1616. package/models/rate.ts +1 -1
  1617. package/models/rate1.ts +1 -1
  1618. package/models/reason-code-info.ts +1 -1
  1619. package/models/reason-codes-response.ts +1 -1
  1620. package/models/recipient-input.ts +1 -1
  1621. package/models/recipient.ts +1 -1
  1622. package/models/refusee-request.ts +52 -0
  1623. package/models/report-issuer.ts +37 -0
  1624. package/models/report-period.ts +1 -1
  1625. package/models/report-sender.ts +3 -3
  1626. package/models/rounding-amount.ts +1 -1
  1627. package/models/schematron-validation-error.ts +1 -1
  1628. package/models/scheme-id.ts +1 -1
  1629. package/models/search-flow-request.ts +1 -1
  1630. package/models/search-flow-response.ts +1 -1
  1631. package/models/search-services-response.ts +1 -1
  1632. package/models/search-structure-request.ts +3 -3
  1633. package/models/search-structure-response.ts +1 -1
  1634. package/models/secret-status.ts +30 -0
  1635. package/models/sellercountry.ts +2 -2
  1636. package/models/signature-info-api.ts +1 -1
  1637. package/models/signature-info.ts +1 -1
  1638. package/models/signature-parameters.ts +1 -1
  1639. package/models/simplified-cdarresponse.ts +42 -0
  1640. package/models/simplified-invoice-data.ts +3 -3
  1641. package/models/status-code-info.ts +1 -1
  1642. package/models/status-codes-response.ts +1 -1
  1643. package/models/structure-info.ts +1 -1
  1644. package/models/structure-parameters.ts +1 -1
  1645. package/models/structure-service.ts +1 -1
  1646. package/models/submission-mode.ts +1 -1
  1647. package/models/submit-aggregated-report-request.ts +1 -1
  1648. package/models/submit-cdarrequest.ts +5 -1
  1649. package/models/submit-cdarresponse.ts +1 -1
  1650. package/models/submit-cdarxmlrequest.ts +5 -1
  1651. package/models/submit-complete-invoice-request.ts +1 -1
  1652. package/models/submit-complete-invoice-response.ts +1 -1
  1653. package/models/submit-ereporting-request.ts +1 -1
  1654. package/models/submit-ereporting-response.ts +1 -1
  1655. package/models/submit-flow-request.ts +1 -1
  1656. package/models/submit-flow-response.ts +1 -1
  1657. package/models/submit-gross-amount.ts +1 -1
  1658. package/models/submit-invoice-request.ts +3 -3
  1659. package/models/submit-invoice-response.ts +1 -1
  1660. package/models/submit-net-amount.ts +1 -1
  1661. package/models/submit-vat-amount.ts +1 -1
  1662. package/models/supplementary-attachment.ts +1 -1
  1663. package/models/supplier.ts +1 -1
  1664. package/models/task-response.ts +1 -1
  1665. package/models/tax-breakdown-input.ts +1 -1
  1666. package/models/tax-due-date-type.ts +1 -1
  1667. package/models/tax-representative.ts +1 -1
  1668. package/models/taxable-amount.ts +1 -1
  1669. package/models/taxableamount.ts +1 -1
  1670. package/models/taxamount.ts +1 -1
  1671. package/models/taxamount1.ts +1 -1
  1672. package/models/taxamount2.ts +1 -1
  1673. package/models/taxexclusiveamount.ts +1 -1
  1674. package/models/taxexclusiveamount1.ts +1 -1
  1675. package/models/total-gross-amount.ts +1 -1
  1676. package/models/total-net-amount.ts +1 -1
  1677. package/models/total-vatamount.ts +1 -1
  1678. package/models/transaction-category.ts +1 -1
  1679. package/models/transmission-type-code.ts +1 -1
  1680. package/models/unit-net-price.ts +1 -1
  1681. package/models/unit-of-measure.ts +1 -1
  1682. package/models/validate-cdarrequest.ts +1 -1
  1683. package/models/validate-cdarresponse.ts +1 -1
  1684. package/models/validate-ereporting-request.ts +1 -1
  1685. package/models/validate-ereporting-response.ts +1 -1
  1686. package/models/validation-error-detail.ts +1 -1
  1687. package/models/validation-error-response.ts +1 -1
  1688. package/models/validation-error.ts +1 -1
  1689. package/models/validation-info.ts +1 -1
  1690. package/models/validation-success-response.ts +1 -1
  1691. package/models/vat-rate.ts +1 -1
  1692. package/models/vataccounting-code.ts +1 -1
  1693. package/models/vatamount.ts +1 -1
  1694. package/models/vatcategory.ts +1 -1
  1695. package/models/vatline.ts +1 -1
  1696. package/models/vatpoint-date-code.ts +1 -1
  1697. package/models/verification-success-response.ts +1 -1
  1698. package/models/verified-field-schema.ts +1 -1
  1699. package/package.json +1 -1
  1700. package/src/helpers/client.ts +24 -6
  1701. package/src/helpers/exceptions.ts +9 -1
  1702. package/api/cdarcycle-de-vie-api.ts +0 -603
  1703. package/api/invoice-processing-api.ts +0 -1173
  1704. package/api/pdfxmlverification-api.ts +0 -568
  1705. package/api/user-api.ts +0 -119
  1706. package/dist/api/cdarcycle-de-vie-api.d.ts +0 -280
  1707. package/dist/api/cdarcycle-de-vie-api.js +0 -569
  1708. package/dist/api/document-conversion-api.d.ts +0 -190
  1709. package/dist/api/invoice-processing-api.d.ts +0 -524
  1710. package/dist/api/invoice-processing-api.js +0 -1087
  1711. package/dist/api/pdfxmlverification-api.d.ts +0 -253
  1712. package/dist/api/pdfxmlverification-api.js +0 -542
  1713. package/dist/api/user-api.d.ts +0 -62
  1714. package/dist/api/user-api.js +0 -128
  1715. package/dist/esm/api/cdarcycle-de-vie-api.d.ts +0 -280
  1716. package/dist/esm/api/cdarcycle-de-vie-api.js +0 -559
  1717. package/dist/esm/api/document-conversion-api.d.ts +0 -190
  1718. package/dist/esm/api/invoice-processing-api.d.ts +0 -524
  1719. package/dist/esm/api/invoice-processing-api.js +0 -1077
  1720. package/dist/esm/api/pdfxmlverification-api.d.ts +0 -253
  1721. package/dist/esm/api/pdfxmlverification-api.js +0 -532
  1722. package/dist/esm/api/user-api.d.ts +0 -62
  1723. package/dist/esm/api/user-api.js +0 -118
  1724. package/dist/esm/models/body-submit-cdar-api-v1-cdar-submit-post.d.ts +0 -17
  1725. package/dist/esm/models/body-submit-cdar-api-v1-cdar-submit-post.js +0 -14
  1726. package/dist/esm/models/body-submit-cdar-xml-api-v1-cdar-submit-xml-post.d.ts +0 -17
  1727. package/dist/esm/models/body-submit-cdar-xml-api-v1-cdar-submit-xml-post.js +0 -14
  1728. package/dist/esm/models/facture-electronique-models-invoice-type-code.d.ts +0 -81
  1729. package/dist/esm/models/facture-electronique-models-invoice-type-code.js +0 -82
  1730. package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +0 -24
  1731. package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +0 -14
  1732. package/dist/models/body-submit-cdar-api-v1-cdar-submit-post.d.ts +0 -17
  1733. package/dist/models/body-submit-cdar-api-v1-cdar-submit-post.js +0 -15
  1734. package/dist/models/body-submit-cdar-xml-api-v1-cdar-submit-xml-post.d.ts +0 -17
  1735. package/dist/models/body-submit-cdar-xml-api-v1-cdar-submit-xml-post.js +0 -15
  1736. package/dist/models/facture-electronique-models-invoice-type-code.d.ts +0 -81
  1737. package/dist/models/facture-electronique-models-invoice-type-code.js +0 -85
  1738. package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +0 -24
  1739. package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +0 -15
  1740. package/docs/BodySubmitCdarApiV1CdarSubmitPost.md +0 -22
  1741. package/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +0 -22
  1742. package/docs/CDARCycleDeVieApi.md +0 -397
  1743. package/docs/FactureElectroniqueModelsInvoiceTypeCode.md +0 -39
  1744. package/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -29
  1745. package/docs/InvoiceProcessingApi.md +0 -712
  1746. package/docs/PDFXMLVerificationApi.md +0 -353
  1747. package/docs/UserApi.md +0 -53
  1748. package/models/body-submit-cdar-api-v1-cdar-submit-post.ts +0 -27
  1749. package/models/body-submit-cdar-xml-api-v1-cdar-submit-xml-post.ts +0 -27
  1750. package/models/facture-electronique-models-invoice-type-code.ts +0 -91
  1751. package/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts +0 -30
@@ -0,0 +1,343 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * FactPulse REST API
6
+ * REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X - Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### ✍️ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### 📋 Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### 📊 Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### 📡 AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### 🏛️ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### ⏳ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@factpulse.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ var __importDefault = (this && this.__importDefault) || function (mod) {
25
+ return (mod && mod.__esModule) ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.FacturXGenerationApi = exports.FacturXGenerationApiFactory = exports.FacturXGenerationApiFp = exports.FacturXGenerationApiAxiosParamCreator = void 0;
29
+ const axios_1 = __importDefault(require("axios"));
30
+ // Some imports not used depending on template conditions
31
+ // @ts-ignore
32
+ const common_1 = require("../common");
33
+ // @ts-ignore
34
+ const base_1 = require("../base");
35
+ /**
36
+ * FacturXGenerationApi - axios parameter creator
37
+ */
38
+ const FacturXGenerationApiAxiosParamCreator = function (configuration) {
39
+ return {
40
+ /**
41
+ * Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
42
+ * @summary Generate a Factur-X invoice
43
+ * @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
44
+ * @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
45
+ * @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
46
+ * @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
47
+ * @param {File | null} [sourcePdf]
48
+ * @param {string | null} [callbackUrl]
49
+ * @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
50
+ * @param {boolean | null} [skipBrFr]
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ generateInvoiceApiV1ProcessingGenerateInvoicePost: (invoiceData_1, profile_1, outputFormat_1, autoEnrich_1, sourcePdf_1, callbackUrl_1, webhookMode_1, skipBrFr_1, ...args_1) => __awaiter(this, [invoiceData_1, profile_1, outputFormat_1, autoEnrich_1, sourcePdf_1, callbackUrl_1, webhookMode_1, skipBrFr_1, ...args_1], void 0, function* (invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options = {}) {
55
+ // verify required parameter 'invoiceData' is not null or undefined
56
+ (0, common_1.assertParamExists)('generateInvoiceApiV1ProcessingGenerateInvoicePost', 'invoiceData', invoiceData);
57
+ const localVarPath = `/api/v1/processing/generate-invoice`;
58
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
59
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
60
+ let baseOptions;
61
+ if (configuration) {
62
+ baseOptions = configuration.baseOptions;
63
+ }
64
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
65
+ const localVarHeaderParameter = {};
66
+ const localVarQueryParameter = {};
67
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
68
+ // authentication HTTPBearer required
69
+ // http bearer authentication required
70
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
71
+ if (invoiceData !== undefined) {
72
+ localVarFormParams.append('invoice_data', invoiceData);
73
+ }
74
+ if (profile !== undefined) {
75
+ localVarFormParams.append('profile', profile);
76
+ }
77
+ if (outputFormat !== undefined) {
78
+ localVarFormParams.append('output_format', outputFormat);
79
+ }
80
+ if (autoEnrich !== undefined) {
81
+ localVarFormParams.append('auto_enrich', String(autoEnrich));
82
+ }
83
+ if (sourcePdf !== undefined) {
84
+ localVarFormParams.append('source_pdf', sourcePdf);
85
+ }
86
+ if (callbackUrl !== undefined) {
87
+ localVarFormParams.append('callback_url', callbackUrl);
88
+ }
89
+ if (webhookMode !== undefined) {
90
+ localVarFormParams.append('webhook_mode', webhookMode);
91
+ }
92
+ if (skipBrFr !== undefined) {
93
+ localVarFormParams.append('skip_br_fr', String(skipBrFr));
94
+ }
95
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
96
+ localVarHeaderParameter['Accept'] = 'application/json';
97
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
98
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
100
+ localVarRequestOptions.data = localVarFormParams;
101
+ return {
102
+ url: (0, common_1.toPathString)(localVarUrlObj),
103
+ options: localVarRequestOptions,
104
+ };
105
+ }),
106
+ /**
107
+ * Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
108
+ * @summary Submit a complete invoice (generation + signature + submission)
109
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost: (submitCompleteInvoiceRequest_1, ...args_1) => __awaiter(this, [submitCompleteInvoiceRequest_1, ...args_1], void 0, function* (submitCompleteInvoiceRequest, options = {}) {
114
+ // verify required parameter 'submitCompleteInvoiceRequest' is not null or undefined
115
+ (0, common_1.assertParamExists)('submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost', 'submitCompleteInvoiceRequest', submitCompleteInvoiceRequest);
116
+ const localVarPath = `/api/v1/processing/invoices/submit-complete`;
117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ let baseOptions;
120
+ if (configuration) {
121
+ baseOptions = configuration.baseOptions;
122
+ }
123
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
124
+ const localVarHeaderParameter = {};
125
+ const localVarQueryParameter = {};
126
+ // authentication HTTPBearer required
127
+ // http bearer authentication required
128
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
129
+ localVarHeaderParameter['Content-Type'] = 'application/json';
130
+ localVarHeaderParameter['Accept'] = 'application/json';
131
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitCompleteInvoiceRequest, localVarRequestOptions, configuration);
135
+ return {
136
+ url: (0, common_1.toPathString)(localVarUrlObj),
137
+ options: localVarRequestOptions,
138
+ };
139
+ }),
140
+ /**
141
+ * Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
142
+ * @summary Submit a complete invoice (asynchronous with Celery)
143
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
144
+ * @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
145
+ * @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost: (submitCompleteInvoiceRequest_1, callbackUrl_1, webhookMode_1, ...args_1) => __awaiter(this, [submitCompleteInvoiceRequest_1, callbackUrl_1, webhookMode_1, ...args_1], void 0, function* (submitCompleteInvoiceRequest, callbackUrl, webhookMode, options = {}) {
150
+ // verify required parameter 'submitCompleteInvoiceRequest' is not null or undefined
151
+ (0, common_1.assertParamExists)('submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost', 'submitCompleteInvoiceRequest', submitCompleteInvoiceRequest);
152
+ const localVarPath = `/api/v1/processing/invoices/submit-complete-async`;
153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
155
+ let baseOptions;
156
+ if (configuration) {
157
+ baseOptions = configuration.baseOptions;
158
+ }
159
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
160
+ const localVarHeaderParameter = {};
161
+ const localVarQueryParameter = {};
162
+ // authentication HTTPBearer required
163
+ // http bearer authentication required
164
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
165
+ if (callbackUrl !== undefined) {
166
+ localVarQueryParameter['callback_url'] = callbackUrl;
167
+ }
168
+ if (webhookMode !== undefined) {
169
+ localVarQueryParameter['webhook_mode'] = webhookMode;
170
+ }
171
+ localVarHeaderParameter['Content-Type'] = 'application/json';
172
+ localVarHeaderParameter['Accept'] = 'application/json';
173
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
176
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitCompleteInvoiceRequest, localVarRequestOptions, configuration);
177
+ return {
178
+ url: (0, common_1.toPathString)(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ };
181
+ }),
182
+ };
183
+ };
184
+ exports.FacturXGenerationApiAxiosParamCreator = FacturXGenerationApiAxiosParamCreator;
185
+ /**
186
+ * FacturXGenerationApi - functional programming interface
187
+ */
188
+ const FacturXGenerationApiFp = function (configuration) {
189
+ const localVarAxiosParamCreator = (0, exports.FacturXGenerationApiAxiosParamCreator)(configuration);
190
+ return {
191
+ /**
192
+ * Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
193
+ * @summary Generate a Factur-X invoice
194
+ * @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
195
+ * @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
196
+ * @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
197
+ * @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
198
+ * @param {File | null} [sourcePdf]
199
+ * @param {string | null} [callbackUrl]
200
+ * @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
201
+ * @param {boolean | null} [skipBrFr]
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options) {
206
+ return __awaiter(this, void 0, void 0, function* () {
207
+ var _a, _b, _c;
208
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options);
209
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
210
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FacturXGenerationApi.generateInvoiceApiV1ProcessingGenerateInvoicePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
211
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
212
+ });
213
+ },
214
+ /**
215
+ * Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
216
+ * @summary Submit a complete invoice (generation + signature + submission)
217
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ var _a, _b, _c;
224
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options);
225
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
226
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FacturXGenerationApi.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
227
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
228
+ });
229
+ },
230
+ /**
231
+ * Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
232
+ * @summary Submit a complete invoice (asynchronous with Celery)
233
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
234
+ * @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
235
+ * @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ */
239
+ submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options) {
240
+ return __awaiter(this, void 0, void 0, function* () {
241
+ var _a, _b, _c;
242
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options);
243
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
244
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FacturXGenerationApi.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
245
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
246
+ });
247
+ },
248
+ };
249
+ };
250
+ exports.FacturXGenerationApiFp = FacturXGenerationApiFp;
251
+ /**
252
+ * FacturXGenerationApi - factory interface
253
+ */
254
+ const FacturXGenerationApiFactory = function (configuration, basePath, axios) {
255
+ const localVarFp = (0, exports.FacturXGenerationApiFp)(configuration);
256
+ return {
257
+ /**
258
+ * Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
259
+ * @summary Generate a Factur-X invoice
260
+ * @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
261
+ * @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
262
+ * @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
263
+ * @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
264
+ * @param {File | null} [sourcePdf]
265
+ * @param {string | null} [callbackUrl]
266
+ * @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
267
+ * @param {boolean | null} [skipBrFr]
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options) {
272
+ return localVarFp.generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options).then((request) => request(axios, basePath));
273
+ },
274
+ /**
275
+ * Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
276
+ * @summary Submit a complete invoice (generation + signature + submission)
277
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options) {
282
+ return localVarFp.submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options).then((request) => request(axios, basePath));
283
+ },
284
+ /**
285
+ * Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
286
+ * @summary Submit a complete invoice (asynchronous with Celery)
287
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
288
+ * @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
289
+ * @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options) {
294
+ return localVarFp.submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options).then((request) => request(axios, basePath));
295
+ },
296
+ };
297
+ };
298
+ exports.FacturXGenerationApiFactory = FacturXGenerationApiFactory;
299
+ /**
300
+ * FacturXGenerationApi - object-oriented interface
301
+ */
302
+ class FacturXGenerationApi extends base_1.BaseAPI {
303
+ /**
304
+ * Generates an electronic invoice in Factur-X format compliant with European standards. ## Applied Standards - **Factur-X** (France): FNFE-MPE standard (Forum National de la Facture Électronique) - **ZUGFeRD** (Germany): German format compatible with Factur-X - **EN 16931**: European semantic standard for electronic invoicing - **ISO 19005-3** (PDF/A-3): Long-term electronic archiving - **Cross Industry Invoice (CII)**: UN/CEFACT XML syntax ## 🆕 New: Simplified format with auto-enrichment (P0.1) You can now create an invoice by providing only: - An invoice number - A supplier SIRET + **IBAN** (required) - A recipient SIRET - Invoice lines (description, quantity, net price) **Simplified format example**: ```json { \"number\": \"FACT-2025-001\", \"supplier\": { \"siret\": \"92019522900017\", \"iban\": \"FR7630001007941234567890185\" }, \"recipient\": {\"siret\": \"35600000000048\"}, \"lines\": [ {\"description\": \"Service\", \"quantity\": 10, \"unitPrice\": 100.00, \"vatRate\": 20.0} ] } ``` **⚠️ Required fields (simplified format)**: - `number`: Unique invoice number - `supplier.siret`: Supplier\'s SIRET (14 digits) - `supplier.iban`: Bank account IBAN (no public API to retrieve it) - `recipient.siret`: Recipient\'s SIRET - `lines[]`: At least one invoice line **What happens automatically with `auto_enrich=True`**: - ✅ Name enrichment from Chorus Pro API - ✅ Address enrichment from Business Search API (free, public) - ✅ Automatic intra-EU VAT calculation (FR + key + SIREN) - ✅ Chorus Pro ID retrieval for electronic invoicing - ✅ Net/VAT/Gross totals calculation - ✅ Date generation (today + 30-day due date) - ✅ Multi-rate VAT handling **Supported identifiers**: - SIRET (14 digits): Specific establishment ⭐ Recommended - SIREN (9 digits): Company (auto-selection of headquarters) - Special types: UE_HORS_FRANCE, RIDET, TAHITI, etc. ## Checks performed during generation ### 1. Data validation (Pydantic) - Data types (amounts as Decimal, ISO 8601 dates) - Formats (14-digit SIRET, 9-digit SIREN, IBAN) - Required fields per profile - Amount consistency (Net + VAT = Gross) ### 2. CII-compliant XML generation - Serialization according to Cross Industry Invoice XSD schema - Correct UN/CEFACT namespaces - Hierarchical structure respected - UTF-8 encoding without BOM ### 3. Schematron validation - Business rules for selected profile (MINIMUM, BASIC, EN16931, EXTENDED) - Element cardinality (required, optional, repeatable) - Calculation rules (totals, VAT, discounts) - European EN 16931 compliance ### 4. PDF/A-3 conversion (if output_format=\'pdf\') - Source PDF conversion to PDF/A-3 via Ghostscript - Factur-X XML embedding in PDF - Compliant XMP metadata - ICC sRGB color profile - Removal of forbidden elements (JavaScript, forms) ## How it works 1. **Submission**: Invoice is queued in Celery for asynchronous processing 2. **Immediate return**: You receive a `task_id` (HTTP 202 Accepted) 3. **Tracking**: Use the `/tasks/{task_id}/status` endpoint to track progress ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when the task completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `generation.completed` or `generation.failed` - `data.task_id`: The Celery task ID - `data.content_b64` or `data.xml_content`: The generated content - `X-Webhook-Signature` header for HMAC verification See `/docs/WEBHOOKS.md` for full documentation. ## Output formats - **xml**: Generates only Factur-X XML (recommended for testing) - **pdf**: Generates PDF/A-3 with embedded XML (requires `source_pdf`) ## Factur-X profiles - **MINIMUM**: Minimal data (simplified invoice) - **BASIC**: Basic information (SMEs) - **EN16931**: European standard (recommended, compliant with directive 2014/55/EU) - **EXTENDED**: All available data (large accounts) ## What you get After successful processing (status `completed`): - **XML only**: Base64-encoded Factur-X compliant XML file - **PDF/A-3**: PDF with embedded XML, ready for sending/archiving - **Metadata**: Profile, Factur-X version, file size - **Validation**: Schematron compliance confirmation ## Validation Data is automatically validated according to detected format. On error, a 422 status is returned with invalid field details.
305
+ * @summary Generate a Factur-X invoice
306
+ * @param {string} invoiceData Invoice data in JSON format. Two formats accepted: 1. **Classic format**: Complete FacturXInvoice structure (all fields) 2. **Simplified format** (🆕 P0.1): Minimal structure with auto-enrichment Format is detected automatically!
307
+ * @param {APIProfile} [profile] Factur-X profile: MINIMUM, BASIC, EN16931 or EXTENDED.
308
+ * @param {OutputFormat} [outputFormat] Output format: \\\'xml\\\' (XML only) or \\\'pdf\\\' (Factur-X PDF with embedded XML).
309
+ * @param {boolean} [autoEnrich] 🆕 Enable auto-enrichment from SIRET/SIREN (simplified format only)
310
+ * @param {File | null} [sourcePdf]
311
+ * @param {string | null} [callbackUrl]
312
+ * @param {string} [webhookMode] Webhook content delivery: \\\'inline\\\' (base64 in payload) or \\\'download_url\\\' (temporary URL, 1h TTL)
313
+ * @param {boolean | null} [skipBrFr]
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options) {
318
+ return (0, exports.FacturXGenerationApiFp)(this.configuration).generateInvoiceApiV1ProcessingGenerateInvoicePost(invoiceData, profile, outputFormat, autoEnrich, sourcePdf, callbackUrl, webhookMode, skipBrFr, options).then((request) => request(this.axios, this.basePath));
319
+ }
320
+ /**
321
+ * Unified endpoint to submit a complete invoice to different destinations. **Facture prête pour Flux 2** - Génère une facture Factur-X complète avec signature optionnelle et soumission vers Chorus Pro ou PDP AFNOR. **Automated workflow:** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Destination credentials - 2 modes available:** **Mode 1 - Retrieval via JWT (recommended):** - Credentials are retrieved automatically via the JWT `client_uid` - Do not provide the `credentials` field in `destination` - Zero-trust architecture: no secrets in the payload - Example: `\"destination\": {\"type\": \"chorus_pro\"}` **Mode 2 - Credentials in the payload:** - Provide credentials directly in the payload - Useful for tests or third-party integrations - Example: `\"destination\": {\"type\": \"chorus_pro\", \"credentials\": {...}}` **Electronic signature (optional) - 2 modes available:** **Mode 1 - Stored certificate (recommended):** - Certificate is retrieved automatically via the JWT `client_uid` - No key to provide in the payload - PAdES-B-LT signature with timestamp (eIDAS compliant) - Example: `\"signature\": {\"reason\": \"Factur-X compliance\"}` **Mode 2 - Keys in the payload (for tests):** - Provide `key_pem` and `cert_pem` directly - PEM format accepted: raw or base64 - Useful for tests or special cases without stored certificate - Example: `\"signature\": {\"key_pem\": \"-----BEGIN...\", \"cert_pem\": \"-----BEGIN...\"}` If `key_pem` and `cert_pem` are provided → Mode 2 Otherwise → Mode 1 (certificate retrieved via `client_uid`)
322
+ * @summary Submit a complete invoice (generation + signature + submission)
323
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ */
327
+ submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options) {
328
+ return (0, exports.FacturXGenerationApiFp)(this.configuration).submitCompleteInvoiceApiV1ProcessingInvoicesSubmitCompletePost(submitCompleteInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
329
+ }
330
+ /**
331
+ * Asynchronous version of the `/invoices/submit-complete` endpoint using Celery for background processing. **Facture prête pour Flux 2** - Génère une facture Factur-X complète de manière asynchrone. **Automated workflow (same as synchronous version):** 1. **Auto-enrichment** (optional): retrieves data via public APIs and Chorus Pro/AFNOR 2. **Factur-X PDF generation**: creates a PDF/A-3 with embedded XML 3. **Electronic signature** (optional): signs the PDF with a certificate 4. **Submission**: sends to the chosen destination (Chorus Pro or AFNOR PDP) **Supported destinations:** - **Chorus Pro**: French B2G platform (invoices to public sector) - **AFNOR PDP**: Partner Dematerialization Platforms **Differences with synchronous version:** - ✅ **Non-blocking**: Returns immediately with a `task_id` (HTTP 202 Accepted) - ✅ **Background processing**: Invoice is processed by a Celery worker - ✅ **Progress tracking**: Use `/tasks/{task_id}/status` to track status - ✅ **Ideal for high volumes**: Allows processing many invoices in parallel **How to use:** 1. **Submission**: Call this endpoint with your invoice data 2. **Immediate return**: You receive a `task_id` (e.g., \"abc123-def456\") 3. **Tracking**: Call `/tasks/{task_id}/status` to check progress 4. **Result**: When `status = \"SUCCESS\"`, the `result` field contains the complete response **Webhook notification (recommended):** Instead of polling, add `?callback_url=https://your-server.com/webhook` to receive automatic notification: - `event_type`: `submission.completed`, `submission.failed`, or `submission.partial` - `data.submission_result`: Complete submission result - `X-Webhook-Signature` header for HMAC verification **Credentials and signature**: Same modes as the synchronous version (JWT or payload).
332
+ * @summary Submit a complete invoice (asynchronous with Celery)
333
+ * @param {SubmitCompleteInvoiceRequest} submitCompleteInvoiceRequest
334
+ * @param {string | null} [callbackUrl] Webhook URL for async notification when submission completes.
335
+ * @param {string} [webhookMode] Webhook content delivery: \'inline\' (base64 in payload) or \'download_url\' (temporary URL, 1h TTL)
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ */
339
+ submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options) {
340
+ return (0, exports.FacturXGenerationApiFp)(this.configuration).submitCompleteInvoiceAsyncApiV1ProcessingInvoicesSubmitCompleteAsyncPost(submitCompleteInvoiceRequest, callbackUrl, webhookMode, options).then((request) => request(this.axios, this.basePath));
341
+ }
342
+ }
343
+ exports.FacturXGenerationApi = FacturXGenerationApi;
@@ -0,0 +1,145 @@
1
+ /**
2
+ * FactPulse REST API
3
+ * REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X - Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Factur-X - Validation - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) ### ✍️ Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification ### 📋 Flux 6 - Invoice Lifecycle (CDAR) - **CDAR Messages**: Acknowledgements, invoice statuses - **PPF Statuses**: REFUSED (210), PAID (212) ### 📊 Flux 10 - E-Reporting - **Tax Declarations**: International B2B, B2C - **Flow Types**: 10.1 (B2B transactions), 10.2 (B2B payments), 10.3 (B2C transactions), 10.4 (B2C payments) ### 📡 AFNOR PDP/PA (XP Z12-013) - **Flow Service**: Submit and search flows to PDPs - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user ### 🏛️ Chorus Pro - **Public Sector Invoicing**: Complete API for Chorus Pro ### ⏳ Async Tasks - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **Webhooks**: Automatic notifications when tasks complete ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@factpulse.fr
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { AsyncTaskStatus } from '../models';
16
+ import type { TaskResponse } from '../models';
17
+ import type { VerificationSuccessResponse } from '../models';
18
+ /**
19
+ * FacturXPDFXMLVerificationApi - axios parameter creator
20
+ */
21
+ export declare const FacturXPDFXMLVerificationApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
24
+ * @summary Get status of an asynchronous verification
25
+ * @param {string} taskId Celery task ID returned by /verify-async endpoint
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when verification completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `verification.completed` or `verification.failed` - `data.is_compliant`: Whether the PDF/XML are consistent - `data.compliance_score`: Compliance score (0-1) - `X-Webhook-Signature` header for HMAC verification
32
+ * @summary Verify PDF/XML Factur-X compliance (asynchronous)
33
+ * @param {File} pdfFile Factur-X PDF file to verify
34
+ * @param {boolean} [forceOcr] Force OCR usage even if PDF contains native text
35
+ * @param {string | null} [callbackUrl]
36
+ * @param {string} [webhookMode] Webhook content delivery: \\\&#39;inline\\\&#39; (base64 in payload) or \\\&#39;download_url\\\&#39; (temporary URL, 1h TTL)
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ verifyPdfAsyncApiV1VerificationVerifyAsyncPost: (pdfFile: File, forceOcr?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Verifies compliance between the PDF and its embedded Factur-X XML. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will be rejected with a 400 error. This synchronous version uses only native PDF extraction (pdfplumber). For image PDFs requiring OCR, use the `/verify-async` endpoint. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency
43
+ * @summary Verify PDF/XML Factur-X compliance (synchronous)
44
+ * @param {File} pdfFile Factur-X PDF file to verify
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ verifyPdfSyncApiV1VerificationVerifyPost: (pdfFile: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
+ };
50
+ /**
51
+ * FacturXPDFXMLVerificationApi - functional programming interface
52
+ */
53
+ export declare const FacturXPDFXMLVerificationApiFp: (configuration?: Configuration) => {
54
+ /**
55
+ * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
56
+ * @summary Get status of an asynchronous verification
57
+ * @param {string} taskId Celery task ID returned by /verify-async endpoint
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AsyncTaskStatus>>;
62
+ /**
63
+ * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when verification completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `verification.completed` or `verification.failed` - `data.is_compliant`: Whether the PDF/XML are consistent - `data.compliance_score`: Compliance score (0-1) - `X-Webhook-Signature` header for HMAC verification
64
+ * @summary Verify PDF/XML Factur-X compliance (asynchronous)
65
+ * @param {File} pdfFile Factur-X PDF file to verify
66
+ * @param {boolean} [forceOcr] Force OCR usage even if PDF contains native text
67
+ * @param {string | null} [callbackUrl]
68
+ * @param {string} [webhookMode] Webhook content delivery: \\\&#39;inline\\\&#39; (base64 in payload) or \\\&#39;download_url\\\&#39; (temporary URL, 1h TTL)
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ verifyPdfAsyncApiV1VerificationVerifyAsyncPost(pdfFile: File, forceOcr?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResponse>>;
73
+ /**
74
+ * Verifies compliance between the PDF and its embedded Factur-X XML. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will be rejected with a 400 error. This synchronous version uses only native PDF extraction (pdfplumber). For image PDFs requiring OCR, use the `/verify-async` endpoint. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency
75
+ * @summary Verify PDF/XML Factur-X compliance (synchronous)
76
+ * @param {File} pdfFile Factur-X PDF file to verify
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ verifyPdfSyncApiV1VerificationVerifyPost(pdfFile: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerificationSuccessResponse>>;
81
+ };
82
+ /**
83
+ * FacturXPDFXMLVerificationApi - factory interface
84
+ */
85
+ export declare const FacturXPDFXMLVerificationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
86
+ /**
87
+ * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
88
+ * @summary Get status of an asynchronous verification
89
+ * @param {string} taskId Celery task ID returned by /verify-async endpoint
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<AsyncTaskStatus>;
94
+ /**
95
+ * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when verification completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `verification.completed` or `verification.failed` - `data.is_compliant`: Whether the PDF/XML are consistent - `data.compliance_score`: Compliance score (0-1) - `X-Webhook-Signature` header for HMAC verification
96
+ * @summary Verify PDF/XML Factur-X compliance (asynchronous)
97
+ * @param {File} pdfFile Factur-X PDF file to verify
98
+ * @param {boolean} [forceOcr] Force OCR usage even if PDF contains native text
99
+ * @param {string | null} [callbackUrl]
100
+ * @param {string} [webhookMode] Webhook content delivery: \\\&#39;inline\\\&#39; (base64 in payload) or \\\&#39;download_url\\\&#39; (temporary URL, 1h TTL)
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ verifyPdfAsyncApiV1VerificationVerifyAsyncPost(pdfFile: File, forceOcr?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskResponse>;
105
+ /**
106
+ * Verifies compliance between the PDF and its embedded Factur-X XML. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will be rejected with a 400 error. This synchronous version uses only native PDF extraction (pdfplumber). For image PDFs requiring OCR, use the `/verify-async` endpoint. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency
107
+ * @summary Verify PDF/XML Factur-X compliance (synchronous)
108
+ * @param {File} pdfFile Factur-X PDF file to verify
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ verifyPdfSyncApiV1VerificationVerifyPost(pdfFile: File, options?: RawAxiosRequestConfig): AxiosPromise<VerificationSuccessResponse>;
113
+ };
114
+ /**
115
+ * FacturXPDFXMLVerificationApi - object-oriented interface
116
+ */
117
+ export declare class FacturXPDFXMLVerificationApi extends BaseAPI {
118
+ /**
119
+ * Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
120
+ * @summary Get status of an asynchronous verification
121
+ * @param {string} taskId Celery task ID returned by /verify-async endpoint
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ getVerificationStatusApiV1VerificationVerifyAsyncTaskIdStatusGet(taskId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AsyncTaskStatus, any, {}>>;
126
+ /**
127
+ * Verifies PDF/XML Factur-X compliance asynchronously. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will return a `NOT_FACTURX` error in the result. This version uses a Celery task and can call the OCR service if the PDF is an image or if `force_ocr=true`. **Returns immediately** a task ID. Use `/verify-async/{task_id}/status` to retrieve the result. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency **Advantages over synchronous version:** - OCR support for image PDFs (via DocTR service) - Longer timeout for large documents - Doesn\'t block the server ## Webhook notification (recommended) Instead of polling, you can receive a webhook notification when verification completes: ``` callback_url=https://your-server.com/webhook ``` The webhook will POST a JSON payload with: - `event_type`: `verification.completed` or `verification.failed` - `data.is_compliant`: Whether the PDF/XML are consistent - `data.compliance_score`: Compliance score (0-1) - `X-Webhook-Signature` header for HMAC verification
128
+ * @summary Verify PDF/XML Factur-X compliance (asynchronous)
129
+ * @param {File} pdfFile Factur-X PDF file to verify
130
+ * @param {boolean} [forceOcr] Force OCR usage even if PDF contains native text
131
+ * @param {string | null} [callbackUrl]
132
+ * @param {string} [webhookMode] Webhook content delivery: \\\&#39;inline\\\&#39; (base64 in payload) or \\\&#39;download_url\\\&#39; (temporary URL, 1h TTL)
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ verifyPdfAsyncApiV1VerificationVerifyAsyncPost(pdfFile: File, forceOcr?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskResponse, any, {}>>;
137
+ /**
138
+ * Verifies compliance between the PDF and its embedded Factur-X XML. **IMPORTANT**: Only Factur-X PDFs (with embedded XML) are accepted. PDFs without Factur-X XML will be rejected with a 400 error. This synchronous version uses only native PDF extraction (pdfplumber). For image PDFs requiring OCR, use the `/verify-async` endpoint. **Verification principle (Factur-X 1.08):** - Principle #2: XML can only contain info present in the PDF - Principle #4: All XML info must be present and compliant in the PDF **Verified fields:** - Identification: BT-1 (invoice #), BT-2 (date), BT-3 (type), BT-5 (currency), BT-23 (framework) - Seller: BT-27 (name), BT-29 (SIRET), BT-30 (SIREN), BT-31 (VAT) - Buyer: BT-44 (name), BT-46 (SIRET), BT-47 (SIREN), BT-48 (VAT) - Amounts: BT-109 (excl. tax), BT-110 (VAT), BT-112 (incl. tax), BT-115 (amount due) - VAT breakdown: BT-116, BT-117, BT-118, BT-119 - Invoice lines: BT-153, BT-129, BT-146, BT-131 - Mandatory notes: PMT, PMD, AAB - Rule BR-FR-09: SIRET/SIREN consistency
139
+ * @summary Verify PDF/XML Factur-X compliance (synchronous)
140
+ * @param {File} pdfFile Factur-X PDF file to verify
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ verifyPdfSyncApiV1VerificationVerifyPost(pdfFile: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerificationSuccessResponse, any, {}>>;
145
+ }