@factpulse/sdk 4.0.2 → 4.1.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 (1894) hide show
  1. package/.openapi-generator/FILES +76 -6
  2. package/.openapi-generator/VERSION +1 -1
  3. package/CHANGELOG.md +4 -4
  4. package/README.md +12 -0
  5. package/api/afnorpdppaapi.ts +18 -8
  6. package/api/afnorpdppadirectory-service-api.ts +1 -1
  7. package/api/afnorpdppaflow-service-api.ts +1 -1
  8. package/api/async-tasks-api.ts +235 -1
  9. package/api/chorus-pro-api.ts +49 -1
  10. package/api/client-management-api.ts +385 -36
  11. package/api/downloads-api.ts +15 -9
  12. package/api/electronic-signature-api.ts +13 -1
  13. package/api/factur-xconversion-api.ts +173 -1
  14. package/api/factur-xpdfxmlverification-api.ts +87 -1
  15. package/api/factur-xvalidation-api.ts +7 -99
  16. package/api/flux10-ereporting-api.ts +19 -1
  17. package/api/flux6-invoice-lifecycle-cdarapi.ts +125 -1
  18. package/api/health-api.ts +4 -123
  19. package/api/{factur-xgeneration-api.ts → invoice-generation-api.ts} +42 -33
  20. package/api/parse-api.ts +232 -0
  21. package/api/references-api.ts +127 -0
  22. package/api/validation-api.ts +161 -0
  23. package/api.ts +5 -2
  24. package/base.ts +1 -1
  25. package/common.ts +3 -2
  26. package/configuration.ts +1 -1
  27. package/dist/api/afnorpdppaapi.d.ts +9 -5
  28. package/dist/api/afnorpdppaapi.js +17 -8
  29. package/dist/api/afnorpdppadirectory-service-api.d.ts +1 -1
  30. package/dist/api/afnorpdppadirectory-service-api.js +1 -1
  31. package/dist/api/afnorpdppaflow-service-api.d.ts +1 -1
  32. package/dist/api/afnorpdppaflow-service-api.js +1 -1
  33. package/dist/api/async-tasks-api.d.ts +100 -1
  34. package/dist/api/async-tasks-api.js +216 -1
  35. package/dist/api/chorus-pro-api.d.ts +1 -1
  36. package/dist/api/chorus-pro-api.js +33 -1
  37. package/dist/api/client-management-api.d.ts +174 -33
  38. package/dist/api/client-management-api.js +351 -36
  39. package/dist/api/downloads-api.d.ts +9 -9
  40. package/dist/api/downloads-api.js +13 -9
  41. package/dist/api/electronic-signature-api.d.ts +1 -1
  42. package/dist/api/electronic-signature-api.js +9 -1
  43. package/dist/api/factur-xconversion-api.d.ts +70 -1
  44. package/dist/api/factur-xconversion-api.js +159 -1
  45. package/dist/api/factur-xpdfxmlverification-api.d.ts +34 -1
  46. package/dist/api/factur-xpdfxmlverification-api.js +78 -1
  47. package/dist/api/factur-xvalidation-api.d.ts +1 -42
  48. package/dist/api/factur-xvalidation-api.js +5 -89
  49. package/dist/api/flux10-ereporting-api.d.ts +1 -1
  50. package/dist/api/flux10-ereporting-api.js +13 -1
  51. package/dist/api/flux6-invoice-lifecycle-cdarapi.d.ts +54 -1
  52. package/dist/api/flux6-invoice-lifecycle-cdarapi.js +111 -1
  53. package/dist/api/health-api.d.ts +1 -57
  54. package/dist/api/health-api.js +3 -119
  55. package/dist/api/{factur-xgeneration-api.d.ts → invoice-generation-api.d.ts} +25 -25
  56. package/dist/api/{factur-xgeneration-api.js → invoice-generation-api.js} +44 -38
  57. package/dist/api/parse-api.d.ts +104 -0
  58. package/dist/api/parse-api.js +225 -0
  59. package/dist/api/references-api.d.ts +67 -0
  60. package/dist/api/references-api.js +132 -0
  61. package/dist/api/validation-api.d.ts +76 -0
  62. package/dist/api/validation-api.js +156 -0
  63. package/dist/api.d.ts +5 -2
  64. package/dist/api.js +5 -2
  65. package/dist/base.d.ts +1 -1
  66. package/dist/base.js +1 -1
  67. package/dist/common.d.ts +2 -2
  68. package/dist/common.js +2 -1
  69. package/dist/configuration.d.ts +1 -1
  70. package/dist/configuration.js +1 -1
  71. package/dist/esm/api/afnorpdppaapi.d.ts +9 -5
  72. package/dist/esm/api/afnorpdppaapi.js +18 -9
  73. package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +1 -1
  74. package/dist/esm/api/afnorpdppadirectory-service-api.js +1 -1
  75. package/dist/esm/api/afnorpdppaflow-service-api.d.ts +1 -1
  76. package/dist/esm/api/afnorpdppaflow-service-api.js +1 -1
  77. package/dist/esm/api/async-tasks-api.d.ts +100 -1
  78. package/dist/esm/api/async-tasks-api.js +217 -2
  79. package/dist/esm/api/chorus-pro-api.d.ts +1 -1
  80. package/dist/esm/api/chorus-pro-api.js +34 -2
  81. package/dist/esm/api/client-management-api.d.ts +174 -33
  82. package/dist/esm/api/client-management-api.js +352 -37
  83. package/dist/esm/api/downloads-api.d.ts +9 -9
  84. package/dist/esm/api/downloads-api.js +14 -10
  85. package/dist/esm/api/electronic-signature-api.d.ts +1 -1
  86. package/dist/esm/api/electronic-signature-api.js +10 -2
  87. package/dist/esm/api/factur-xconversion-api.d.ts +70 -1
  88. package/dist/esm/api/factur-xconversion-api.js +160 -2
  89. package/dist/esm/api/factur-xpdfxmlverification-api.d.ts +34 -1
  90. package/dist/esm/api/factur-xpdfxmlverification-api.js +79 -2
  91. package/dist/esm/api/factur-xvalidation-api.d.ts +1 -42
  92. package/dist/esm/api/factur-xvalidation-api.js +6 -90
  93. package/dist/esm/api/flux10-ereporting-api.d.ts +1 -1
  94. package/dist/esm/api/flux10-ereporting-api.js +14 -2
  95. package/dist/esm/api/flux6-invoice-lifecycle-cdarapi.d.ts +54 -1
  96. package/dist/esm/api/flux6-invoice-lifecycle-cdarapi.js +112 -2
  97. package/dist/esm/api/health-api.d.ts +1 -57
  98. package/dist/esm/api/health-api.js +4 -120
  99. package/dist/esm/api/{factur-xgeneration-api.d.ts → invoice-generation-api.d.ts} +25 -25
  100. package/dist/esm/api/{factur-xgeneration-api.js → invoice-generation-api.js} +40 -34
  101. package/dist/esm/api/parse-api.d.ts +104 -0
  102. package/dist/esm/api/parse-api.js +215 -0
  103. package/dist/esm/api/references-api.d.ts +67 -0
  104. package/dist/esm/api/references-api.js +122 -0
  105. package/dist/esm/api/validation-api.d.ts +76 -0
  106. package/dist/esm/api/validation-api.js +146 -0
  107. package/dist/esm/api.d.ts +5 -2
  108. package/dist/esm/api.js +5 -2
  109. package/dist/esm/base.d.ts +1 -1
  110. package/dist/esm/base.js +1 -1
  111. package/dist/esm/common.d.ts +2 -2
  112. package/dist/esm/common.js +2 -1
  113. package/dist/esm/configuration.d.ts +1 -1
  114. package/dist/esm/configuration.js +1 -1
  115. package/dist/esm/index.d.ts +1 -1
  116. package/dist/esm/index.js +1 -1
  117. package/dist/esm/models/acknowledgment-status.d.ts +1 -1
  118. package/dist/esm/models/acknowledgment-status.js +1 -1
  119. package/dist/esm/models/action-code-info.d.ts +1 -1
  120. package/dist/esm/models/action-code-info.js +1 -1
  121. package/dist/esm/models/action-codes-response.d.ts +1 -1
  122. package/dist/esm/models/action-codes-response.js +1 -1
  123. package/dist/esm/models/additional-document.d.ts +1 -1
  124. package/dist/esm/models/additional-document.js +1 -1
  125. package/dist/esm/models/afnoracknowledgement-detail.d.ts +1 -1
  126. package/dist/esm/models/afnoracknowledgement-detail.js +1 -1
  127. package/dist/esm/models/afnoracknowledgement.d.ts +1 -1
  128. package/dist/esm/models/afnoracknowledgement.js +1 -1
  129. package/dist/esm/models/afnoraddress-edit.d.ts +1 -1
  130. package/dist/esm/models/afnoraddress-edit.js +1 -1
  131. package/dist/esm/models/afnoraddress-patch.d.ts +1 -1
  132. package/dist/esm/models/afnoraddress-patch.js +1 -1
  133. package/dist/esm/models/afnoraddress-put.d.ts +1 -1
  134. package/dist/esm/models/afnoraddress-put.js +1 -1
  135. package/dist/esm/models/afnoraddress-read.d.ts +1 -1
  136. package/dist/esm/models/afnoraddress-read.js +1 -1
  137. package/dist/esm/models/afnoralgorithm.d.ts +1 -1
  138. package/dist/esm/models/afnoralgorithm.js +1 -1
  139. package/dist/esm/models/afnorcontains-operator.d.ts +1 -1
  140. package/dist/esm/models/afnorcontains-operator.js +1 -1
  141. package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
  142. package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
  143. package/dist/esm/models/afnorcreate-directory-line-body-period.d.ts +1 -1
  144. package/dist/esm/models/afnorcreate-directory-line-body-period.js +1 -1
  145. package/dist/esm/models/afnorcreate-directory-line-body.d.ts +1 -1
  146. package/dist/esm/models/afnorcreate-directory-line-body.js +1 -1
  147. package/dist/esm/models/afnorcreate-routing-code-body.d.ts +1 -1
  148. package/dist/esm/models/afnorcreate-routing-code-body.js +1 -1
  149. package/dist/esm/models/afnorcredentials.d.ts +1 -1
  150. package/dist/esm/models/afnorcredentials.js +1 -1
  151. package/dist/esm/models/afnordestination.d.ts +1 -1
  152. package/dist/esm/models/afnordestination.js +1 -1
  153. package/dist/esm/models/afnordiffusion-status.d.ts +1 -1
  154. package/dist/esm/models/afnordiffusion-status.js +1 -1
  155. package/dist/esm/models/afnordirectory-line-field.d.ts +1 -1
  156. package/dist/esm/models/afnordirectory-line-field.js +1 -1
  157. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
  158. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
  159. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
  160. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
  161. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
  162. package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
  163. package/dist/esm/models/afnordirectory-line-post201-response.d.ts +1 -1
  164. package/dist/esm/models/afnordirectory-line-post201-response.js +1 -1
  165. package/dist/esm/models/afnordirectory-line-search-post200-response.d.ts +1 -1
  166. package/dist/esm/models/afnordirectory-line-search-post200-response.js +1 -1
  167. package/dist/esm/models/afnorentity-type.d.ts +1 -1
  168. package/dist/esm/models/afnorentity-type.js +1 -1
  169. package/dist/esm/models/afnorerror-detail.d.ts +21 -0
  170. package/dist/esm/models/afnorerror-detail.js +14 -0
  171. package/dist/esm/models/afnorerror.d.ts +1 -1
  172. package/dist/esm/models/afnorerror.js +1 -1
  173. package/dist/esm/models/afnorfacility-administrative-status.d.ts +1 -1
  174. package/dist/esm/models/afnorfacility-administrative-status.js +1 -1
  175. package/dist/esm/models/afnorfacility-nature.d.ts +1 -1
  176. package/dist/esm/models/afnorfacility-nature.js +1 -1
  177. package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
  178. package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
  179. package/dist/esm/models/afnorfacility-payload-history.d.ts +1 -1
  180. package/dist/esm/models/afnorfacility-payload-history.js +1 -1
  181. package/dist/esm/models/afnorfacility-payload-included.d.ts +1 -1
  182. package/dist/esm/models/afnorfacility-payload-included.js +1 -1
  183. package/dist/esm/models/afnorfacility-type.d.ts +1 -1
  184. package/dist/esm/models/afnorfacility-type.js +1 -1
  185. package/dist/esm/models/afnorflow-ack-status.d.ts +1 -1
  186. package/dist/esm/models/afnorflow-ack-status.js +1 -1
  187. package/dist/esm/models/afnorflow-direction.d.ts +1 -1
  188. package/dist/esm/models/afnorflow-direction.js +1 -1
  189. package/dist/esm/models/afnorflow-info.d.ts +1 -1
  190. package/dist/esm/models/afnorflow-info.js +1 -1
  191. package/dist/esm/models/afnorflow-profile.d.ts +1 -1
  192. package/dist/esm/models/afnorflow-profile.js +1 -1
  193. package/dist/esm/models/afnorflow-syntax.d.ts +1 -1
  194. package/dist/esm/models/afnorflow-syntax.js +1 -1
  195. package/dist/esm/models/afnorflow-type.d.ts +1 -1
  196. package/dist/esm/models/afnorflow-type.js +1 -1
  197. package/dist/esm/models/afnorflow.d.ts +1 -1
  198. package/dist/esm/models/afnorflow.js +1 -1
  199. package/dist/esm/models/afnorfull-flow-info.d.ts +1 -1
  200. package/dist/esm/models/afnorfull-flow-info.js +1 -1
  201. package/dist/esm/models/afnorhealth-check-response.d.ts +1 -1
  202. package/dist/esm/models/afnorhealth-check-response.js +1 -1
  203. package/dist/esm/models/afnorlegal-unit-administrative-status.d.ts +1 -1
  204. package/dist/esm/models/afnorlegal-unit-administrative-status.js +1 -1
  205. package/dist/esm/models/afnorlegal-unit-payload-history.d.ts +1 -1
  206. package/dist/esm/models/afnorlegal-unit-payload-history.js +1 -1
  207. package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
  208. package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
  209. package/dist/esm/models/afnorlegal-unit-payload-included.d.ts +1 -1
  210. package/dist/esm/models/afnorlegal-unit-payload-included.js +1 -1
  211. package/dist/esm/models/afnorplatform-status.d.ts +1 -1
  212. package/dist/esm/models/afnorplatform-status.js +1 -1
  213. package/dist/esm/models/afnorprocessing-rule.d.ts +1 -1
  214. package/dist/esm/models/afnorprocessing-rule.js +1 -1
  215. package/dist/esm/models/afnorreason-code-enum.d.ts +1 -1
  216. package/dist/esm/models/afnorreason-code-enum.js +1 -1
  217. package/dist/esm/models/afnorreason-code.d.ts +1 -1
  218. package/dist/esm/models/afnorreason-code.js +1 -1
  219. package/dist/esm/models/afnorrecipient-platform-type.d.ts +1 -1
  220. package/dist/esm/models/afnorrecipient-platform-type.js +1 -1
  221. package/dist/esm/models/afnorresult.d.ts +1 -1
  222. package/dist/esm/models/afnorresult.js +1 -1
  223. package/dist/esm/models/afnorrouting-code-administrative-status.d.ts +1 -1
  224. package/dist/esm/models/afnorrouting-code-administrative-status.js +1 -1
  225. package/dist/esm/models/afnorrouting-code-field.d.ts +1 -1
  226. package/dist/esm/models/afnorrouting-code-field.js +1 -1
  227. package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
  228. package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
  229. package/dist/esm/models/afnorrouting-code-post201-response.d.ts +1 -1
  230. package/dist/esm/models/afnorrouting-code-post201-response.js +1 -1
  231. package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
  232. package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
  233. package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
  234. package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
  235. package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
  236. package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
  237. package/dist/esm/models/afnorrouting-code-search-filters.d.ts +1 -1
  238. package/dist/esm/models/afnorrouting-code-search-filters.js +1 -1
  239. package/dist/esm/models/afnorrouting-code-search-post200-response.d.ts +1 -1
  240. package/dist/esm/models/afnorrouting-code-search-post200-response.js +1 -1
  241. package/dist/esm/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
  242. package/dist/esm/models/afnorrouting-code-search-sorting-inner.js +1 -1
  243. package/dist/esm/models/afnorrouting-code-search.d.ts +1 -1
  244. package/dist/esm/models/afnorrouting-code-search.js +1 -1
  245. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
  246. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
  247. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
  248. package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
  249. package/dist/esm/models/afnorsearch-directory-line-filters.d.ts +1 -1
  250. package/dist/esm/models/afnorsearch-directory-line-filters.js +1 -1
  251. package/dist/esm/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
  252. package/dist/esm/models/afnorsearch-directory-line-sorting-inner.js +1 -1
  253. package/dist/esm/models/afnorsearch-directory-line.d.ts +1 -1
  254. package/dist/esm/models/afnorsearch-directory-line.js +1 -1
  255. package/dist/esm/models/afnorsearch-flow-content.d.ts +1 -1
  256. package/dist/esm/models/afnorsearch-flow-content.js +1 -1
  257. package/dist/esm/models/afnorsearch-flow-filters.d.ts +1 -1
  258. package/dist/esm/models/afnorsearch-flow-filters.js +1 -1
  259. package/dist/esm/models/afnorsearch-flow-params.d.ts +1 -1
  260. package/dist/esm/models/afnorsearch-flow-params.js +1 -1
  261. package/dist/esm/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
  262. package/dist/esm/models/afnorsearch-siren-filters-administrative-status.js +1 -1
  263. package/dist/esm/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
  264. package/dist/esm/models/afnorsearch-siren-filters-business-name.js +1 -1
  265. package/dist/esm/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
  266. package/dist/esm/models/afnorsearch-siren-filters-entity-type.js +1 -1
  267. package/dist/esm/models/afnorsearch-siren-filters-siren.d.ts +1 -1
  268. package/dist/esm/models/afnorsearch-siren-filters-siren.js +1 -1
  269. package/dist/esm/models/afnorsearch-siren-filters.d.ts +1 -1
  270. package/dist/esm/models/afnorsearch-siren-filters.js +1 -1
  271. package/dist/esm/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
  272. package/dist/esm/models/afnorsearch-siren-sorting-inner.js +1 -1
  273. package/dist/esm/models/afnorsearch-siren.d.ts +1 -1
  274. package/dist/esm/models/afnorsearch-siren.js +1 -1
  275. package/dist/esm/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
  276. package/dist/esm/models/afnorsearch-siret-filters-address-lines.js +1 -1
  277. package/dist/esm/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
  278. package/dist/esm/models/afnorsearch-siret-filters-administrative-status.js +1 -1
  279. package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
  280. package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
  281. package/dist/esm/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
  282. package/dist/esm/models/afnorsearch-siret-filters-facility-type.js +1 -1
  283. package/dist/esm/models/afnorsearch-siret-filters-locality.d.ts +1 -1
  284. package/dist/esm/models/afnorsearch-siret-filters-locality.js +1 -1
  285. package/dist/esm/models/afnorsearch-siret-filters-name.d.ts +1 -1
  286. package/dist/esm/models/afnorsearch-siret-filters-name.js +1 -1
  287. package/dist/esm/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
  288. package/dist/esm/models/afnorsearch-siret-filters-postal-code.js +1 -1
  289. package/dist/esm/models/afnorsearch-siret-filters-siret.d.ts +1 -1
  290. package/dist/esm/models/afnorsearch-siret-filters-siret.js +1 -1
  291. package/dist/esm/models/afnorsearch-siret-filters.d.ts +1 -1
  292. package/dist/esm/models/afnorsearch-siret-filters.js +1 -1
  293. package/dist/esm/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
  294. package/dist/esm/models/afnorsearch-siret-sorting-inner.js +1 -1
  295. package/dist/esm/models/afnorsearch-siret.d.ts +1 -1
  296. package/dist/esm/models/afnorsearch-siret.js +1 -1
  297. package/dist/esm/models/afnorsiren-field.d.ts +1 -1
  298. package/dist/esm/models/afnorsiren-field.js +1 -1
  299. package/dist/esm/models/afnorsiren-search-post200-response.d.ts +1 -1
  300. package/dist/esm/models/afnorsiren-search-post200-response.js +1 -1
  301. package/dist/esm/models/afnorsiret-field.d.ts +1 -1
  302. package/dist/esm/models/afnorsiret-field.js +1 -1
  303. package/dist/esm/models/afnorsiret-search-post200-response.d.ts +1 -1
  304. package/dist/esm/models/afnorsiret-search-post200-response.js +1 -1
  305. package/dist/esm/models/afnorsorting-order.d.ts +1 -1
  306. package/dist/esm/models/afnorsorting-order.js +1 -1
  307. package/dist/esm/models/afnorstrict-operator.d.ts +1 -1
  308. package/dist/esm/models/afnorstrict-operator.js +1 -1
  309. package/dist/esm/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
  310. package/dist/esm/models/afnorupdate-patch-directory-line-body.js +1 -1
  311. package/dist/esm/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
  312. package/dist/esm/models/afnorupdate-patch-routing-code-body.js +1 -1
  313. package/dist/esm/models/afnorupdate-put-routing-code-body.d.ts +1 -1
  314. package/dist/esm/models/afnorupdate-put-routing-code-body.js +1 -1
  315. package/dist/esm/models/afnorwebhook-callback-content.d.ts +1 -1
  316. package/dist/esm/models/afnorwebhook-callback-content.js +1 -1
  317. package/dist/esm/models/aggregated-payment-input.d.ts +1 -1
  318. package/dist/esm/models/aggregated-payment-input.js +1 -1
  319. package/dist/esm/models/aggregated-transaction-input.d.ts +1 -1
  320. package/dist/esm/models/aggregated-transaction-input.js +1 -1
  321. package/dist/esm/models/allowance-charge-reason-code.d.ts +1 -1
  322. package/dist/esm/models/allowance-charge-reason-code.js +1 -1
  323. package/dist/esm/models/allowance-charge.d.ts +1 -1
  324. package/dist/esm/models/allowance-charge.js +1 -1
  325. package/dist/esm/models/allowance-reason-code.d.ts +1 -1
  326. package/dist/esm/models/allowance-reason-code.js +1 -1
  327. package/dist/esm/models/allowance-total-amount.d.ts +1 -1
  328. package/dist/esm/models/allowance-total-amount.js +1 -1
  329. package/dist/esm/models/amount-due.d.ts +1 -1
  330. package/dist/esm/models/amount-due.js +1 -1
  331. package/dist/esm/models/amount.d.ts +1 -1
  332. package/dist/esm/models/amount.js +1 -1
  333. package/dist/esm/models/amount1.d.ts +1 -1
  334. package/dist/esm/models/amount1.js +1 -1
  335. package/dist/esm/models/amount2.d.ts +1 -1
  336. package/dist/esm/models/amount2.js +1 -1
  337. package/dist/esm/models/apierror.d.ts +1 -1
  338. package/dist/esm/models/apierror.js +1 -1
  339. package/dist/esm/models/apiprofile.d.ts +1 -1
  340. package/dist/esm/models/apiprofile.js +1 -1
  341. package/dist/esm/models/async-task-status.d.ts +1 -1
  342. package/dist/esm/models/async-task-status.js +1 -1
  343. package/dist/esm/models/base-amount.d.ts +1 -1
  344. package/dist/esm/models/base-amount.js +1 -1
  345. package/dist/esm/models/bounding-box-schema.d.ts +1 -1
  346. package/dist/esm/models/bounding-box-schema.js +1 -1
  347. package/dist/esm/models/buyercountry.d.ts +1 -1
  348. package/dist/esm/models/buyercountry.js +1 -1
  349. package/dist/esm/models/celery-status.d.ts +1 -1
  350. package/dist/esm/models/celery-status.js +1 -1
  351. package/dist/esm/models/certificate-info-response.d.ts +1 -1
  352. package/dist/esm/models/certificate-info-response.js +1 -1
  353. package/dist/esm/models/charge-total-amount.d.ts +1 -1
  354. package/dist/esm/models/charge-total-amount.js +1 -1
  355. package/dist/esm/models/chorus-pro-credentials.d.ts +1 -1
  356. package/dist/esm/models/chorus-pro-credentials.js +1 -1
  357. package/dist/esm/models/chorus-pro-destination.d.ts +1 -1
  358. package/dist/esm/models/chorus-pro-destination.js +1 -1
  359. package/dist/esm/models/chorus-pro-result.d.ts +1 -1
  360. package/dist/esm/models/chorus-pro-result.js +1 -1
  361. package/dist/esm/models/client-activate-response.d.ts +1 -1
  362. package/dist/esm/models/client-activate-response.js +1 -1
  363. package/dist/esm/models/client-create-request.d.ts +1 -1
  364. package/dist/esm/models/client-create-request.js +1 -1
  365. package/dist/esm/models/client-detail.d.ts +1 -1
  366. package/dist/esm/models/client-detail.js +1 -1
  367. package/dist/esm/models/client-list-response.d.ts +1 -1
  368. package/dist/esm/models/client-list-response.js +1 -1
  369. package/dist/esm/models/client-summary.d.ts +1 -1
  370. package/dist/esm/models/client-summary.js +1 -1
  371. package/dist/esm/models/client-update-request.d.ts +1 -1
  372. package/dist/esm/models/client-update-request.js +1 -1
  373. package/dist/esm/models/contact.d.ts +1 -1
  374. package/dist/esm/models/contact.js +1 -1
  375. package/dist/esm/models/conversion-error-result.d.ts +28 -0
  376. package/dist/esm/models/conversion-error-result.js +16 -0
  377. package/dist/esm/models/conversion-extraction-info.d.ts +18 -0
  378. package/dist/esm/models/conversion-extraction-info.js +14 -0
  379. package/dist/esm/models/conversion-pending-input-result.d.ts +29 -0
  380. package/dist/esm/models/conversion-pending-input-result.js +16 -0
  381. package/dist/esm/models/conversion-success-task-result.d.ts +31 -0
  382. package/dist/esm/models/conversion-success-task-result.js +16 -0
  383. package/dist/esm/models/conversion-task-status-result.d.ts +27 -0
  384. package/dist/esm/models/conversion-task-status-result.js +14 -0
  385. package/dist/esm/models/conversion-task-status.d.ts +21 -0
  386. package/dist/esm/models/conversion-task-status.js +14 -0
  387. package/dist/esm/models/conversion-validation-failed-result.d.ts +34 -0
  388. package/dist/esm/models/conversion-validation-failed-result.js +16 -0
  389. package/dist/esm/models/convert-resume-request.d.ts +7 -2
  390. package/dist/esm/models/convert-resume-request.js +1 -1
  391. package/dist/esm/models/convert-success-response.d.ts +1 -1
  392. package/dist/esm/models/convert-success-response.js +1 -1
  393. package/dist/esm/models/convert-validation-failed-response.d.ts +1 -1
  394. package/dist/esm/models/convert-validation-failed-response.js +1 -1
  395. package/dist/esm/models/country-code.d.ts +1 -1
  396. package/dist/esm/models/country-code.js +1 -1
  397. package/dist/esm/models/create-aggregated-report-request.d.ts +1 -1
  398. package/dist/esm/models/create-aggregated-report-request.js +1 -1
  399. package/dist/esm/models/create-cdarrequest.d.ts +1 -1
  400. package/dist/esm/models/create-cdarrequest.js +1 -1
  401. package/dist/esm/models/create-ereporting-request.d.ts +1 -1
  402. package/dist/esm/models/create-ereporting-request.js +1 -1
  403. package/dist/esm/models/currency-code.d.ts +1 -1
  404. package/dist/esm/models/currency-code.js +1 -1
  405. package/dist/esm/models/currency.d.ts +1 -1
  406. package/dist/esm/models/currency.js +1 -1
  407. package/dist/esm/models/delivery-party.d.ts +1 -1
  408. package/dist/esm/models/delivery-party.js +1 -1
  409. package/dist/esm/models/destination.d.ts +1 -1
  410. package/dist/esm/models/destination.js +1 -1
  411. package/dist/esm/models/doc-type.d.ts +1 -1
  412. package/dist/esm/models/doc-type.js +1 -1
  413. package/dist/esm/models/document-type-info.d.ts +1 -1
  414. package/dist/esm/models/document-type-info.js +1 -1
  415. package/dist/esm/models/electronic-address.d.ts +1 -1
  416. package/dist/esm/models/electronic-address.js +1 -1
  417. package/dist/esm/models/encaisseamount.d.ts +1 -1
  418. package/dist/esm/models/encaisseamount.js +1 -1
  419. package/dist/esm/models/encaisseamount1.d.ts +1 -1
  420. package/dist/esm/models/encaisseamount1.js +1 -1
  421. package/dist/esm/models/encaissee-request.d.ts +1 -1
  422. package/dist/esm/models/encaissee-request.js +1 -1
  423. package/dist/esm/models/enriched-invoice-info.d.ts +1 -1
  424. package/dist/esm/models/enriched-invoice-info.js +1 -1
  425. package/dist/esm/models/ereporting-flow-type.d.ts +1 -1
  426. package/dist/esm/models/ereporting-flow-type.js +1 -1
  427. package/dist/esm/models/ereporting-validation-error.d.ts +1 -1
  428. package/dist/esm/models/ereporting-validation-error.js +1 -1
  429. package/dist/esm/models/error-level.d.ts +1 -1
  430. package/dist/esm/models/error-level.js +1 -1
  431. package/dist/esm/models/error-source.d.ts +1 -1
  432. package/dist/esm/models/error-source.js +1 -1
  433. package/dist/esm/models/extraction-info.d.ts +1 -1
  434. package/dist/esm/models/extraction-info.js +1 -1
  435. package/dist/esm/models/factur-xinvoice.d.ts +2 -2
  436. package/dist/esm/models/factur-xinvoice.js +1 -1
  437. package/dist/esm/models/factur-xpdfinfo.d.ts +1 -1
  438. package/dist/esm/models/factur-xpdfinfo.js +1 -1
  439. package/dist/esm/models/facture-electronique-models-invoice-type-code.d.ts +81 -0
  440. package/dist/esm/models/facture-electronique-models-invoice-type-code.js +82 -0
  441. package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +1 -1
  442. package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +1 -1
  443. package/dist/esm/models/facture-electronique-rest-api-schemas-validation-validation-error-response.d.ts +20 -0
  444. package/dist/esm/models/facture-electronique-rest-api-schemas-validation-validation-error-response.js +14 -0
  445. package/dist/esm/models/field-status.d.ts +1 -1
  446. package/dist/esm/models/field-status.js +1 -1
  447. package/dist/esm/models/file-info.d.ts +1 -1
  448. package/dist/esm/models/file-info.js +1 -1
  449. package/dist/esm/models/files-info.d.ts +1 -1
  450. package/dist/esm/models/files-info.js +1 -1
  451. package/dist/esm/models/flow-direction.d.ts +1 -1
  452. package/dist/esm/models/flow-direction.js +1 -1
  453. package/dist/esm/models/flow-profile.d.ts +1 -1
  454. package/dist/esm/models/flow-profile.js +1 -1
  455. package/dist/esm/models/flow-summary.d.ts +1 -1
  456. package/dist/esm/models/flow-summary.js +1 -1
  457. package/dist/esm/models/flow-syntax.d.ts +1 -1
  458. package/dist/esm/models/flow-syntax.js +1 -1
  459. package/dist/esm/models/flow-type.d.ts +1 -1
  460. package/dist/esm/models/flow-type.js +1 -1
  461. package/dist/esm/models/generate-aggregated-report-response.d.ts +1 -1
  462. package/dist/esm/models/generate-aggregated-report-response.js +1 -1
  463. package/dist/esm/models/generate-cdarresponse.d.ts +1 -1
  464. package/dist/esm/models/generate-cdarresponse.js +1 -1
  465. package/dist/esm/models/generate-certificate-request.d.ts +1 -1
  466. package/dist/esm/models/generate-certificate-request.js +1 -1
  467. package/dist/esm/models/generate-certificate-response.d.ts +1 -1
  468. package/dist/esm/models/generate-certificate-response.js +1 -1
  469. package/dist/esm/models/generate-ereporting-response.d.ts +1 -1
  470. package/dist/esm/models/generate-ereporting-response.js +1 -1
  471. package/dist/esm/models/generation-success-result.d.ts +24 -0
  472. package/dist/esm/models/generation-success-result.js +16 -0
  473. package/dist/esm/models/generation-task-status-result.d.ts +21 -0
  474. package/dist/esm/models/generation-task-status-result.js +14 -0
  475. package/dist/esm/models/generation-task-status.d.ts +21 -0
  476. package/dist/esm/models/generation-task-status.js +14 -0
  477. package/dist/esm/models/get-chorus-pro-id-request.d.ts +1 -1
  478. package/dist/esm/models/get-chorus-pro-id-request.js +1 -1
  479. package/dist/esm/models/get-chorus-pro-id-response.d.ts +1 -1
  480. package/dist/esm/models/get-chorus-pro-id-response.js +1 -1
  481. package/dist/esm/models/get-invoice-request.d.ts +1 -1
  482. package/dist/esm/models/get-invoice-request.js +1 -1
  483. package/dist/esm/models/get-invoice-response.d.ts +1 -1
  484. package/dist/esm/models/get-invoice-response.js +1 -1
  485. package/dist/esm/models/get-structure-request.d.ts +1 -1
  486. package/dist/esm/models/get-structure-request.js +1 -1
  487. package/dist/esm/models/get-structure-response.d.ts +1 -1
  488. package/dist/esm/models/get-structure-response.js +1 -1
  489. package/dist/esm/models/global-allowance-amount.d.ts +1 -1
  490. package/dist/esm/models/global-allowance-amount.js +1 -1
  491. package/dist/esm/models/gross-unit-price.d.ts +1 -1
  492. package/dist/esm/models/gross-unit-price.js +1 -1
  493. package/dist/esm/models/httpvalidation-error.d.ts +1 -1
  494. package/dist/esm/models/httpvalidation-error.js +1 -1
  495. package/dist/esm/models/incoming-invoice.d.ts +1 -1
  496. package/dist/esm/models/incoming-invoice.js +1 -1
  497. package/dist/esm/models/incoming-supplier.d.ts +1 -1
  498. package/dist/esm/models/incoming-supplier.js +1 -1
  499. package/dist/esm/models/index.d.ts +34 -2
  500. package/dist/esm/models/index.js +34 -2
  501. package/dist/esm/models/invoice-format.d.ts +1 -1
  502. package/dist/esm/models/invoice-format.js +1 -1
  503. package/dist/esm/models/invoice-input.d.ts +3 -3
  504. package/dist/esm/models/invoice-input.js +1 -1
  505. package/dist/esm/models/invoice-lifecycle.d.ts +30 -0
  506. package/dist/esm/models/invoice-lifecycle.js +14 -0
  507. package/dist/esm/models/invoice-line-allowance-amount.d.ts +1 -1
  508. package/dist/esm/models/invoice-line-allowance-amount.js +1 -1
  509. package/dist/esm/models/invoice-line.d.ts +1 -1
  510. package/dist/esm/models/invoice-line.js +1 -1
  511. package/dist/esm/models/invoice-note.d.ts +1 -1
  512. package/dist/esm/models/invoice-note.js +1 -1
  513. package/dist/esm/models/invoice-payment-input.d.ts +1 -1
  514. package/dist/esm/models/invoice-payment-input.js +1 -1
  515. package/dist/esm/models/invoice-references.d.ts +1 -1
  516. package/dist/esm/models/invoice-references.js +1 -1
  517. package/dist/esm/models/invoice-status.d.ts +1 -1
  518. package/dist/esm/models/invoice-status.js +1 -1
  519. package/dist/esm/models/invoice-totals-prepayment.d.ts +1 -1
  520. package/dist/esm/models/invoice-totals-prepayment.js +1 -1
  521. package/dist/esm/models/invoice-totals.d.ts +1 -1
  522. package/dist/esm/models/invoice-totals.js +1 -1
  523. package/dist/esm/models/invoice-type-code-output.d.ts +1 -1
  524. package/dist/esm/models/invoice-type-code-output.js +1 -1
  525. package/dist/esm/models/invoice-type-code.d.ts +7 -66
  526. package/dist/esm/models/invoice-type-code.js +7 -66
  527. package/dist/esm/models/invoicing-framework-code.d.ts +1 -1
  528. package/dist/esm/models/invoicing-framework-code.js +1 -1
  529. package/dist/esm/models/invoicing-framework.d.ts +2 -5
  530. package/dist/esm/models/invoicing-framework.js +1 -1
  531. package/dist/esm/models/issuer-role-code.d.ts +1 -1
  532. package/dist/esm/models/issuer-role-code.js +1 -1
  533. package/dist/esm/models/key-rotation-request.d.ts +24 -0
  534. package/dist/esm/models/key-rotation-request.js +14 -0
  535. package/dist/esm/models/key-rotation-response.d.ts +29 -0
  536. package/dist/esm/models/key-rotation-response.js +14 -0
  537. package/dist/esm/models/lifecycle-event.d.ts +33 -0
  538. package/dist/esm/models/lifecycle-event.js +14 -0
  539. package/dist/esm/models/lifecycle-response.d.ts +29 -0
  540. package/dist/esm/models/lifecycle-response.js +14 -0
  541. package/dist/esm/models/line-net-amount.d.ts +1 -1
  542. package/dist/esm/models/line-net-amount.js +1 -1
  543. package/dist/esm/models/line-sub-type.d.ts +1 -1
  544. package/dist/esm/models/line-sub-type.js +1 -1
  545. package/dist/esm/models/line-total-amount.d.ts +1 -1
  546. package/dist/esm/models/line-total-amount.js +1 -1
  547. package/dist/esm/models/location-inner.d.ts +1 -1
  548. package/dist/esm/models/location-inner.js +1 -1
  549. package/dist/esm/models/mandatory-note-schema.d.ts +1 -1
  550. package/dist/esm/models/mandatory-note-schema.js +1 -1
  551. package/dist/esm/models/manual-rate.d.ts +1 -1
  552. package/dist/esm/models/manual-rate.js +1 -1
  553. package/dist/esm/models/manual-vat-rate.d.ts +1 -1
  554. package/dist/esm/models/manual-vat-rate.js +1 -1
  555. package/dist/esm/models/missing-field.d.ts +1 -1
  556. package/dist/esm/models/missing-field.js +1 -1
  557. package/dist/esm/models/operation-nature.d.ts +1 -1
  558. package/dist/esm/models/operation-nature.js +1 -1
  559. package/dist/esm/models/output-format.d.ts +4 -2
  560. package/dist/esm/models/output-format.js +4 -2
  561. package/dist/esm/models/page-dimensions-schema.d.ts +1 -1
  562. package/dist/esm/models/page-dimensions-schema.js +1 -1
  563. package/dist/esm/models/parse-factur-xresponse.d.ts +34 -0
  564. package/dist/esm/models/parse-factur-xresponse.js +17 -0
  565. package/dist/esm/models/payee.d.ts +1 -1
  566. package/dist/esm/models/payee.js +1 -1
  567. package/dist/esm/models/payment-amount-by-rate.d.ts +1 -1
  568. package/dist/esm/models/payment-amount-by-rate.js +1 -1
  569. package/dist/esm/models/payment-card.d.ts +1 -1
  570. package/dist/esm/models/payment-card.js +1 -1
  571. package/dist/esm/models/payment-means.d.ts +2 -2
  572. package/dist/esm/models/payment-means.js +2 -2
  573. package/dist/esm/models/pdfvalidation-result-api.d.ts +1 -1
  574. package/dist/esm/models/pdfvalidation-result-api.js +1 -1
  575. package/dist/esm/models/pdpconfig-response.d.ts +2 -1
  576. package/dist/esm/models/pdpconfig-response.js +1 -1
  577. package/dist/esm/models/pdpconfig-update-request.d.ts +8 -2
  578. package/dist/esm/models/pdpconfig-update-request.js +5 -2
  579. package/dist/esm/models/pdpcredentials.d.ts +1 -1
  580. package/dist/esm/models/pdpcredentials.js +1 -1
  581. package/dist/esm/models/percentage.d.ts +1 -1
  582. package/dist/esm/models/percentage.js +1 -1
  583. package/dist/esm/models/postal-address.d.ts +1 -1
  584. package/dist/esm/models/postal-address.js +1 -1
  585. package/dist/esm/models/price-allowance-amount.d.ts +1 -1
  586. package/dist/esm/models/price-allowance-amount.js +1 -1
  587. package/dist/esm/models/price-basis-quantity.d.ts +1 -1
  588. package/dist/esm/models/price-basis-quantity.js +1 -1
  589. package/dist/esm/models/processing-options.d.ts +1 -1
  590. package/dist/esm/models/processing-options.js +1 -1
  591. package/dist/esm/models/processing-rule.d.ts +1 -1
  592. package/dist/esm/models/processing-rule.js +1 -1
  593. package/dist/esm/models/product-characteristic.d.ts +1 -1
  594. package/dist/esm/models/product-characteristic.js +1 -1
  595. package/dist/esm/models/product-classification.d.ts +1 -1
  596. package/dist/esm/models/product-classification.js +1 -1
  597. package/dist/esm/models/quantity.d.ts +1 -1
  598. package/dist/esm/models/quantity.js +1 -1
  599. package/dist/esm/models/rate.d.ts +1 -1
  600. package/dist/esm/models/rate.js +1 -1
  601. package/dist/esm/models/rate1.d.ts +1 -1
  602. package/dist/esm/models/rate1.js +1 -1
  603. package/dist/esm/models/reason-code-info.d.ts +1 -1
  604. package/dist/esm/models/reason-code-info.js +1 -1
  605. package/dist/esm/models/reason-codes-response.d.ts +1 -1
  606. package/dist/esm/models/reason-codes-response.js +1 -1
  607. package/dist/esm/models/recipient-input.d.ts +1 -1
  608. package/dist/esm/models/recipient-input.js +1 -1
  609. package/dist/esm/models/recipient.d.ts +1 -1
  610. package/dist/esm/models/recipient.js +1 -1
  611. package/dist/esm/models/refusee-request.d.ts +1 -1
  612. package/dist/esm/models/refusee-request.js +1 -1
  613. package/dist/esm/models/report-issuer.d.ts +1 -1
  614. package/dist/esm/models/report-issuer.js +1 -1
  615. package/dist/esm/models/report-period.d.ts +1 -1
  616. package/dist/esm/models/report-period.js +1 -1
  617. package/dist/esm/models/report-sender.d.ts +1 -1
  618. package/dist/esm/models/report-sender.js +1 -1
  619. package/dist/esm/models/rounding-amount.d.ts +1 -1
  620. package/dist/esm/models/rounding-amount.js +1 -1
  621. package/dist/esm/models/schematron-validation-error.d.ts +1 -1
  622. package/dist/esm/models/schematron-validation-error.js +1 -1
  623. package/dist/esm/models/scheme-id.d.ts +1 -1
  624. package/dist/esm/models/scheme-id.js +1 -1
  625. package/dist/esm/models/search-flow-request.d.ts +1 -1
  626. package/dist/esm/models/search-flow-request.js +1 -1
  627. package/dist/esm/models/search-flow-response.d.ts +1 -1
  628. package/dist/esm/models/search-flow-response.js +1 -1
  629. package/dist/esm/models/search-services-response.d.ts +1 -1
  630. package/dist/esm/models/search-services-response.js +1 -1
  631. package/dist/esm/models/search-structure-request.d.ts +1 -1
  632. package/dist/esm/models/search-structure-request.js +1 -1
  633. package/dist/esm/models/search-structure-response.d.ts +1 -1
  634. package/dist/esm/models/search-structure-response.js +1 -1
  635. package/dist/esm/models/secret-status.d.ts +3 -1
  636. package/dist/esm/models/secret-status.js +1 -1
  637. package/dist/esm/models/sellercountry.d.ts +1 -1
  638. package/dist/esm/models/sellercountry.js +1 -1
  639. package/dist/esm/models/signature-info-api.d.ts +1 -1
  640. package/dist/esm/models/signature-info-api.js +1 -1
  641. package/dist/esm/models/signature-info.d.ts +1 -1
  642. package/dist/esm/models/signature-info.js +1 -1
  643. package/dist/esm/models/signature-parameters.d.ts +1 -1
  644. package/dist/esm/models/signature-parameters.js +1 -1
  645. package/dist/esm/models/signature-success-result.d.ts +31 -0
  646. package/dist/esm/models/signature-success-result.js +16 -0
  647. package/dist/esm/models/signature-task-status-result.d.ts +21 -0
  648. package/dist/esm/models/signature-task-status-result.js +14 -0
  649. package/dist/esm/models/signature-task-status.d.ts +21 -0
  650. package/dist/esm/models/signature-task-status.js +14 -0
  651. package/dist/esm/models/simplified-cdarresponse.d.ts +1 -1
  652. package/dist/esm/models/simplified-cdarresponse.js +1 -1
  653. package/dist/esm/models/simplified-invoice-data.d.ts +3 -3
  654. package/dist/esm/models/simplified-invoice-data.js +1 -1
  655. package/dist/esm/models/status-code-info.d.ts +1 -1
  656. package/dist/esm/models/status-code-info.js +1 -1
  657. package/dist/esm/models/status-codes-response.d.ts +1 -1
  658. package/dist/esm/models/status-codes-response.js +1 -1
  659. package/dist/esm/models/structure-info.d.ts +1 -1
  660. package/dist/esm/models/structure-info.js +1 -1
  661. package/dist/esm/models/structure-parameters.d.ts +1 -1
  662. package/dist/esm/models/structure-parameters.js +1 -1
  663. package/dist/esm/models/structure-service.d.ts +1 -1
  664. package/dist/esm/models/structure-service.js +1 -1
  665. package/dist/esm/models/submission-mode.d.ts +1 -1
  666. package/dist/esm/models/submission-mode.js +1 -1
  667. package/dist/esm/models/submit-aggregated-report-request.d.ts +1 -1
  668. package/dist/esm/models/submit-aggregated-report-request.js +1 -1
  669. package/dist/esm/models/submit-cdarrequest.d.ts +1 -1
  670. package/dist/esm/models/submit-cdarrequest.js +1 -1
  671. package/dist/esm/models/submit-cdarresponse.d.ts +1 -1
  672. package/dist/esm/models/submit-cdarresponse.js +1 -1
  673. package/dist/esm/models/submit-cdarxmlrequest.d.ts +1 -1
  674. package/dist/esm/models/submit-cdarxmlrequest.js +1 -1
  675. package/dist/esm/models/submit-complete-invoice-request.d.ts +1 -1
  676. package/dist/esm/models/submit-complete-invoice-request.js +1 -1
  677. package/dist/esm/models/submit-complete-invoice-response.d.ts +8 -2
  678. package/dist/esm/models/submit-complete-invoice-response.js +1 -1
  679. package/dist/esm/models/submit-ereporting-request.d.ts +1 -1
  680. package/dist/esm/models/submit-ereporting-request.js +1 -1
  681. package/dist/esm/models/submit-ereporting-response.d.ts +1 -1
  682. package/dist/esm/models/submit-ereporting-response.js +1 -1
  683. package/dist/esm/models/submit-flow-request.d.ts +1 -1
  684. package/dist/esm/models/submit-flow-request.js +1 -1
  685. package/dist/esm/models/submit-flow-response.d.ts +1 -1
  686. package/dist/esm/models/submit-flow-response.js +1 -1
  687. package/dist/esm/models/submit-gross-amount.d.ts +1 -1
  688. package/dist/esm/models/submit-gross-amount.js +1 -1
  689. package/dist/esm/models/submit-invoice-request.d.ts +1 -1
  690. package/dist/esm/models/submit-invoice-request.js +1 -1
  691. package/dist/esm/models/submit-invoice-response.d.ts +1 -1
  692. package/dist/esm/models/submit-invoice-response.js +1 -1
  693. package/dist/esm/models/submit-net-amount.d.ts +1 -1
  694. package/dist/esm/models/submit-net-amount.js +1 -1
  695. package/dist/esm/models/submit-vat-amount.d.ts +1 -1
  696. package/dist/esm/models/submit-vat-amount.js +1 -1
  697. package/dist/esm/models/supplementary-attachment.d.ts +1 -1
  698. package/dist/esm/models/supplementary-attachment.js +1 -1
  699. package/dist/esm/models/supplier.d.ts +5 -2
  700. package/dist/esm/models/supplier.js +1 -1
  701. package/dist/esm/models/task-error-result.d.ts +26 -0
  702. package/dist/esm/models/task-error-result.js +16 -0
  703. package/dist/esm/models/task-response.d.ts +1 -1
  704. package/dist/esm/models/task-response.js +1 -1
  705. package/dist/esm/models/tax-breakdown-input.d.ts +1 -1
  706. package/dist/esm/models/tax-breakdown-input.js +1 -1
  707. package/dist/esm/models/tax-due-date-type.d.ts +1 -1
  708. package/dist/esm/models/tax-due-date-type.js +1 -1
  709. package/dist/esm/models/tax-representative.d.ts +1 -1
  710. package/dist/esm/models/tax-representative.js +1 -1
  711. package/dist/esm/models/taxable-amount.d.ts +1 -1
  712. package/dist/esm/models/taxable-amount.js +1 -1
  713. package/dist/esm/models/taxableamount.d.ts +1 -1
  714. package/dist/esm/models/taxableamount.js +1 -1
  715. package/dist/esm/models/taxamount.d.ts +1 -1
  716. package/dist/esm/models/taxamount.js +1 -1
  717. package/dist/esm/models/taxamount1.d.ts +1 -1
  718. package/dist/esm/models/taxamount1.js +1 -1
  719. package/dist/esm/models/taxamount2.d.ts +1 -1
  720. package/dist/esm/models/taxamount2.js +1 -1
  721. package/dist/esm/models/taxexclusiveamount.d.ts +1 -1
  722. package/dist/esm/models/taxexclusiveamount.js +1 -1
  723. package/dist/esm/models/taxexclusiveamount1.d.ts +1 -1
  724. package/dist/esm/models/taxexclusiveamount1.js +1 -1
  725. package/dist/esm/models/total-gross-amount.d.ts +1 -1
  726. package/dist/esm/models/total-gross-amount.js +1 -1
  727. package/dist/esm/models/total-net-amount.d.ts +1 -1
  728. package/dist/esm/models/total-net-amount.js +1 -1
  729. package/dist/esm/models/total-vatamount.d.ts +1 -1
  730. package/dist/esm/models/total-vatamount.js +1 -1
  731. package/dist/esm/models/transaction-category.d.ts +1 -1
  732. package/dist/esm/models/transaction-category.js +1 -1
  733. package/dist/esm/models/transmission-type-code.d.ts +1 -1
  734. package/dist/esm/models/transmission-type-code.js +1 -1
  735. package/dist/esm/models/unit-net-price.d.ts +1 -1
  736. package/dist/esm/models/unit-net-price.js +1 -1
  737. package/dist/esm/models/unit-of-measure.d.ts +16 -2
  738. package/dist/esm/models/unit-of-measure.js +17 -3
  739. package/dist/esm/models/validate-cdarrequest.d.ts +1 -1
  740. package/dist/esm/models/validate-cdarrequest.js +1 -1
  741. package/dist/esm/models/validate-cdarresponse.d.ts +4 -4
  742. package/dist/esm/models/validate-cdarresponse.js +1 -1
  743. package/dist/esm/models/validate-ereporting-request.d.ts +1 -1
  744. package/dist/esm/models/validate-ereporting-request.js +1 -1
  745. package/dist/esm/models/validate-ereporting-response.d.ts +1 -1
  746. package/dist/esm/models/validate-ereporting-response.js +1 -1
  747. package/dist/esm/models/validation-error-detail.d.ts +1 -1
  748. package/dist/esm/models/validation-error-detail.js +1 -1
  749. package/dist/esm/models/validation-error-response.d.ts +13 -4
  750. package/dist/esm/models/validation-error-response.js +1 -1
  751. package/dist/esm/models/validation-error.d.ts +1 -1
  752. package/dist/esm/models/validation-error.js +1 -1
  753. package/dist/esm/models/validation-info.d.ts +1 -1
  754. package/dist/esm/models/validation-info.js +1 -1
  755. package/dist/esm/models/validation-success-response.d.ts +1 -1
  756. package/dist/esm/models/validation-success-response.js +1 -1
  757. package/dist/esm/models/validation-success-task-result.d.ts +23 -0
  758. package/dist/esm/models/validation-success-task-result.js +16 -0
  759. package/dist/esm/models/validation-task-status-result.d.ts +21 -0
  760. package/dist/esm/models/validation-task-status-result.js +14 -0
  761. package/dist/esm/models/validation-task-status.d.ts +21 -0
  762. package/dist/esm/models/validation-task-status.js +14 -0
  763. package/dist/esm/models/vat-rate.d.ts +1 -1
  764. package/dist/esm/models/vat-rate.js +1 -1
  765. package/dist/esm/models/vataccounting-code.d.ts +2 -2
  766. package/dist/esm/models/vataccounting-code.js +2 -2
  767. package/dist/esm/models/vatamount.d.ts +1 -1
  768. package/dist/esm/models/vatamount.js +1 -1
  769. package/dist/esm/models/vatcategory.d.ts +1 -1
  770. package/dist/esm/models/vatcategory.js +1 -1
  771. package/dist/esm/models/vatexcode-info.d.ts +32 -0
  772. package/dist/esm/models/vatexcode-info.js +14 -0
  773. package/dist/esm/models/vatexcodes-response.d.ts +20 -0
  774. package/dist/esm/models/vatexcodes-response.js +14 -0
  775. package/dist/esm/models/vatline.d.ts +1 -1
  776. package/dist/esm/models/vatline.js +1 -1
  777. package/dist/esm/models/vatpoint-date-code.d.ts +1 -1
  778. package/dist/esm/models/vatpoint-date-code.js +1 -1
  779. package/dist/esm/models/verification-success-response.d.ts +1 -1
  780. package/dist/esm/models/verification-success-response.js +1 -1
  781. package/dist/esm/models/verification-success-task-result.d.ts +23 -0
  782. package/dist/esm/models/verification-success-task-result.js +16 -0
  783. package/dist/esm/models/verification-typed-task-status-result.d.ts +21 -0
  784. package/dist/esm/models/verification-typed-task-status-result.js +14 -0
  785. package/dist/esm/models/verification-typed-task-status.d.ts +21 -0
  786. package/dist/esm/models/verification-typed-task-status.js +14 -0
  787. package/dist/esm/models/verified-field-schema.d.ts +1 -1
  788. package/dist/esm/models/verified-field-schema.js +1 -1
  789. package/dist/esm/models/webhook-secret-delete-response.d.ts +24 -0
  790. package/dist/esm/models/webhook-secret-delete-response.js +14 -0
  791. package/dist/esm/models/webhook-secret-generate-response.d.ts +32 -0
  792. package/dist/esm/models/webhook-secret-generate-response.js +14 -0
  793. package/dist/esm/models/webhook-secret-status-response.d.ts +21 -0
  794. package/dist/esm/models/webhook-secret-status-response.js +14 -0
  795. package/dist/index.d.ts +1 -1
  796. package/dist/index.js +1 -1
  797. package/dist/models/acknowledgment-status.d.ts +1 -1
  798. package/dist/models/acknowledgment-status.js +1 -1
  799. package/dist/models/action-code-info.d.ts +1 -1
  800. package/dist/models/action-code-info.js +1 -1
  801. package/dist/models/action-codes-response.d.ts +1 -1
  802. package/dist/models/action-codes-response.js +1 -1
  803. package/dist/models/additional-document.d.ts +1 -1
  804. package/dist/models/additional-document.js +1 -1
  805. package/dist/models/afnoracknowledgement-detail.d.ts +1 -1
  806. package/dist/models/afnoracknowledgement-detail.js +1 -1
  807. package/dist/models/afnoracknowledgement.d.ts +1 -1
  808. package/dist/models/afnoracknowledgement.js +1 -1
  809. package/dist/models/afnoraddress-edit.d.ts +1 -1
  810. package/dist/models/afnoraddress-edit.js +1 -1
  811. package/dist/models/afnoraddress-patch.d.ts +1 -1
  812. package/dist/models/afnoraddress-patch.js +1 -1
  813. package/dist/models/afnoraddress-put.d.ts +1 -1
  814. package/dist/models/afnoraddress-put.js +1 -1
  815. package/dist/models/afnoraddress-read.d.ts +1 -1
  816. package/dist/models/afnoraddress-read.js +1 -1
  817. package/dist/models/afnoralgorithm.d.ts +1 -1
  818. package/dist/models/afnoralgorithm.js +1 -1
  819. package/dist/models/afnorcontains-operator.d.ts +1 -1
  820. package/dist/models/afnorcontains-operator.js +1 -1
  821. package/dist/models/afnorcreate-directory-line-body-addressing-information.d.ts +1 -1
  822. package/dist/models/afnorcreate-directory-line-body-addressing-information.js +1 -1
  823. package/dist/models/afnorcreate-directory-line-body-period.d.ts +1 -1
  824. package/dist/models/afnorcreate-directory-line-body-period.js +1 -1
  825. package/dist/models/afnorcreate-directory-line-body.d.ts +1 -1
  826. package/dist/models/afnorcreate-directory-line-body.js +1 -1
  827. package/dist/models/afnorcreate-routing-code-body.d.ts +1 -1
  828. package/dist/models/afnorcreate-routing-code-body.js +1 -1
  829. package/dist/models/afnorcredentials.d.ts +1 -1
  830. package/dist/models/afnorcredentials.js +1 -1
  831. package/dist/models/afnordestination.d.ts +1 -1
  832. package/dist/models/afnordestination.js +1 -1
  833. package/dist/models/afnordiffusion-status.d.ts +1 -1
  834. package/dist/models/afnordiffusion-status.js +1 -1
  835. package/dist/models/afnordirectory-line-field.d.ts +1 -1
  836. package/dist/models/afnordirectory-line-field.js +1 -1
  837. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +1 -1
  838. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +1 -1
  839. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +1 -1
  840. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +1 -1
  841. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +1 -1
  842. package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +1 -1
  843. package/dist/models/afnordirectory-line-post201-response.d.ts +1 -1
  844. package/dist/models/afnordirectory-line-post201-response.js +1 -1
  845. package/dist/models/afnordirectory-line-search-post200-response.d.ts +1 -1
  846. package/dist/models/afnordirectory-line-search-post200-response.js +1 -1
  847. package/dist/models/afnorentity-type.d.ts +1 -1
  848. package/dist/models/afnorentity-type.js +1 -1
  849. package/dist/models/afnorerror-detail.d.ts +21 -0
  850. package/dist/models/afnorerror-detail.js +15 -0
  851. package/dist/models/afnorerror.d.ts +1 -1
  852. package/dist/models/afnorerror.js +1 -1
  853. package/dist/models/afnorfacility-administrative-status.d.ts +1 -1
  854. package/dist/models/afnorfacility-administrative-status.js +1 -1
  855. package/dist/models/afnorfacility-nature.d.ts +1 -1
  856. package/dist/models/afnorfacility-nature.js +1 -1
  857. package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +1 -1
  858. package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.js +1 -1
  859. package/dist/models/afnorfacility-payload-history.d.ts +1 -1
  860. package/dist/models/afnorfacility-payload-history.js +1 -1
  861. package/dist/models/afnorfacility-payload-included.d.ts +1 -1
  862. package/dist/models/afnorfacility-payload-included.js +1 -1
  863. package/dist/models/afnorfacility-type.d.ts +1 -1
  864. package/dist/models/afnorfacility-type.js +1 -1
  865. package/dist/models/afnorflow-ack-status.d.ts +1 -1
  866. package/dist/models/afnorflow-ack-status.js +1 -1
  867. package/dist/models/afnorflow-direction.d.ts +1 -1
  868. package/dist/models/afnorflow-direction.js +1 -1
  869. package/dist/models/afnorflow-info.d.ts +1 -1
  870. package/dist/models/afnorflow-info.js +1 -1
  871. package/dist/models/afnorflow-profile.d.ts +1 -1
  872. package/dist/models/afnorflow-profile.js +1 -1
  873. package/dist/models/afnorflow-syntax.d.ts +1 -1
  874. package/dist/models/afnorflow-syntax.js +1 -1
  875. package/dist/models/afnorflow-type.d.ts +1 -1
  876. package/dist/models/afnorflow-type.js +1 -1
  877. package/dist/models/afnorflow.d.ts +1 -1
  878. package/dist/models/afnorflow.js +1 -1
  879. package/dist/models/afnorfull-flow-info.d.ts +1 -1
  880. package/dist/models/afnorfull-flow-info.js +1 -1
  881. package/dist/models/afnorhealth-check-response.d.ts +1 -1
  882. package/dist/models/afnorhealth-check-response.js +1 -1
  883. package/dist/models/afnorlegal-unit-administrative-status.d.ts +1 -1
  884. package/dist/models/afnorlegal-unit-administrative-status.js +1 -1
  885. package/dist/models/afnorlegal-unit-payload-history.d.ts +1 -1
  886. package/dist/models/afnorlegal-unit-payload-history.js +1 -1
  887. package/dist/models/afnorlegal-unit-payload-included-no-siren.d.ts +1 -1
  888. package/dist/models/afnorlegal-unit-payload-included-no-siren.js +1 -1
  889. package/dist/models/afnorlegal-unit-payload-included.d.ts +1 -1
  890. package/dist/models/afnorlegal-unit-payload-included.js +1 -1
  891. package/dist/models/afnorplatform-status.d.ts +1 -1
  892. package/dist/models/afnorplatform-status.js +1 -1
  893. package/dist/models/afnorprocessing-rule.d.ts +1 -1
  894. package/dist/models/afnorprocessing-rule.js +1 -1
  895. package/dist/models/afnorreason-code-enum.d.ts +1 -1
  896. package/dist/models/afnorreason-code-enum.js +1 -1
  897. package/dist/models/afnorreason-code.d.ts +1 -1
  898. package/dist/models/afnorreason-code.js +1 -1
  899. package/dist/models/afnorrecipient-platform-type.d.ts +1 -1
  900. package/dist/models/afnorrecipient-platform-type.js +1 -1
  901. package/dist/models/afnorresult.d.ts +1 -1
  902. package/dist/models/afnorresult.js +1 -1
  903. package/dist/models/afnorrouting-code-administrative-status.d.ts +1 -1
  904. package/dist/models/afnorrouting-code-administrative-status.js +1 -1
  905. package/dist/models/afnorrouting-code-field.d.ts +1 -1
  906. package/dist/models/afnorrouting-code-field.js +1 -1
  907. package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +1 -1
  908. package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.js +1 -1
  909. package/dist/models/afnorrouting-code-post201-response.d.ts +1 -1
  910. package/dist/models/afnorrouting-code-post201-response.js +1 -1
  911. package/dist/models/afnorrouting-code-search-filters-administrative-status.d.ts +1 -1
  912. package/dist/models/afnorrouting-code-search-filters-administrative-status.js +1 -1
  913. package/dist/models/afnorrouting-code-search-filters-routing-code-name.d.ts +1 -1
  914. package/dist/models/afnorrouting-code-search-filters-routing-code-name.js +1 -1
  915. package/dist/models/afnorrouting-code-search-filters-routing-identifier.d.ts +1 -1
  916. package/dist/models/afnorrouting-code-search-filters-routing-identifier.js +1 -1
  917. package/dist/models/afnorrouting-code-search-filters.d.ts +1 -1
  918. package/dist/models/afnorrouting-code-search-filters.js +1 -1
  919. package/dist/models/afnorrouting-code-search-post200-response.d.ts +1 -1
  920. package/dist/models/afnorrouting-code-search-post200-response.js +1 -1
  921. package/dist/models/afnorrouting-code-search-sorting-inner.d.ts +1 -1
  922. package/dist/models/afnorrouting-code-search-sorting-inner.js +1 -1
  923. package/dist/models/afnorrouting-code-search.d.ts +1 -1
  924. package/dist/models/afnorrouting-code-search.js +1 -1
  925. package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +1 -1
  926. package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.js +1 -1
  927. package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +1 -1
  928. package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.js +1 -1
  929. package/dist/models/afnorsearch-directory-line-filters.d.ts +1 -1
  930. package/dist/models/afnorsearch-directory-line-filters.js +1 -1
  931. package/dist/models/afnorsearch-directory-line-sorting-inner.d.ts +1 -1
  932. package/dist/models/afnorsearch-directory-line-sorting-inner.js +1 -1
  933. package/dist/models/afnorsearch-directory-line.d.ts +1 -1
  934. package/dist/models/afnorsearch-directory-line.js +1 -1
  935. package/dist/models/afnorsearch-flow-content.d.ts +1 -1
  936. package/dist/models/afnorsearch-flow-content.js +1 -1
  937. package/dist/models/afnorsearch-flow-filters.d.ts +1 -1
  938. package/dist/models/afnorsearch-flow-filters.js +1 -1
  939. package/dist/models/afnorsearch-flow-params.d.ts +1 -1
  940. package/dist/models/afnorsearch-flow-params.js +1 -1
  941. package/dist/models/afnorsearch-siren-filters-administrative-status.d.ts +1 -1
  942. package/dist/models/afnorsearch-siren-filters-administrative-status.js +1 -1
  943. package/dist/models/afnorsearch-siren-filters-business-name.d.ts +1 -1
  944. package/dist/models/afnorsearch-siren-filters-business-name.js +1 -1
  945. package/dist/models/afnorsearch-siren-filters-entity-type.d.ts +1 -1
  946. package/dist/models/afnorsearch-siren-filters-entity-type.js +1 -1
  947. package/dist/models/afnorsearch-siren-filters-siren.d.ts +1 -1
  948. package/dist/models/afnorsearch-siren-filters-siren.js +1 -1
  949. package/dist/models/afnorsearch-siren-filters.d.ts +1 -1
  950. package/dist/models/afnorsearch-siren-filters.js +1 -1
  951. package/dist/models/afnorsearch-siren-sorting-inner.d.ts +1 -1
  952. package/dist/models/afnorsearch-siren-sorting-inner.js +1 -1
  953. package/dist/models/afnorsearch-siren.d.ts +1 -1
  954. package/dist/models/afnorsearch-siren.js +1 -1
  955. package/dist/models/afnorsearch-siret-filters-address-lines.d.ts +1 -1
  956. package/dist/models/afnorsearch-siret-filters-address-lines.js +1 -1
  957. package/dist/models/afnorsearch-siret-filters-administrative-status.d.ts +1 -1
  958. package/dist/models/afnorsearch-siret-filters-administrative-status.js +1 -1
  959. package/dist/models/afnorsearch-siret-filters-country-subdivision.d.ts +1 -1
  960. package/dist/models/afnorsearch-siret-filters-country-subdivision.js +1 -1
  961. package/dist/models/afnorsearch-siret-filters-facility-type.d.ts +1 -1
  962. package/dist/models/afnorsearch-siret-filters-facility-type.js +1 -1
  963. package/dist/models/afnorsearch-siret-filters-locality.d.ts +1 -1
  964. package/dist/models/afnorsearch-siret-filters-locality.js +1 -1
  965. package/dist/models/afnorsearch-siret-filters-name.d.ts +1 -1
  966. package/dist/models/afnorsearch-siret-filters-name.js +1 -1
  967. package/dist/models/afnorsearch-siret-filters-postal-code.d.ts +1 -1
  968. package/dist/models/afnorsearch-siret-filters-postal-code.js +1 -1
  969. package/dist/models/afnorsearch-siret-filters-siret.d.ts +1 -1
  970. package/dist/models/afnorsearch-siret-filters-siret.js +1 -1
  971. package/dist/models/afnorsearch-siret-filters.d.ts +1 -1
  972. package/dist/models/afnorsearch-siret-filters.js +1 -1
  973. package/dist/models/afnorsearch-siret-sorting-inner.d.ts +1 -1
  974. package/dist/models/afnorsearch-siret-sorting-inner.js +1 -1
  975. package/dist/models/afnorsearch-siret.d.ts +1 -1
  976. package/dist/models/afnorsearch-siret.js +1 -1
  977. package/dist/models/afnorsiren-field.d.ts +1 -1
  978. package/dist/models/afnorsiren-field.js +1 -1
  979. package/dist/models/afnorsiren-search-post200-response.d.ts +1 -1
  980. package/dist/models/afnorsiren-search-post200-response.js +1 -1
  981. package/dist/models/afnorsiret-field.d.ts +1 -1
  982. package/dist/models/afnorsiret-field.js +1 -1
  983. package/dist/models/afnorsiret-search-post200-response.d.ts +1 -1
  984. package/dist/models/afnorsiret-search-post200-response.js +1 -1
  985. package/dist/models/afnorsorting-order.d.ts +1 -1
  986. package/dist/models/afnorsorting-order.js +1 -1
  987. package/dist/models/afnorstrict-operator.d.ts +1 -1
  988. package/dist/models/afnorstrict-operator.js +1 -1
  989. package/dist/models/afnorupdate-patch-directory-line-body.d.ts +1 -1
  990. package/dist/models/afnorupdate-patch-directory-line-body.js +1 -1
  991. package/dist/models/afnorupdate-patch-routing-code-body.d.ts +1 -1
  992. package/dist/models/afnorupdate-patch-routing-code-body.js +1 -1
  993. package/dist/models/afnorupdate-put-routing-code-body.d.ts +1 -1
  994. package/dist/models/afnorupdate-put-routing-code-body.js +1 -1
  995. package/dist/models/afnorwebhook-callback-content.d.ts +1 -1
  996. package/dist/models/afnorwebhook-callback-content.js +1 -1
  997. package/dist/models/aggregated-payment-input.d.ts +1 -1
  998. package/dist/models/aggregated-payment-input.js +1 -1
  999. package/dist/models/aggregated-transaction-input.d.ts +1 -1
  1000. package/dist/models/aggregated-transaction-input.js +1 -1
  1001. package/dist/models/allowance-charge-reason-code.d.ts +1 -1
  1002. package/dist/models/allowance-charge-reason-code.js +1 -1
  1003. package/dist/models/allowance-charge.d.ts +1 -1
  1004. package/dist/models/allowance-charge.js +1 -1
  1005. package/dist/models/allowance-reason-code.d.ts +1 -1
  1006. package/dist/models/allowance-reason-code.js +1 -1
  1007. package/dist/models/allowance-total-amount.d.ts +1 -1
  1008. package/dist/models/allowance-total-amount.js +1 -1
  1009. package/dist/models/amount-due.d.ts +1 -1
  1010. package/dist/models/amount-due.js +1 -1
  1011. package/dist/models/amount.d.ts +1 -1
  1012. package/dist/models/amount.js +1 -1
  1013. package/dist/models/amount1.d.ts +1 -1
  1014. package/dist/models/amount1.js +1 -1
  1015. package/dist/models/amount2.d.ts +1 -1
  1016. package/dist/models/amount2.js +1 -1
  1017. package/dist/models/apierror.d.ts +1 -1
  1018. package/dist/models/apierror.js +1 -1
  1019. package/dist/models/apiprofile.d.ts +1 -1
  1020. package/dist/models/apiprofile.js +1 -1
  1021. package/dist/models/async-task-status.d.ts +1 -1
  1022. package/dist/models/async-task-status.js +1 -1
  1023. package/dist/models/base-amount.d.ts +1 -1
  1024. package/dist/models/base-amount.js +1 -1
  1025. package/dist/models/bounding-box-schema.d.ts +1 -1
  1026. package/dist/models/bounding-box-schema.js +1 -1
  1027. package/dist/models/buyercountry.d.ts +1 -1
  1028. package/dist/models/buyercountry.js +1 -1
  1029. package/dist/models/celery-status.d.ts +1 -1
  1030. package/dist/models/celery-status.js +1 -1
  1031. package/dist/models/certificate-info-response.d.ts +1 -1
  1032. package/dist/models/certificate-info-response.js +1 -1
  1033. package/dist/models/charge-total-amount.d.ts +1 -1
  1034. package/dist/models/charge-total-amount.js +1 -1
  1035. package/dist/models/chorus-pro-credentials.d.ts +1 -1
  1036. package/dist/models/chorus-pro-credentials.js +1 -1
  1037. package/dist/models/chorus-pro-destination.d.ts +1 -1
  1038. package/dist/models/chorus-pro-destination.js +1 -1
  1039. package/dist/models/chorus-pro-result.d.ts +1 -1
  1040. package/dist/models/chorus-pro-result.js +1 -1
  1041. package/dist/models/client-activate-response.d.ts +1 -1
  1042. package/dist/models/client-activate-response.js +1 -1
  1043. package/dist/models/client-create-request.d.ts +1 -1
  1044. package/dist/models/client-create-request.js +1 -1
  1045. package/dist/models/client-detail.d.ts +1 -1
  1046. package/dist/models/client-detail.js +1 -1
  1047. package/dist/models/client-list-response.d.ts +1 -1
  1048. package/dist/models/client-list-response.js +1 -1
  1049. package/dist/models/client-summary.d.ts +1 -1
  1050. package/dist/models/client-summary.js +1 -1
  1051. package/dist/models/client-update-request.d.ts +1 -1
  1052. package/dist/models/client-update-request.js +1 -1
  1053. package/dist/models/contact.d.ts +1 -1
  1054. package/dist/models/contact.js +1 -1
  1055. package/dist/models/conversion-error-result.d.ts +28 -0
  1056. package/dist/models/conversion-error-result.js +19 -0
  1057. package/dist/models/conversion-extraction-info.d.ts +18 -0
  1058. package/dist/models/conversion-extraction-info.js +15 -0
  1059. package/dist/models/conversion-pending-input-result.d.ts +29 -0
  1060. package/dist/models/conversion-pending-input-result.js +19 -0
  1061. package/dist/models/conversion-success-task-result.d.ts +31 -0
  1062. package/dist/models/conversion-success-task-result.js +19 -0
  1063. package/dist/models/conversion-task-status-result.d.ts +27 -0
  1064. package/dist/models/conversion-task-status-result.js +15 -0
  1065. package/dist/models/conversion-task-status.d.ts +21 -0
  1066. package/dist/models/conversion-task-status.js +15 -0
  1067. package/dist/models/conversion-validation-failed-result.d.ts +34 -0
  1068. package/dist/models/conversion-validation-failed-result.js +19 -0
  1069. package/dist/models/convert-resume-request.d.ts +7 -2
  1070. package/dist/models/convert-resume-request.js +1 -1
  1071. package/dist/models/convert-success-response.d.ts +1 -1
  1072. package/dist/models/convert-success-response.js +1 -1
  1073. package/dist/models/convert-validation-failed-response.d.ts +1 -1
  1074. package/dist/models/convert-validation-failed-response.js +1 -1
  1075. package/dist/models/country-code.d.ts +1 -1
  1076. package/dist/models/country-code.js +1 -1
  1077. package/dist/models/create-aggregated-report-request.d.ts +1 -1
  1078. package/dist/models/create-aggregated-report-request.js +1 -1
  1079. package/dist/models/create-cdarrequest.d.ts +1 -1
  1080. package/dist/models/create-cdarrequest.js +1 -1
  1081. package/dist/models/create-ereporting-request.d.ts +1 -1
  1082. package/dist/models/create-ereporting-request.js +1 -1
  1083. package/dist/models/currency-code.d.ts +1 -1
  1084. package/dist/models/currency-code.js +1 -1
  1085. package/dist/models/currency.d.ts +1 -1
  1086. package/dist/models/currency.js +1 -1
  1087. package/dist/models/delivery-party.d.ts +1 -1
  1088. package/dist/models/delivery-party.js +1 -1
  1089. package/dist/models/destination.d.ts +1 -1
  1090. package/dist/models/destination.js +1 -1
  1091. package/dist/models/doc-type.d.ts +1 -1
  1092. package/dist/models/doc-type.js +1 -1
  1093. package/dist/models/document-type-info.d.ts +1 -1
  1094. package/dist/models/document-type-info.js +1 -1
  1095. package/dist/models/electronic-address.d.ts +1 -1
  1096. package/dist/models/electronic-address.js +1 -1
  1097. package/dist/models/encaisseamount.d.ts +1 -1
  1098. package/dist/models/encaisseamount.js +1 -1
  1099. package/dist/models/encaisseamount1.d.ts +1 -1
  1100. package/dist/models/encaisseamount1.js +1 -1
  1101. package/dist/models/encaissee-request.d.ts +1 -1
  1102. package/dist/models/encaissee-request.js +1 -1
  1103. package/dist/models/enriched-invoice-info.d.ts +1 -1
  1104. package/dist/models/enriched-invoice-info.js +1 -1
  1105. package/dist/models/ereporting-flow-type.d.ts +1 -1
  1106. package/dist/models/ereporting-flow-type.js +1 -1
  1107. package/dist/models/ereporting-validation-error.d.ts +1 -1
  1108. package/dist/models/ereporting-validation-error.js +1 -1
  1109. package/dist/models/error-level.d.ts +1 -1
  1110. package/dist/models/error-level.js +1 -1
  1111. package/dist/models/error-source.d.ts +1 -1
  1112. package/dist/models/error-source.js +1 -1
  1113. package/dist/models/extraction-info.d.ts +1 -1
  1114. package/dist/models/extraction-info.js +1 -1
  1115. package/dist/models/factur-xinvoice.d.ts +2 -2
  1116. package/dist/models/factur-xinvoice.js +1 -1
  1117. package/dist/models/factur-xpdfinfo.d.ts +1 -1
  1118. package/dist/models/factur-xpdfinfo.js +1 -1
  1119. package/dist/models/facture-electronique-models-invoice-type-code.d.ts +81 -0
  1120. package/dist/models/facture-electronique-models-invoice-type-code.js +85 -0
  1121. package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts +1 -1
  1122. package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +1 -1
  1123. package/dist/models/facture-electronique-rest-api-schemas-validation-validation-error-response.d.ts +20 -0
  1124. package/dist/models/facture-electronique-rest-api-schemas-validation-validation-error-response.js +15 -0
  1125. package/dist/models/field-status.d.ts +1 -1
  1126. package/dist/models/field-status.js +1 -1
  1127. package/dist/models/file-info.d.ts +1 -1
  1128. package/dist/models/file-info.js +1 -1
  1129. package/dist/models/files-info.d.ts +1 -1
  1130. package/dist/models/files-info.js +1 -1
  1131. package/dist/models/flow-direction.d.ts +1 -1
  1132. package/dist/models/flow-direction.js +1 -1
  1133. package/dist/models/flow-profile.d.ts +1 -1
  1134. package/dist/models/flow-profile.js +1 -1
  1135. package/dist/models/flow-summary.d.ts +1 -1
  1136. package/dist/models/flow-summary.js +1 -1
  1137. package/dist/models/flow-syntax.d.ts +1 -1
  1138. package/dist/models/flow-syntax.js +1 -1
  1139. package/dist/models/flow-type.d.ts +1 -1
  1140. package/dist/models/flow-type.js +1 -1
  1141. package/dist/models/generate-aggregated-report-response.d.ts +1 -1
  1142. package/dist/models/generate-aggregated-report-response.js +1 -1
  1143. package/dist/models/generate-cdarresponse.d.ts +1 -1
  1144. package/dist/models/generate-cdarresponse.js +1 -1
  1145. package/dist/models/generate-certificate-request.d.ts +1 -1
  1146. package/dist/models/generate-certificate-request.js +1 -1
  1147. package/dist/models/generate-certificate-response.d.ts +1 -1
  1148. package/dist/models/generate-certificate-response.js +1 -1
  1149. package/dist/models/generate-ereporting-response.d.ts +1 -1
  1150. package/dist/models/generate-ereporting-response.js +1 -1
  1151. package/dist/models/generation-success-result.d.ts +24 -0
  1152. package/dist/models/generation-success-result.js +19 -0
  1153. package/dist/models/generation-task-status-result.d.ts +21 -0
  1154. package/dist/models/generation-task-status-result.js +15 -0
  1155. package/dist/models/generation-task-status.d.ts +21 -0
  1156. package/dist/models/generation-task-status.js +15 -0
  1157. package/dist/models/get-chorus-pro-id-request.d.ts +1 -1
  1158. package/dist/models/get-chorus-pro-id-request.js +1 -1
  1159. package/dist/models/get-chorus-pro-id-response.d.ts +1 -1
  1160. package/dist/models/get-chorus-pro-id-response.js +1 -1
  1161. package/dist/models/get-invoice-request.d.ts +1 -1
  1162. package/dist/models/get-invoice-request.js +1 -1
  1163. package/dist/models/get-invoice-response.d.ts +1 -1
  1164. package/dist/models/get-invoice-response.js +1 -1
  1165. package/dist/models/get-structure-request.d.ts +1 -1
  1166. package/dist/models/get-structure-request.js +1 -1
  1167. package/dist/models/get-structure-response.d.ts +1 -1
  1168. package/dist/models/get-structure-response.js +1 -1
  1169. package/dist/models/global-allowance-amount.d.ts +1 -1
  1170. package/dist/models/global-allowance-amount.js +1 -1
  1171. package/dist/models/gross-unit-price.d.ts +1 -1
  1172. package/dist/models/gross-unit-price.js +1 -1
  1173. package/dist/models/httpvalidation-error.d.ts +1 -1
  1174. package/dist/models/httpvalidation-error.js +1 -1
  1175. package/dist/models/incoming-invoice.d.ts +1 -1
  1176. package/dist/models/incoming-invoice.js +1 -1
  1177. package/dist/models/incoming-supplier.d.ts +1 -1
  1178. package/dist/models/incoming-supplier.js +1 -1
  1179. package/dist/models/index.d.ts +34 -2
  1180. package/dist/models/index.js +34 -2
  1181. package/dist/models/invoice-format.d.ts +1 -1
  1182. package/dist/models/invoice-format.js +1 -1
  1183. package/dist/models/invoice-input.d.ts +3 -3
  1184. package/dist/models/invoice-input.js +1 -1
  1185. package/dist/models/invoice-lifecycle.d.ts +30 -0
  1186. package/dist/models/invoice-lifecycle.js +15 -0
  1187. package/dist/models/invoice-line-allowance-amount.d.ts +1 -1
  1188. package/dist/models/invoice-line-allowance-amount.js +1 -1
  1189. package/dist/models/invoice-line.d.ts +1 -1
  1190. package/dist/models/invoice-line.js +1 -1
  1191. package/dist/models/invoice-note.d.ts +1 -1
  1192. package/dist/models/invoice-note.js +1 -1
  1193. package/dist/models/invoice-payment-input.d.ts +1 -1
  1194. package/dist/models/invoice-payment-input.js +1 -1
  1195. package/dist/models/invoice-references.d.ts +1 -1
  1196. package/dist/models/invoice-references.js +1 -1
  1197. package/dist/models/invoice-status.d.ts +1 -1
  1198. package/dist/models/invoice-status.js +1 -1
  1199. package/dist/models/invoice-totals-prepayment.d.ts +1 -1
  1200. package/dist/models/invoice-totals-prepayment.js +1 -1
  1201. package/dist/models/invoice-totals.d.ts +1 -1
  1202. package/dist/models/invoice-totals.js +1 -1
  1203. package/dist/models/invoice-type-code-output.d.ts +1 -1
  1204. package/dist/models/invoice-type-code-output.js +1 -1
  1205. package/dist/models/invoice-type-code.d.ts +7 -66
  1206. package/dist/models/invoice-type-code.js +7 -66
  1207. package/dist/models/invoicing-framework-code.d.ts +1 -1
  1208. package/dist/models/invoicing-framework-code.js +1 -1
  1209. package/dist/models/invoicing-framework.d.ts +2 -5
  1210. package/dist/models/invoicing-framework.js +1 -1
  1211. package/dist/models/issuer-role-code.d.ts +1 -1
  1212. package/dist/models/issuer-role-code.js +1 -1
  1213. package/dist/models/key-rotation-request.d.ts +24 -0
  1214. package/dist/models/key-rotation-request.js +15 -0
  1215. package/dist/models/key-rotation-response.d.ts +29 -0
  1216. package/dist/models/key-rotation-response.js +15 -0
  1217. package/dist/models/lifecycle-event.d.ts +33 -0
  1218. package/dist/models/lifecycle-event.js +15 -0
  1219. package/dist/models/lifecycle-response.d.ts +29 -0
  1220. package/dist/models/lifecycle-response.js +15 -0
  1221. package/dist/models/line-net-amount.d.ts +1 -1
  1222. package/dist/models/line-net-amount.js +1 -1
  1223. package/dist/models/line-sub-type.d.ts +1 -1
  1224. package/dist/models/line-sub-type.js +1 -1
  1225. package/dist/models/line-total-amount.d.ts +1 -1
  1226. package/dist/models/line-total-amount.js +1 -1
  1227. package/dist/models/location-inner.d.ts +1 -1
  1228. package/dist/models/location-inner.js +1 -1
  1229. package/dist/models/mandatory-note-schema.d.ts +1 -1
  1230. package/dist/models/mandatory-note-schema.js +1 -1
  1231. package/dist/models/manual-rate.d.ts +1 -1
  1232. package/dist/models/manual-rate.js +1 -1
  1233. package/dist/models/manual-vat-rate.d.ts +1 -1
  1234. package/dist/models/manual-vat-rate.js +1 -1
  1235. package/dist/models/missing-field.d.ts +1 -1
  1236. package/dist/models/missing-field.js +1 -1
  1237. package/dist/models/operation-nature.d.ts +1 -1
  1238. package/dist/models/operation-nature.js +1 -1
  1239. package/dist/models/output-format.d.ts +4 -2
  1240. package/dist/models/output-format.js +4 -2
  1241. package/dist/models/page-dimensions-schema.d.ts +1 -1
  1242. package/dist/models/page-dimensions-schema.js +1 -1
  1243. package/dist/models/parse-factur-xresponse.d.ts +34 -0
  1244. package/dist/models/parse-factur-xresponse.js +20 -0
  1245. package/dist/models/payee.d.ts +1 -1
  1246. package/dist/models/payee.js +1 -1
  1247. package/dist/models/payment-amount-by-rate.d.ts +1 -1
  1248. package/dist/models/payment-amount-by-rate.js +1 -1
  1249. package/dist/models/payment-card.d.ts +1 -1
  1250. package/dist/models/payment-card.js +1 -1
  1251. package/dist/models/payment-means.d.ts +2 -2
  1252. package/dist/models/payment-means.js +2 -2
  1253. package/dist/models/pdfvalidation-result-api.d.ts +1 -1
  1254. package/dist/models/pdfvalidation-result-api.js +1 -1
  1255. package/dist/models/pdpconfig-response.d.ts +2 -1
  1256. package/dist/models/pdpconfig-response.js +1 -1
  1257. package/dist/models/pdpconfig-update-request.d.ts +8 -2
  1258. package/dist/models/pdpconfig-update-request.js +6 -1
  1259. package/dist/models/pdpcredentials.d.ts +1 -1
  1260. package/dist/models/pdpcredentials.js +1 -1
  1261. package/dist/models/percentage.d.ts +1 -1
  1262. package/dist/models/percentage.js +1 -1
  1263. package/dist/models/postal-address.d.ts +1 -1
  1264. package/dist/models/postal-address.js +1 -1
  1265. package/dist/models/price-allowance-amount.d.ts +1 -1
  1266. package/dist/models/price-allowance-amount.js +1 -1
  1267. package/dist/models/price-basis-quantity.d.ts +1 -1
  1268. package/dist/models/price-basis-quantity.js +1 -1
  1269. package/dist/models/processing-options.d.ts +1 -1
  1270. package/dist/models/processing-options.js +1 -1
  1271. package/dist/models/processing-rule.d.ts +1 -1
  1272. package/dist/models/processing-rule.js +1 -1
  1273. package/dist/models/product-characteristic.d.ts +1 -1
  1274. package/dist/models/product-characteristic.js +1 -1
  1275. package/dist/models/product-classification.d.ts +1 -1
  1276. package/dist/models/product-classification.js +1 -1
  1277. package/dist/models/quantity.d.ts +1 -1
  1278. package/dist/models/quantity.js +1 -1
  1279. package/dist/models/rate.d.ts +1 -1
  1280. package/dist/models/rate.js +1 -1
  1281. package/dist/models/rate1.d.ts +1 -1
  1282. package/dist/models/rate1.js +1 -1
  1283. package/dist/models/reason-code-info.d.ts +1 -1
  1284. package/dist/models/reason-code-info.js +1 -1
  1285. package/dist/models/reason-codes-response.d.ts +1 -1
  1286. package/dist/models/reason-codes-response.js +1 -1
  1287. package/dist/models/recipient-input.d.ts +1 -1
  1288. package/dist/models/recipient-input.js +1 -1
  1289. package/dist/models/recipient.d.ts +1 -1
  1290. package/dist/models/recipient.js +1 -1
  1291. package/dist/models/refusee-request.d.ts +1 -1
  1292. package/dist/models/refusee-request.js +1 -1
  1293. package/dist/models/report-issuer.d.ts +1 -1
  1294. package/dist/models/report-issuer.js +1 -1
  1295. package/dist/models/report-period.d.ts +1 -1
  1296. package/dist/models/report-period.js +1 -1
  1297. package/dist/models/report-sender.d.ts +1 -1
  1298. package/dist/models/report-sender.js +1 -1
  1299. package/dist/models/rounding-amount.d.ts +1 -1
  1300. package/dist/models/rounding-amount.js +1 -1
  1301. package/dist/models/schematron-validation-error.d.ts +1 -1
  1302. package/dist/models/schematron-validation-error.js +1 -1
  1303. package/dist/models/scheme-id.d.ts +1 -1
  1304. package/dist/models/scheme-id.js +1 -1
  1305. package/dist/models/search-flow-request.d.ts +1 -1
  1306. package/dist/models/search-flow-request.js +1 -1
  1307. package/dist/models/search-flow-response.d.ts +1 -1
  1308. package/dist/models/search-flow-response.js +1 -1
  1309. package/dist/models/search-services-response.d.ts +1 -1
  1310. package/dist/models/search-services-response.js +1 -1
  1311. package/dist/models/search-structure-request.d.ts +1 -1
  1312. package/dist/models/search-structure-request.js +1 -1
  1313. package/dist/models/search-structure-response.d.ts +1 -1
  1314. package/dist/models/search-structure-response.js +1 -1
  1315. package/dist/models/secret-status.d.ts +3 -1
  1316. package/dist/models/secret-status.js +1 -1
  1317. package/dist/models/sellercountry.d.ts +1 -1
  1318. package/dist/models/sellercountry.js +1 -1
  1319. package/dist/models/signature-info-api.d.ts +1 -1
  1320. package/dist/models/signature-info-api.js +1 -1
  1321. package/dist/models/signature-info.d.ts +1 -1
  1322. package/dist/models/signature-info.js +1 -1
  1323. package/dist/models/signature-parameters.d.ts +1 -1
  1324. package/dist/models/signature-parameters.js +1 -1
  1325. package/dist/models/signature-success-result.d.ts +31 -0
  1326. package/dist/models/signature-success-result.js +19 -0
  1327. package/dist/models/signature-task-status-result.d.ts +21 -0
  1328. package/dist/models/signature-task-status-result.js +15 -0
  1329. package/dist/models/signature-task-status.d.ts +21 -0
  1330. package/dist/models/signature-task-status.js +15 -0
  1331. package/dist/models/simplified-cdarresponse.d.ts +1 -1
  1332. package/dist/models/simplified-cdarresponse.js +1 -1
  1333. package/dist/models/simplified-invoice-data.d.ts +3 -3
  1334. package/dist/models/simplified-invoice-data.js +1 -1
  1335. package/dist/models/status-code-info.d.ts +1 -1
  1336. package/dist/models/status-code-info.js +1 -1
  1337. package/dist/models/status-codes-response.d.ts +1 -1
  1338. package/dist/models/status-codes-response.js +1 -1
  1339. package/dist/models/structure-info.d.ts +1 -1
  1340. package/dist/models/structure-info.js +1 -1
  1341. package/dist/models/structure-parameters.d.ts +1 -1
  1342. package/dist/models/structure-parameters.js +1 -1
  1343. package/dist/models/structure-service.d.ts +1 -1
  1344. package/dist/models/structure-service.js +1 -1
  1345. package/dist/models/submission-mode.d.ts +1 -1
  1346. package/dist/models/submission-mode.js +1 -1
  1347. package/dist/models/submit-aggregated-report-request.d.ts +1 -1
  1348. package/dist/models/submit-aggregated-report-request.js +1 -1
  1349. package/dist/models/submit-cdarrequest.d.ts +1 -1
  1350. package/dist/models/submit-cdarrequest.js +1 -1
  1351. package/dist/models/submit-cdarresponse.d.ts +1 -1
  1352. package/dist/models/submit-cdarresponse.js +1 -1
  1353. package/dist/models/submit-cdarxmlrequest.d.ts +1 -1
  1354. package/dist/models/submit-cdarxmlrequest.js +1 -1
  1355. package/dist/models/submit-complete-invoice-request.d.ts +1 -1
  1356. package/dist/models/submit-complete-invoice-request.js +1 -1
  1357. package/dist/models/submit-complete-invoice-response.d.ts +8 -2
  1358. package/dist/models/submit-complete-invoice-response.js +1 -1
  1359. package/dist/models/submit-ereporting-request.d.ts +1 -1
  1360. package/dist/models/submit-ereporting-request.js +1 -1
  1361. package/dist/models/submit-ereporting-response.d.ts +1 -1
  1362. package/dist/models/submit-ereporting-response.js +1 -1
  1363. package/dist/models/submit-flow-request.d.ts +1 -1
  1364. package/dist/models/submit-flow-request.js +1 -1
  1365. package/dist/models/submit-flow-response.d.ts +1 -1
  1366. package/dist/models/submit-flow-response.js +1 -1
  1367. package/dist/models/submit-gross-amount.d.ts +1 -1
  1368. package/dist/models/submit-gross-amount.js +1 -1
  1369. package/dist/models/submit-invoice-request.d.ts +1 -1
  1370. package/dist/models/submit-invoice-request.js +1 -1
  1371. package/dist/models/submit-invoice-response.d.ts +1 -1
  1372. package/dist/models/submit-invoice-response.js +1 -1
  1373. package/dist/models/submit-net-amount.d.ts +1 -1
  1374. package/dist/models/submit-net-amount.js +1 -1
  1375. package/dist/models/submit-vat-amount.d.ts +1 -1
  1376. package/dist/models/submit-vat-amount.js +1 -1
  1377. package/dist/models/supplementary-attachment.d.ts +1 -1
  1378. package/dist/models/supplementary-attachment.js +1 -1
  1379. package/dist/models/supplier.d.ts +5 -2
  1380. package/dist/models/supplier.js +1 -1
  1381. package/dist/models/task-error-result.d.ts +26 -0
  1382. package/dist/models/task-error-result.js +19 -0
  1383. package/dist/models/task-response.d.ts +1 -1
  1384. package/dist/models/task-response.js +1 -1
  1385. package/dist/models/tax-breakdown-input.d.ts +1 -1
  1386. package/dist/models/tax-breakdown-input.js +1 -1
  1387. package/dist/models/tax-due-date-type.d.ts +1 -1
  1388. package/dist/models/tax-due-date-type.js +1 -1
  1389. package/dist/models/tax-representative.d.ts +1 -1
  1390. package/dist/models/tax-representative.js +1 -1
  1391. package/dist/models/taxable-amount.d.ts +1 -1
  1392. package/dist/models/taxable-amount.js +1 -1
  1393. package/dist/models/taxableamount.d.ts +1 -1
  1394. package/dist/models/taxableamount.js +1 -1
  1395. package/dist/models/taxamount.d.ts +1 -1
  1396. package/dist/models/taxamount.js +1 -1
  1397. package/dist/models/taxamount1.d.ts +1 -1
  1398. package/dist/models/taxamount1.js +1 -1
  1399. package/dist/models/taxamount2.d.ts +1 -1
  1400. package/dist/models/taxamount2.js +1 -1
  1401. package/dist/models/taxexclusiveamount.d.ts +1 -1
  1402. package/dist/models/taxexclusiveamount.js +1 -1
  1403. package/dist/models/taxexclusiveamount1.d.ts +1 -1
  1404. package/dist/models/taxexclusiveamount1.js +1 -1
  1405. package/dist/models/total-gross-amount.d.ts +1 -1
  1406. package/dist/models/total-gross-amount.js +1 -1
  1407. package/dist/models/total-net-amount.d.ts +1 -1
  1408. package/dist/models/total-net-amount.js +1 -1
  1409. package/dist/models/total-vatamount.d.ts +1 -1
  1410. package/dist/models/total-vatamount.js +1 -1
  1411. package/dist/models/transaction-category.d.ts +1 -1
  1412. package/dist/models/transaction-category.js +1 -1
  1413. package/dist/models/transmission-type-code.d.ts +1 -1
  1414. package/dist/models/transmission-type-code.js +1 -1
  1415. package/dist/models/unit-net-price.d.ts +1 -1
  1416. package/dist/models/unit-net-price.js +1 -1
  1417. package/dist/models/unit-of-measure.d.ts +16 -2
  1418. package/dist/models/unit-of-measure.js +17 -3
  1419. package/dist/models/validate-cdarrequest.d.ts +1 -1
  1420. package/dist/models/validate-cdarrequest.js +1 -1
  1421. package/dist/models/validate-cdarresponse.d.ts +4 -4
  1422. package/dist/models/validate-cdarresponse.js +1 -1
  1423. package/dist/models/validate-ereporting-request.d.ts +1 -1
  1424. package/dist/models/validate-ereporting-request.js +1 -1
  1425. package/dist/models/validate-ereporting-response.d.ts +1 -1
  1426. package/dist/models/validate-ereporting-response.js +1 -1
  1427. package/dist/models/validation-error-detail.d.ts +1 -1
  1428. package/dist/models/validation-error-detail.js +1 -1
  1429. package/dist/models/validation-error-response.d.ts +13 -4
  1430. package/dist/models/validation-error-response.js +1 -1
  1431. package/dist/models/validation-error.d.ts +1 -1
  1432. package/dist/models/validation-error.js +1 -1
  1433. package/dist/models/validation-info.d.ts +1 -1
  1434. package/dist/models/validation-info.js +1 -1
  1435. package/dist/models/validation-success-response.d.ts +1 -1
  1436. package/dist/models/validation-success-response.js +1 -1
  1437. package/dist/models/validation-success-task-result.d.ts +23 -0
  1438. package/dist/models/validation-success-task-result.js +19 -0
  1439. package/dist/models/validation-task-status-result.d.ts +21 -0
  1440. package/dist/models/validation-task-status-result.js +15 -0
  1441. package/dist/models/validation-task-status.d.ts +21 -0
  1442. package/dist/models/validation-task-status.js +15 -0
  1443. package/dist/models/vat-rate.d.ts +1 -1
  1444. package/dist/models/vat-rate.js +1 -1
  1445. package/dist/models/vataccounting-code.d.ts +2 -2
  1446. package/dist/models/vataccounting-code.js +2 -2
  1447. package/dist/models/vatamount.d.ts +1 -1
  1448. package/dist/models/vatamount.js +1 -1
  1449. package/dist/models/vatcategory.d.ts +1 -1
  1450. package/dist/models/vatcategory.js +1 -1
  1451. package/dist/models/vatexcode-info.d.ts +32 -0
  1452. package/dist/models/vatexcode-info.js +15 -0
  1453. package/dist/models/vatexcodes-response.d.ts +20 -0
  1454. package/dist/models/vatexcodes-response.js +15 -0
  1455. package/dist/models/vatline.d.ts +1 -1
  1456. package/dist/models/vatline.js +1 -1
  1457. package/dist/models/vatpoint-date-code.d.ts +1 -1
  1458. package/dist/models/vatpoint-date-code.js +1 -1
  1459. package/dist/models/verification-success-response.d.ts +1 -1
  1460. package/dist/models/verification-success-response.js +1 -1
  1461. package/dist/models/verification-success-task-result.d.ts +23 -0
  1462. package/dist/models/verification-success-task-result.js +19 -0
  1463. package/dist/models/verification-typed-task-status-result.d.ts +21 -0
  1464. package/dist/models/verification-typed-task-status-result.js +15 -0
  1465. package/dist/models/verification-typed-task-status.d.ts +21 -0
  1466. package/dist/models/verification-typed-task-status.js +15 -0
  1467. package/dist/models/verified-field-schema.d.ts +1 -1
  1468. package/dist/models/verified-field-schema.js +1 -1
  1469. package/dist/models/webhook-secret-delete-response.d.ts +24 -0
  1470. package/dist/models/webhook-secret-delete-response.js +15 -0
  1471. package/dist/models/webhook-secret-generate-response.d.ts +32 -0
  1472. package/dist/models/webhook-secret-generate-response.js +15 -0
  1473. package/dist/models/webhook-secret-status-response.d.ts +21 -0
  1474. package/dist/models/webhook-secret-status-response.js +15 -0
  1475. package/docs/AFNORErrorDetail.md +29 -0
  1476. package/docs/AFNORPDPPAApi.md +5 -2
  1477. package/docs/AsyncTasksApi.md +163 -1
  1478. package/docs/ChorusProApi.md +16 -16
  1479. package/docs/ClientManagementApi.md +261 -22
  1480. package/docs/ConversionErrorResult.md +33 -0
  1481. package/docs/ConversionExtractionInfo.md +23 -0
  1482. package/docs/ConversionPendingInputResult.md +33 -0
  1483. package/docs/ConversionSuccessTaskResult.md +39 -0
  1484. package/docs/ConversionTaskStatus.md +25 -0
  1485. package/docs/ConversionTaskStatusResult.md +58 -0
  1486. package/docs/ConversionValidationFailedResult.md +37 -0
  1487. package/docs/ConvertResumeRequest.md +5 -1
  1488. package/docs/DownloadsApi.md +6 -6
  1489. package/docs/ElectronicSignatureApi.md +4 -4
  1490. package/docs/FacturXConversionApi.md +118 -4
  1491. package/docs/FacturXInvoice.md +1 -1
  1492. package/docs/FacturXPDFXMLVerificationApi.md +57 -3
  1493. package/docs/FacturXValidationApi.md +2 -63
  1494. package/docs/FactureElectroniqueModelsInvoiceTypeCode.md +39 -0
  1495. package/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +21 -0
  1496. package/docs/Flux10EReportingApi.md +6 -6
  1497. package/docs/Flux6InvoiceLifecycleCDARApi.md +74 -3
  1498. package/docs/GenerationSuccessResult.md +27 -0
  1499. package/docs/GenerationTaskStatus.md +25 -0
  1500. package/docs/GenerationTaskStatusResult.md +34 -0
  1501. package/docs/HealthApi.md +1 -93
  1502. package/docs/{FacturXGenerationApi.md → InvoiceGenerationApi.md} +16 -16
  1503. package/docs/InvoiceInput.md +1 -1
  1504. package/docs/InvoiceLifecycle.md +27 -0
  1505. package/docs/InvoiceTypeCode.md +6 -28
  1506. package/docs/InvoicingFramework.md +1 -1
  1507. package/docs/KeyRotationRequest.md +23 -0
  1508. package/docs/KeyRotationResponse.md +27 -0
  1509. package/docs/LifecycleEvent.md +41 -0
  1510. package/docs/LifecycleResponse.md +25 -0
  1511. package/docs/OutputFormat.md +5 -1
  1512. package/docs/PDPConfigResponse.md +2 -0
  1513. package/docs/PDPConfigUpdateRequest.md +3 -1
  1514. package/docs/ParseApi.md +119 -0
  1515. package/docs/ParseFacturXResponse.md +29 -0
  1516. package/docs/PaymentMeans.md +1 -1
  1517. package/docs/ReferencesApi.md +60 -0
  1518. package/docs/SecretStatus.md +4 -0
  1519. package/docs/SignatureSuccessResult.md +37 -0
  1520. package/docs/SignatureTaskStatus.md +25 -0
  1521. package/docs/SignatureTaskStatusResult.md +44 -0
  1522. package/docs/SimplifiedInvoiceData.md +1 -1
  1523. package/docs/SubmitCompleteInvoiceResponse.md +3 -1
  1524. package/docs/Supplier.md +1 -1
  1525. package/docs/TaskErrorResult.md +29 -0
  1526. package/docs/UnitOfMeasure.md +29 -1
  1527. package/docs/VATAccountingCode.md +1 -1
  1528. package/docs/VATEXCodeInfo.md +27 -0
  1529. package/docs/VATEXCodesResponse.md +25 -0
  1530. package/docs/ValidateCDARResponse.md +2 -2
  1531. package/docs/ValidationApi.md +68 -0
  1532. package/docs/ValidationErrorResponse.md +9 -3
  1533. package/docs/ValidationSuccessTaskResult.md +23 -0
  1534. package/docs/ValidationTaskStatus.md +25 -0
  1535. package/docs/ValidationTaskStatusResult.md +30 -0
  1536. package/docs/VerificationSuccessTaskResult.md +23 -0
  1537. package/docs/VerificationTypedTaskStatus.md +25 -0
  1538. package/docs/VerificationTypedTaskStatusResult.md +30 -0
  1539. package/docs/WebhookSecretDeleteResponse.md +23 -0
  1540. package/docs/WebhookSecretGenerateResponse.md +27 -0
  1541. package/docs/WebhookSecretStatusResponse.md +23 -0
  1542. package/index.ts +1 -1
  1543. package/models/acknowledgment-status.ts +1 -1
  1544. package/models/action-code-info.ts +1 -1
  1545. package/models/action-codes-response.ts +1 -1
  1546. package/models/additional-document.ts +1 -1
  1547. package/models/afnoracknowledgement-detail.ts +1 -1
  1548. package/models/afnoracknowledgement.ts +1 -1
  1549. package/models/afnoraddress-edit.ts +1 -1
  1550. package/models/afnoraddress-patch.ts +1 -1
  1551. package/models/afnoraddress-put.ts +1 -1
  1552. package/models/afnoraddress-read.ts +1 -1
  1553. package/models/afnoralgorithm.ts +1 -1
  1554. package/models/afnorcontains-operator.ts +1 -1
  1555. package/models/afnorcreate-directory-line-body-addressing-information.ts +1 -1
  1556. package/models/afnorcreate-directory-line-body-period.ts +1 -1
  1557. package/models/afnorcreate-directory-line-body.ts +1 -1
  1558. package/models/afnorcreate-routing-code-body.ts +1 -1
  1559. package/models/afnorcredentials.ts +1 -1
  1560. package/models/afnordestination.ts +1 -1
  1561. package/models/afnordiffusion-status.ts +1 -1
  1562. package/models/afnordirectory-line-field.ts +1 -1
  1563. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.ts +1 -1
  1564. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.ts +1 -1
  1565. package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.ts +1 -1
  1566. package/models/afnordirectory-line-post201-response.ts +1 -1
  1567. package/models/afnordirectory-line-search-post200-response.ts +1 -1
  1568. package/models/afnorentity-type.ts +1 -1
  1569. package/models/afnorerror-detail.ts +27 -0
  1570. package/models/afnorerror.ts +1 -1
  1571. package/models/afnorfacility-administrative-status.ts +1 -1
  1572. package/models/afnorfacility-nature.ts +1 -1
  1573. package/models/afnorfacility-payload-history-ule-b2g-additional-data.ts +1 -1
  1574. package/models/afnorfacility-payload-history.ts +1 -1
  1575. package/models/afnorfacility-payload-included.ts +1 -1
  1576. package/models/afnorfacility-type.ts +1 -1
  1577. package/models/afnorflow-ack-status.ts +1 -1
  1578. package/models/afnorflow-direction.ts +1 -1
  1579. package/models/afnorflow-info.ts +1 -1
  1580. package/models/afnorflow-profile.ts +1 -1
  1581. package/models/afnorflow-syntax.ts +1 -1
  1582. package/models/afnorflow-type.ts +1 -1
  1583. package/models/afnorflow.ts +1 -1
  1584. package/models/afnorfull-flow-info.ts +1 -1
  1585. package/models/afnorhealth-check-response.ts +1 -1
  1586. package/models/afnorlegal-unit-administrative-status.ts +1 -1
  1587. package/models/afnorlegal-unit-payload-history.ts +1 -1
  1588. package/models/afnorlegal-unit-payload-included-no-siren.ts +1 -1
  1589. package/models/afnorlegal-unit-payload-included.ts +1 -1
  1590. package/models/afnorplatform-status.ts +1 -1
  1591. package/models/afnorprocessing-rule.ts +1 -1
  1592. package/models/afnorreason-code-enum.ts +1 -1
  1593. package/models/afnorreason-code.ts +1 -1
  1594. package/models/afnorrecipient-platform-type.ts +1 -1
  1595. package/models/afnorresult.ts +1 -1
  1596. package/models/afnorrouting-code-administrative-status.ts +1 -1
  1597. package/models/afnorrouting-code-field.ts +1 -1
  1598. package/models/afnorrouting-code-payload-history-legal-unit-facility.ts +1 -1
  1599. package/models/afnorrouting-code-post201-response.ts +1 -1
  1600. package/models/afnorrouting-code-search-filters-administrative-status.ts +1 -1
  1601. package/models/afnorrouting-code-search-filters-routing-code-name.ts +1 -1
  1602. package/models/afnorrouting-code-search-filters-routing-identifier.ts +1 -1
  1603. package/models/afnorrouting-code-search-filters.ts +1 -1
  1604. package/models/afnorrouting-code-search-post200-response.ts +1 -1
  1605. package/models/afnorrouting-code-search-sorting-inner.ts +1 -1
  1606. package/models/afnorrouting-code-search.ts +1 -1
  1607. package/models/afnorsearch-directory-line-filters-addressing-identifier.ts +1 -1
  1608. package/models/afnorsearch-directory-line-filters-addressing-suffix.ts +1 -1
  1609. package/models/afnorsearch-directory-line-filters.ts +1 -1
  1610. package/models/afnorsearch-directory-line-sorting-inner.ts +1 -1
  1611. package/models/afnorsearch-directory-line.ts +1 -1
  1612. package/models/afnorsearch-flow-content.ts +1 -1
  1613. package/models/afnorsearch-flow-filters.ts +1 -1
  1614. package/models/afnorsearch-flow-params.ts +1 -1
  1615. package/models/afnorsearch-siren-filters-administrative-status.ts +1 -1
  1616. package/models/afnorsearch-siren-filters-business-name.ts +1 -1
  1617. package/models/afnorsearch-siren-filters-entity-type.ts +1 -1
  1618. package/models/afnorsearch-siren-filters-siren.ts +1 -1
  1619. package/models/afnorsearch-siren-filters.ts +1 -1
  1620. package/models/afnorsearch-siren-sorting-inner.ts +1 -1
  1621. package/models/afnorsearch-siren.ts +1 -1
  1622. package/models/afnorsearch-siret-filters-address-lines.ts +1 -1
  1623. package/models/afnorsearch-siret-filters-administrative-status.ts +1 -1
  1624. package/models/afnorsearch-siret-filters-country-subdivision.ts +1 -1
  1625. package/models/afnorsearch-siret-filters-facility-type.ts +1 -1
  1626. package/models/afnorsearch-siret-filters-locality.ts +1 -1
  1627. package/models/afnorsearch-siret-filters-name.ts +1 -1
  1628. package/models/afnorsearch-siret-filters-postal-code.ts +1 -1
  1629. package/models/afnorsearch-siret-filters-siret.ts +1 -1
  1630. package/models/afnorsearch-siret-filters.ts +1 -1
  1631. package/models/afnorsearch-siret-sorting-inner.ts +1 -1
  1632. package/models/afnorsearch-siret.ts +1 -1
  1633. package/models/afnorsiren-field.ts +1 -1
  1634. package/models/afnorsiren-search-post200-response.ts +1 -1
  1635. package/models/afnorsiret-field.ts +1 -1
  1636. package/models/afnorsiret-search-post200-response.ts +1 -1
  1637. package/models/afnorsorting-order.ts +1 -1
  1638. package/models/afnorstrict-operator.ts +1 -1
  1639. package/models/afnorupdate-patch-directory-line-body.ts +1 -1
  1640. package/models/afnorupdate-patch-routing-code-body.ts +1 -1
  1641. package/models/afnorupdate-put-routing-code-body.ts +1 -1
  1642. package/models/afnorwebhook-callback-content.ts +1 -1
  1643. package/models/aggregated-payment-input.ts +1 -1
  1644. package/models/aggregated-transaction-input.ts +1 -1
  1645. package/models/allowance-charge-reason-code.ts +1 -1
  1646. package/models/allowance-charge.ts +1 -1
  1647. package/models/allowance-reason-code.ts +1 -1
  1648. package/models/allowance-total-amount.ts +1 -1
  1649. package/models/amount-due.ts +1 -1
  1650. package/models/amount.ts +1 -1
  1651. package/models/amount1.ts +1 -1
  1652. package/models/amount2.ts +1 -1
  1653. package/models/apierror.ts +1 -1
  1654. package/models/apiprofile.ts +1 -1
  1655. package/models/async-task-status.ts +1 -1
  1656. package/models/base-amount.ts +1 -1
  1657. package/models/bounding-box-schema.ts +1 -1
  1658. package/models/buyercountry.ts +1 -1
  1659. package/models/celery-status.ts +1 -1
  1660. package/models/certificate-info-response.ts +1 -1
  1661. package/models/charge-total-amount.ts +1 -1
  1662. package/models/chorus-pro-credentials.ts +1 -1
  1663. package/models/chorus-pro-destination.ts +1 -1
  1664. package/models/chorus-pro-result.ts +1 -1
  1665. package/models/client-activate-response.ts +1 -1
  1666. package/models/client-create-request.ts +1 -1
  1667. package/models/client-detail.ts +1 -1
  1668. package/models/client-list-response.ts +1 -1
  1669. package/models/client-summary.ts +1 -1
  1670. package/models/client-update-request.ts +1 -1
  1671. package/models/contact.ts +1 -1
  1672. package/models/conversion-error-result.ts +39 -0
  1673. package/models/conversion-extraction-info.ts +24 -0
  1674. package/models/conversion-pending-input-result.ts +36 -0
  1675. package/models/conversion-success-task-result.ts +42 -0
  1676. package/models/conversion-task-status-result.ts +40 -0
  1677. package/models/conversion-task-status.ts +33 -0
  1678. package/models/conversion-validation-failed-result.ts +41 -0
  1679. package/models/convert-resume-request.ts +7 -2
  1680. package/models/convert-success-response.ts +1 -1
  1681. package/models/convert-validation-failed-response.ts +1 -1
  1682. package/models/country-code.ts +1 -1
  1683. package/models/create-aggregated-report-request.ts +1 -1
  1684. package/models/create-cdarrequest.ts +1 -1
  1685. package/models/create-ereporting-request.ts +1 -1
  1686. package/models/currency-code.ts +1 -1
  1687. package/models/currency.ts +1 -1
  1688. package/models/delivery-party.ts +1 -1
  1689. package/models/destination.ts +1 -1
  1690. package/models/doc-type.ts +1 -1
  1691. package/models/document-type-info.ts +1 -1
  1692. package/models/electronic-address.ts +1 -1
  1693. package/models/encaisseamount.ts +1 -1
  1694. package/models/encaisseamount1.ts +1 -1
  1695. package/models/encaissee-request.ts +1 -1
  1696. package/models/enriched-invoice-info.ts +1 -1
  1697. package/models/ereporting-flow-type.ts +1 -1
  1698. package/models/ereporting-validation-error.ts +1 -1
  1699. package/models/error-level.ts +1 -1
  1700. package/models/error-source.ts +1 -1
  1701. package/models/extraction-info.ts +1 -1
  1702. package/models/factur-xinvoice.ts +2 -2
  1703. package/models/factur-xpdfinfo.ts +1 -1
  1704. package/models/facture-electronique-models-invoice-type-code.ts +91 -0
  1705. package/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts +1 -1
  1706. package/models/facture-electronique-rest-api-schemas-validation-validation-error-response.ts +26 -0
  1707. package/models/field-status.ts +1 -1
  1708. package/models/file-info.ts +1 -1
  1709. package/models/files-info.ts +1 -1
  1710. package/models/flow-direction.ts +1 -1
  1711. package/models/flow-profile.ts +1 -1
  1712. package/models/flow-summary.ts +1 -1
  1713. package/models/flow-syntax.ts +1 -1
  1714. package/models/flow-type.ts +1 -1
  1715. package/models/generate-aggregated-report-response.ts +1 -1
  1716. package/models/generate-cdarresponse.ts +1 -1
  1717. package/models/generate-certificate-request.ts +1 -1
  1718. package/models/generate-certificate-response.ts +1 -1
  1719. package/models/generate-ereporting-response.ts +1 -1
  1720. package/models/generation-success-result.ts +33 -0
  1721. package/models/generation-task-status-result.ts +31 -0
  1722. package/models/generation-task-status.ts +33 -0
  1723. package/models/get-chorus-pro-id-request.ts +1 -1
  1724. package/models/get-chorus-pro-id-response.ts +1 -1
  1725. package/models/get-invoice-request.ts +1 -1
  1726. package/models/get-invoice-response.ts +1 -1
  1727. package/models/get-structure-request.ts +1 -1
  1728. package/models/get-structure-response.ts +1 -1
  1729. package/models/global-allowance-amount.ts +1 -1
  1730. package/models/gross-unit-price.ts +1 -1
  1731. package/models/httpvalidation-error.ts +1 -1
  1732. package/models/incoming-invoice.ts +1 -1
  1733. package/models/incoming-supplier.ts +1 -1
  1734. package/models/index.ts +34 -2
  1735. package/models/invoice-format.ts +1 -1
  1736. package/models/invoice-input.ts +3 -3
  1737. package/models/invoice-lifecycle.ts +38 -0
  1738. package/models/invoice-line-allowance-amount.ts +1 -1
  1739. package/models/invoice-line.ts +1 -1
  1740. package/models/invoice-note.ts +1 -1
  1741. package/models/invoice-payment-input.ts +1 -1
  1742. package/models/invoice-references.ts +1 -1
  1743. package/models/invoice-status.ts +1 -1
  1744. package/models/invoice-totals-prepayment.ts +1 -1
  1745. package/models/invoice-totals.ts +1 -1
  1746. package/models/invoice-type-code-output.ts +1 -1
  1747. package/models/invoice-type-code.ts +7 -66
  1748. package/models/invoicing-framework-code.ts +1 -1
  1749. package/models/invoicing-framework.ts +2 -5
  1750. package/models/issuer-role-code.ts +1 -1
  1751. package/models/key-rotation-request.ts +30 -0
  1752. package/models/key-rotation-response.ts +35 -0
  1753. package/models/lifecycle-event.ts +39 -0
  1754. package/models/lifecycle-response.ts +37 -0
  1755. package/models/line-net-amount.ts +1 -1
  1756. package/models/line-sub-type.ts +1 -1
  1757. package/models/line-total-amount.ts +1 -1
  1758. package/models/location-inner.ts +1 -1
  1759. package/models/mandatory-note-schema.ts +1 -1
  1760. package/models/manual-rate.ts +1 -1
  1761. package/models/manual-vat-rate.ts +1 -1
  1762. package/models/missing-field.ts +1 -1
  1763. package/models/operation-nature.ts +1 -1
  1764. package/models/output-format.ts +4 -2
  1765. package/models/page-dimensions-schema.ts +1 -1
  1766. package/models/parse-factur-xresponse.ts +41 -0
  1767. package/models/payee.ts +1 -1
  1768. package/models/payment-amount-by-rate.ts +1 -1
  1769. package/models/payment-card.ts +1 -1
  1770. package/models/payment-means.ts +2 -2
  1771. package/models/pdfvalidation-result-api.ts +1 -1
  1772. package/models/pdpconfig-response.ts +2 -1
  1773. package/models/pdpconfig-update-request.ts +11 -2
  1774. package/models/pdpcredentials.ts +1 -1
  1775. package/models/percentage.ts +1 -1
  1776. package/models/postal-address.ts +1 -1
  1777. package/models/price-allowance-amount.ts +1 -1
  1778. package/models/price-basis-quantity.ts +1 -1
  1779. package/models/processing-options.ts +1 -1
  1780. package/models/processing-rule.ts +1 -1
  1781. package/models/product-characteristic.ts +1 -1
  1782. package/models/product-classification.ts +1 -1
  1783. package/models/quantity.ts +1 -1
  1784. package/models/rate.ts +1 -1
  1785. package/models/rate1.ts +1 -1
  1786. package/models/reason-code-info.ts +1 -1
  1787. package/models/reason-codes-response.ts +1 -1
  1788. package/models/recipient-input.ts +1 -1
  1789. package/models/recipient.ts +1 -1
  1790. package/models/refusee-request.ts +1 -1
  1791. package/models/report-issuer.ts +1 -1
  1792. package/models/report-period.ts +1 -1
  1793. package/models/report-sender.ts +1 -1
  1794. package/models/rounding-amount.ts +1 -1
  1795. package/models/schematron-validation-error.ts +1 -1
  1796. package/models/scheme-id.ts +1 -1
  1797. package/models/search-flow-request.ts +1 -1
  1798. package/models/search-flow-response.ts +1 -1
  1799. package/models/search-services-response.ts +1 -1
  1800. package/models/search-structure-request.ts +1 -1
  1801. package/models/search-structure-response.ts +1 -1
  1802. package/models/secret-status.ts +3 -1
  1803. package/models/sellercountry.ts +1 -1
  1804. package/models/signature-info-api.ts +1 -1
  1805. package/models/signature-info.ts +1 -1
  1806. package/models/signature-parameters.ts +1 -1
  1807. package/models/signature-success-result.ts +38 -0
  1808. package/models/signature-task-status-result.ts +31 -0
  1809. package/models/signature-task-status.ts +33 -0
  1810. package/models/simplified-cdarresponse.ts +1 -1
  1811. package/models/simplified-invoice-data.ts +3 -3
  1812. package/models/status-code-info.ts +1 -1
  1813. package/models/status-codes-response.ts +1 -1
  1814. package/models/structure-info.ts +1 -1
  1815. package/models/structure-parameters.ts +1 -1
  1816. package/models/structure-service.ts +1 -1
  1817. package/models/submission-mode.ts +1 -1
  1818. package/models/submit-aggregated-report-request.ts +1 -1
  1819. package/models/submit-cdarrequest.ts +1 -1
  1820. package/models/submit-cdarresponse.ts +1 -1
  1821. package/models/submit-cdarxmlrequest.ts +1 -1
  1822. package/models/submit-complete-invoice-request.ts +1 -1
  1823. package/models/submit-complete-invoice-response.ts +6 -2
  1824. package/models/submit-ereporting-request.ts +1 -1
  1825. package/models/submit-ereporting-response.ts +1 -1
  1826. package/models/submit-flow-request.ts +1 -1
  1827. package/models/submit-flow-response.ts +1 -1
  1828. package/models/submit-gross-amount.ts +1 -1
  1829. package/models/submit-invoice-request.ts +1 -1
  1830. package/models/submit-invoice-response.ts +1 -1
  1831. package/models/submit-net-amount.ts +1 -1
  1832. package/models/submit-vat-amount.ts +1 -1
  1833. package/models/supplementary-attachment.ts +1 -1
  1834. package/models/supplier.ts +5 -2
  1835. package/models/task-error-result.ts +37 -0
  1836. package/models/task-response.ts +1 -1
  1837. package/models/tax-breakdown-input.ts +1 -1
  1838. package/models/tax-due-date-type.ts +1 -1
  1839. package/models/tax-representative.ts +1 -1
  1840. package/models/taxable-amount.ts +1 -1
  1841. package/models/taxableamount.ts +1 -1
  1842. package/models/taxamount.ts +1 -1
  1843. package/models/taxamount1.ts +1 -1
  1844. package/models/taxamount2.ts +1 -1
  1845. package/models/taxexclusiveamount.ts +1 -1
  1846. package/models/taxexclusiveamount1.ts +1 -1
  1847. package/models/total-gross-amount.ts +1 -1
  1848. package/models/total-net-amount.ts +1 -1
  1849. package/models/total-vatamount.ts +1 -1
  1850. package/models/transaction-category.ts +1 -1
  1851. package/models/transmission-type-code.ts +1 -1
  1852. package/models/unit-net-price.ts +1 -1
  1853. package/models/unit-of-measure.ts +17 -3
  1854. package/models/validate-cdarrequest.ts +1 -1
  1855. package/models/validate-cdarresponse.ts +4 -4
  1856. package/models/validate-ereporting-request.ts +1 -1
  1857. package/models/validate-ereporting-response.ts +1 -1
  1858. package/models/validation-error-detail.ts +1 -1
  1859. package/models/validation-error-response.ts +13 -4
  1860. package/models/validation-error.ts +1 -1
  1861. package/models/validation-info.ts +1 -1
  1862. package/models/validation-success-response.ts +1 -1
  1863. package/models/validation-success-task-result.ts +34 -0
  1864. package/models/validation-task-status-result.ts +34 -0
  1865. package/models/validation-task-status.ts +33 -0
  1866. package/models/vat-rate.ts +1 -1
  1867. package/models/vataccounting-code.ts +2 -2
  1868. package/models/vatamount.ts +1 -1
  1869. package/models/vatcategory.ts +1 -1
  1870. package/models/vatexcode-info.ts +38 -0
  1871. package/models/vatexcodes-response.ts +28 -0
  1872. package/models/vatline.ts +1 -1
  1873. package/models/vatpoint-date-code.ts +1 -1
  1874. package/models/verification-success-response.ts +1 -1
  1875. package/models/verification-success-task-result.ts +34 -0
  1876. package/models/verification-typed-task-status-result.ts +34 -0
  1877. package/models/verification-typed-task-status.ts +33 -0
  1878. package/models/verified-field-schema.ts +1 -1
  1879. package/models/webhook-secret-delete-response.ts +30 -0
  1880. package/models/webhook-secret-generate-response.ts +38 -0
  1881. package/models/webhook-secret-status-response.ts +27 -0
  1882. package/package.json +2 -2
  1883. package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +0 -29
  1884. package/dist/esm/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +0 -14
  1885. package/dist/esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts +0 -22
  1886. package/dist/esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +0 -23
  1887. package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts +0 -29
  1888. package/dist/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.js +0 -15
  1889. package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts +0 -22
  1890. package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js +0 -26
  1891. package/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +0 -27
  1892. package/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -17
  1893. package/models/facture-electronique-rest-api-schemas-cdar-validation-error-response.ts +0 -35
  1894. package/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.ts +0 -32
@@ -1,6 +1,6 @@
1
1
  /**
2
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/
3
+ * REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **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
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: contact@factpulse.fr
@@ -15,7 +15,6 @@ import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { APIProfile } from '../models';
16
16
  import type { PDFValidationResultAPI } from '../models';
17
17
  import type { TaskResponse } from '../models';
18
- import type { ValidationSuccessResponse } from '../models';
19
18
  /**
20
19
  * FacturXValidationApi - axios parameter creator
21
20
  */
@@ -43,16 +42,6 @@ export declare const FacturXValidationApiAxiosParamCreator: (configuration?: Con
43
42
  * @throws {RequiredError}
44
43
  */
45
44
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost: (pdfFile: File, profile?: APIProfile | null, useVerapdf?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
- /**
47
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
48
- * @summary Validate an existing Factur-X XML
49
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
50
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
51
- * @param {boolean | null} [skipBrFr]
52
- * @param {*} [options] Override http request option.
53
- * @throws {RequiredError}
54
- */
55
- validateXmlApiV1ProcessingValidateXmlPost: (xmlFile: File, profile?: APIProfile, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
56
45
  };
57
46
  /**
58
47
  * FacturXValidationApi - functional programming interface
@@ -81,16 +70,6 @@ export declare const FacturXValidationApiFp: (configuration?: Configuration) =>
81
70
  * @throws {RequiredError}
82
71
  */
83
72
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile: File, profile?: APIProfile | null, useVerapdf?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskResponse>>;
84
- /**
85
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
86
- * @summary Validate an existing Factur-X XML
87
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
88
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
89
- * @param {boolean | null} [skipBrFr]
90
- * @param {*} [options] Override http request option.
91
- * @throws {RequiredError}
92
- */
93
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile: File, profile?: APIProfile, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidationSuccessResponse>>;
94
73
  };
95
74
  /**
96
75
  * FacturXValidationApi - factory interface
@@ -119,16 +98,6 @@ export declare const FacturXValidationApiFactory: (configuration?: Configuration
119
98
  * @throws {RequiredError}
120
99
  */
121
100
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile: File, profile?: APIProfile | null, useVerapdf?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskResponse>;
122
- /**
123
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
124
- * @summary Validate an existing Factur-X XML
125
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
126
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
127
- * @param {boolean | null} [skipBrFr]
128
- * @param {*} [options] Override http request option.
129
- * @throws {RequiredError}
130
- */
131
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile: File, profile?: APIProfile, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<ValidationSuccessResponse>;
132
101
  };
133
102
  /**
134
103
  * FacturXValidationApi - object-oriented interface
@@ -157,14 +126,4 @@ export declare class FacturXValidationApi extends BaseAPI {
157
126
  * @throws {RequiredError}
158
127
  */
159
128
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile: File, profile?: APIProfile | null, useVerapdf?: boolean, callbackUrl?: string | null, webhookMode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskResponse, any, {}>>;
160
- /**
161
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
162
- * @summary Validate an existing Factur-X XML
163
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
164
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
165
- * @param {boolean | null} [skipBrFr]
166
- * @param {*} [options] Override http request option.
167
- * @throws {RequiredError}
168
- */
169
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile: File, profile?: APIProfile, skipBrFr?: boolean | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidationSuccessResponse, any, {}>>;
170
129
  }
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * FactPulse REST API
5
- * 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/
5
+ * REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **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/
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: contact@factpulse.fr
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import globalAxios from 'axios';
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
26
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
@@ -55,6 +55,8 @@ export const FacturXValidationApiAxiosParamCreator = function (configuration) {
55
55
  const localVarHeaderParameter = {};
56
56
  const localVarQueryParameter = {};
57
57
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
58
+ // authentication APIKeyHeader required
59
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
58
60
  // authentication HTTPBearer required
59
61
  // http bearer authentication required
60
62
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -106,6 +108,8 @@ export const FacturXValidationApiAxiosParamCreator = function (configuration) {
106
108
  const localVarHeaderParameter = {};
107
109
  const localVarQueryParameter = {};
108
110
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
111
+ // authentication APIKeyHeader required
112
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
109
113
  // authentication HTTPBearer required
110
114
  // http bearer authentication required
111
115
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -135,52 +139,6 @@ export const FacturXValidationApiAxiosParamCreator = function (configuration) {
135
139
  options: localVarRequestOptions,
136
140
  };
137
141
  }),
138
- /**
139
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
140
- * @summary Validate an existing Factur-X XML
141
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
142
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
143
- * @param {boolean | null} [skipBrFr]
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- */
147
- validateXmlApiV1ProcessingValidateXmlPost: (xmlFile_1, profile_1, skipBrFr_1, ...args_1) => __awaiter(this, [xmlFile_1, profile_1, skipBrFr_1, ...args_1], void 0, function* (xmlFile, profile, skipBrFr, options = {}) {
148
- // verify required parameter 'xmlFile' is not null or undefined
149
- assertParamExists('validateXmlApiV1ProcessingValidateXmlPost', 'xmlFile', xmlFile);
150
- const localVarPath = `/api/v1/processing/validate-xml`;
151
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
- let baseOptions;
154
- if (configuration) {
155
- baseOptions = configuration.baseOptions;
156
- }
157
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
158
- const localVarHeaderParameter = {};
159
- const localVarQueryParameter = {};
160
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
161
- // authentication HTTPBearer required
162
- // http bearer authentication required
163
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
164
- if (xmlFile !== undefined) {
165
- localVarFormParams.append('xml_file', xmlFile);
166
- }
167
- if (profile !== undefined) {
168
- localVarFormParams.append('profile', profile);
169
- }
170
- if (skipBrFr !== undefined) {
171
- localVarFormParams.append('skip_br_fr', String(skipBrFr));
172
- }
173
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
174
- localVarHeaderParameter['Accept'] = 'application/json';
175
- setSearchParams(localVarUrlObj, localVarQueryParameter);
176
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
178
- localVarRequestOptions.data = localVarFormParams;
179
- return {
180
- url: toPathString(localVarUrlObj),
181
- options: localVarRequestOptions,
182
- };
183
- }),
184
142
  };
185
143
  };
186
144
  /**
@@ -228,24 +186,6 @@ export const FacturXValidationApiFp = function (configuration) {
228
186
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
229
187
  });
230
188
  },
231
- /**
232
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
233
- * @summary Validate an existing Factur-X XML
234
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
235
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
236
- * @param {boolean | null} [skipBrFr]
237
- * @param {*} [options] Override http request option.
238
- * @throws {RequiredError}
239
- */
240
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options) {
241
- return __awaiter(this, void 0, void 0, function* () {
242
- var _a, _b, _c;
243
- const localVarAxiosArgs = yield localVarAxiosParamCreator.validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options);
244
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
245
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FacturXValidationApi.validateXmlApiV1ProcessingValidateXmlPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
246
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
247
- });
248
- },
249
189
  };
250
190
  };
251
191
  /**
@@ -281,18 +221,6 @@ export const FacturXValidationApiFactory = function (configuration, basePath, ax
281
221
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile, profile, useVerapdf, callbackUrl, webhookMode, options) {
282
222
  return localVarFp.validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile, profile, useVerapdf, callbackUrl, webhookMode, options).then((request) => request(axios, basePath));
283
223
  },
284
- /**
285
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
286
- * @summary Validate an existing Factur-X XML
287
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
288
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
289
- * @param {boolean | null} [skipBrFr]
290
- * @param {*} [options] Override http request option.
291
- * @throws {RequiredError}
292
- */
293
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options) {
294
- return localVarFp.validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options).then((request) => request(axios, basePath));
295
- },
296
224
  };
297
225
  };
298
226
  /**
@@ -326,16 +254,4 @@ export class FacturXValidationApi extends BaseAPI {
326
254
  validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile, profile, useVerapdf, callbackUrl, webhookMode, options) {
327
255
  return FacturXValidationApiFp(this.configuration).validateFacturxPdfAsyncApiV1ProcessingValidateFacturxAsyncPost(pdfFile, profile, useVerapdf, callbackUrl, webhookMode, options).then((request) => request(this.axios, this.basePath));
328
256
  }
329
- /**
330
- * Validates a Factur-X XML file against Schematron business rules according to EN 16931 standard. ## Applied Standard **Schematron ISO/IEC 19757-3**: Business rules validation language for XML - Semantic validation (beyond XSD syntax) - European EN 16931 business rules - French-specific Factur-X rules - Arithmetic calculations and data consistency ## Profiles and validated rules ### MINIMUM (45 rules) - Unique invoice identifier - Dates (issue, due date) - Party identifiers (SIRET/SIREN) - Total gross amount ### BASIC (102 rules) - All MINIMUM rules - Detailed invoice lines - Basic VAT calculations - Payment methods - References (order, contract) ### EN16931 (178 rules) - All BASIC rules - **European rules (BR-xx)**: 81 business rules - **French rules (FR-xx)**: 12 France-specific rules - **Advanced calculations (CR-xx)**: 32 calculation rules - **Standardized codes (CL-xx)**: 52 code lists ### EXTENDED (210+ rules) - All EN16931 rules - Logistics information - Advanced accounting data - Multiple external references ## Checks performed ### 1. Syntax validation - Correct XML parsing (UTF-8, well-formed) - UN/CEFACT namespaces present - Hierarchical structure respected ### 2. Business rules (BR-xx) Examples: - `BR-1`: Invoice total must equal sum of line totals + document-level amounts - `BR-CO-10`: Sum of VAT base amounts must equal invoice net total - `BR-16`: Invoice currency code must be in ISO 4217 list ### 3. French rules (FR-xx) Examples: - `FR-1`: Supplier SIRET must have 14 digits - `FR-2`: Customer SIRET must have 14 digits (if present) - `FR-5`: Intra-EU VAT number must be in format FRxx999999999 ### 4. Calculation rules (CR-xx) - Net + VAT = Gross amounts - Sum of lines = Document total - Discounts and surcharges correctly applied - Compliant rounding (2 decimals for amounts) ### 5. Standardized codes (CL-xx) - ISO 3166-1 alpha-2 country codes - ISO 4217 currency codes - UN/ECE Rec 20 measurement units - VAT codes (types, categories, exemptions) - SchemeID for identifiers (0002=SIREN, 0009=SIRET, etc.) ## Validation process 1. **XSLT loading**: Schematron file converted to XSLT (Saxon-HE) 2. **Transformation**: Rules applied to XML 3. **Results analysis**: Extraction of errors (`failed-assert`) and warnings (`successful-report`) 4. **Report**: Structured list of non-conformities ## Responses **200 OK**: Compliant XML ```json { \"message\": \"XML is compliant with EN16931 profile\" } ``` **400 Bad Request**: Non-compliant XML ```json { \"detail\": [ \"[BR-1] Invoice total (120.00) does not match calculated sum (100.00 + 20.00)\", \"[FR-1] Supplier SIRET must contain exactly 14 digits\" ] } ``` ## Use cases - **Pre-validation**: Verify XML before PDF/A integration - **Debugging**: Precisely identify generation errors - **Testing**: Validate test or example XMLs - **Compliance**: Ensure European and French rules are met - **Development**: Quick testing without PDF generation ## Processing time - MINIMUM profile: ~0.5 second - EN16931 profile: ~1-2 seconds - EXTENDED profile: ~2-3 seconds
331
- * @summary Validate an existing Factur-X XML
332
- * @param {File} xmlFile Factur-X XML file to validate (.xml format).
333
- * @param {APIProfile} [profile] Validation profile (MINIMUM, BASIC, EN16931, EXTENDED).
334
- * @param {boolean | null} [skipBrFr]
335
- * @param {*} [options] Override http request option.
336
- * @throws {RequiredError}
337
- */
338
- validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options) {
339
- return FacturXValidationApiFp(this.configuration).validateXmlApiV1ProcessingValidateXmlPost(xmlFile, profile, skipBrFr, options).then((request) => request(this.axios, this.basePath));
340
- }
341
257
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
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/
3
+ * REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **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
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: contact@factpulse.fr
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * FactPulse REST API
5
- * 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/
5
+ * REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **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/
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: contact@factpulse.fr
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import globalAxios from 'axios';
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
26
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
@@ -51,6 +51,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
51
51
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52
52
  const localVarHeaderParameter = {};
53
53
  const localVarQueryParameter = {};
54
+ // authentication APIKeyHeader required
55
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
54
56
  // authentication HTTPBearer required
55
57
  // http bearer authentication required
56
58
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -85,6 +87,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
85
87
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
86
88
  const localVarHeaderParameter = {};
87
89
  const localVarQueryParameter = {};
90
+ // authentication APIKeyHeader required
91
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
88
92
  // authentication HTTPBearer required
89
93
  // http bearer authentication required
90
94
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -120,6 +124,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
120
124
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
121
125
  const localVarHeaderParameter = {};
122
126
  const localVarQueryParameter = {};
127
+ // authentication APIKeyHeader required
128
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
123
129
  // authentication HTTPBearer required
124
130
  // http bearer authentication required
125
131
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -339,6 +345,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
339
345
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
340
346
  const localVarHeaderParameter = {};
341
347
  const localVarQueryParameter = {};
348
+ // authentication APIKeyHeader required
349
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
342
350
  // authentication HTTPBearer required
343
351
  // http bearer authentication required
344
352
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -373,6 +381,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
373
381
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
374
382
  const localVarHeaderParameter = {};
375
383
  const localVarQueryParameter = {};
384
+ // authentication APIKeyHeader required
385
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
376
386
  // authentication HTTPBearer required
377
387
  // http bearer authentication required
378
388
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -410,6 +420,8 @@ export const Flux10EReportingApiAxiosParamCreator = function (configuration) {
410
420
  const localVarHeaderParameter = {};
411
421
  const localVarQueryParameter = {};
412
422
  const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
423
+ // authentication APIKeyHeader required
424
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
413
425
  // authentication HTTPBearer required
414
426
  // http bearer authentication required
415
427
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
@@ -1,6 +1,6 @@
1
1
  /**
2
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/
3
+ * REST API for electronic invoicing in France: Factur-X (CII), UBL 2.1, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Invoice Generation - **Formats**: CII XML, UBL 2.1 XML, or Factur-X PDF/A-3 - **Profiles** (CII/PDF): MINIMUM, BASIC, EN16931, EXTENDED - **UBL**: Always EN16931 compliant - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT), UBL 2.1 (OASIS) - **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
4
  *
5
5
  * The version of the OpenAPI document: 1.0.0
6
6
  * Contact: contact@factpulse.fr
@@ -16,6 +16,7 @@ import type { ActionCodesResponse } from '../models';
16
16
  import type { CreateCDARRequest } from '../models';
17
17
  import type { EncaisseeRequest } from '../models';
18
18
  import type { GenerateCDARResponse } from '../models';
19
+ import type { LifecycleResponse } from '../models';
19
20
  import type { ReasonCodesResponse } from '../models';
20
21
  import type { RefuseeRequest } from '../models';
21
22
  import type { SimplifiedCDARResponse } from '../models';
@@ -44,6 +45,19 @@ export declare const Flux6InvoiceLifecycleCDARApiAxiosParamCreator: (configurati
44
45
  * @throws {RequiredError}
45
46
  */
46
47
  getActionCodesApiV1CdarActionCodesGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ * Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7) - `invoiceId`: Optional filter on a specific invoice reference **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
50
+ * @summary [Simplified] Get lifecycle events for invoices
51
+ * @param {number} [days] Number of days to look back
52
+ * @param {string | null} [invoiceId] Filter by invoice reference
53
+ * @param {string | null} [pdpFlowServiceUrl] PDP Flow Service URL
54
+ * @param {string | null} [pdpTokenUrl] PDP OAuth token URL
55
+ * @param {string | null} [pdpClientId] PDP Client ID
56
+ * @param {string | null} [pdpClientSecret] PDP Client Secret
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ getLifecycleApiV1CdarLifecycleGet: (days?: number, invoiceId?: string | null, pdpFlowServiceUrl?: string | null, pdpTokenUrl?: string | null, pdpClientId?: string | null, pdpClientSecret?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
61
  /**
48
62
  * Returns the complete list of status reason codes (BR-FR-CDV-CL-09). These codes explain the reason for a particular status.
49
63
  * @summary List of CDAR reason codes
@@ -126,6 +140,19 @@ export declare const Flux6InvoiceLifecycleCDARApiFp: (configuration?: Configurat
126
140
  * @throws {RequiredError}
127
141
  */
128
142
  getActionCodesApiV1CdarActionCodesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActionCodesResponse>>;
143
+ /**
144
+ * Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7) - `invoiceId`: Optional filter on a specific invoice reference **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
145
+ * @summary [Simplified] Get lifecycle events for invoices
146
+ * @param {number} [days] Number of days to look back
147
+ * @param {string | null} [invoiceId] Filter by invoice reference
148
+ * @param {string | null} [pdpFlowServiceUrl] PDP Flow Service URL
149
+ * @param {string | null} [pdpTokenUrl] PDP OAuth token URL
150
+ * @param {string | null} [pdpClientId] PDP Client ID
151
+ * @param {string | null} [pdpClientSecret] PDP Client Secret
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getLifecycleApiV1CdarLifecycleGet(days?: number, invoiceId?: string | null, pdpFlowServiceUrl?: string | null, pdpTokenUrl?: string | null, pdpClientId?: string | null, pdpClientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LifecycleResponse>>;
129
156
  /**
130
157
  * Returns the complete list of status reason codes (BR-FR-CDV-CL-09). These codes explain the reason for a particular status.
131
158
  * @summary List of CDAR reason codes
@@ -210,6 +237,19 @@ export declare const Flux6InvoiceLifecycleCDARApiFactory: (configuration?: Confi
210
237
  * @throws {RequiredError}
211
238
  */
212
239
  getActionCodesApiV1CdarActionCodesGet(options?: RawAxiosRequestConfig): AxiosPromise<ActionCodesResponse>;
240
+ /**
241
+ * Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7) - `invoiceId`: Optional filter on a specific invoice reference **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
242
+ * @summary [Simplified] Get lifecycle events for invoices
243
+ * @param {number} [days] Number of days to look back
244
+ * @param {string | null} [invoiceId] Filter by invoice reference
245
+ * @param {string | null} [pdpFlowServiceUrl] PDP Flow Service URL
246
+ * @param {string | null} [pdpTokenUrl] PDP OAuth token URL
247
+ * @param {string | null} [pdpClientId] PDP Client ID
248
+ * @param {string | null} [pdpClientSecret] PDP Client Secret
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ getLifecycleApiV1CdarLifecycleGet(days?: number, invoiceId?: string | null, pdpFlowServiceUrl?: string | null, pdpTokenUrl?: string | null, pdpClientId?: string | null, pdpClientSecret?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<LifecycleResponse>;
213
253
  /**
214
254
  * Returns the complete list of status reason codes (BR-FR-CDV-CL-09). These codes explain the reason for a particular status.
215
255
  * @summary List of CDAR reason codes
@@ -294,6 +334,19 @@ export declare class Flux6InvoiceLifecycleCDARApi extends BaseAPI {
294
334
  * @throws {RequiredError}
295
335
  */
296
336
  getActionCodesApiV1CdarActionCodesGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActionCodesResponse, any, {}>>;
337
+ /**
338
+ * Returns lifecycle events (CDAR) grouped by invoice reference. **How it works (AFNOR XP Z12-013 compliant):** 1. Searches lifecycle flows on the PDP by flowType + flowDirection + date range 2. Downloads and parses each CDAR XML to extract the invoice reference 3. Groups events by invoice, sorted chronologically **Parameters:** - `days`: Number of days to look back (default: 7) - `invoiceId`: Optional filter on a specific invoice reference **Authentication:** JWT Bearer (recommended) or PDP credentials as query parameters.
339
+ * @summary [Simplified] Get lifecycle events for invoices
340
+ * @param {number} [days] Number of days to look back
341
+ * @param {string | null} [invoiceId] Filter by invoice reference
342
+ * @param {string | null} [pdpFlowServiceUrl] PDP Flow Service URL
343
+ * @param {string | null} [pdpTokenUrl] PDP OAuth token URL
344
+ * @param {string | null} [pdpClientId] PDP Client ID
345
+ * @param {string | null} [pdpClientSecret] PDP Client Secret
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ getLifecycleApiV1CdarLifecycleGet(days?: number, invoiceId?: string | null, pdpFlowServiceUrl?: string | null, pdpTokenUrl?: string | null, pdpClientId?: string | null, pdpClientSecret?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LifecycleResponse, any, {}>>;
297
350
  /**
298
351
  * Returns the complete list of status reason codes (BR-FR-CDV-CL-09). These codes explain the reason for a particular status.
299
352
  * @summary List of CDAR reason codes