@endevops/peppol-schema 0.1.0-beta.4 → 0.1.0-beta.5

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 (751) hide show
  1. package/README.md +9 -6
  2. package/dist/constants.d.ts +51 -0
  3. package/dist/constants.d.ts.map +1 -0
  4. package/dist/constants.js +48 -0
  5. package/dist/constants.js.map +1 -0
  6. package/dist/eas-codes.generated-D8jjHFij.js.map +1 -1
  7. package/dist/index-CfjMSrpQ.d.ts +3508 -0
  8. package/dist/index-CfjMSrpQ.d.ts.map +1 -0
  9. package/dist/index.d.ts +2 -2613
  10. package/dist/index.js +3121 -1563
  11. package/dist/index.js.map +1 -1
  12. package/dist/invoice-response-code-not-needs-schema-p_RKKNLc.js +18 -0
  13. package/dist/invoice-response-code-not-needs-schema-p_RKKNLc.js.map +1 -0
  14. package/dist/invoice-response-codes.d.ts +11 -0
  15. package/dist/invoice-response-codes.d.ts.map +1 -0
  16. package/dist/invoice-response-codes.js +32 -0
  17. package/dist/invoice-response-codes.js.map +1 -0
  18. package/dist/invoice-status-codes.generated-DL-agLdx.d.ts +24 -0
  19. package/dist/invoice-status-codes.generated-DL-agLdx.d.ts.map +1 -0
  20. package/dist/message-level-response-profile-id-DBpOW91B.js +9 -0
  21. package/dist/message-level-response-profile-id-DBpOW91B.js.map +1 -0
  22. package/dist/peppol-iso-date-string-BXLxzxdz.js +30 -0
  23. package/dist/peppol-iso-date-string-BXLxzxdz.js.map +1 -0
  24. package/dist/schematron.d.ts +408 -365
  25. package/dist/schematron.d.ts.map +1 -1
  26. package/dist/schematron.js +1975 -1501
  27. package/dist/schematron.js.map +1 -1
  28. package/dist/values.d.ts +95 -13218
  29. package/dist/values.d.ts.map +1 -1
  30. package/dist/values.js +1 -1
  31. package/dist/vat-dates.generated-CxFvt7m3.d.ts +68 -0
  32. package/dist/vat-dates.generated-CxFvt7m3.d.ts.map +1 -0
  33. package/dist/{vatex-codes.generated-BSgP3n5t.js → vatex-codes.generated-N7wsUrLh.js} +8 -9
  34. package/dist/vatex-codes.generated-N7wsUrLh.js.map +1 -0
  35. package/package.json +16 -18
  36. package/src/constants/transport-profile.ts +5 -1
  37. package/src/decoders/decode-billing.ts +1 -1
  38. package/src/decoders/decode-credit-note.ts +2 -4
  39. package/src/decoders/decode-invoice-response.ts +15 -37
  40. package/src/decoders/decode-invoice.ts +2 -4
  41. package/src/decoders/decode-message-level-response.ts +21 -48
  42. package/src/decoders/encode-credit-note.ts +1 -1
  43. package/src/decoders/encode-invoice-response.ts +7 -4
  44. package/src/decoders/encode-invoice.ts +1 -1
  45. package/src/decoders/encode-message-level-response.ts +4 -10
  46. package/src/decoders/fields/decode-additional-document-references.ts +1 -1
  47. package/src/decoders/fields/decode-address.ts +1 -1
  48. package/src/decoders/fields/decode-allowance-charges.ts +7 -15
  49. package/src/decoders/fields/decode-amount.ts +2 -2
  50. package/src/decoders/fields/decode-application-response.ts +21 -0
  51. package/src/decoders/fields/decode-billing-references.ts +1 -1
  52. package/src/decoders/fields/decode-contact.ts +1 -1
  53. package/src/decoders/fields/decode-credit-note-lines.ts +7 -15
  54. package/src/decoders/fields/decode-delivery.ts +1 -1
  55. package/src/decoders/fields/decode-electronic-address.ts +1 -1
  56. package/src/decoders/fields/decode-identifier.ts +1 -1
  57. package/src/decoders/fields/decode-invoice-line-period.ts +1 -1
  58. package/src/decoders/fields/decode-invoice-lines.ts +6 -14
  59. package/src/decoders/fields/decode-invoice-message-document-party.ts +2 -2
  60. package/src/decoders/fields/decode-invoice-message-party.ts +1 -6
  61. package/src/decoders/fields/decode-invoice-period.ts +7 -13
  62. package/src/decoders/fields/decode-legal-monetary-total.ts +1 -1
  63. package/src/decoders/fields/decode-line-allowance-charges.ts +7 -14
  64. package/src/decoders/fields/decode-line-price.ts +1 -7
  65. package/src/decoders/fields/decode-line-shared.ts +2 -4
  66. package/src/decoders/fields/decode-message-level-party.ts +1 -1
  67. package/src/decoders/fields/decode-node-list.ts +15 -0
  68. package/src/decoders/fields/decode-order-reference.ts +1 -1
  69. package/src/decoders/fields/decode-parties-tax-scheme.ts +1 -1
  70. package/src/decoders/fields/decode-party-legal-entity.ts +1 -1
  71. package/src/decoders/fields/decode-party-tax-scheme.ts +1 -1
  72. package/src/decoders/fields/decode-party.ts +3 -14
  73. package/src/decoders/fields/decode-payee-party.ts +1 -1
  74. package/src/decoders/fields/decode-payment-means.ts +2 -2
  75. package/src/decoders/fields/decode-payment-terms.ts +1 -1
  76. package/src/decoders/fields/decode-price-allowance-charge.ts +1 -7
  77. package/src/decoders/fields/decode-quantity.ts +1 -6
  78. package/src/decoders/fields/decode-simple-identifier.ts +1 -1
  79. package/src/decoders/fields/decode-tax-category.ts +1 -1
  80. package/src/decoders/fields/decode-tax-representative-party.ts +1 -1
  81. package/src/decoders/fields/decode-tax-totals.ts +2 -2
  82. package/src/decoders/fields/encode-additional-document-references.ts +3 -2
  83. package/src/decoders/fields/encode-address.ts +1 -1
  84. package/src/decoders/fields/encode-allowance-charges.ts +3 -2
  85. package/src/decoders/fields/encode-amount.ts +1 -1
  86. package/src/decoders/fields/encode-billing-references.ts +2 -2
  87. package/src/decoders/fields/encode-contact.ts +1 -1
  88. package/src/decoders/fields/encode-credit-note-lines.ts +2 -2
  89. package/src/decoders/fields/encode-delivery.ts +1 -1
  90. package/src/decoders/fields/encode-identifier.ts +1 -1
  91. package/src/decoders/fields/encode-invoice-line-period.ts +1 -1
  92. package/src/decoders/fields/encode-invoice-lines.ts +2 -2
  93. package/src/decoders/fields/encode-invoice-period.ts +1 -1
  94. package/src/decoders/fields/encode-legal-monetary-total.ts +1 -1
  95. package/src/decoders/fields/encode-line-allowance-charges.ts +2 -2
  96. package/src/decoders/fields/encode-line-price.ts +1 -1
  97. package/src/decoders/fields/encode-line-shared.ts +1 -1
  98. package/src/decoders/fields/encode-message-party.ts +3 -3
  99. package/src/decoders/fields/encode-order-reference.ts +1 -1
  100. package/src/decoders/fields/encode-parties-tax-scheme.ts +1 -1
  101. package/src/decoders/fields/encode-party-tax-scheme.ts +1 -1
  102. package/src/decoders/fields/encode-party.ts +1 -1
  103. package/src/decoders/fields/encode-payee-party.ts +1 -1
  104. package/src/decoders/fields/encode-payment-means.ts +2 -2
  105. package/src/decoders/fields/encode-payment-terms.ts +1 -1
  106. package/src/decoders/fields/encode-price-allowance-charges.ts +1 -1
  107. package/src/decoders/fields/encode-quantity.ts +1 -1
  108. package/src/decoders/fields/encode-tax-category.ts +1 -1
  109. package/src/decoders/fields/encode-tax-representative-party.ts +1 -1
  110. package/src/decoders/fields/encode-tax-totals.ts +4 -4
  111. package/src/helpers/bool.ts +9 -12
  112. package/src/helpers/get-prop.ts +2 -4
  113. package/src/helpers/str-or-und.ts +3 -4
  114. package/src/helpers/str.ts +12 -8
  115. package/src/index.ts +56 -6
  116. package/src/schemas/fields/peppol-additional-document-reference-schema.ts +123 -0
  117. package/src/schemas/fields/peppol-address-schema.ts +112 -0
  118. package/src/schemas/fields/peppol-allowance-charge-schema.ts +104 -0
  119. package/src/schemas/fields/peppol-amount-schema.ts +23 -0
  120. package/src/schemas/fields/peppol-base-line-schema.ts +141 -0
  121. package/src/{effect → schemas}/fields/peppol-billing-reference-schema.ts +25 -20
  122. package/src/schemas/fields/peppol-binary-object-schema.ts +52 -0
  123. package/src/schemas/fields/peppol-contact-schema.ts +20 -0
  124. package/src/schemas/fields/peppol-credit-note-line-schema.ts +44 -0
  125. package/src/schemas/fields/peppol-delivery-schema.ts +109 -0
  126. package/src/schemas/fields/peppol-identifier-schema.ts +21 -0
  127. package/src/schemas/fields/peppol-invoice-line-period-schema.ts +35 -0
  128. package/src/{effect → schemas}/fields/peppol-invoice-line-schema.ts +10 -10
  129. package/src/schemas/fields/peppol-invoice-period-schema.ts +31 -0
  130. package/src/schemas/fields/peppol-item-classification-schema.ts +46 -0
  131. package/src/schemas/fields/peppol-legal-monetary-total-schema.ts +127 -0
  132. package/src/schemas/fields/peppol-line-allowance-charge-schema.ts +68 -0
  133. package/src/schemas/fields/peppol-line-item-schema.ts +196 -0
  134. package/src/schemas/fields/peppol-line-price-allowance-charge-schema.ts +41 -0
  135. package/src/schemas/fields/peppol-line-price-schema.ts +32 -0
  136. package/src/schemas/fields/peppol-order-reference-schema.ts +38 -0
  137. package/src/schemas/fields/peppol-party-base-schema.ts +145 -0
  138. package/src/schemas/fields/peppol-party-legal-entity-schema.ts +32 -0
  139. package/src/schemas/fields/peppol-party-tax-scheme-schema.ts +41 -0
  140. package/src/schemas/fields/peppol-payee-party-schema.ts +119 -0
  141. package/src/schemas/fields/peppol-payment-means-schema.ts +224 -0
  142. package/src/schemas/fields/peppol-payment-terms-schema.ts +25 -0
  143. package/src/schemas/fields/peppol-quantity-schema.ts +22 -0
  144. package/src/schemas/fields/peppol-reference-schema.ts +9 -0
  145. package/src/schemas/fields/peppol-tax-category-schema.ts +47 -0
  146. package/src/schemas/fields/peppol-tax-representative-schema.ts +26 -0
  147. package/src/{effect → schemas}/fields/peppol-tax-subtotal-category-schema.ts +7 -6
  148. package/src/schemas/fields/peppol-tax-subtotal-schema.ts +33 -0
  149. package/src/schemas/fields/peppol-tax-totals-base-schema.ts +28 -0
  150. package/src/schemas/peppol-billing-base-schema.ts +366 -0
  151. package/src/schemas/peppol-credit-note-schema.ts +31 -0
  152. package/src/schemas/peppol-document-response-document-reference-schema.ts +41 -0
  153. package/src/schemas/peppol-document-response-document-schema.ts +38 -0
  154. package/src/schemas/peppol-document-response-line-response-content-schema.ts +49 -0
  155. package/src/schemas/peppol-document-response-line-response-schema.ts +40 -0
  156. package/src/schemas/peppol-document-schema.ts +120 -0
  157. package/src/{effect → schemas}/peppol-invoice-response-document-actual-response-schema.ts +25 -16
  158. package/src/schemas/peppol-invoice-response-document-actual-response-status-schema.ts +63 -0
  159. package/src/schemas/peppol-invoice-response-schema.ts +176 -0
  160. package/src/schemas/peppol-invoice-response-status-reason-code-schema.ts +40 -0
  161. package/src/schemas/peppol-invoice-schema.ts +45 -0
  162. package/src/schemas/peppol-iso-date-string.ts +20 -0
  163. package/src/schemas/peppol-message-level-response-document-response-schema.ts +35 -0
  164. package/src/schemas/peppol-message-level-response-party-schema.ts +20 -0
  165. package/src/schemas/peppol-message-level-response-schema.ts +98 -0
  166. package/src/schemas/utils/format-xsd-time.ts +80 -0
  167. package/src/{effect → schemas}/utils/index.ts +1 -1
  168. package/src/schemas/utils/is-valid-process.ts +1 -1
  169. package/src/schemas/utils/opaque.ts +19 -0
  170. package/src/schemas/utils/peppol-xsd-time-schema.ts +79 -0
  171. package/src/schemas/utils/quantity-unit-code-to-intl-unit.ts +2 -2
  172. package/src/schemas/values/credit-note-type-code-schema.ts +3 -5
  173. package/src/schemas/values/document-type-schemes-schema.ts +3 -5
  174. package/src/schemas/values/document-type-values-schema.ts +4 -7
  175. package/src/{effect → schemas}/values/duty-tax-fee-category-schema.ts +3 -3
  176. package/src/schemas/values/invoice-type-code-schema.ts +4 -8
  177. package/src/schemas/values/process-from-document-type-schema.ts +10 -12
  178. package/src/schemas/values/quantity-unit-codes-schema.ts +4 -8
  179. package/src/schematron/cen/ae/cen-en16931-br-ae-01.ts +6 -5
  180. package/src/schematron/cen/ae/cen-en16931-br-ae-02.ts +6 -5
  181. package/src/schematron/cen/ae/cen-en16931-br-ae-03.ts +6 -5
  182. package/src/schematron/cen/ae/cen-en16931-br-ae-04.ts +6 -5
  183. package/src/schematron/cen/ae/cen-en16931-br-ae-05.ts +6 -5
  184. package/src/schematron/cen/ae/cen-en16931-br-ae-06.ts +6 -5
  185. package/src/schematron/cen/ae/cen-en16931-br-ae-07.ts +6 -5
  186. package/src/schematron/cen/ae/cen-en16931-br-ae-08.ts +6 -5
  187. package/src/schematron/cen/ae/cen-en16931-br-ae-09.ts +6 -5
  188. package/src/schematron/cen/ae/cen-en16931-br-ae-10.ts +6 -5
  189. package/src/schematron/cen/af/cen-en16931-br-af-01.ts +6 -5
  190. package/src/schematron/cen/af/cen-en16931-br-af-02.ts +6 -5
  191. package/src/schematron/cen/af/cen-en16931-br-af-03.ts +6 -10
  192. package/src/schematron/cen/af/cen-en16931-br-af-04.ts +6 -5
  193. package/src/schematron/cen/af/cen-en16931-br-af-05.ts +6 -5
  194. package/src/schematron/cen/af/cen-en16931-br-af-06.ts +6 -5
  195. package/src/schematron/cen/af/cen-en16931-br-af-07.ts +6 -5
  196. package/src/schematron/cen/af/cen-en16931-br-af-08.ts +6 -5
  197. package/src/schematron/cen/af/cen-en16931-br-af-09.ts +6 -5
  198. package/src/schematron/cen/af/cen-en16931-br-af-10.ts +6 -5
  199. package/src/schematron/cen/ag/cen-en16931-br-ag-01.ts +6 -5
  200. package/src/schematron/cen/ag/cen-en16931-br-ag-02.ts +6 -5
  201. package/src/schematron/cen/ag/cen-en16931-br-ag-03.ts +6 -10
  202. package/src/schematron/cen/ag/cen-en16931-br-ag-04.ts +6 -5
  203. package/src/schematron/cen/ag/cen-en16931-br-ag-05.ts +6 -5
  204. package/src/schematron/cen/ag/cen-en16931-br-ag-06.ts +6 -5
  205. package/src/schematron/cen/ag/cen-en16931-br-ag-07.ts +6 -5
  206. package/src/schematron/cen/ag/cen-en16931-br-ag-08.ts +6 -5
  207. package/src/schematron/cen/ag/cen-en16931-br-ag-09.ts +6 -5
  208. package/src/schematron/cen/ag/cen-en16931-br-ag-10.ts +6 -5
  209. package/src/schematron/cen/b/cen-en16931-br-b-01.ts +6 -5
  210. package/src/schematron/cen/b/cen-en16931-br-b-02.ts +6 -5
  211. package/src/schematron/cen/cen-en16931-br-01.ts +6 -5
  212. package/src/schematron/cen/cen-en16931-br-02.ts +6 -5
  213. package/src/schematron/cen/cen-en16931-br-03.ts +9 -6
  214. package/src/schematron/cen/cen-en16931-br-04.ts +6 -5
  215. package/src/schematron/cen/cen-en16931-br-05.ts +6 -5
  216. package/src/schematron/cen/cen-en16931-br-06.ts +6 -5
  217. package/src/schematron/cen/cen-en16931-br-07.ts +6 -5
  218. package/src/schematron/cen/cen-en16931-br-08.ts +6 -5
  219. package/src/schematron/cen/cen-en16931-br-09.ts +6 -5
  220. package/src/schematron/cen/cen-en16931-br-10.ts +6 -5
  221. package/src/schematron/cen/cen-en16931-br-11.ts +6 -5
  222. package/src/schematron/cen/cen-en16931-br-12.ts +6 -5
  223. package/src/schematron/cen/cen-en16931-br-13.ts +6 -5
  224. package/src/schematron/cen/cen-en16931-br-14.ts +6 -5
  225. package/src/schematron/cen/cen-en16931-br-15.ts +6 -5
  226. package/src/schematron/cen/cen-en16931-br-16.ts +6 -5
  227. package/src/schematron/cen/cen-en16931-br-17.ts +6 -5
  228. package/src/schematron/cen/cen-en16931-br-18.ts +6 -5
  229. package/src/schematron/cen/cen-en16931-br-19.ts +6 -5
  230. package/src/schematron/cen/cen-en16931-br-20.ts +6 -5
  231. package/src/schematron/cen/cen-en16931-br-21.ts +6 -5
  232. package/src/schematron/cen/cen-en16931-br-22.ts +6 -5
  233. package/src/schematron/cen/cen-en16931-br-23.ts +6 -5
  234. package/src/schematron/cen/cen-en16931-br-24.ts +6 -5
  235. package/src/schematron/cen/cen-en16931-br-25.ts +6 -5
  236. package/src/schematron/cen/cen-en16931-br-26.ts +6 -5
  237. package/src/schematron/cen/cen-en16931-br-27.ts +6 -5
  238. package/src/schematron/cen/cen-en16931-br-28.ts +6 -5
  239. package/src/schematron/cen/cen-en16931-br-29.ts +6 -5
  240. package/src/schematron/cen/cen-en16931-br-30.ts +6 -5
  241. package/src/schematron/cen/cen-en16931-br-31.ts +6 -5
  242. package/src/schematron/cen/cen-en16931-br-32.ts +6 -5
  243. package/src/schematron/cen/cen-en16931-br-33.ts +6 -5
  244. package/src/schematron/cen/cen-en16931-br-36.ts +6 -5
  245. package/src/schematron/cen/cen-en16931-br-37.ts +6 -5
  246. package/src/schematron/cen/cen-en16931-br-38.ts +6 -5
  247. package/src/schematron/cen/cen-en16931-br-41.ts +6 -5
  248. package/src/schematron/cen/cen-en16931-br-42.ts +6 -5
  249. package/src/schematron/cen/cen-en16931-br-43.ts +6 -5
  250. package/src/schematron/cen/cen-en16931-br-44.ts +6 -5
  251. package/src/schematron/cen/cen-en16931-br-45.ts +6 -5
  252. package/src/schematron/cen/cen-en16931-br-46.ts +6 -5
  253. package/src/schematron/cen/cen-en16931-br-47.ts +6 -5
  254. package/src/schematron/cen/cen-en16931-br-48.ts +6 -5
  255. package/src/schematron/cen/cen-en16931-br-49.ts +6 -5
  256. package/src/schematron/cen/cen-en16931-br-50.ts +6 -5
  257. package/src/schematron/cen/cen-en16931-br-51.ts +6 -5
  258. package/src/schematron/cen/cen-en16931-br-52.ts +6 -5
  259. package/src/schematron/cen/cen-en16931-br-53.ts +6 -5
  260. package/src/schematron/cen/cen-en16931-br-54.ts +6 -5
  261. package/src/schematron/cen/cen-en16931-br-55.ts +6 -5
  262. package/src/schematron/cen/cen-en16931-br-56.ts +6 -5
  263. package/src/schematron/cen/cen-en16931-br-57.ts +6 -5
  264. package/src/schematron/cen/cen-en16931-br-61.ts +6 -5
  265. package/src/schematron/cen/cen-en16931-br-62.ts +6 -5
  266. package/src/schematron/cen/cen-en16931-br-63.ts +6 -5
  267. package/src/schematron/cen/cen-en16931-br-64.ts +6 -5
  268. package/src/schematron/cen/cen-en16931-br-65.ts +6 -5
  269. package/src/schematron/cen/cl/cen-en16931-br-cl-08.ts +6 -5
  270. package/src/schematron/cen/co/cen-en16931-br-co-03.ts +6 -5
  271. package/src/schematron/cen/co/cen-en16931-br-co-04.ts +6 -5
  272. package/src/schematron/cen/co/cen-en16931-br-co-05.ts +6 -5
  273. package/src/schematron/cen/co/cen-en16931-br-co-06.ts +6 -5
  274. package/src/schematron/cen/co/cen-en16931-br-co-07.ts +6 -5
  275. package/src/schematron/cen/co/cen-en16931-br-co-08.ts +6 -5
  276. package/src/schematron/cen/co/cen-en16931-br-co-09.ts +6 -5
  277. package/src/schematron/cen/co/cen-en16931-br-co-10.ts +6 -5
  278. package/src/schematron/cen/co/cen-en16931-br-co-11.ts +6 -5
  279. package/src/schematron/cen/co/cen-en16931-br-co-12.ts +6 -5
  280. package/src/schematron/cen/co/cen-en16931-br-co-13.ts +6 -5
  281. package/src/schematron/cen/co/cen-en16931-br-co-14.ts +6 -5
  282. package/src/schematron/cen/co/cen-en16931-br-co-15.ts +6 -5
  283. package/src/schematron/cen/co/cen-en16931-br-co-16.ts +6 -5
  284. package/src/schematron/cen/co/cen-en16931-br-co-17.ts +6 -5
  285. package/src/schematron/cen/co/cen-en16931-br-co-18.ts +6 -5
  286. package/src/schematron/cen/co/cen-en16931-br-co-19.ts +6 -5
  287. package/src/schematron/cen/co/cen-en16931-br-co-20.ts +6 -5
  288. package/src/schematron/cen/co/cen-en16931-br-co-21.ts +6 -5
  289. package/src/schematron/cen/co/cen-en16931-br-co-22.ts +6 -5
  290. package/src/schematron/cen/co/cen-en16931-br-co-23.ts +6 -5
  291. package/src/schematron/cen/co/cen-en16931-br-co-24.ts +6 -5
  292. package/src/schematron/cen/co/cen-en16931-br-co-25.ts +6 -5
  293. package/src/schematron/cen/co/cen-en16931-br-co-26.ts +6 -5
  294. package/src/schematron/cen/dec/cen-en16931-br-dec-01.ts +6 -5
  295. package/src/schematron/cen/dec/cen-en16931-br-dec-02.ts +6 -5
  296. package/src/schematron/cen/dec/cen-en16931-br-dec-05.ts +6 -5
  297. package/src/schematron/cen/dec/cen-en16931-br-dec-06.ts +6 -5
  298. package/src/schematron/cen/dec/cen-en16931-br-dec-09.ts +6 -5
  299. package/src/schematron/cen/dec/cen-en16931-br-dec-10.ts +6 -5
  300. package/src/schematron/cen/dec/cen-en16931-br-dec-11.ts +6 -5
  301. package/src/schematron/cen/dec/cen-en16931-br-dec-12.ts +6 -5
  302. package/src/schematron/cen/dec/cen-en16931-br-dec-13.ts +6 -5
  303. package/src/schematron/cen/dec/cen-en16931-br-dec-14.ts +6 -5
  304. package/src/schematron/cen/dec/cen-en16931-br-dec-15.ts +6 -5
  305. package/src/schematron/cen/dec/cen-en16931-br-dec-16.ts +6 -5
  306. package/src/schematron/cen/dec/cen-en16931-br-dec-17.ts +6 -5
  307. package/src/schematron/cen/dec/cen-en16931-br-dec-18.ts +6 -5
  308. package/src/schematron/cen/dec/cen-en16931-br-dec-19.ts +6 -5
  309. package/src/schematron/cen/dec/cen-en16931-br-dec-20.ts +6 -5
  310. package/src/schematron/cen/dec/cen-en16931-br-dec-23.ts +6 -5
  311. package/src/schematron/cen/dec/cen-en16931-br-dec-24.ts +6 -5
  312. package/src/schematron/cen/dec/cen-en16931-br-dec-25.ts +6 -5
  313. package/src/schematron/cen/dec/cen-en16931-br-dec-27.ts +6 -5
  314. package/src/schematron/cen/dec/cen-en16931-br-dec-28.ts +6 -5
  315. package/src/schematron/cen/e/cen-en16931-br-e-01.ts +6 -5
  316. package/src/schematron/cen/e/cen-en16931-br-e-02.ts +6 -5
  317. package/src/schematron/cen/e/cen-en16931-br-e-03.ts +6 -10
  318. package/src/schematron/cen/e/cen-en16931-br-e-04.ts +6 -5
  319. package/src/schematron/cen/e/cen-en16931-br-e-05.ts +6 -5
  320. package/src/schematron/cen/e/cen-en16931-br-e-06.ts +6 -5
  321. package/src/schematron/cen/e/cen-en16931-br-e-07.ts +6 -5
  322. package/src/schematron/cen/e/cen-en16931-br-e-08.ts +6 -5
  323. package/src/schematron/cen/e/cen-en16931-br-e-09.ts +6 -5
  324. package/src/schematron/cen/e/cen-en16931-br-e-10.ts +6 -5
  325. package/src/schematron/cen/g/cen-en16931-br-g-01.ts +6 -5
  326. package/src/schematron/cen/g/cen-en16931-br-g-02.ts +6 -5
  327. package/src/schematron/cen/g/cen-en16931-br-g-03.ts +6 -5
  328. package/src/schematron/cen/g/cen-en16931-br-g-04.ts +6 -5
  329. package/src/schematron/cen/g/cen-en16931-br-g-05.ts +6 -5
  330. package/src/schematron/cen/g/cen-en16931-br-g-06.ts +6 -5
  331. package/src/schematron/cen/g/cen-en16931-br-g-07.ts +6 -5
  332. package/src/schematron/cen/g/cen-en16931-br-g-08.ts +6 -5
  333. package/src/schematron/cen/g/cen-en16931-br-g-09.ts +6 -5
  334. package/src/schematron/cen/g/cen-en16931-br-g-10.ts +6 -5
  335. package/src/schematron/cen/ic/cen-en16931-br-ic-01.ts +6 -5
  336. package/src/schematron/cen/ic/cen-en16931-br-ic-02.ts +6 -5
  337. package/src/schematron/cen/ic/cen-en16931-br-ic-03.ts +6 -5
  338. package/src/schematron/cen/ic/cen-en16931-br-ic-04.ts +6 -5
  339. package/src/schematron/cen/ic/cen-en16931-br-ic-05.ts +6 -5
  340. package/src/schematron/cen/ic/cen-en16931-br-ic-06.ts +6 -5
  341. package/src/schematron/cen/ic/cen-en16931-br-ic-07.ts +6 -5
  342. package/src/schematron/cen/ic/cen-en16931-br-ic-08.ts +6 -5
  343. package/src/schematron/cen/ic/cen-en16931-br-ic-09.ts +6 -5
  344. package/src/schematron/cen/ic/cen-en16931-br-ic-10.ts +6 -5
  345. package/src/schematron/cen/ic/cen-en16931-br-ic-11.ts +6 -5
  346. package/src/schematron/cen/ic/cen-en16931-br-ic-12.ts +6 -5
  347. package/src/schematron/cen/o/cen-en16931-br-o-01.ts +6 -5
  348. package/src/schematron/cen/o/cen-en16931-br-o-02.ts +6 -5
  349. package/src/schematron/cen/o/cen-en16931-br-o-03.ts +6 -5
  350. package/src/schematron/cen/o/cen-en16931-br-o-04.ts +6 -5
  351. package/src/schematron/cen/o/cen-en16931-br-o-05.ts +6 -5
  352. package/src/schematron/cen/o/cen-en16931-br-o-06.ts +6 -5
  353. package/src/schematron/cen/o/cen-en16931-br-o-07.ts +6 -5
  354. package/src/schematron/cen/o/cen-en16931-br-o-08.ts +6 -5
  355. package/src/schematron/cen/o/cen-en16931-br-o-09.ts +6 -5
  356. package/src/schematron/cen/o/cen-en16931-br-o-10.ts +6 -5
  357. package/src/schematron/cen/o/cen-en16931-br-o-11.ts +6 -5
  358. package/src/schematron/cen/o/cen-en16931-br-o-12.ts +6 -5
  359. package/src/schematron/cen/o/cen-en16931-br-o-13.ts +6 -5
  360. package/src/schematron/cen/o/cen-en16931-br-o-14.ts +6 -5
  361. package/src/schematron/cen/s/cen-en16931-br-s-01.ts +6 -5
  362. package/src/schematron/cen/s/cen-en16931-br-s-02.ts +6 -5
  363. package/src/schematron/cen/s/cen-en16931-br-s-03.ts +6 -10
  364. package/src/schematron/cen/s/cen-en16931-br-s-04.ts +6 -5
  365. package/src/schematron/cen/s/cen-en16931-br-s-05.ts +6 -5
  366. package/src/schematron/cen/s/cen-en16931-br-s-06.ts +6 -5
  367. package/src/schematron/cen/s/cen-en16931-br-s-07.ts +6 -5
  368. package/src/schematron/cen/s/cen-en16931-br-s-08.ts +6 -5
  369. package/src/schematron/cen/s/cen-en16931-br-s-09.ts +6 -5
  370. package/src/schematron/cen/s/cen-en16931-br-s-10.ts +6 -5
  371. package/src/schematron/cen/z/cen-en16931-br-z-01.ts +6 -5
  372. package/src/schematron/cen/z/cen-en16931-br-z-02.ts +6 -5
  373. package/src/schematron/cen/z/cen-en16931-br-z-03.ts +6 -10
  374. package/src/schematron/cen/z/cen-en16931-br-z-04.ts +6 -5
  375. package/src/schematron/cen/z/cen-en16931-br-z-05.ts +6 -5
  376. package/src/schematron/cen/z/cen-en16931-br-z-06.ts +6 -5
  377. package/src/schematron/cen/z/cen-en16931-br-z-07.ts +6 -5
  378. package/src/schematron/cen/z/cen-en16931-br-z-08.ts +6 -5
  379. package/src/schematron/cen/z/cen-en16931-br-z-09.ts +6 -5
  380. package/src/schematron/cen/z/cen-en16931-br-z-10.ts +6 -5
  381. package/src/schematron/de/de-r-001.ts +8 -7
  382. package/src/schematron/de/de-r-002.ts +8 -7
  383. package/src/schematron/de/de-r-003.ts +8 -7
  384. package/src/schematron/de/de-r-004.ts +8 -7
  385. package/src/schematron/de/de-r-005.ts +8 -7
  386. package/src/schematron/de/de-r-006.ts +8 -7
  387. package/src/schematron/de/de-r-007.ts +8 -7
  388. package/src/schematron/de/de-r-008.ts +8 -7
  389. package/src/schematron/de/de-r-009.ts +8 -7
  390. package/src/schematron/de/de-r-010.ts +9 -8
  391. package/src/schematron/de/de-r-011.ts +9 -8
  392. package/src/schematron/de/de-r-014.ts +8 -7
  393. package/src/schematron/de/de-r-015.ts +8 -7
  394. package/src/schematron/de/de-r-016.ts +9 -8
  395. package/src/schematron/de/de-r-017.ts +8 -7
  396. package/src/schematron/de/de-r-018.ts +10 -9
  397. package/src/schematron/de/de-r-019.ts +8 -7
  398. package/src/schematron/de/de-r-020.ts +8 -7
  399. package/src/schematron/de/de-r-022.ts +8 -7
  400. package/src/schematron/de/de-r-023-1.ts +8 -7
  401. package/src/schematron/de/de-r-023-2.ts +8 -7
  402. package/src/schematron/de/de-r-024-1.ts +8 -7
  403. package/src/schematron/de/de-r-024-2.ts +8 -7
  404. package/src/schematron/de/de-r-025-1.ts +8 -7
  405. package/src/schematron/de/de-r-025-2.ts +8 -7
  406. package/src/schematron/de/de-r-026.ts +9 -8
  407. package/src/schematron/de/de-r-027.ts +8 -7
  408. package/src/schematron/de/de-r-028.ts +8 -7
  409. package/src/schematron/de/de-r-030.ts +9 -8
  410. package/src/schematron/de/de-r-031.ts +8 -7
  411. package/src/schematron/dk/dk-r-002.ts +7 -6
  412. package/src/schematron/dk/dk-r-003.ts +8 -7
  413. package/src/schematron/dk/dk-r-004.ts +8 -7
  414. package/src/schematron/dk/dk-r-005.ts +8 -7
  415. package/src/schematron/dk/dk-r-006.ts +8 -7
  416. package/src/schematron/dk/dk-r-007.ts +8 -7
  417. package/src/schematron/dk/dk-r-008.ts +8 -7
  418. package/src/schematron/dk/dk-r-009.ts +8 -7
  419. package/src/schematron/dk/dk-r-010.ts +8 -7
  420. package/src/schematron/dk/dk-r-011.ts +8 -7
  421. package/src/schematron/dk/dk-r-013.ts +8 -7
  422. package/src/schematron/dk/dk-r-014.ts +7 -6
  423. package/src/schematron/dk/dk-r-016.ts +8 -7
  424. package/src/schematron/dk/dk-r-017.ts +8 -7
  425. package/src/schematron/errors.ts +17 -0
  426. package/src/schematron/gr/gr-r-001-1.ts +7 -6
  427. package/src/schematron/gr/gr-r-001-2.ts +8 -7
  428. package/src/schematron/gr/gr-r-001-3.ts +14 -9
  429. package/src/schematron/gr/gr-r-001-4.ts +8 -7
  430. package/src/schematron/gr/gr-r-001-5.ts +8 -7
  431. package/src/schematron/gr/gr-r-001-6.ts +7 -6
  432. package/src/schematron/gr/gr-r-001-7.ts +7 -6
  433. package/src/schematron/gr/gr-r-002.ts +7 -6
  434. package/src/schematron/gr/gr-r-003.ts +8 -7
  435. package/src/schematron/gr/gr-r-004-1.ts +7 -6
  436. package/src/schematron/gr/gr-r-004-2.ts +7 -6
  437. package/src/schematron/gr/gr-r-005.ts +7 -6
  438. package/src/schematron/gr/gr-r-006.ts +8 -7
  439. package/src/schematron/gr/gr-r-008-2.ts +7 -6
  440. package/src/schematron/gr/gr-r-008-3.ts +7 -6
  441. package/src/schematron/gr/gr-r-009.ts +7 -6
  442. package/src/schematron/gr/gr-r-010.ts +7 -6
  443. package/src/schematron/gr/gr-s-008-1.ts +7 -6
  444. package/src/schematron/gr/gr-s-011.ts +8 -7
  445. package/src/schematron/helpers.ts +36 -11
  446. package/src/schematron/index.ts +6 -1
  447. package/src/schematron/is/is-r-001.ts +7 -6
  448. package/src/schematron/is/is-r-002.ts +7 -6
  449. package/src/schematron/is/is-r-003.ts +7 -6
  450. package/src/schematron/is/is-r-004.ts +7 -6
  451. package/src/schematron/is/is-r-005.ts +7 -6
  452. package/src/schematron/is/is-r-006.ts +8 -7
  453. package/src/schematron/is/is-r-007.ts +8 -7
  454. package/src/schematron/is/is-r-008.ts +8 -7
  455. package/src/schematron/is/is-r-009.ts +8 -7
  456. package/src/schematron/is/is-r-010.ts +9 -8
  457. package/src/schematron/it/it-r-001.ts +7 -6
  458. package/src/schematron/it/it-r-002.ts +7 -6
  459. package/src/schematron/it/it-r-003.ts +7 -6
  460. package/src/schematron/it/it-r-004.ts +7 -6
  461. package/src/schematron/nl/nl-r-001.ts +7 -6
  462. package/src/schematron/nl/nl-r-002.ts +7 -6
  463. package/src/schematron/nl/nl-r-003.ts +8 -7
  464. package/src/schematron/nl/nl-r-004.ts +7 -6
  465. package/src/schematron/nl/nl-r-005.ts +8 -7
  466. package/src/schematron/nl/nl-r-006.ts +8 -7
  467. package/src/schematron/nl/nl-r-007.ts +8 -7
  468. package/src/schematron/nl/nl-r-008.ts +7 -6
  469. package/src/schematron/nl/nl-r-009.ts +8 -7
  470. package/src/schematron/no/no-r-001.ts +8 -7
  471. package/src/schematron/no/no-r-002.ts +7 -6
  472. package/src/schematron/peppol/cl/peppol-en16931-cl001.ts +6 -5
  473. package/src/schematron/peppol/cl/peppol-en16931-cl002.ts +6 -5
  474. package/src/schematron/peppol/cl/peppol-en16931-cl003.ts +6 -5
  475. package/src/schematron/peppol/cl/peppol-en16931-cl006.ts +7 -6
  476. package/src/schematron/peppol/cl/peppol-en16931-cl007.ts +6 -5
  477. package/src/schematron/peppol/cl/peppol-en16931-cl008.ts +6 -5
  478. package/src/schematron/peppol/common/peppol-common-r040.ts +6 -5
  479. package/src/schematron/peppol/common/peppol-common-r041.ts +6 -5
  480. package/src/schematron/peppol/common/peppol-common-r042.ts +6 -5
  481. package/src/schematron/peppol/common/peppol-common-r043.ts +6 -5
  482. package/src/schematron/peppol/common/peppol-common-r044.ts +6 -5
  483. package/src/schematron/peppol/common/peppol-common-r045.ts +6 -5
  484. package/src/schematron/peppol/common/peppol-common-r046.ts +6 -5
  485. package/src/schematron/peppol/common/peppol-common-r047.ts +6 -5
  486. package/src/schematron/peppol/common/peppol-common-r049.ts +6 -5
  487. package/src/schematron/peppol/common/peppol-common-r050.ts +6 -5
  488. package/src/schematron/peppol/common/peppol-common-r052.ts +6 -5
  489. package/src/schematron/peppol/common/peppol-common-r053.ts +6 -5
  490. package/src/schematron/peppol/f/peppol-en16931-f001.ts +20 -13
  491. package/src/schematron/peppol/p/peppol-en16931-p0100.ts +8 -7
  492. package/src/schematron/peppol/p/peppol-en16931-p0101.ts +8 -7
  493. package/src/schematron/peppol/p/peppol-en16931-p0104.ts +6 -5
  494. package/src/schematron/peppol/p/peppol-en16931-p0105.ts +6 -5
  495. package/src/schematron/peppol/p/peppol-en16931-p0106.ts +6 -5
  496. package/src/schematron/peppol/p/peppol-en16931-p0107.ts +6 -5
  497. package/src/schematron/peppol/p/peppol-en16931-p0108.ts +6 -5
  498. package/src/schematron/peppol/p/peppol-en16931-p0109.ts +6 -5
  499. package/src/schematron/peppol/p/peppol-en16931-p0110.ts +6 -5
  500. package/src/schematron/peppol/p/peppol-en16931-p0111.ts +6 -5
  501. package/src/schematron/peppol/p/peppol-en16931-p0112.ts +7 -6
  502. package/src/schematron/peppol/r/peppol-en16931-r001.ts +11 -13
  503. package/src/schematron/peppol/r/peppol-en16931-r002.ts +6 -5
  504. package/src/schematron/peppol/r/peppol-en16931-r003.ts +6 -5
  505. package/src/schematron/peppol/r/peppol-en16931-r004.ts +6 -5
  506. package/src/schematron/peppol/r/peppol-en16931-r005.ts +7 -6
  507. package/src/schematron/peppol/r/peppol-en16931-r007.ts +6 -5
  508. package/src/schematron/peppol/r/peppol-en16931-r008.ts +6 -5
  509. package/src/schematron/peppol/r/peppol-en16931-r010.ts +6 -5
  510. package/src/schematron/peppol/r/peppol-en16931-r020.ts +6 -5
  511. package/src/schematron/peppol/r/peppol-en16931-r040.ts +6 -5
  512. package/src/schematron/peppol/r/peppol-en16931-r041.ts +6 -5
  513. package/src/schematron/peppol/r/peppol-en16931-r042.ts +6 -5
  514. package/src/schematron/peppol/r/peppol-en16931-r043.ts +6 -5
  515. package/src/schematron/peppol/r/peppol-en16931-r044.ts +6 -5
  516. package/src/schematron/peppol/r/peppol-en16931-r046.ts +6 -5
  517. package/src/schematron/peppol/r/peppol-en16931-r051.ts +6 -5
  518. package/src/schematron/peppol/r/peppol-en16931-r053.ts +6 -5
  519. package/src/schematron/peppol/r/peppol-en16931-r054.ts +6 -5
  520. package/src/schematron/peppol/r/peppol-en16931-r055.ts +8 -7
  521. package/src/schematron/peppol/r/peppol-en16931-r061.ts +6 -5
  522. package/src/schematron/peppol/r/peppol-en16931-r100.ts +6 -5
  523. package/src/schematron/peppol/r/peppol-en16931-r101.ts +6 -5
  524. package/src/schematron/peppol/r/peppol-en16931-r110.ts +7 -6
  525. package/src/schematron/peppol/r/peppol-en16931-r111.ts +7 -6
  526. package/src/schematron/peppol/r/peppol-en16931-r120.ts +6 -5
  527. package/src/schematron/peppol/r/peppol-en16931-r121.ts +6 -5
  528. package/src/schematron/peppol/r/peppol-en16931-r130.ts +6 -5
  529. package/src/schematron/run-all-rules.ts +2 -7
  530. package/src/schematron/schematron.ts +36 -0
  531. package/src/schematron/se/se-r-001.ts +7 -6
  532. package/src/schematron/se/se-r-002.ts +7 -6
  533. package/src/schematron/se/se-r-003.ts +7 -6
  534. package/src/schematron/se/se-r-004.ts +7 -6
  535. package/src/schematron/se/se-r-005.ts +8 -7
  536. package/src/schematron/se/se-r-006.ts +7 -6
  537. package/src/schematron/se/se-r-007.ts +7 -6
  538. package/src/schematron/se/se-r-008.ts +7 -6
  539. package/src/schematron/se/se-r-009.ts +7 -6
  540. package/src/schematron/se/se-r-010.ts +7 -6
  541. package/src/schematron/se/se-r-011.ts +7 -6
  542. package/src/schematron/se/se-r-012.ts +7 -6
  543. package/src/schematron/se/se-r-013.ts +7 -6
  544. package/src/values/additional-document-reference-codes.generated.ts +2 -3
  545. package/src/values/allowance-charge-reason-codes.generated.ts +1 -1
  546. package/src/values/application-response-type-codes.generated.ts +1 -1
  547. package/src/values/charge-reason-codes.generated.ts +1 -1
  548. package/src/values/country-code.generated.ts +1 -1
  549. package/src/values/credit-notes-type-codes.generated.ts +1 -1
  550. package/src/values/currency-code.generated.ts +1 -1
  551. package/src/values/document-type-codes.generated.ts +1 -1
  552. package/src/values/document-type.generated.ts +2 -2
  553. package/src/values/duty-tax-fee-categories.generated.ts +1 -1
  554. package/src/values/eas-codes.generated.ts +1 -1
  555. package/src/values/icd-codes.generated.ts +7 -7
  556. package/src/values/invoice-status-codes.generated.ts +1 -1
  557. package/src/values/invoice-type-codes.generated.ts +1 -1
  558. package/src/values/item-classification-code.generated.ts +1 -1
  559. package/src/values/mime-codes.generated.ts +1 -1
  560. package/src/values/op-status-action.generated.ts +1 -1
  561. package/src/values/op-status-reason.generated.ts +1 -1
  562. package/src/values/participant-identifier-schemes.generated.ts +2 -2
  563. package/src/values/payment-means-codes.generated.ts +1 -1
  564. package/src/values/processes.generated.ts +1 -1
  565. package/src/values/quantity-unit-codes.generated.ts +1 -1
  566. package/src/values/vat-dates.generated.ts +1 -1
  567. package/src/values/vatex-codes.generated.ts +1 -1
  568. package/dist/all-union-fields-CxoyKBpI.d.ts +0 -445
  569. package/dist/all-union-fields-CxoyKBpI.d.ts.map +0 -1
  570. package/dist/document-DCcObB-a.d.ts +0 -1466
  571. package/dist/document-DCcObB-a.d.ts.map +0 -1
  572. package/dist/effect.d.ts +0 -6291
  573. package/dist/effect.d.ts.map +0 -1
  574. package/dist/effect.js +0 -3240
  575. package/dist/effect.js.map +0 -1
  576. package/dist/index.d.ts.map +0 -1
  577. package/dist/is-valid-process-CSWL-q9f.js +0 -1590
  578. package/dist/is-valid-process-CSWL-q9f.js.map +0 -1
  579. package/dist/quantity-unit-code-to-intl-unit-15EykjMe.d.ts +0 -168
  580. package/dist/quantity-unit-code-to-intl-unit-15EykjMe.d.ts.map +0 -1
  581. package/dist/vat-dates.generated-DTVWQAdn.d.ts +0 -4812
  582. package/dist/vat-dates.generated-DTVWQAdn.d.ts.map +0 -1
  583. package/dist/vatex-codes.generated-BSgP3n5t.js.map +0 -1
  584. package/src/decoders/errors.ts +0 -11
  585. package/src/document-parser.ts +0 -70
  586. package/src/document.ts +0 -19
  587. package/src/effect/fields/default-customization-id.ts +0 -1
  588. package/src/effect/fields/default-profile-id.ts +0 -1
  589. package/src/effect/fields/peppol-additional-document-reference-schema.ts +0 -114
  590. package/src/effect/fields/peppol-address-schema.ts +0 -105
  591. package/src/effect/fields/peppol-allowance-charge-schema.ts +0 -95
  592. package/src/effect/fields/peppol-amount-schema.ts +0 -22
  593. package/src/effect/fields/peppol-base-line-schema.ts +0 -138
  594. package/src/effect/fields/peppol-binary-object-schema.ts +0 -51
  595. package/src/effect/fields/peppol-contact-schema.ts +0 -18
  596. package/src/effect/fields/peppol-credit-note-line-schema.ts +0 -42
  597. package/src/effect/fields/peppol-delivery-schema.ts +0 -100
  598. package/src/effect/fields/peppol-identifier-schema.ts +0 -19
  599. package/src/effect/fields/peppol-invoice-line-period-schema.ts +0 -34
  600. package/src/effect/fields/peppol-invoice-period-schema.ts +0 -30
  601. package/src/effect/fields/peppol-item-classification-schema.ts +0 -45
  602. package/src/effect/fields/peppol-legal-monetary-total-schema.ts +0 -126
  603. package/src/effect/fields/peppol-line-allowance-charge-schema.ts +0 -64
  604. package/src/effect/fields/peppol-line-item-schema.ts +0 -185
  605. package/src/effect/fields/peppol-line-price-allowance-charge-schema.ts +0 -38
  606. package/src/effect/fields/peppol-line-price-schema.ts +0 -31
  607. package/src/effect/fields/peppol-order-reference-schema.ts +0 -36
  608. package/src/effect/fields/peppol-party-base-schema.ts +0 -138
  609. package/src/effect/fields/peppol-party-legal-entity-schema.ts +0 -29
  610. package/src/effect/fields/peppol-party-tax-scheme-schema.ts +0 -33
  611. package/src/effect/fields/peppol-payee-party-schema.ts +0 -112
  612. package/src/effect/fields/peppol-payment-means-schema.ts +0 -210
  613. package/src/effect/fields/peppol-payment-terms-schema.ts +0 -23
  614. package/src/effect/fields/peppol-quantity-schema.ts +0 -21
  615. package/src/effect/fields/peppol-reference-schema.ts +0 -5
  616. package/src/effect/fields/peppol-tax-category-schema.ts +0 -42
  617. package/src/effect/fields/peppol-tax-representative-schema.ts +0 -23
  618. package/src/effect/fields/peppol-tax-subtotal-schema.ts +0 -32
  619. package/src/effect/fields/peppol-tax-totals-base-schema.ts +0 -25
  620. package/src/effect/index.ts +0 -56
  621. package/src/effect/peppol-billing-base-schema.ts +0 -355
  622. package/src/effect/peppol-credit-note-schema.ts +0 -30
  623. package/src/effect/peppol-document-response-document-reference-schema.ts +0 -38
  624. package/src/effect/peppol-document-response-document-schema.ts +0 -35
  625. package/src/effect/peppol-document-response-line-response-content-schema.ts +0 -44
  626. package/src/effect/peppol-document-response-line-response-schema.ts +0 -33
  627. package/src/effect/peppol-document-schema.ts +0 -142
  628. package/src/effect/peppol-invoice-response-document-actual-response-status-schema.ts +0 -60
  629. package/src/effect/peppol-invoice-response-schema.ts +0 -168
  630. package/src/effect/peppol-invoice-response-status-reason-code-schema.ts +0 -31
  631. package/src/effect/peppol-invoice-schema.ts +0 -42
  632. package/src/effect/peppol-iso-date-string-schema.ts +0 -19
  633. package/src/effect/peppol-message-level-response-document-response-schema.ts +0 -33
  634. package/src/effect/peppol-message-level-response-party-schema.ts +0 -19
  635. package/src/effect/peppol-message-level-response-schema.ts +0 -97
  636. package/src/effect/utils/format-quantity-with-unit.ts +0 -1
  637. package/src/effect/utils/get-credit-note-type-code-description.ts +0 -1
  638. package/src/effect/utils/get-invoice-type-code-description.ts +0 -1
  639. package/src/effect/utils/is-valid-credit-note-type-code.ts +0 -1
  640. package/src/effect/utils/is-valid-invoice-type-code.ts +0 -1
  641. package/src/effect/utils/is-valid-process.ts +0 -1
  642. package/src/effect/utils/peppol-xsd-time-schema.ts +0 -13
  643. package/src/effect/utils/quantity-unit-code-to-intl-unit.ts +0 -2
  644. package/src/effect/values/credit-note-type-code-schema.ts +0 -23
  645. package/src/effect/values/document-type-schemes-schema.ts +0 -14
  646. package/src/effect/values/document-type-values-schema.ts +0 -16
  647. package/src/effect/values/invoice-type-code-schema.ts +0 -21
  648. package/src/effect/values/process-from-document-type-schema.ts +0 -26
  649. package/src/effect/values/quantity-unit-codes-schema.ts +0 -24
  650. package/src/helpers/errors.ts +0 -6
  651. package/src/helpers/is-defined.ts +0 -3
  652. package/src/schemas/billing-base.ts +0 -362
  653. package/src/schemas/credit-note.ts +0 -28
  654. package/src/schemas/document-response-document-reference-schema.ts +0 -37
  655. package/src/schemas/document-response-document-schema.ts +0 -34
  656. package/src/schemas/document-response-line-response-content.ts +0 -43
  657. package/src/schemas/document-response-line-response-schema.ts +0 -33
  658. package/src/schemas/fields/additional-document-reference-schema.ts +0 -112
  659. package/src/schemas/fields/address-schema.ts +0 -105
  660. package/src/schemas/fields/allowance-charge-schema.ts +0 -86
  661. package/src/schemas/fields/amount-schema.ts +0 -21
  662. package/src/schemas/fields/base-line-schema.ts +0 -136
  663. package/src/schemas/fields/billing-references-schema.ts +0 -44
  664. package/src/schemas/fields/binary-object-schema.ts +0 -45
  665. package/src/schemas/fields/contact-schema.ts +0 -18
  666. package/src/schemas/fields/credit-note-line-schema.ts +0 -37
  667. package/src/schemas/fields/date-only-fn.ts +0 -6
  668. package/src/schemas/fields/date-only-parser.ts +0 -20
  669. package/src/schemas/fields/delivery-schema.ts +0 -95
  670. package/src/schemas/fields/identifier-schema.ts +0 -24
  671. package/src/schemas/fields/invoice-line-period-schema.ts +0 -31
  672. package/src/schemas/fields/invoice-line-schema.ts +0 -41
  673. package/src/schemas/fields/invoice-period-schema.ts +0 -27
  674. package/src/schemas/fields/legal-monetary-total-schema.ts +0 -125
  675. package/src/schemas/fields/line-allowance-charge-schema.ts +0 -59
  676. package/src/schemas/fields/line-item-schema.ts +0 -183
  677. package/src/schemas/fields/line-price-allowance-charge-schema.ts +0 -33
  678. package/src/schemas/fields/list-identifier-schema.ts +0 -43
  679. package/src/schemas/fields/order-reference-schema.ts +0 -36
  680. package/src/schemas/fields/party-base-schema.ts +0 -131
  681. package/src/schemas/fields/party-legal-entity-schema.ts +0 -29
  682. package/src/schemas/fields/party-tax-schema.ts +0 -33
  683. package/src/schemas/fields/payee-party.ts +0 -107
  684. package/src/schemas/fields/payment-means-schema.ts +0 -209
  685. package/src/schemas/fields/payment-terms-schema.ts +0 -23
  686. package/src/schemas/fields/price-schema.ts +0 -31
  687. package/src/schemas/fields/quantity-schema.ts +0 -21
  688. package/src/schemas/fields/reference-schema.ts +0 -4
  689. package/src/schemas/fields/tax-category-schema.ts +0 -41
  690. package/src/schemas/fields/tax-representative-party-schema.ts +0 -23
  691. package/src/schemas/fields/tax-subtotal-category-schema.ts +0 -26
  692. package/src/schemas/fields/tax-subtotal-schema.ts +0 -32
  693. package/src/schemas/fields/tax-totals.ts +0 -25
  694. package/src/schemas/fields/time-only.ts +0 -23
  695. package/src/schemas/invoice-response-document-actual-response-status.ts +0 -58
  696. package/src/schemas/invoice-response-document-actual-response.ts +0 -73
  697. package/src/schemas/invoice-response-schema.ts +0 -155
  698. package/src/schemas/invoice-response-status-reason-code.ts +0 -30
  699. package/src/schemas/invoice.ts +0 -43
  700. package/src/schemas/message-level-response-document-response-schema.ts +0 -33
  701. package/src/schemas/message-level-response-party-schema.ts +0 -18
  702. package/src/schemas/message-level-response-schema.ts +0 -96
  703. package/src/schemas/utils/base-64.ts +0 -34
  704. package/src/schemas/utils/vat-regex.ts +0 -51
  705. package/src/schemas/utils/xsd-time.ts +0 -9
  706. package/src/schemas/values/additional-document-reference-code.ts +0 -27
  707. package/src/schemas/values/allowance-charge-reason-code.ts +0 -29
  708. package/src/schemas/values/application-response-type-codes.ts +0 -25
  709. package/src/schemas/values/charge-reason-code.ts +0 -29
  710. package/src/schemas/values/country-code.ts +0 -36
  711. package/src/schemas/values/currency-codes.ts +0 -35
  712. package/src/schemas/values/document-type-codes.ts +0 -25
  713. package/src/schemas/values/document-type-schema.ts +0 -49
  714. package/src/schemas/values/duty-tax-fee-cateogries.ts +0 -28
  715. package/src/schemas/values/eas-codes.ts +0 -35
  716. package/src/schemas/values/icd-codes.ts +0 -28
  717. package/src/schemas/values/invoice-status-codes.ts +0 -25
  718. package/src/schemas/values/item-classification-code-schema.ts +0 -28
  719. package/src/schemas/values/mime-code.ts +0 -28
  720. package/src/schemas/values/op-status-action.ts +0 -25
  721. package/src/schemas/values/op-status-reason.ts +0 -25
  722. package/src/schemas/values/participant-identifier-code.ts +0 -25
  723. package/src/schemas/values/payment-means-codes-schema.ts +0 -36
  724. package/src/schemas/values/process-schema.ts +0 -41
  725. package/src/schemas/values/process-xml-identifier-schema.ts +0 -27
  726. package/src/schemas/values/vat-date-code.ts +0 -15
  727. package/src/schemas/values/vatex-code.ts +0 -28
  728. package/src/schemas.ts +0 -97
  729. /package/src/{effect → schemas}/utils/peppol-base-64-schema.ts +0 -0
  730. /package/src/{effect → schemas}/utils/peppol-vat-regex-schema.ts +0 -0
  731. /package/src/{effect → schemas}/values/additional-document-reference-code-schema.ts +0 -0
  732. /package/src/{effect → schemas}/values/allowance-charge-reason-code-schema.ts +0 -0
  733. /package/src/{effect → schemas}/values/application-response-type-code-schema.ts +0 -0
  734. /package/src/{effect → schemas}/values/charge-reason-code-schema.ts +0 -0
  735. /package/src/{effect → schemas}/values/currency-code-schema.ts +0 -0
  736. /package/src/{effect → schemas}/values/electronic-codes-schema.ts +0 -0
  737. /package/src/{effect → schemas}/values/icd-codes-schema.ts +0 -0
  738. /package/src/{effect → schemas}/values/index.ts +0 -0
  739. /package/src/{effect → schemas}/values/invoice-status-code-schema.ts +0 -0
  740. /package/src/{effect → schemas}/values/item-classification-codes-schema.ts +0 -0
  741. /package/src/{effect → schemas}/values/mime-codes-schema.ts +0 -0
  742. /package/src/{effect → schemas}/values/op-status-action-schema.ts +0 -0
  743. /package/src/{effect → schemas}/values/op-status-reason-schema.ts +0 -0
  744. /package/src/{effect → schemas}/values/participant-identifier-code-schema.ts +0 -0
  745. /package/src/{effect → schemas}/values/payment-means-code-schema.ts +0 -0
  746. /package/src/{effect → schemas}/values/peppol-country-code-schema.ts +0 -0
  747. /package/src/{effect → schemas}/values/peppol-document-type-code-schema.ts +0 -0
  748. /package/src/{effect → schemas}/values/peppol-document-type-schema.ts +0 -0
  749. /package/src/{effect → schemas}/values/peppol-process-schema.ts +0 -0
  750. /package/src/{effect → schemas}/values/vat-date-code-schema.ts +0 -0
  751. /package/src/{effect → schemas}/values/vatex-code-schema.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,2613 +1,2 @@
1
- import { _ as formatQuantityWithUnit, a as quantityUnitCodesSchema, c as processSchema, d as getInvoiceTypeCodeDescription, f as PeppolInvoiceTypeCode, g as creditNoteTypeCodeSchema, h as PeppolCreditNoteTypeCode, i as PeppolQuantityUnitCode, l as isValidInvoiceTypeCode, m as getCreditNoteTypeCodeDescription, n as quantityToIntlUnitMap, o as isValidProcess, p as invoiceTypeCodeSchema, r as quantityUnitCodeToIntlUnit, s as PeppolProcesses, t as IntlUnit, u as isValidCreditNoteTypeCode } from "./quantity-unit-code-to-intl-unit-15EykjMe.js";
2
- import { _ as invoiceTypeCodes, a as applicationResponseTypeCodes, b as creditNoteTypeCodes, c as quantityUnitCodes, d as deprecatedProcesses, f as processes, g as InvoiceTypeCodesKeys, h as processesScheme, i as ApplicationResponseTypeCodesKeys, l as quantityUnitCodesKeys, m as processesList, n as vatDateCodes, o as applicationResponseTypeCodesKeys, p as processesKeys, r as vatDateCodesKeys, s as QuantityUnitCodesKeys, t as VatDateCodesKeys, u as ProcessesKeys, v as invoiceTypeCodesKeys, x as creditNoteTypeCodesKeys, y as CreditNoteTypeCodesKeys } from "./vat-dates.generated-DTVWQAdn.js";
3
- import { _ as PeppolInvoice, a as PeppolInvoiceLine, b as creditNoteSchema, c as creditNoteLineSchema, d as InvoiceDocumentResponseParty, f as InvoiceResponseDocumentReference, g as invoiceResponseSchema, h as PeppolInvoiceResponse, i as PeppolMessage, l as PeppolMessageLevelResponse, m as InvoiceResponseParty, n as PeppolDocument, o as invoiceLineSchema, p as InvoiceResponseDocumentResponse, r as PeppolDocumentLine, s as PeppolCreditNoteLine, t as PeppolAllDocuments, u as messageLevelResponse, v as invoiceSchema, y as PeppolCreditNote } from "./document-DCcObB-a.js";
4
- import { AdditionalDocumentReferenceCodesKeys, AllowanceChargeReasonCodesKeys, ChargeReasonCodesKeys, CountryCodesKeys, CurrencyCodesKeys, DocumentTypeCodesKeys, DocumentTypesTableKeys, DutyTaxFeeCategoriesKeys, ElectronicAddressCodesKeys, IcdCodesKeys, InvoiceStatusCodesKeys, ItemClassificationCodesKeys, MimeCodesKeys, OpStatusActionKeys, OpStatusReasonKeys, ParticipantIdentifierSchemesKeys, PaymentMeansCodesKeys, VatexCodesKeys, additionalDocumentReferenceCodes, additionalDocumentReferenceCodesKeys, allowanceChargeReasonCodes, allowanceChargeReasonCodesKeys, chargeReasonCodes, chargeReasonCodesKeys, countryCodes, countryCodesKeys, currencyCodes, currencyCodesKeys, deprecatedDocumentTypes, deprecatedParticipantIdentifierSchemes, documentTypeCodes, documentTypeCodesKeys, documentTypesList, documentTypesProcessIds, documentTypesScheme, documentTypesTable, documentTypesTableKeys, dutyTaxFeeCategories, dutyTaxFeeCategoriesKeys, electronicAddressCodes, electronicAddressCodesKeys, icdCodes, icdCodesKeys, invoiceStatusCodes, invoiceStatusCodesKeys, itemClassificationCodes, itemClassificationCodesKeys, mimeCodes, mimeCodesKeys, opStatusAction, opStatusActionKeys, opStatusReason, opStatusReasonKeys, participantIdentifierSchemes, participantIdentifierSchemesKeys, participantIdentifierSchemesValidations, paymentMeansCodes, paymentMeansCodesKeys, vatexCodes, vatexCodesKeys } from "./values.js";
5
- import * as z from "zod/mini";
6
- //#region src/constants/credit-note-doctype-id.d.ts
7
- export declare const CREDIT_NOTE_DOCTYPE_ID: "busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1";
8
- //#endregion
9
- //#region src/constants/credit-note-process-id.d.ts
10
- export declare const CREDIT_NOTE_PROCESS_ID: "cenbii-procid-ubl::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0";
11
- //#endregion
12
- //#region src/constants/document-scheme.d.ts
13
- export declare const documentScheme: 'busdox-docid-qns';
14
- //#endregion
15
- //#region src/constants/invoice-doctype-id.d.ts
16
- export declare const INVOICE_DOCTYPE_ID: "busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1";
17
- //#endregion
18
- //#region src/constants/invoice-process-id.d.ts
19
- export declare const INVOICE_PROCESS_ID: "cenbii-procid-ubl::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0";
20
- //#endregion
21
- //#region src/constants/invoice-response-doctype-id.d.ts
22
- export declare const INVOICE_RESPONSE_DOCTYPE_ID: "busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:invoice_response:3::2.1";
23
- //#endregion
24
- //#region src/constants/invoice-response-process-id.d.ts
25
- export declare const INVOICE_RESPONSE_PROCESS_ID: "cenbii-procid-ubl::urn:fdc:peppol.eu:poacc:bis:invoice_response:3";
26
- //#endregion
27
- //#region src/constants/invoice-response-profile-id.d.ts
28
- export declare const INVOICE_RESPONSE_PROFILE_ID: 'urn:fdc:peppol.eu:poacc:bis:invoice_response:3';
29
- //#endregion
30
- //#region src/constants/message-level-response-doctype-id.d.ts
31
- export declare const MESSAGE_LEVEL_RESPONSE_DOCTYPE_ID: "busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:mlr:3::2.1";
32
- //#endregion
33
- //#region src/constants/message-level-response-process-id.d.ts
34
- export declare const MESSAGE_LEVEL_RESPONSE_PROCESS_ID: "cenbii-procid-ubl::urn:fdc:peppol.eu:poacc:bis:mlr:3";
35
- //#endregion
36
- //#region src/constants/message-level-response-profile-id.d.ts
37
- export declare const MESSAGE_LEVEL_RESPONSE_PROFILE_ID: 'urn:fdc:peppol.eu:poacc:bis:mlr:3';
38
- //#endregion
39
- //#region src/constants/participant-scheme.d.ts
40
- export declare const PARTICIPANT_SCHEME: 'iso6523-actorid-upis';
41
- /**
42
- * @deprecated use `PARTICIPANT_SCHEME` instead.
43
- */
44
- export declare const participantScheme: "iso6523-actorid-upis";
45
- //#endregion
46
- //#region src/constants/process-scheme.d.ts
47
- export declare const processScheme: 'cenbii-procid-ubl';
48
- //#endregion
49
- //#region src/constants/transport-profile.d.ts
50
- export declare const transportProfile: 'peppol-transport-as4-v2_0';
51
- //#endregion
52
- //#region src/invoice-response-codes/invoice-response-code-needs-schema.d.ts
53
- export declare const invoiceResponseCodeNeedsSchema: readonly ['UQ', 'RE', 'CA'];
54
- //#endregion
55
- //#region src/invoice-response-codes/invoice-response-code-not-needs-schema.d.ts
56
- export declare const invoiceResponseCodeNotNeedsSchema: readonly ['AB', 'AP', 'IP', 'PD'];
57
- //#endregion
58
- //#region src/invoice-response-codes/invoice-response-codes-order.d.ts
59
- export declare const invoiceResponseCodesOrder: Record<InvoiceStatusCodesKeys, Array<InvoiceStatusCodesKeys>>;
60
- //#endregion
61
- //#region src/document-parser.d.ts
62
- /**
63
- * @deprecated use `PeppolDocumentParser` instead
64
- */
65
- export declare const documentParser: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniXor<readonly [z.ZodMiniObject<{
66
- customizationId: z.ZodMiniDefault<z.ZodMiniString<string>>;
67
- profileId: z.ZodMiniDefault<z.ZodMiniString<string>>;
68
- id: z.ZodMiniString<string>;
69
- issueDate: z.ZodMiniISODate;
70
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
71
- taxPointDate: z.ZodMiniOptional<z.ZodMiniISODate>;
72
- documentCurrencyCode: z.ZodMiniString<string>;
73
- taxCurrencyCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
74
- accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
75
- buyerReference: z.ZodMiniOptional<z.ZodMiniString<string>>;
76
- invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
77
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
78
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
79
- descriptionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
80
- }, z.core.$strip>>;
81
- orderReference: z.ZodMiniOptional<z.ZodMiniObject<{
82
- id: z.ZodMiniString<string>;
83
- salesOrderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
84
- }, z.core.$strip>>;
85
- billingReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
86
- invoiceDocumentReference: z.ZodMiniObject<{
87
- id: z.ZodMiniString<string>;
88
- issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
89
- }, z.core.$strip>;
90
- }, z.core.$strip>>>;
91
- despatchDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
92
- id: z.ZodMiniString<string>;
93
- }, z.core.$strip>>;
94
- receiptDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
95
- id: z.ZodMiniString<string>;
96
- }, z.core.$strip>>;
97
- originatorDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
98
- id: z.ZodMiniString<string>;
99
- }, z.core.$strip>>;
100
- contractDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
101
- id: z.ZodMiniString<string>;
102
- }, z.core.$strip>>;
103
- additionalDocumentReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
104
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
105
- id: z.ZodMiniObject<{
106
- id: z.ZodMiniString<string>;
107
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
108
- }, z.core.$strip>;
109
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
110
- documentDescription: z.ZodMiniOptional<z.ZodMiniString<string>>;
111
- attachment: z.ZodMiniOptional<z.ZodMiniObject<{
112
- embeddedDocumentBinaryObject: z.ZodMiniOptional<z.ZodMiniObject<{
113
- content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
114
- mimeCode: z.ZodMiniString<string>;
115
- filename: z.ZodMiniString<string>;
116
- }, z.core.$strip>>;
117
- externalReference: z.ZodMiniOptional<z.ZodMiniObject<{
118
- uri: z.ZodMiniString<string>;
119
- }, z.core.$strip>>;
120
- }, z.core.$strip>>;
121
- }, z.core.$strip>>>;
122
- accountingSupplierParty: z.ZodMiniObject<{
123
- endpointId: z.ZodMiniObject<{
124
- id: z.ZodMiniString<string>;
125
- schemeId: z.ZodMiniString<string>;
126
- }, z.core.$strip>;
127
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
128
- id: z.ZodMiniObject<{
129
- id: z.ZodMiniString<string>;
130
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
131
- }, z.core.$strip>;
132
- }, z.core.$strip>>;
133
- partyName: z.ZodMiniOptional<z.ZodMiniObject<{
134
- name: z.ZodMiniString<string>;
135
- }, z.core.$strip>>;
136
- postalAddress: z.ZodMiniObject<{
137
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
138
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
139
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
140
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
141
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
142
- countryCode: z.ZodMiniObject<{
143
- identificationCode: z.ZodMiniString<string>;
144
- }, z.core.$strip>;
145
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
146
- line: z.ZodMiniString<string>;
147
- }, z.core.$strip>>;
148
- }, z.core.$strip>;
149
- partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
150
- companyId: z.ZodMiniString<string>;
151
- taxSchemeId: z.ZodMiniObject<{
152
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
153
- }, z.core.$strip>;
154
- }, z.core.$strip>>>;
155
- partyLegalEntity: z.ZodMiniObject<{
156
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
157
- id: z.ZodMiniString<string>;
158
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
159
- }, z.core.$strip>>;
160
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
161
- registrationName: z.ZodMiniString<string>;
162
- }, z.core.$strip>;
163
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
164
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
166
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
167
- }, z.core.$strip>>;
168
- }, z.core.$strip>;
169
- accountingCustomerParty: z.ZodMiniObject<{
170
- endpointId: z.ZodMiniObject<{
171
- id: z.ZodMiniString<string>;
172
- schemeId: z.ZodMiniString<string>;
173
- }, z.core.$strip>;
174
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
175
- id: z.ZodMiniObject<{
176
- id: z.ZodMiniString<string>;
177
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
178
- }, z.core.$strip>;
179
- }, z.core.$strip>>;
180
- partyName: z.ZodMiniOptional<z.ZodMiniObject<{
181
- name: z.ZodMiniString<string>;
182
- }, z.core.$strip>>;
183
- postalAddress: z.ZodMiniObject<{
184
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
185
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
186
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
187
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
188
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
189
- countryCode: z.ZodMiniObject<{
190
- identificationCode: z.ZodMiniString<string>;
191
- }, z.core.$strip>;
192
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
193
- line: z.ZodMiniString<string>;
194
- }, z.core.$strip>>;
195
- }, z.core.$strip>;
196
- partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
197
- companyId: z.ZodMiniString<string>;
198
- taxSchemeId: z.ZodMiniObject<{
199
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
200
- }, z.core.$strip>;
201
- }, z.core.$strip>>>;
202
- partyLegalEntity: z.ZodMiniObject<{
203
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
204
- id: z.ZodMiniString<string>;
205
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
206
- }, z.core.$strip>>;
207
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
208
- registrationName: z.ZodMiniString<string>;
209
- }, z.core.$strip>;
210
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
211
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
212
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
213
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
214
- }, z.core.$strip>>;
215
- }, z.core.$strip>;
216
- payeeParty: z.ZodMiniOptional<z.ZodMiniObject<{
217
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
218
- id: z.ZodMiniOptional<z.ZodMiniObject<{
219
- id: z.ZodMiniString<string>;
220
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
221
- }, z.core.$strip>>;
222
- }, z.core.$strip>>;
223
- partyLegalEntity: z.ZodMiniOptional<z.ZodMiniObject<{
224
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
225
- id: z.ZodMiniString<string>;
226
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
227
- }, z.core.$strip>>;
228
- }, z.core.$strip>>;
229
- partyName: z.ZodMiniObject<{
230
- name: z.ZodMiniString<string>;
231
- }, z.core.$strip>;
232
- }, z.core.$strip>>;
233
- taxRepresentativeParty: z.ZodMiniOptional<z.ZodMiniObject<{
234
- name: z.ZodMiniString<string>;
235
- postalAddress: z.ZodMiniObject<{
236
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
237
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
238
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
239
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
240
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
241
- countryCode: z.ZodMiniObject<{
242
- identificationCode: z.ZodMiniString<string>;
243
- }, z.core.$strip>;
244
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
245
- line: z.ZodMiniString<string>;
246
- }, z.core.$strip>>;
247
- }, z.core.$strip>;
248
- partyTaxScheme: z.ZodMiniObject<{
249
- companyId: z.ZodMiniString<string>;
250
- taxSchemeId: z.ZodMiniObject<{
251
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
252
- }, z.core.$strip>;
253
- }, z.core.$strip>;
254
- }, z.core.$strip>>;
255
- delivery: z.ZodMiniOptional<z.ZodMiniObject<{
256
- actualDeliveryDate: z.ZodMiniOptional<z.ZodMiniISODate>;
257
- deliveryLocation: z.ZodMiniOptional<z.ZodMiniObject<{
258
- id: z.ZodMiniOptional<z.ZodMiniObject<{
259
- id: z.ZodMiniString<string>;
260
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
261
- }, z.core.$strip>>;
262
- address: z.ZodMiniOptional<z.ZodMiniObject<{
263
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
264
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
265
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
266
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
267
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
268
- countryCode: z.ZodMiniObject<{
269
- identificationCode: z.ZodMiniString<string>;
270
- }, z.core.$strip>;
271
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
272
- line: z.ZodMiniString<string>;
273
- }, z.core.$strip>>;
274
- }, z.core.$strip>>;
275
- }, z.core.$strip>>;
276
- deliveryParty: z.ZodMiniOptional<z.ZodMiniObject<{
277
- partyName: z.ZodMiniObject<{
278
- name: z.ZodMiniString<string>;
279
- }, z.core.$strip>;
280
- }, z.core.$strip>>;
281
- }, z.core.$strip>>;
282
- paymentMeans: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
283
- paymentMeansCode: z.ZodMiniObject<{
284
- code: z.ZodMiniString<string>;
285
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
286
- }, z.core.$strip>;
287
- paymentDueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
288
- paymentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
289
- cardAccount: z.ZodMiniOptional<z.ZodMiniObject<{
290
- holderName: z.ZodMiniOptional<z.ZodMiniString<string>>;
291
- networkId: z.ZodMiniString<string>;
292
- primaryAccountNumberId: z.ZodMiniString<string>;
293
- }, z.core.$strip>>;
294
- payeeFinancialAccount: z.ZodMiniOptional<z.ZodMiniObject<{
295
- financialInstitutionBranch: z.ZodMiniOptional<z.ZodMiniObject<{
296
- id: z.ZodMiniString<string>;
297
- }, z.core.$strip>>;
298
- id: z.ZodMiniString<string>;
299
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
300
- }, z.core.$strip>>;
301
- paymentMandate: z.ZodMiniOptional<z.ZodMiniObject<{
302
- id: z.ZodMiniOptional<z.ZodMiniString<string>>;
303
- payerFinancialAccountId: z.ZodMiniOptional<z.ZodMiniObject<{
304
- id: z.ZodMiniString<string>;
305
- }, z.core.$strip>>;
306
- }, z.core.$strip>>;
307
- }, z.core.$strip>>>;
308
- paymentTerms: z.ZodMiniOptional<z.ZodMiniObject<{
309
- note: z.ZodMiniString<string>;
310
- }, z.core.$strip>>;
311
- allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
312
- amount: z.ZodMiniObject<{
313
- currencyId: z.ZodMiniString<string>;
314
- value: z.ZodMiniNumber<number>;
315
- }, z.core.$strip>;
316
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
317
- currencyId: z.ZodMiniString<string>;
318
- value: z.ZodMiniNumber<number>;
319
- }, z.core.$strip>>;
320
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
321
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
322
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
323
- id: z.ZodMiniString<string>;
324
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
325
- taxSchemeId: z.ZodMiniObject<{
326
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
327
- }, z.core.$strip>;
328
- }, z.core.$strip>>;
329
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
330
- chargeIndicator: z.ZodMiniLiteral<false>;
331
- }, z.core.$strip>, z.ZodMiniObject<{
332
- amount: z.ZodMiniObject<{
333
- currencyId: z.ZodMiniString<string>;
334
- value: z.ZodMiniNumber<number>;
335
- }, z.core.$strip>;
336
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
337
- currencyId: z.ZodMiniString<string>;
338
- value: z.ZodMiniNumber<number>;
339
- }, z.core.$strip>>;
340
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
341
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
342
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
343
- id: z.ZodMiniString<string>;
344
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
345
- taxSchemeId: z.ZodMiniObject<{
346
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
347
- }, z.core.$strip>;
348
- }, z.core.$strip>>;
349
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
350
- chargeIndicator: z.ZodMiniLiteral<true>;
351
- }, z.core.$strip>], "chargeIndicator">>>;
352
- taxTotals: z.ZodMiniArray<z.ZodMiniObject<{
353
- taxAmount: z.ZodMiniObject<{
354
- currencyId: z.ZodMiniString<string>;
355
- value: z.ZodMiniNumber<number>;
356
- }, z.core.$strip>;
357
- taxSubtotals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
358
- taxAmount: z.ZodMiniObject<{
359
- currencyId: z.ZodMiniString<string>;
360
- value: z.ZodMiniNumber<number>;
361
- }, z.core.$strip>;
362
- taxCategory: z.ZodMiniObject<{
363
- id: z.ZodMiniString<string>;
364
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
365
- taxSchemeId: z.ZodMiniObject<{
366
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
367
- }, z.core.$strip>;
368
- taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
369
- taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
370
- }, z.core.$strip>;
371
- taxableAmount: z.ZodMiniObject<{
372
- currencyId: z.ZodMiniString<string>;
373
- value: z.ZodMiniNumber<number>;
374
- }, z.core.$strip>;
375
- }, z.core.$strip>>>;
376
- }, z.core.$strip>>;
377
- legalMonetaryTotal: z.ZodMiniObject<{
378
- allowanceTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
379
- currencyId: z.ZodMiniString<string>;
380
- value: z.ZodMiniNumber<number>;
381
- }, z.core.$strip>>;
382
- chargeTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
383
- currencyId: z.ZodMiniString<string>;
384
- value: z.ZodMiniNumber<number>;
385
- }, z.core.$strip>>;
386
- lineExtensionAmount: z.ZodMiniObject<{
387
- currencyId: z.ZodMiniString<string>;
388
- value: z.ZodMiniNumber<number>;
389
- }, z.core.$strip>;
390
- payableAmount: z.ZodMiniObject<{
391
- currencyId: z.ZodMiniString<string>;
392
- value: z.ZodMiniNumber<number>;
393
- }, z.core.$strip>;
394
- payableRoundingAmount: z.ZodMiniOptional<z.ZodMiniObject<{
395
- currencyId: z.ZodMiniString<string>;
396
- value: z.ZodMiniNumber<number>;
397
- }, z.core.$strip>>;
398
- prepaidAmount: z.ZodMiniOptional<z.ZodMiniObject<{
399
- currencyId: z.ZodMiniString<string>;
400
- value: z.ZodMiniNumber<number>;
401
- }, z.core.$strip>>;
402
- taxExclusiveAmount: z.ZodMiniObject<{
403
- currencyId: z.ZodMiniString<string>;
404
- value: z.ZodMiniNumber<number>;
405
- }, z.core.$strip>;
406
- taxInclusiveAmount: z.ZodMiniObject<{
407
- currencyId: z.ZodMiniString<string>;
408
- value: z.ZodMiniNumber<number>;
409
- }, z.core.$strip>;
410
- }, z.core.$strip>;
411
- dueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
412
- invoiceLines: z.ZodMiniArray<z.ZodMiniObject<{
413
- accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
414
- allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
415
- amount: z.ZodMiniObject<{
416
- currencyId: z.ZodMiniString<string>;
417
- value: z.ZodMiniNumber<number>;
418
- }, z.core.$strip>;
419
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
420
- currencyId: z.ZodMiniString<string>;
421
- value: z.ZodMiniNumber<number>;
422
- }, z.core.$strip>>;
423
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
424
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
425
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
426
- chargeIndicator: z.ZodMiniLiteral<false>;
427
- }, z.core.$strip>, z.ZodMiniObject<{
428
- amount: z.ZodMiniObject<{
429
- currencyId: z.ZodMiniString<string>;
430
- value: z.ZodMiniNumber<number>;
431
- }, z.core.$strip>;
432
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
433
- currencyId: z.ZodMiniString<string>;
434
- value: z.ZodMiniNumber<number>;
435
- }, z.core.$strip>>;
436
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
437
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
438
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
439
- chargeIndicator: z.ZodMiniLiteral<true>;
440
- }, z.core.$strip>], "chargeIndicator">>>;
441
- documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
442
- id: z.ZodMiniString<string>;
443
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
444
- documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
445
- }, z.core.$strip>>>;
446
- id: z.ZodMiniString<string>;
447
- invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
448
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
449
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
450
- }, z.core.$strip>>;
451
- item: z.ZodMiniObject<{
452
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
453
- name: z.ZodMiniString<string>;
454
- buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
455
- id: z.ZodMiniString<string>;
456
- }, z.core.$strip>>;
457
- sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
458
- id: z.ZodMiniString<string>;
459
- }, z.core.$strip>>;
460
- standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
461
- id: z.ZodMiniObject<{
462
- id: z.ZodMiniString<string>;
463
- schemeId: z.ZodMiniString<string>;
464
- }, z.core.$strip>;
465
- }, z.core.$strip>>;
466
- originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
467
- identificationCode: z.ZodMiniString<string>;
468
- }, z.core.$strip>>;
469
- commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
470
- itemClassification: z.ZodMiniObject<{
471
- id: z.ZodMiniString<string>;
472
- listId: z.ZodMiniString<string>;
473
- listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
474
- }, z.core.$strip>;
475
- }, z.core.$strip>>>;
476
- classifiedTaxCategory: z.ZodMiniObject<{
477
- id: z.ZodMiniString<string>;
478
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
479
- taxSchemeId: z.ZodMiniObject<{
480
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
481
- }, z.core.$strip>;
482
- }, z.core.$strip>;
483
- additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
484
- name: z.ZodMiniString<string>;
485
- value: z.ZodMiniString<string>;
486
- }, z.core.$strip>>>;
487
- }, z.core.$strip>;
488
- lineExtensionAmount: z.ZodMiniObject<{
489
- currencyId: z.ZodMiniString<string>;
490
- value: z.ZodMiniNumber<number>;
491
- }, z.core.$strip>;
492
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
493
- orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
494
- lineId: z.ZodMiniString<string>;
495
- }, z.core.$strip>>;
496
- price: z.ZodMiniObject<{
497
- allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
498
- amount: z.ZodMiniObject<{
499
- currencyId: z.ZodMiniString<string>;
500
- value: z.ZodMiniNumber<number>;
501
- }, z.core.$strip>;
502
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
503
- currencyId: z.ZodMiniString<string>;
504
- value: z.ZodMiniNumber<number>;
505
- }, z.core.$strip>>;
506
- chargeIndicator: z.ZodMiniLiteral<false>;
507
- }, z.core.$strip>>;
508
- baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
509
- unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
510
- value: z.ZodMiniNumber<number>;
511
- }, z.core.$strip>>;
512
- priceAmount: z.ZodMiniObject<{
513
- currencyId: z.ZodMiniString<string>;
514
- value: z.ZodMiniNumber<number>;
515
- }, z.core.$strip>;
516
- }, z.core.$strip>;
517
- invoicedQuantity: z.ZodMiniObject<{
518
- value: z.ZodMiniNumber<number>;
519
- unitCode: z.ZodMiniString<string>;
520
- }, z.core.$strip>;
521
- }, z.core.$strip>>;
522
- invoiceTypeCode: z.ZodMiniString<string>;
523
- projectReference: z.ZodMiniOptional<z.ZodMiniObject<{
524
- id: z.ZodMiniString<string>;
525
- }, z.core.$strip>>;
526
- }, z.core.$strip>, z.ZodMiniObject<{
527
- customizationId: z.ZodMiniDefault<z.ZodMiniString<string>>;
528
- profileId: z.ZodMiniDefault<z.ZodMiniString<string>>;
529
- id: z.ZodMiniString<string>;
530
- issueDate: z.ZodMiniISODate;
531
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
532
- taxPointDate: z.ZodMiniOptional<z.ZodMiniISODate>;
533
- documentCurrencyCode: z.ZodMiniString<string>;
534
- taxCurrencyCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
535
- accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
536
- buyerReference: z.ZodMiniOptional<z.ZodMiniString<string>>;
537
- invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
538
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
539
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
540
- descriptionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
541
- }, z.core.$strip>>;
542
- orderReference: z.ZodMiniOptional<z.ZodMiniObject<{
543
- id: z.ZodMiniString<string>;
544
- salesOrderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
545
- }, z.core.$strip>>;
546
- billingReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
547
- invoiceDocumentReference: z.ZodMiniObject<{
548
- id: z.ZodMiniString<string>;
549
- issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
550
- }, z.core.$strip>;
551
- }, z.core.$strip>>>;
552
- despatchDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
553
- id: z.ZodMiniString<string>;
554
- }, z.core.$strip>>;
555
- receiptDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
556
- id: z.ZodMiniString<string>;
557
- }, z.core.$strip>>;
558
- originatorDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
559
- id: z.ZodMiniString<string>;
560
- }, z.core.$strip>>;
561
- contractDocumentReference: z.ZodMiniOptional<z.ZodMiniObject<{
562
- id: z.ZodMiniString<string>;
563
- }, z.core.$strip>>;
564
- additionalDocumentReferences: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
565
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
566
- id: z.ZodMiniObject<{
567
- id: z.ZodMiniString<string>;
568
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
569
- }, z.core.$strip>;
570
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
571
- documentDescription: z.ZodMiniOptional<z.ZodMiniString<string>>;
572
- attachment: z.ZodMiniOptional<z.ZodMiniObject<{
573
- embeddedDocumentBinaryObject: z.ZodMiniOptional<z.ZodMiniObject<{
574
- content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
575
- mimeCode: z.ZodMiniString<string>;
576
- filename: z.ZodMiniString<string>;
577
- }, z.core.$strip>>;
578
- externalReference: z.ZodMiniOptional<z.ZodMiniObject<{
579
- uri: z.ZodMiniString<string>;
580
- }, z.core.$strip>>;
581
- }, z.core.$strip>>;
582
- }, z.core.$strip>>>;
583
- accountingSupplierParty: z.ZodMiniObject<{
584
- endpointId: z.ZodMiniObject<{
585
- id: z.ZodMiniString<string>;
586
- schemeId: z.ZodMiniString<string>;
587
- }, z.core.$strip>;
588
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
589
- id: z.ZodMiniObject<{
590
- id: z.ZodMiniString<string>;
591
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
592
- }, z.core.$strip>;
593
- }, z.core.$strip>>;
594
- partyName: z.ZodMiniOptional<z.ZodMiniObject<{
595
- name: z.ZodMiniString<string>;
596
- }, z.core.$strip>>;
597
- postalAddress: z.ZodMiniObject<{
598
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
599
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
600
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
601
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
602
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
603
- countryCode: z.ZodMiniObject<{
604
- identificationCode: z.ZodMiniString<string>;
605
- }, z.core.$strip>;
606
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
607
- line: z.ZodMiniString<string>;
608
- }, z.core.$strip>>;
609
- }, z.core.$strip>;
610
- partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
611
- companyId: z.ZodMiniString<string>;
612
- taxSchemeId: z.ZodMiniObject<{
613
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
614
- }, z.core.$strip>;
615
- }, z.core.$strip>>>;
616
- partyLegalEntity: z.ZodMiniObject<{
617
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
618
- id: z.ZodMiniString<string>;
619
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
620
- }, z.core.$strip>>;
621
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
622
- registrationName: z.ZodMiniString<string>;
623
- }, z.core.$strip>;
624
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
625
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
626
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
627
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
628
- }, z.core.$strip>>;
629
- }, z.core.$strip>;
630
- accountingCustomerParty: z.ZodMiniObject<{
631
- endpointId: z.ZodMiniObject<{
632
- id: z.ZodMiniString<string>;
633
- schemeId: z.ZodMiniString<string>;
634
- }, z.core.$strip>;
635
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
636
- id: z.ZodMiniObject<{
637
- id: z.ZodMiniString<string>;
638
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
639
- }, z.core.$strip>;
640
- }, z.core.$strip>>;
641
- partyName: z.ZodMiniOptional<z.ZodMiniObject<{
642
- name: z.ZodMiniString<string>;
643
- }, z.core.$strip>>;
644
- postalAddress: z.ZodMiniObject<{
645
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
646
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
647
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
648
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
649
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
650
- countryCode: z.ZodMiniObject<{
651
- identificationCode: z.ZodMiniString<string>;
652
- }, z.core.$strip>;
653
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
654
- line: z.ZodMiniString<string>;
655
- }, z.core.$strip>>;
656
- }, z.core.$strip>;
657
- partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
658
- companyId: z.ZodMiniString<string>;
659
- taxSchemeId: z.ZodMiniObject<{
660
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
661
- }, z.core.$strip>;
662
- }, z.core.$strip>>>;
663
- partyLegalEntity: z.ZodMiniObject<{
664
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
665
- id: z.ZodMiniString<string>;
666
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
667
- }, z.core.$strip>>;
668
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
669
- registrationName: z.ZodMiniString<string>;
670
- }, z.core.$strip>;
671
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
672
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
673
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
674
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
675
- }, z.core.$strip>>;
676
- }, z.core.$strip>;
677
- payeeParty: z.ZodMiniOptional<z.ZodMiniObject<{
678
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
679
- id: z.ZodMiniOptional<z.ZodMiniObject<{
680
- id: z.ZodMiniString<string>;
681
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
682
- }, z.core.$strip>>;
683
- }, z.core.$strip>>;
684
- partyLegalEntity: z.ZodMiniOptional<z.ZodMiniObject<{
685
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
686
- id: z.ZodMiniString<string>;
687
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
688
- }, z.core.$strip>>;
689
- }, z.core.$strip>>;
690
- partyName: z.ZodMiniObject<{
691
- name: z.ZodMiniString<string>;
692
- }, z.core.$strip>;
693
- }, z.core.$strip>>;
694
- taxRepresentativeParty: z.ZodMiniOptional<z.ZodMiniObject<{
695
- name: z.ZodMiniString<string>;
696
- postalAddress: z.ZodMiniObject<{
697
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
698
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
699
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
700
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
701
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
702
- countryCode: z.ZodMiniObject<{
703
- identificationCode: z.ZodMiniString<string>;
704
- }, z.core.$strip>;
705
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
706
- line: z.ZodMiniString<string>;
707
- }, z.core.$strip>>;
708
- }, z.core.$strip>;
709
- partyTaxScheme: z.ZodMiniObject<{
710
- companyId: z.ZodMiniString<string>;
711
- taxSchemeId: z.ZodMiniObject<{
712
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
713
- }, z.core.$strip>;
714
- }, z.core.$strip>;
715
- }, z.core.$strip>>;
716
- delivery: z.ZodMiniOptional<z.ZodMiniObject<{
717
- actualDeliveryDate: z.ZodMiniOptional<z.ZodMiniISODate>;
718
- deliveryLocation: z.ZodMiniOptional<z.ZodMiniObject<{
719
- id: z.ZodMiniOptional<z.ZodMiniObject<{
720
- id: z.ZodMiniString<string>;
721
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
722
- }, z.core.$strip>>;
723
- address: z.ZodMiniOptional<z.ZodMiniObject<{
724
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
725
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
726
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
727
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
728
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
729
- countryCode: z.ZodMiniObject<{
730
- identificationCode: z.ZodMiniString<string>;
731
- }, z.core.$strip>;
732
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
733
- line: z.ZodMiniString<string>;
734
- }, z.core.$strip>>;
735
- }, z.core.$strip>>;
736
- }, z.core.$strip>>;
737
- deliveryParty: z.ZodMiniOptional<z.ZodMiniObject<{
738
- partyName: z.ZodMiniObject<{
739
- name: z.ZodMiniString<string>;
740
- }, z.core.$strip>;
741
- }, z.core.$strip>>;
742
- }, z.core.$strip>>;
743
- paymentMeans: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
744
- paymentMeansCode: z.ZodMiniObject<{
745
- code: z.ZodMiniString<string>;
746
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
747
- }, z.core.$strip>;
748
- paymentDueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
749
- paymentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
750
- cardAccount: z.ZodMiniOptional<z.ZodMiniObject<{
751
- holderName: z.ZodMiniOptional<z.ZodMiniString<string>>;
752
- networkId: z.ZodMiniString<string>;
753
- primaryAccountNumberId: z.ZodMiniString<string>;
754
- }, z.core.$strip>>;
755
- payeeFinancialAccount: z.ZodMiniOptional<z.ZodMiniObject<{
756
- financialInstitutionBranch: z.ZodMiniOptional<z.ZodMiniObject<{
757
- id: z.ZodMiniString<string>;
758
- }, z.core.$strip>>;
759
- id: z.ZodMiniString<string>;
760
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
761
- }, z.core.$strip>>;
762
- paymentMandate: z.ZodMiniOptional<z.ZodMiniObject<{
763
- id: z.ZodMiniOptional<z.ZodMiniString<string>>;
764
- payerFinancialAccountId: z.ZodMiniOptional<z.ZodMiniObject<{
765
- id: z.ZodMiniString<string>;
766
- }, z.core.$strip>>;
767
- }, z.core.$strip>>;
768
- }, z.core.$strip>>>;
769
- paymentTerms: z.ZodMiniOptional<z.ZodMiniObject<{
770
- note: z.ZodMiniString<string>;
771
- }, z.core.$strip>>;
772
- allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
773
- amount: z.ZodMiniObject<{
774
- currencyId: z.ZodMiniString<string>;
775
- value: z.ZodMiniNumber<number>;
776
- }, z.core.$strip>;
777
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
778
- currencyId: z.ZodMiniString<string>;
779
- value: z.ZodMiniNumber<number>;
780
- }, z.core.$strip>>;
781
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
782
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
783
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
784
- id: z.ZodMiniString<string>;
785
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
786
- taxSchemeId: z.ZodMiniObject<{
787
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
788
- }, z.core.$strip>;
789
- }, z.core.$strip>>;
790
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
791
- chargeIndicator: z.ZodMiniLiteral<false>;
792
- }, z.core.$strip>, z.ZodMiniObject<{
793
- amount: z.ZodMiniObject<{
794
- currencyId: z.ZodMiniString<string>;
795
- value: z.ZodMiniNumber<number>;
796
- }, z.core.$strip>;
797
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
798
- currencyId: z.ZodMiniString<string>;
799
- value: z.ZodMiniNumber<number>;
800
- }, z.core.$strip>>;
801
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
802
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
803
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
804
- id: z.ZodMiniString<string>;
805
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
806
- taxSchemeId: z.ZodMiniObject<{
807
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
808
- }, z.core.$strip>;
809
- }, z.core.$strip>>;
810
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
811
- chargeIndicator: z.ZodMiniLiteral<true>;
812
- }, z.core.$strip>], "chargeIndicator">>>;
813
- taxTotals: z.ZodMiniArray<z.ZodMiniObject<{
814
- taxAmount: z.ZodMiniObject<{
815
- currencyId: z.ZodMiniString<string>;
816
- value: z.ZodMiniNumber<number>;
817
- }, z.core.$strip>;
818
- taxSubtotals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
819
- taxAmount: z.ZodMiniObject<{
820
- currencyId: z.ZodMiniString<string>;
821
- value: z.ZodMiniNumber<number>;
822
- }, z.core.$strip>;
823
- taxCategory: z.ZodMiniObject<{
824
- id: z.ZodMiniString<string>;
825
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
826
- taxSchemeId: z.ZodMiniObject<{
827
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
828
- }, z.core.$strip>;
829
- taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
830
- taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
831
- }, z.core.$strip>;
832
- taxableAmount: z.ZodMiniObject<{
833
- currencyId: z.ZodMiniString<string>;
834
- value: z.ZodMiniNumber<number>;
835
- }, z.core.$strip>;
836
- }, z.core.$strip>>>;
837
- }, z.core.$strip>>;
838
- legalMonetaryTotal: z.ZodMiniObject<{
839
- allowanceTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
840
- currencyId: z.ZodMiniString<string>;
841
- value: z.ZodMiniNumber<number>;
842
- }, z.core.$strip>>;
843
- chargeTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
844
- currencyId: z.ZodMiniString<string>;
845
- value: z.ZodMiniNumber<number>;
846
- }, z.core.$strip>>;
847
- lineExtensionAmount: z.ZodMiniObject<{
848
- currencyId: z.ZodMiniString<string>;
849
- value: z.ZodMiniNumber<number>;
850
- }, z.core.$strip>;
851
- payableAmount: z.ZodMiniObject<{
852
- currencyId: z.ZodMiniString<string>;
853
- value: z.ZodMiniNumber<number>;
854
- }, z.core.$strip>;
855
- payableRoundingAmount: z.ZodMiniOptional<z.ZodMiniObject<{
856
- currencyId: z.ZodMiniString<string>;
857
- value: z.ZodMiniNumber<number>;
858
- }, z.core.$strip>>;
859
- prepaidAmount: z.ZodMiniOptional<z.ZodMiniObject<{
860
- currencyId: z.ZodMiniString<string>;
861
- value: z.ZodMiniNumber<number>;
862
- }, z.core.$strip>>;
863
- taxExclusiveAmount: z.ZodMiniObject<{
864
- currencyId: z.ZodMiniString<string>;
865
- value: z.ZodMiniNumber<number>;
866
- }, z.core.$strip>;
867
- taxInclusiveAmount: z.ZodMiniObject<{
868
- currencyId: z.ZodMiniString<string>;
869
- value: z.ZodMiniNumber<number>;
870
- }, z.core.$strip>;
871
- }, z.core.$strip>;
872
- creditNoteLines: z.ZodMiniArray<z.ZodMiniObject<{
873
- accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
874
- allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
875
- amount: z.ZodMiniObject<{
876
- currencyId: z.ZodMiniString<string>;
877
- value: z.ZodMiniNumber<number>;
878
- }, z.core.$strip>;
879
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
880
- currencyId: z.ZodMiniString<string>;
881
- value: z.ZodMiniNumber<number>;
882
- }, z.core.$strip>>;
883
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
884
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
885
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
886
- chargeIndicator: z.ZodMiniLiteral<false>;
887
- }, z.core.$strip>, z.ZodMiniObject<{
888
- amount: z.ZodMiniObject<{
889
- currencyId: z.ZodMiniString<string>;
890
- value: z.ZodMiniNumber<number>;
891
- }, z.core.$strip>;
892
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
893
- currencyId: z.ZodMiniString<string>;
894
- value: z.ZodMiniNumber<number>;
895
- }, z.core.$strip>>;
896
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
897
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
898
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
899
- chargeIndicator: z.ZodMiniLiteral<true>;
900
- }, z.core.$strip>], "chargeIndicator">>>;
901
- documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
902
- id: z.ZodMiniString<string>;
903
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
904
- documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
905
- }, z.core.$strip>>>;
906
- id: z.ZodMiniString<string>;
907
- invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
908
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
909
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
910
- }, z.core.$strip>>;
911
- item: z.ZodMiniObject<{
912
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
913
- name: z.ZodMiniString<string>;
914
- buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
915
- id: z.ZodMiniString<string>;
916
- }, z.core.$strip>>;
917
- sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
918
- id: z.ZodMiniString<string>;
919
- }, z.core.$strip>>;
920
- standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
921
- id: z.ZodMiniObject<{
922
- id: z.ZodMiniString<string>;
923
- schemeId: z.ZodMiniString<string>;
924
- }, z.core.$strip>;
925
- }, z.core.$strip>>;
926
- originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
927
- identificationCode: z.ZodMiniString<string>;
928
- }, z.core.$strip>>;
929
- commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
930
- itemClassification: z.ZodMiniObject<{
931
- id: z.ZodMiniString<string>;
932
- listId: z.ZodMiniString<string>;
933
- listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
934
- }, z.core.$strip>;
935
- }, z.core.$strip>>>;
936
- classifiedTaxCategory: z.ZodMiniObject<{
937
- id: z.ZodMiniString<string>;
938
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
939
- taxSchemeId: z.ZodMiniObject<{
940
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
941
- }, z.core.$strip>;
942
- }, z.core.$strip>;
943
- additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
944
- name: z.ZodMiniString<string>;
945
- value: z.ZodMiniString<string>;
946
- }, z.core.$strip>>>;
947
- }, z.core.$strip>;
948
- lineExtensionAmount: z.ZodMiniObject<{
949
- currencyId: z.ZodMiniString<string>;
950
- value: z.ZodMiniNumber<number>;
951
- }, z.core.$strip>;
952
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
953
- orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
954
- lineId: z.ZodMiniString<string>;
955
- }, z.core.$strip>>;
956
- price: z.ZodMiniObject<{
957
- allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
958
- amount: z.ZodMiniObject<{
959
- currencyId: z.ZodMiniString<string>;
960
- value: z.ZodMiniNumber<number>;
961
- }, z.core.$strip>;
962
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
963
- currencyId: z.ZodMiniString<string>;
964
- value: z.ZodMiniNumber<number>;
965
- }, z.core.$strip>>;
966
- chargeIndicator: z.ZodMiniLiteral<false>;
967
- }, z.core.$strip>>;
968
- baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
969
- unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
970
- value: z.ZodMiniNumber<number>;
971
- }, z.core.$strip>>;
972
- priceAmount: z.ZodMiniObject<{
973
- currencyId: z.ZodMiniString<string>;
974
- value: z.ZodMiniNumber<number>;
975
- }, z.core.$strip>;
976
- }, z.core.$strip>;
977
- creditedQuantity: z.ZodMiniObject<{
978
- value: z.ZodMiniNumber<number>;
979
- unitCode: z.ZodMiniString<string>;
980
- }, z.core.$strip>;
981
- }, z.core.$strip>>;
982
- creditNoteTypeCode: z.ZodMiniString<string>;
983
- }, z.core.$strip>, z.ZodMiniObject<{
984
- customizationId: z.ZodMiniString<string>;
985
- profileId: z.ZodMiniLiteral<"urn:fdc:peppol.eu:poacc:bis:mlr:3">;
986
- id: z.ZodMiniString<string>;
987
- issueDate: z.ZodMiniISODate;
988
- issueTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
989
- senderParty: z.ZodMiniObject<{
990
- endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
991
- id: z.ZodMiniString<string>;
992
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
993
- }, z.core.$strip>>;
994
- }, z.core.$strip>;
995
- receiverParty: z.ZodMiniObject<{
996
- endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
997
- id: z.ZodMiniString<string>;
998
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
999
- }, z.core.$strip>>;
1000
- }, z.core.$strip>;
1001
- documentResponse: z.ZodMiniObject<{
1002
- response: z.ZodMiniObject<{
1003
- responseCode: z.ZodMiniString<string>;
1004
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1005
- }, z.core.$strip>;
1006
- documentReference: z.ZodMiniObject<{
1007
- id: z.ZodMiniString<string>;
1008
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1009
- versionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1010
- }, z.core.$strip>;
1011
- lineResponse: z.ZodMiniArray<z.ZodMiniObject<{
1012
- lineReference: z.ZodMiniObject<{
1013
- lineId: z.ZodMiniString<string>;
1014
- }, z.core.$strip>;
1015
- response: z.ZodMiniObject<{
1016
- responseCode: z.ZodMiniString<string>;
1017
- description: z.ZodMiniString<string>;
1018
- status: z.ZodMiniObject<{
1019
- statusReasonCode: z.ZodMiniEnum<{
1020
- BV: "BV";
1021
- BW: "BW";
1022
- SV: "SV";
1023
- }>;
1024
- }, z.core.$strip>;
1025
- }, z.core.$strip>;
1026
- }, z.core.$strip>>;
1027
- }, z.core.$strip>;
1028
- }, z.core.$strip>, z.ZodMiniObject<{
1029
- customizationId: z.ZodMiniString<string>;
1030
- id: z.ZodMiniString<string>;
1031
- issueDate: z.ZodMiniISODate;
1032
- issueTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
1033
- profileId: z.ZodMiniLiteral<"urn:fdc:peppol.eu:poacc:bis:invoice_response:3">;
1034
- senderParty: z.ZodMiniObject<{
1035
- endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
1036
- id: z.ZodMiniString<string>;
1037
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1038
- }, z.core.$strip>>;
1039
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1040
- id: z.ZodMiniString<string>;
1041
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1042
- }, z.core.$strip>>;
1043
- partyLegalEntity: z.ZodMiniObject<{
1044
- registrationName: z.ZodMiniString<string>;
1045
- }, z.core.$strip>;
1046
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
1047
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
1048
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
1049
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
1050
- }, z.core.$strip>>;
1051
- }, z.core.$strip>;
1052
- receiverParty: z.ZodMiniObject<{
1053
- endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
1054
- id: z.ZodMiniString<string>;
1055
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1056
- }, z.core.$strip>>;
1057
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1058
- id: z.ZodMiniString<string>;
1059
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1060
- }, z.core.$strip>>;
1061
- partyLegalEntity: z.ZodMiniObject<{
1062
- registrationName: z.ZodMiniString<string>;
1063
- }, z.core.$strip>;
1064
- }, z.core.$strip>;
1065
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
1066
- documentResponse: z.ZodMiniObject<{
1067
- response: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1068
- responseCode: z.ZodMiniEnum<{
1069
- CA: "CA";
1070
- RE: "RE";
1071
- UQ: "UQ";
1072
- }>;
1073
- effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
1074
- status: z.ZodMiniArray<z.ZodMiniObject<{
1075
- statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1076
- value: z.ZodMiniString<string>;
1077
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1078
- }, z.core.$strip>, z.ZodMiniObject<{
1079
- value: z.ZodMiniString<string>;
1080
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1081
- }, z.core.$strip>], "listId">>;
1082
- statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1083
- condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1084
- attributeId: z.ZodMiniString<string>;
1085
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1086
- }, z.core.$strip>>>;
1087
- }, z.core.$strip>>;
1088
- }, z.core.$strip>, z.ZodMiniObject<{
1089
- responseCode: z.ZodMiniEnum<{
1090
- AB: "AB";
1091
- AP: "AP";
1092
- IP: "IP";
1093
- PD: "PD";
1094
- }>;
1095
- effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
1096
- status: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1097
- statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1098
- value: z.ZodMiniString<string>;
1099
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1100
- }, z.core.$strip>, z.ZodMiniObject<{
1101
- value: z.ZodMiniString<string>;
1102
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1103
- }, z.core.$strip>], "listId">>;
1104
- statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1105
- condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1106
- attributeId: z.ZodMiniString<string>;
1107
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1108
- }, z.core.$strip>>>;
1109
- }, z.core.$strip>>>;
1110
- }, z.core.$strip>], "responseCode">;
1111
- documentReference: z.ZodMiniObject<{
1112
- id: z.ZodMiniString<string>;
1113
- issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
1114
- documentTypeCode: z.ZodMiniString<string>;
1115
- }, z.core.$strip>;
1116
- issuerParty: z.ZodMiniOptional<z.ZodMiniObject<{
1117
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1118
- id: z.ZodMiniString<string>;
1119
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1120
- }, z.core.$strip>>;
1121
- partyName: z.ZodMiniObject<{
1122
- name: z.ZodMiniString<string>;
1123
- }, z.core.$strip>;
1124
- }, z.core.$strip>>;
1125
- recipientParty: z.ZodMiniOptional<z.ZodMiniObject<{
1126
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1127
- id: z.ZodMiniString<string>;
1128
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1129
- }, z.core.$strip>>;
1130
- partyName: z.ZodMiniObject<{
1131
- name: z.ZodMiniString<string>;
1132
- }, z.core.$strip>;
1133
- }, z.core.$strip>>;
1134
- }, z.core.$strip>;
1135
- }, z.core.$strip>]>>;
1136
- //#endregion
1137
- //#region src/schemas/document-response-document-reference-schema.d.ts
1138
- export declare const documentResponseDocumentReferenceSchema: z.ZodMiniObject<{
1139
- id: z.ZodMiniString<string>;
1140
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1141
- versionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1142
- }, z.core.$strip>;
1143
- export type PeppolMessageLevelDocumentResponseDocumentReference = z.infer<typeof documentResponseDocumentReferenceSchema>;
1144
- //#endregion
1145
- //#region src/schemas/document-response-document-schema.d.ts
1146
- /**
1147
- * @summary Response information
1148
- *
1149
- * @name `cac:Response`
1150
- *
1151
- * @cardinality (1..1)
1152
- *
1153
- * @see {@link messageLevelResponseDocumentResponseSchema}
1154
- */
1155
- export declare const documentResponseDocumentSchema: z.ZodMiniObject<{
1156
- responseCode: z.ZodMiniString<string>;
1157
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1158
- }, z.core.$strip>;
1159
- export type PeppolMessageLevelResponseDocumentResponseDocument = z.infer<typeof documentResponseDocumentSchema>;
1160
- //#endregion
1161
- //#region src/schemas/document-response-line-response-schema.d.ts
1162
- export declare const documentResponseLineResponseSchema: z.ZodMiniObject<{
1163
- lineReference: z.ZodMiniObject<{
1164
- lineId: z.ZodMiniString<string>;
1165
- }, z.core.$strip>;
1166
- response: z.ZodMiniObject<{
1167
- responseCode: z.ZodMiniString<string>;
1168
- description: z.ZodMiniString<string>;
1169
- status: z.ZodMiniObject<{
1170
- statusReasonCode: z.ZodMiniEnum<{
1171
- BV: "BV";
1172
- BW: "BW";
1173
- SV: "SV";
1174
- }>;
1175
- }, z.core.$strip>;
1176
- }, z.core.$strip>;
1177
- }, z.core.$strip>;
1178
- export type PeppolMessageLevelDocumentResponseLineResponse = z.infer<typeof documentResponseLineResponseSchema>;
1179
- //#endregion
1180
- //#region src/schemas/document-response-line-response-content.d.ts
1181
- export declare const documentResponseLineResponseContent: z.ZodMiniObject<{
1182
- responseCode: z.ZodMiniString<string>;
1183
- description: z.ZodMiniString<string>;
1184
- status: z.ZodMiniObject<{
1185
- statusReasonCode: z.ZodMiniEnum<{
1186
- BV: "BV";
1187
- BW: "BW";
1188
- SV: "SV";
1189
- }>;
1190
- }, z.core.$strip>;
1191
- }, z.core.$strip>;
1192
- export type DocumentResponseLineResponseContent = z.infer<typeof documentResponseLineResponseContent>;
1193
- //#endregion
1194
- //#region src/schemas/invoice-response-document-actual-response-status.d.ts
1195
- declare const invoiceResponseCondition: z.ZodMiniObject<{
1196
- attributeId: z.ZodMiniString<string>;
1197
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1198
- }, z.core.$strip>;
1199
- export type InvoiceResponseCondition = z.infer<typeof invoiceResponseCondition>;
1200
- export declare const invoiceReponseDocumentActualResponseStatus: z.ZodMiniObject<{
1201
- statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1202
- value: z.ZodMiniString<string>;
1203
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1204
- }, z.core.$strip>, z.ZodMiniObject<{
1205
- value: z.ZodMiniString<string>;
1206
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1207
- }, z.core.$strip>], "listId">>;
1208
- statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1209
- condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1210
- attributeId: z.ZodMiniString<string>;
1211
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1212
- }, z.core.$strip>>>;
1213
- }, z.core.$strip>;
1214
- export type InvoiceReponseDocumentActualResponseStatus = z.infer<typeof invoiceReponseDocumentActualResponseStatus>;
1215
- //#endregion
1216
- //#region src/schemas/invoice-response-document-actual-response.d.ts
1217
- export declare const invoiceResponseDocumentActualResponse: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1218
- responseCode: z.ZodMiniEnum<{
1219
- CA: "CA";
1220
- RE: "RE";
1221
- UQ: "UQ";
1222
- }>;
1223
- effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
1224
- status: z.ZodMiniArray<z.ZodMiniObject<{
1225
- statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1226
- value: z.ZodMiniString<string>;
1227
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1228
- }, z.core.$strip>, z.ZodMiniObject<{
1229
- value: z.ZodMiniString<string>;
1230
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1231
- }, z.core.$strip>], "listId">>;
1232
- statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1233
- condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1234
- attributeId: z.ZodMiniString<string>;
1235
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1236
- }, z.core.$strip>>>;
1237
- }, z.core.$strip>>;
1238
- }, z.core.$strip>, z.ZodMiniObject<{
1239
- responseCode: z.ZodMiniEnum<{
1240
- AB: "AB";
1241
- AP: "AP";
1242
- IP: "IP";
1243
- PD: "PD";
1244
- }>;
1245
- effectiveDate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniISODate, z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>]>>;
1246
- status: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1247
- statusReasonCode: z.ZodMiniOptional<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1248
- value: z.ZodMiniString<string>;
1249
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1250
- }, z.core.$strip>, z.ZodMiniObject<{
1251
- value: z.ZodMiniString<string>;
1252
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1253
- }, z.core.$strip>], "listId">>;
1254
- statusReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1255
- condition: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1256
- attributeId: z.ZodMiniString<string>;
1257
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1258
- }, z.core.$strip>>>;
1259
- }, z.core.$strip>>>;
1260
- }, z.core.$strip>], "responseCode">;
1261
- export type InvoiceResponseDocumentActualResponse = z.infer<typeof invoiceResponseDocumentActualResponse>;
1262
- //#endregion
1263
- //#region src/schemas/invoice-response-status-reason-code.d.ts
1264
- export declare const invoiceResponseStatusReasonCode: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1265
- value: z.ZodMiniString<string>;
1266
- listId: z.ZodMiniLiteral<"OPStatusAction">;
1267
- }, z.core.$strip>, z.ZodMiniObject<{
1268
- value: z.ZodMiniString<string>;
1269
- listId: z.ZodMiniLiteral<"OPStatusReason">;
1270
- }, z.core.$strip>], "listId">;
1271
- export type InvoiceResponseStatusReasonCode = z.infer<typeof invoiceResponseStatusReasonCode>;
1272
- //#endregion
1273
- //#region src/schemas/message-level-response-document-response-schema.d.ts
1274
- export declare const messageLevelResponseDocumentResponseSchema: z.ZodMiniObject<{
1275
- response: z.ZodMiniObject<{
1276
- responseCode: z.ZodMiniString<string>;
1277
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1278
- }, z.core.$strip>;
1279
- documentReference: z.ZodMiniObject<{
1280
- id: z.ZodMiniString<string>;
1281
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1282
- versionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1283
- }, z.core.$strip>;
1284
- lineResponse: z.ZodMiniArray<z.ZodMiniObject<{
1285
- lineReference: z.ZodMiniObject<{
1286
- lineId: z.ZodMiniString<string>;
1287
- }, z.core.$strip>;
1288
- response: z.ZodMiniObject<{
1289
- responseCode: z.ZodMiniString<string>;
1290
- description: z.ZodMiniString<string>;
1291
- status: z.ZodMiniObject<{
1292
- statusReasonCode: z.ZodMiniEnum<{
1293
- BV: "BV";
1294
- BW: "BW";
1295
- SV: "SV";
1296
- }>;
1297
- }, z.core.$strip>;
1298
- }, z.core.$strip>;
1299
- }, z.core.$strip>>;
1300
- }, z.core.$strip>;
1301
- export type PeppolMessageLevelMessageLevelResponseDocumentResponse = z.infer<typeof messageLevelResponseDocumentResponseSchema>;
1302
- //#endregion
1303
- //#region src/schemas/message-level-response-party-schema.d.ts
1304
- export declare const messageLevelResponsePartySchema: z.ZodMiniObject<{
1305
- endpointId: z.ZodMiniOptional<z.ZodMiniObject<{
1306
- id: z.ZodMiniString<string>;
1307
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1308
- }, z.core.$strip>>;
1309
- }, z.core.$strip>;
1310
- export type PeppolMessageLevelResponseParty = z.infer<typeof messageLevelResponsePartySchema>;
1311
- //#endregion
1312
- //#region src/schemas/values/additional-document-reference-code.d.ts
1313
- /**
1314
- * @description Additional document reference.
1315
- *
1316
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1153/
1317
- * @see {@link additionalDocumentReferenceCodesKeys}
1318
- */
1319
- export type PeppolAdditionalDocumentReferenceCode = AdditionalDocumentReferenceCodesKeys;
1320
- /**
1321
- * @description Validates an additional document reference code against the PEPPOL subset of UNCL 1153 (reference qualifiers).
1322
- *
1323
- * @param error - The custom error message to use when validation fails. Defaults to Zod's generic message.
1324
- *
1325
- * @returns A Zod string schema that accepts only valid additional document reference codes.
1326
- *
1327
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1153/
1328
- * @see {@link additionalDocumentReferenceCodesKeys}
1329
- */
1330
- export declare function additionalDocumentReferenceCodeSchema(error?: string): z.ZodMiniString<string>;
1331
- //#endregion
1332
- //#region src/schemas/values/allowance-charge-reason-code.d.ts
1333
- /**
1334
- * @description An allowance or charge reason code as defined by the PEPPOL subset of UNCL 5189.
1335
- *
1336
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5189/
1337
- */
1338
- export type PeppolAllowanceChargeReasonCode = AllowanceChargeReasonCodesKeys;
1339
- /**
1340
- * @description Validates an allowance or charge reason code against the PEPPOL subset of UNCL 5189 (D.16B).
1341
- *
1342
- * @param error - The custom error message to use when validation fails.
1343
- *
1344
- * @returns A Zod string schema that accepts only valid allowance/charge reason codes.
1345
- *
1346
- * @validations
1347
- * - PEPPOL-EN16931-CL002: Document allowance reason code MUST be according to the subset of UNCL 5189 D.16B.
1348
- *
1349
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5189/
1350
- */
1351
- export declare function allowanceChargeReasonCodeSchema(error?: string): z.ZodMiniString<string>;
1352
- //#endregion
1353
- //#region src/schemas/values/application-response-type-codes.d.ts
1354
- /**
1355
- * @description An application response type code as defined by the PEPPOL subset of UNCL 4343.
1356
- *
1357
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4343/
1358
- */
1359
- export type PeppolApplicationResponseTypeCode = ApplicationResponseTypeCodesKeys;
1360
- /**
1361
- * @description Validates an application response type code against the PEPPOL subset of UNCL 4343.
1362
- *
1363
- * @param error - The custom error message to use when validation fails.
1364
- *
1365
- * @returns A Zod string schema that accepts only valid application response type codes.
1366
- *
1367
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4343/
1368
- */
1369
- export declare function applicationResponseTypeCodeSchema(error?: string): z.ZodMiniString<string>;
1370
- //#endregion
1371
- //#region src/schemas/values/charge-reason-code.d.ts
1372
- /**
1373
- * @description A charge reason code as defined by the PEPPOL subset of UNCL 7161.
1374
- *
1375
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7161/
1376
- */
1377
- export type PeppolChargeReasonCode = ChargeReasonCodesKeys;
1378
- /**
1379
- * @description Validates a charge reason code against the PEPPOL subset of UNCL 7161 (D.16B).
1380
- *
1381
- * @param error - The custom error message to use when validation fails.
1382
- *
1383
- * @returns A Zod string schema that accepts only valid charge reason codes.
1384
- *
1385
- * @validations
1386
- * - PEPPOL-EN16931-CL003: Charge reason code MUST be according to UNCL 7161 D.16B.
1387
- *
1388
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7161/
1389
- */
1390
- export declare function chargeReasonCodeSchema(error?: string): z.ZodMiniString<string>;
1391
- //#endregion
1392
- //#region src/schemas/values/country-code.d.ts
1393
- /**
1394
- * @description An ISO 3166-1 alpha-2 country code as defined by the PEPPOL subset.
1395
- *
1396
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/
1397
- */
1398
- export type PeppolCountryCode = CountryCodesKeys;
1399
- /**
1400
- * @description Validates a two character ISO 3166-1 alpha-2 country code against the PEPPOL codelist.
1401
- *
1402
- * @returns A Zod string schema that accepts only valid country codes.
1403
- *
1404
- * @validations
1405
- * - BR-CL-14 / BR-CL-15: Country code MUST be a valid ISO 3166-1 alpha-2 code.
1406
- *
1407
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/
1408
- */
1409
- export declare const countryCodeSchema: z.ZodMiniString<string>;
1410
- //#endregion
1411
- //#region src/schemas/values/currency-codes.d.ts
1412
- /**
1413
- * @description An ISO 4217 currency code as defined by the PEPPOL subset.
1414
- *
1415
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/
1416
- */
1417
- export type PeppolCurrencyCode = CurrencyCodesKeys;
1418
- /**
1419
- * @description Validates an ISO 4217 currency code against the PEPPOL codelist.
1420
- *
1421
- * @param error - The custom error message to use when validation fails.
1422
- *
1423
- * @returns A Zod string schema that accepts only valid currency codes.
1424
- *
1425
- * @validations
1426
- * - PEPPOL-EN16931-CL007: Currency codes MUST be valid ISO 4217 codes.
1427
- *
1428
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/
1429
- */
1430
- export declare function currencyCodeSchema(error?: string): z.ZodMiniString<string>;
1431
- //#endregion
1432
- //#region src/schemas/values/document-type-codes.d.ts
1433
- /**
1434
- * @description A document type code as defined by the PEPPOL subset of UNCL 1001 (document/message name code).
1435
- *
1436
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001/
1437
- */
1438
- export type PeppolDocumentTypeCode = DocumentTypeCodesKeys;
1439
- /**
1440
- * @description Validates a document type code against the PEPPOL subset of UNCL 1001.
1441
- *
1442
- * @param error - The custom error message to use when validation fails.
1443
- *
1444
- * @returns A Zod string schema that accepts only valid document type codes.
1445
- *
1446
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001/
1447
- */
1448
- export declare function documentTypeCodeSchema(error?: string): z.ZodMiniString<string>;
1449
- //#endregion
1450
- //#region src/schemas/values/document-type-schema.d.ts
1451
- /**
1452
- * @description One of the PEPPOL document type schemes (e.g. `busdox-docid-qns`, `peppol-doctype-wildcard`).
1453
- *
1454
- * @see {@link documentTypesTable}
1455
- */
1456
- export type PeppolDocumentType = `${DocumentTypesTableKeys}::${string}`;
1457
- /**
1458
- * @description Validates a full PEPPOL document type identifier (`<scheme>::<root>::…`) against the known document type table.
1459
- *
1460
- * @param error - The custom error message to use when validation fails. Defaults to `'invalid peppol document type'`.
1461
- *
1462
- * @returns A Zod template-literal schema that matches a valid `scheme::value` document type identifier.
1463
- *
1464
- * @see {@link documentTypesTable}
1465
- */
1466
- export declare function documentTypeSchema(error?: string): z.ZodMiniTemplateLiteral<`busdox-docid-qns::${string}` | `peppol-doctype-wildcard::${string}`>;
1467
- //#endregion
1468
- //#region src/schemas/values/document-type-schemes-schema.d.ts
1469
- /**
1470
- * @description Validates a PEPPOL document type scheme (e.g. `busdox-docid-qns`, `peppol-doctype-wildcard`).
1471
- *
1472
- * @param error - The error message to use when validation fails. Defaults to `'invalid Peppol document type scheme'`.
1473
- *
1474
- * @returns A Zod string schema that accepts only valid document type schemes.
1475
- *
1476
- * @see {@link documentTypesScheme}
1477
- */
1478
- export declare function documentTypeSchemesSchema(error?: string): z.ZodMiniString<string>;
1479
- //#endregion
1480
- //#region src/schemas/values/document-type-values-schema.d.ts
1481
- /**
1482
- * @description Validates the value part of a PEPPOL document type identifier (the portion after the scheme prefix) against the known document type table.
1483
- *
1484
- * @param error - The error message to use when validation fails. Defaults to `'invalid Peppol document type value'`.
1485
- *
1486
- * @returns A Zod string schema that accepts only valid document type values.
1487
- *
1488
- * @see {@link documentTypesTable}
1489
- */
1490
- export declare function documentTypeValuesSchema(error?: string): z.ZodMiniString<string>;
1491
- //#endregion
1492
- //#region src/schemas/values/duty-tax-fee-cateogries.d.ts
1493
- /**
1494
- * @description A duty, tax or fee category code as defined by the PEPPOL subset of UNCL 5305 (VAT category code).
1495
- *
1496
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5305/
1497
- */
1498
- export type PeppolDutyTaxFeeCategoryCode = DutyTaxFeeCategoriesKeys;
1499
- /**
1500
- * @description Validates a duty, tax or fee category code against the PEPPOL subset of UNCL 5305 (VAT category code).
1501
- *
1502
- * @param error - The custom error message to use when validation fails.
1503
- *
1504
- * @returns A Zod string schema that accepts only valid duty/tax/fee category codes.
1505
- *
1506
- * @validations
1507
- * - BR-CL-17 / BR-CL-18: VAT category code MUST be a valid UNCL 5305 code.
1508
- *
1509
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL5305/
1510
- */
1511
- export declare function dutyTaxFeeCategorySchema(error?: string): z.ZodMiniString<string>;
1512
- //#endregion
1513
- //#region src/schemas/values/eas-codes.d.ts
1514
- /**
1515
- * @description An electronic address scheme (EAS) code, identifying the scheme of an electronic address (e.g. `0088` for GLN).
1516
- *
1517
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/
1518
- */
1519
- export type PeppolElectronicAddressCode = ElectronicAddressCodesKeys;
1520
- /**
1521
- * @description Validates an electronic address scheme (EAS) code against the PEPPOL Electronic Address Identifier Scheme codelist.
1522
- *
1523
- * @param error - The custom error message to use when validation fails.
1524
- *
1525
- * @returns A Zod string schema that accepts only valid electronic address scheme codes.
1526
- *
1527
- * @validations
1528
- * - PEPPOL-EN16931-CL008: Electronic address identifier scheme MUST be from the codelist "Electronic Address Identifier Scheme".
1529
- *
1530
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/
1531
- */
1532
- export declare function electronicCodesSchema(error?: string): z.ZodMiniString<string>;
1533
- //#endregion
1534
- //#region src/schemas/values/icd-codes.d.ts
1535
- /**
1536
- * @description An ISO 6523 ICD (International Code Designator) code identifying an identifier scheme.
1537
- *
1538
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ICD/
1539
- */
1540
- export type PeppolIcdCode = IcdCodesKeys;
1541
- /**
1542
- * @description Validates an ISO 6523 ICD code against the PEPPOL codelist.
1543
- *
1544
- * @param error - The custom error message to use when validation fails. Defaults to `'Invalid ICD code provided'`.
1545
- *
1546
- * @returns A Zod string schema that accepts only valid ICD codes.
1547
- *
1548
- * @validations
1549
- * - BR-CL-10 / BR-CL-11 / BR-CL-21: Identifier scheme MUST be a valid ISO 6523 ICD code.
1550
- *
1551
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/ICD/
1552
- */
1553
- export declare function icdCodesSchema(error?: string): z.ZodMiniString<string>;
1554
- //#endregion
1555
- //#region src/schemas/values/invoice-status-codes.d.ts
1556
- /**
1557
- * @description An invoice status code as defined by the PEPPOL subset of UNCL 4343 (T111).
1558
- *
1559
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4343-T111/
1560
- */
1561
- export type PeppolInvoiceStatusCodes = InvoiceStatusCodesKeys;
1562
- /**
1563
- * @description Validates an invoice status code against the PEPPOL subset of UNCL 4343 (T111).
1564
- *
1565
- * @param error - The custom error message to use when validation fails.
1566
- *
1567
- * @returns A Zod string schema that accepts only valid invoice status codes.
1568
- *
1569
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4343-T111/
1570
- */
1571
- export declare function invoiceStatusCodeSchema(error?: string): z.ZodMiniString<string>;
1572
- //#endregion
1573
- //#region src/schemas/values/item-classification-code-schema.d.ts
1574
- /**
1575
- * @description An item classification code as defined by the PEPPOL subset of UNCL 7143.
1576
- *
1577
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7143/
1578
- */
1579
- export type PeppolItemClassificationCode = ItemClassificationCodesKeys;
1580
- /**
1581
- * @description Validates an item classification code against the PEPPOL subset of UNCL 7143.
1582
- *
1583
- * @param error - The custom error message to use when validation fails.
1584
- *
1585
- * @returns A Zod string schema that accepts only valid item classification codes.
1586
- *
1587
- * @validations
1588
- * - BR-CL-13: Item classification scheme MUST be a valid UNTDID 7143 code.
1589
- *
1590
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL7143/
1591
- */
1592
- export declare function itemClassificationCodesSchema(error?: string): z.ZodMiniString<string>;
1593
- //#endregion
1594
- //#region src/schemas/values/mime-code.d.ts
1595
- /**
1596
- * @description A MIME media type code (e.g. `application/pdf`) as used for attached documents.
1597
- *
1598
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/MimeCode/
1599
- */
1600
- export type PeppolMimeCode = MimeCodesKeys;
1601
- /**
1602
- * @description Validates a MIME media type against the PEPPOL MIME code list.
1603
- *
1604
- * @param error - The custom error message to use when validation fails.
1605
- *
1606
- * @returns A Zod string schema that accepts only valid MIME types.
1607
- *
1608
- * @validations
1609
- * - PEPPOL-EN16931-CL001: Attachment (MIME) type MUST come from the allowed list.
1610
- *
1611
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/MimeCode/
1612
- */
1613
- export declare function mimeCodesSchema(error?: string): z.ZodMiniString<string>;
1614
- //#endregion
1615
- //#region src/schemas/values/op-status-action.d.ts
1616
- /**
1617
- * @description An OpenPeppol operation status action code (e.g. the outcome of a message response).
1618
- *
1619
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/OPStatusAction/
1620
- */
1621
- export type PeppolOpStatusAction = OpStatusActionKeys;
1622
- /**
1623
- * @description Validates an OpenPeppol operation status action code against the OPStatusAction codelist.
1624
- *
1625
- * @param error - The custom error message to use when validation fails.
1626
- *
1627
- * @returns A Zod string schema that accepts only valid operation status action codes.
1628
- *
1629
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/OPStatusAction/
1630
- */
1631
- export declare function opStatusActionSchema(error?: string): z.ZodMiniString<string>;
1632
- //#endregion
1633
- //#region src/schemas/values/op-status-reason.d.ts
1634
- /**
1635
- * @description An OpenPeppol operation status reason code (e.g. the reason for a message response outcome).
1636
- *
1637
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/OPStatusReason/
1638
- */
1639
- export type PeppolOpStatusReason = OpStatusReasonKeys;
1640
- /**
1641
- * @description Validates an OpenPeppol operation status reason code against the OPStatusReason codelist.
1642
- *
1643
- * @param error - The custom error message to use when validation fails.
1644
- *
1645
- * @returns A Zod string schema that accepts only valid operation status reason codes.
1646
- *
1647
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/OPStatusReason/
1648
- */
1649
- export declare function opStatusReasonSchema(error?: string): z.ZodMiniString<string>;
1650
- //#endregion
1651
- //#region src/schemas/values/participant-identifier-code.d.ts
1652
- /**
1653
- * @description A PEPPOL participant identifier scheme, identifying the scheme of a participant identifier (e.g. EAS codes).
1654
- *
1655
- * @see https://docs.peppol.eu/poacc/billing/3.0/
1656
- */
1657
- export type PeppolParticipantIdentifierCode = ParticipantIdentifierSchemesKeys;
1658
- /**
1659
- * @description Validates a PEPPOL participant identifier scheme against the participant identifier schemes list.
1660
- *
1661
- * @param error - The custom error message to use when validation fails.
1662
- *
1663
- * @returns A Zod string schema that accepts only valid participant identifier schemes.
1664
- */
1665
- export declare function participantIdentifierCodeSchema(error?: string): z.ZodMiniString<string>;
1666
- //#endregion
1667
- //#region src/schemas/values/payment-means-codes-schema.d.ts
1668
- /**
1669
- * @description A payment means code as defined by the PEPPOL subset of UNCL 4461.
1670
- *
1671
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/
1672
- */
1673
- export type PeppolPaymentMeansCode = PaymentMeansCodesKeys;
1674
- /**
1675
- * @description Validates a payment means code against the PEPPOL subset of UNCL 4461.
1676
- *
1677
- * @param error - The custom error message to use when validation fails.
1678
- *
1679
- * @returns A Zod string schema that accepts only valid payment means codes.
1680
- *
1681
- * @validations
1682
- * - BR-CL-16: Payment means code MUST be a valid UNCL 4461 code.
1683
- *
1684
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL4461/
1685
- */
1686
- export declare function paymentMeansCodeSchema(error?: string): z.ZodMiniString<string>;
1687
- //#endregion
1688
- //#region src/schemas/values/process-from-document-type-schema.d.ts
1689
- /**
1690
- * @description Validates a business process identifier (`<scheme>::<value>`) against the processes allowed for a given document type.
1691
- *
1692
- * @param documentType - The PEPPOL document type scheme whose allowed processes should be used.
1693
- * @param error - The custom error message to use when validation fails. Defaults to `'invalid process type for document type'`.
1694
- *
1695
- * @returns A Zod template-literal schema that matches only processes allowed for the given document type.
1696
- *
1697
- * @see {@link processSchema}
1698
- * @see {@link documentTypesProcessIds}
1699
- */
1700
- export declare function processFromDocumentTypeSchema(documentType: PeppolDocumentType, error?: string): z.ZodMiniTemplateLiteral<`${string}::${string}`>;
1701
- //#endregion
1702
- //#region src/schemas/values/process-xml-identifier-schema.d.ts
1703
- /**
1704
- * @description Validates a raw XML process identifier object with `#text` and `@scheme` fields against the known processes.
1705
- *
1706
- * @param error - The custom error message to use when validation fails. Defaults to `'invalid Peppol document identifier'`.
1707
- *
1708
- * @returns A Zod union schema accepting objects whose `#text` value is valid for the given `@scheme`.
1709
- *
1710
- * @see {@link processes}
1711
- */
1712
- export declare function processXmlIdentifierSchema(error?: string): z.ZodMiniUnion<z.ZodMiniObject<{
1713
- '#text': z.ZodMiniString<string>;
1714
- '@scheme': z.ZodMiniString<string>;
1715
- }, z.core.$strip>[]>;
1716
- //#endregion
1717
- //#region src/schemas/values/vatex-code.d.ts
1718
- /**
1719
- * @description A VAT exemption reason code as defined by the CEF VATEX codelist.
1720
- *
1721
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/vatex/
1722
- */
1723
- export type PeppolVatexCode = VatexCodesKeys;
1724
- /**
1725
- * @description Validates a VAT exemption reason code against the CEF VATEX codelist.
1726
- *
1727
- * @param error - The custom error message to use when validation fails.
1728
- *
1729
- * @returns A Zod string schema that accepts only valid VAT exemption reason codes.
1730
- *
1731
- * @validations
1732
- * - BR-CL-22: VAT exemption reason code MUST be a valid CEF VATEX code.
1733
- *
1734
- * @see https://docs.peppol.eu/poacc/billing/3.0/codelist/vatex/
1735
- */
1736
- export declare function vatexCodeschema(error?: string): z.ZodMiniString<string>;
1737
- //#endregion
1738
- //#region src/schemas/values/vat-date-code.d.ts
1739
- export type PeppolVatDateCode = VatDateCodesKeys;
1740
- /**
1741
- * @validations
1742
- * - PEPPOL-EN16931-CL006: Invoice period description code must be according to UNCL 2005 D.16B.
1743
- */
1744
- export declare function vatDateCodeSchema(error?: string): z.ZodMiniString<string>;
1745
- //#endregion
1746
- //#region src/schemas/fields/additional-document-reference-schema.d.ts
1747
- /**
1748
- * @description A group of business terms providing information about additional supporting documents substantiating the claims made in the Invoice. The additional
1749
- * supporting documents can be used for both referencing a document number which is expected to be known by the receiver, an external document
1750
- * (referenced by a URL) or as an embedded document, Base64 encoded (such as a time report).
1751
- *
1752
- * @summary ADDITIONAL SUPPORTING DOCUMENTS
1753
- *
1754
- * @name `cac:AdditionalDocumentReference`
1755
- */
1756
- export declare const additionalDocumentReferenceSchema: z.ZodMiniObject<{
1757
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1758
- id: z.ZodMiniObject<{
1759
- id: z.ZodMiniString<string>;
1760
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1761
- }, z.core.$strip>;
1762
- documentTypeCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1763
- documentDescription: z.ZodMiniOptional<z.ZodMiniString<string>>;
1764
- attachment: z.ZodMiniOptional<z.ZodMiniObject<{
1765
- embeddedDocumentBinaryObject: z.ZodMiniOptional<z.ZodMiniObject<{
1766
- content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
1767
- mimeCode: z.ZodMiniString<string>;
1768
- filename: z.ZodMiniString<string>;
1769
- }, z.core.$strip>>;
1770
- externalReference: z.ZodMiniOptional<z.ZodMiniObject<{
1771
- uri: z.ZodMiniString<string>;
1772
- }, z.core.$strip>>;
1773
- }, z.core.$strip>>;
1774
- }, z.core.$strip>;
1775
- export type PeppolAdditionalDocumentReference = z.infer<typeof additionalDocumentReferenceSchema>;
1776
- //#endregion
1777
- //#region src/schemas/fields/address-schema.d.ts
1778
- /**
1779
- * @summary Postal address
1780
- *
1781
- * @name `cac:PostalAddress`
1782
- */
1783
- export declare const addressSchema: z.ZodMiniObject<{
1784
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
1785
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
1786
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
1787
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
1788
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
1789
- countryCode: z.ZodMiniObject<{
1790
- identificationCode: z.ZodMiniString<string>;
1791
- }, z.core.$strip>;
1792
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
1793
- line: z.ZodMiniString<string>;
1794
- }, z.core.$strip>>;
1795
- }, z.core.$strip>;
1796
- export type PeppolAddress = z.infer<typeof addressSchema>;
1797
- //#endregion
1798
- //#region src/schemas/fields/allowance-charge-schema.d.ts
1799
- /**
1800
- * @summary Allowance/Charge
1801
- *
1802
- * @name cac:AllowanceCharge
1803
- */
1804
- export declare const allowanceChargeSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1805
- amount: z.ZodMiniObject<{
1806
- currencyId: z.ZodMiniString<string>;
1807
- value: z.ZodMiniNumber<number>;
1808
- }, z.core.$strip>;
1809
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1810
- currencyId: z.ZodMiniString<string>;
1811
- value: z.ZodMiniNumber<number>;
1812
- }, z.core.$strip>>;
1813
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1814
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1815
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
1816
- id: z.ZodMiniString<string>;
1817
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1818
- taxSchemeId: z.ZodMiniObject<{
1819
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
1820
- }, z.core.$strip>;
1821
- }, z.core.$strip>>;
1822
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1823
- chargeIndicator: z.ZodMiniLiteral<false>;
1824
- }, z.core.$strip>, z.ZodMiniObject<{
1825
- amount: z.ZodMiniObject<{
1826
- currencyId: z.ZodMiniString<string>;
1827
- value: z.ZodMiniNumber<number>;
1828
- }, z.core.$strip>;
1829
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1830
- currencyId: z.ZodMiniString<string>;
1831
- value: z.ZodMiniNumber<number>;
1832
- }, z.core.$strip>>;
1833
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1834
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1835
- taxCategory: z.ZodMiniOptional<z.ZodMiniObject<{
1836
- id: z.ZodMiniString<string>;
1837
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1838
- taxSchemeId: z.ZodMiniObject<{
1839
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
1840
- }, z.core.$strip>;
1841
- }, z.core.$strip>>;
1842
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1843
- chargeIndicator: z.ZodMiniLiteral<true>;
1844
- }, z.core.$strip>], "chargeIndicator">;
1845
- export type PeppolAllowanceCharge = z.infer<typeof allowanceChargeSchema>;
1846
- //#endregion
1847
- //#region src/schemas/fields/amount-schema.d.ts
1848
- /**
1849
- * @summary Monetary amount with mandatory currency
1850
- *
1851
- * @name cbc:* (+ @currencyID)
1852
- */
1853
- export declare const amountSchema: z.ZodMiniObject<{
1854
- currencyId: z.ZodMiniString<string>;
1855
- value: z.ZodMiniNumber<number>;
1856
- }, z.core.$strip>;
1857
- export type PeppolAmount = z.infer<typeof amountSchema>;
1858
- //#endregion
1859
- //#region src/schemas/fields/base-line-schema.d.ts
1860
- /**
1861
- * @description Base of the invoice line and credit note line schemas.
1862
- */
1863
- export declare const baseLineSchema: z.ZodMiniObject<{
1864
- accountingCost: z.ZodMiniOptional<z.ZodMiniString<string>>;
1865
- allowanceCharges: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1866
- amount: z.ZodMiniObject<{
1867
- currencyId: z.ZodMiniString<string>;
1868
- value: z.ZodMiniNumber<number>;
1869
- }, z.core.$strip>;
1870
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1871
- currencyId: z.ZodMiniString<string>;
1872
- value: z.ZodMiniNumber<number>;
1873
- }, z.core.$strip>>;
1874
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1875
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1876
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1877
- chargeIndicator: z.ZodMiniLiteral<false>;
1878
- }, z.core.$strip>, z.ZodMiniObject<{
1879
- amount: z.ZodMiniObject<{
1880
- currencyId: z.ZodMiniString<string>;
1881
- value: z.ZodMiniNumber<number>;
1882
- }, z.core.$strip>;
1883
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1884
- currencyId: z.ZodMiniString<string>;
1885
- value: z.ZodMiniNumber<number>;
1886
- }, z.core.$strip>>;
1887
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
1888
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1889
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1890
- chargeIndicator: z.ZodMiniLiteral<true>;
1891
- }, z.core.$strip>], "chargeIndicator">>>;
1892
- documentReference: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1893
- id: z.ZodMiniString<string>;
1894
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1895
- documentTypeCode: z.ZodMiniDefault<z.ZodMiniString<string>>;
1896
- }, z.core.$strip>>>;
1897
- id: z.ZodMiniString<string>;
1898
- invoicePeriod: z.ZodMiniOptional<z.ZodMiniObject<{
1899
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
1900
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
1901
- }, z.core.$strip>>;
1902
- item: z.ZodMiniObject<{
1903
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
1904
- name: z.ZodMiniString<string>;
1905
- buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1906
- id: z.ZodMiniString<string>;
1907
- }, z.core.$strip>>;
1908
- sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1909
- id: z.ZodMiniString<string>;
1910
- }, z.core.$strip>>;
1911
- standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
1912
- id: z.ZodMiniObject<{
1913
- id: z.ZodMiniString<string>;
1914
- schemeId: z.ZodMiniString<string>;
1915
- }, z.core.$strip>;
1916
- }, z.core.$strip>>;
1917
- originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
1918
- identificationCode: z.ZodMiniString<string>;
1919
- }, z.core.$strip>>;
1920
- commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1921
- itemClassification: z.ZodMiniObject<{
1922
- id: z.ZodMiniString<string>;
1923
- listId: z.ZodMiniString<string>;
1924
- listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
1925
- }, z.core.$strip>;
1926
- }, z.core.$strip>>>;
1927
- classifiedTaxCategory: z.ZodMiniObject<{
1928
- id: z.ZodMiniString<string>;
1929
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1930
- taxSchemeId: z.ZodMiniObject<{
1931
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
1932
- }, z.core.$strip>;
1933
- }, z.core.$strip>;
1934
- additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1935
- name: z.ZodMiniString<string>;
1936
- value: z.ZodMiniString<string>;
1937
- }, z.core.$strip>>>;
1938
- }, z.core.$strip>;
1939
- lineExtensionAmount: z.ZodMiniObject<{
1940
- currencyId: z.ZodMiniString<string>;
1941
- value: z.ZodMiniNumber<number>;
1942
- }, z.core.$strip>;
1943
- note: z.ZodMiniOptional<z.ZodMiniString<string>>;
1944
- orderLineReference: z.ZodMiniOptional<z.ZodMiniObject<{
1945
- lineId: z.ZodMiniString<string>;
1946
- }, z.core.$strip>>;
1947
- price: z.ZodMiniObject<{
1948
- allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
1949
- amount: z.ZodMiniObject<{
1950
- currencyId: z.ZodMiniString<string>;
1951
- value: z.ZodMiniNumber<number>;
1952
- }, z.core.$strip>;
1953
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1954
- currencyId: z.ZodMiniString<string>;
1955
- value: z.ZodMiniNumber<number>;
1956
- }, z.core.$strip>>;
1957
- chargeIndicator: z.ZodMiniLiteral<false>;
1958
- }, z.core.$strip>>;
1959
- baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
1960
- unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
1961
- value: z.ZodMiniNumber<number>;
1962
- }, z.core.$strip>>;
1963
- priceAmount: z.ZodMiniObject<{
1964
- currencyId: z.ZodMiniString<string>;
1965
- value: z.ZodMiniNumber<number>;
1966
- }, z.core.$strip>;
1967
- }, z.core.$strip>;
1968
- }, z.core.$strip>;
1969
- export type PeppolBaseLine = z.infer<typeof baseLineSchema>;
1970
- //#endregion
1971
- //#region src/schemas/fields/billing-references-schema.d.ts
1972
- /**
1973
- * @summary PRECEDING INVOICE REFERENCE (0..n)
1974
- *
1975
- * @name cac:BillingReference
1976
- */
1977
- export declare const billingReferenceSchema: z.ZodMiniObject<{
1978
- invoiceDocumentReference: z.ZodMiniObject<{
1979
- id: z.ZodMiniString<string>;
1980
- issueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
1981
- }, z.core.$strip>;
1982
- }, z.core.$strip>;
1983
- export type PeppolBillingReference = z.infer<typeof billingReferenceSchema>;
1984
- //#endregion
1985
- //#region src/schemas/fields/binary-object-schema.d.ts
1986
- /**
1987
- * @summary Binary object for attachments
1988
- *
1989
- * @name cbc:EmbeddedDocumentBinaryObject (+ @mimeCode, @filename)
1990
- */
1991
- export declare const binaryObjectSchema: z.ZodMiniObject<{
1992
- content: z.ZodMiniUnion<readonly [z.ZodMiniBase64, z.ZodMiniBase64URL, z.ZodMiniString<string>]>;
1993
- mimeCode: z.ZodMiniString<string>;
1994
- filename: z.ZodMiniString<string>;
1995
- }, z.core.$strip>;
1996
- //#endregion
1997
- //#region src/schemas/fields/contact-schema.d.ts
1998
- export declare const contactSchema: z.ZodMiniObject<{
1999
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
2000
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2001
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
2002
- }, z.core.$strip>;
2003
- export type PeppolContact = z.infer<typeof contactSchema>;
2004
- //#endregion
2005
- //#region src/schemas/fields/date-only-fn.d.ts
2006
- export declare function dateOnly(error?: string): z.ZodMiniISODate;
2007
- export declare namespace dateOnly {
2008
- var error: string;
2009
- }
2010
- //#endregion
2011
- //#region src/schemas/fields/date-only-parser.d.ts
2012
- export declare function dateOnlyParser(): z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniISODate>;
2013
- //#endregion
2014
- //#region src/schemas/fields/default-customization-id.d.ts
2015
- export declare const DEFAULT_CUSTOMIZATION_ID: 'urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0';
2016
- //#endregion
2017
- //#region src/schemas/fields/default-profile-id.d.ts
2018
- export declare const DEFAULT_PROFILE_ID: 'urn:fdc:peppol.eu:2017:poacc:billing:01:1.0';
2019
- //#endregion
2020
- //#region src/schemas/fields/delivery-schema.d.ts
2021
- export declare const deliverySchema: z.ZodMiniObject<{
2022
- actualDeliveryDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2023
- deliveryLocation: z.ZodMiniOptional<z.ZodMiniObject<{
2024
- id: z.ZodMiniOptional<z.ZodMiniObject<{
2025
- id: z.ZodMiniString<string>;
2026
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2027
- }, z.core.$strip>>;
2028
- address: z.ZodMiniOptional<z.ZodMiniObject<{
2029
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2030
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2031
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2032
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
2033
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
2034
- countryCode: z.ZodMiniObject<{
2035
- identificationCode: z.ZodMiniString<string>;
2036
- }, z.core.$strip>;
2037
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
2038
- line: z.ZodMiniString<string>;
2039
- }, z.core.$strip>>;
2040
- }, z.core.$strip>>;
2041
- }, z.core.$strip>>;
2042
- deliveryParty: z.ZodMiniOptional<z.ZodMiniObject<{
2043
- partyName: z.ZodMiniObject<{
2044
- name: z.ZodMiniString<string>;
2045
- }, z.core.$strip>;
2046
- }, z.core.$strip>>;
2047
- }, z.core.$strip>;
2048
- export type PeppolDelivery = z.infer<typeof deliverySchema>;
2049
- //#endregion
2050
- //#region src/schemas/fields/identifier-schema.d.ts
2051
- /**
2052
- * @summary Identifier with optional scheme
2053
- *
2054
- * @name `cbc:ID (+ optional @schemeID)`
2055
- */
2056
- export declare function identifierSchema(message?: string | z.core.$ZodObjectParams): z.ZodMiniObject<{
2057
- id: z.ZodMiniString<string>;
2058
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2059
- }, z.core.$strip>;
2060
- export type PeppolIdentifier = z.infer<ReturnType<typeof identifierSchema>>;
2061
- //#endregion
2062
- //#region src/schemas/fields/invoice-line-period-schema.d.ts
2063
- export declare const invoiceLinePeriodSchema: z.ZodMiniObject<{
2064
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2065
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2066
- }, z.core.$strip>;
2067
- export type PeppolInvoiceLinePeriod = z.infer<typeof invoiceLinePeriodSchema>;
2068
- //#endregion
2069
- //#region src/schemas/fields/invoice-period-schema.d.ts
2070
- /**
2071
- * @description A group of business terms providing information on the invoice period. Also called delivery period. If the group is used, the invoiceing period
2072
- * start date and/or end date must be used.
2073
- *
2074
- * @summary DELIVERY OR INVOICE PERIOD
2075
- *
2076
- * @name `cac:InvoicePeriod`
2077
- */
2078
- export declare const invoicePeriodSchema: z.ZodMiniObject<{
2079
- endDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2080
- startDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2081
- descriptionCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2082
- }, z.core.$strip>;
2083
- export type PeppolInvoicePeriod = z.infer<typeof invoicePeriodSchema>;
2084
- //#endregion
2085
- //#region src/schemas/fields/legal-monetary-total-schema.d.ts
2086
- /**
2087
- * @description A group of business terms providing the monetary totals for the Invoice.
2088
- *
2089
- * @summary Document totals
2090
- *
2091
- * @name cac:LegalMonetaryTotal
2092
- */
2093
- export declare const legalMonetaryTotalSchema: z.ZodMiniObject<{
2094
- allowanceTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2095
- currencyId: z.ZodMiniString<string>;
2096
- value: z.ZodMiniNumber<number>;
2097
- }, z.core.$strip>>;
2098
- chargeTotalAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2099
- currencyId: z.ZodMiniString<string>;
2100
- value: z.ZodMiniNumber<number>;
2101
- }, z.core.$strip>>;
2102
- lineExtensionAmount: z.ZodMiniObject<{
2103
- currencyId: z.ZodMiniString<string>;
2104
- value: z.ZodMiniNumber<number>;
2105
- }, z.core.$strip>;
2106
- payableAmount: z.ZodMiniObject<{
2107
- currencyId: z.ZodMiniString<string>;
2108
- value: z.ZodMiniNumber<number>;
2109
- }, z.core.$strip>;
2110
- payableRoundingAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2111
- currencyId: z.ZodMiniString<string>;
2112
- value: z.ZodMiniNumber<number>;
2113
- }, z.core.$strip>>;
2114
- prepaidAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2115
- currencyId: z.ZodMiniString<string>;
2116
- value: z.ZodMiniNumber<number>;
2117
- }, z.core.$strip>>;
2118
- taxExclusiveAmount: z.ZodMiniObject<{
2119
- currencyId: z.ZodMiniString<string>;
2120
- value: z.ZodMiniNumber<number>;
2121
- }, z.core.$strip>;
2122
- taxInclusiveAmount: z.ZodMiniObject<{
2123
- currencyId: z.ZodMiniString<string>;
2124
- value: z.ZodMiniNumber<number>;
2125
- }, z.core.$strip>;
2126
- }, z.core.$strip>;
2127
- export type PeppolLegalMonetaryTotal = z.infer<typeof legalMonetaryTotalSchema>;
2128
- //#endregion
2129
- //#region src/schemas/fields/line-allowance-charge-schema.d.ts
2130
- declare const baseLineAllowanceChargeSchema: z.ZodMiniObject<{
2131
- amount: z.ZodMiniObject<{
2132
- currencyId: z.ZodMiniString<string>;
2133
- value: z.ZodMiniNumber<number>;
2134
- }, z.core.$strip>;
2135
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2136
- currencyId: z.ZodMiniString<string>;
2137
- value: z.ZodMiniNumber<number>;
2138
- }, z.core.$strip>>;
2139
- chargeIndicator: z.ZodMiniBoolean<boolean>;
2140
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2141
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2142
- }, z.core.$strip>;
2143
- export declare const lineAllowanceChargeSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
2144
- amount: z.ZodMiniObject<{
2145
- currencyId: z.ZodMiniString<string>;
2146
- value: z.ZodMiniNumber<number>;
2147
- }, z.core.$strip>;
2148
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2149
- currencyId: z.ZodMiniString<string>;
2150
- value: z.ZodMiniNumber<number>;
2151
- }, z.core.$strip>>;
2152
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2153
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2154
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2155
- chargeIndicator: z.ZodMiniLiteral<false>;
2156
- }, z.core.$strip>, z.ZodMiniObject<{
2157
- amount: z.ZodMiniObject<{
2158
- currencyId: z.ZodMiniString<string>;
2159
- value: z.ZodMiniNumber<number>;
2160
- }, z.core.$strip>;
2161
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2162
- currencyId: z.ZodMiniString<string>;
2163
- value: z.ZodMiniNumber<number>;
2164
- }, z.core.$strip>>;
2165
- allowanceChargeReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2166
- multiplierFactorNumeric: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2167
- allowanceChargeReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2168
- chargeIndicator: z.ZodMiniLiteral<true>;
2169
- }, z.core.$strip>], "chargeIndicator">;
2170
- export type PeppolLineAllowanceCharge = z.infer<typeof lineAllowanceChargeSchema>;
2171
- //#endregion
2172
- //#region src/schemas/fields/line-item-schema.d.ts
2173
- /**
2174
- * @summary Item details on invoice/credit-note line
2175
- *
2176
- * @name cac:Item
2177
- */
2178
- export declare const lineItemSchema: z.ZodMiniObject<{
2179
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
2180
- name: z.ZodMiniString<string>;
2181
- buyersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
2182
- id: z.ZodMiniString<string>;
2183
- }, z.core.$strip>>;
2184
- sellersItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
2185
- id: z.ZodMiniString<string>;
2186
- }, z.core.$strip>>;
2187
- standardItemIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
2188
- id: z.ZodMiniObject<{
2189
- id: z.ZodMiniString<string>;
2190
- schemeId: z.ZodMiniString<string>;
2191
- }, z.core.$strip>;
2192
- }, z.core.$strip>>;
2193
- originCountryCode: z.ZodMiniOptional<z.ZodMiniObject<{
2194
- identificationCode: z.ZodMiniString<string>;
2195
- }, z.core.$strip>>;
2196
- commodityClassifications: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2197
- itemClassification: z.ZodMiniObject<{
2198
- id: z.ZodMiniString<string>;
2199
- listId: z.ZodMiniString<string>;
2200
- listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2201
- }, z.core.$strip>;
2202
- }, z.core.$strip>>>;
2203
- classifiedTaxCategory: z.ZodMiniObject<{
2204
- id: z.ZodMiniString<string>;
2205
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2206
- taxSchemeId: z.ZodMiniObject<{
2207
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2208
- }, z.core.$strip>;
2209
- }, z.core.$strip>;
2210
- additionalItemProperties: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2211
- name: z.ZodMiniString<string>;
2212
- value: z.ZodMiniString<string>;
2213
- }, z.core.$strip>>>;
2214
- }, z.core.$strip>;
2215
- export type PeppolItem = z.infer<typeof lineItemSchema>;
2216
- //#endregion
2217
- //#region src/schemas/fields/line-price-allowance-charge-schema.d.ts
2218
- declare const priceAllowanceChargeSchema: z.ZodMiniObject<{
2219
- amount: z.ZodMiniObject<{
2220
- currencyId: z.ZodMiniString<string>;
2221
- value: z.ZodMiniNumber<number>;
2222
- }, z.core.$strip>;
2223
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2224
- currencyId: z.ZodMiniString<string>;
2225
- value: z.ZodMiniNumber<number>;
2226
- }, z.core.$strip>>;
2227
- chargeIndicator: z.ZodMiniBoolean<boolean>;
2228
- }, z.core.$strip>;
2229
- export declare const linePriceAllowanceChargeSchema: z.ZodMiniObject<{
2230
- amount: z.ZodMiniObject<{
2231
- currencyId: z.ZodMiniString<string>;
2232
- value: z.ZodMiniNumber<number>;
2233
- }, z.core.$strip>;
2234
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2235
- currencyId: z.ZodMiniString<string>;
2236
- value: z.ZodMiniNumber<number>;
2237
- }, z.core.$strip>>;
2238
- chargeIndicator: z.ZodMiniLiteral<false>;
2239
- }, z.core.$strip>;
2240
- export type PeppolLinePriceAllowanceCharge = z.infer<typeof linePriceAllowanceChargeSchema>;
2241
- //#endregion
2242
- //#region src/schemas/fields/list-identifier-schema.d.ts
2243
- /**
2244
- * @description A code for classifying the item by its type or nature.
2245
- *
2246
- * @example
2247
- * `9873242`;
2248
- *
2249
- * @summary Item classification identifier
2250
- *
2251
- * @name `cbc:ItemClassificationCode`
2252
- */
2253
- export declare const itemClassificationSchema: z.ZodMiniObject<{
2254
- id: z.ZodMiniString<string>;
2255
- listId: z.ZodMiniString<string>;
2256
- listVersionId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2257
- }, z.core.$strip>;
2258
- //#endregion
2259
- //#region src/schemas/fields/order-reference-schema.d.ts
2260
- /**
2261
- * @summary ORDER AND SALES ORDER REFERENCE
2262
- *
2263
- * @name cac:OrderReference
2264
- */
2265
- export declare const orderReferenceSchema: z.ZodMiniObject<{
2266
- id: z.ZodMiniString<string>;
2267
- salesOrderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2268
- }, z.core.$strip>;
2269
- export type PeppolOrderReference = z.infer<typeof orderReferenceSchema>;
2270
- //#endregion
2271
- //#region src/schemas/fields/party-base-schema.d.ts
2272
- /**
2273
- * @summary Party common substructure
2274
- *
2275
- * @name cac:Party
2276
- */
2277
- export declare const partyBaseSchema: z.ZodMiniObject<{
2278
- endpointId: z.ZodMiniObject<{
2279
- id: z.ZodMiniString<string>;
2280
- schemeId: z.ZodMiniString<string>;
2281
- }, z.core.$strip>;
2282
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
2283
- id: z.ZodMiniObject<{
2284
- id: z.ZodMiniString<string>;
2285
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2286
- }, z.core.$strip>;
2287
- }, z.core.$strip>>;
2288
- partyName: z.ZodMiniOptional<z.ZodMiniObject<{
2289
- name: z.ZodMiniString<string>;
2290
- }, z.core.$strip>>;
2291
- postalAddress: z.ZodMiniObject<{
2292
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2293
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2294
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2295
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
2296
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
2297
- countryCode: z.ZodMiniObject<{
2298
- identificationCode: z.ZodMiniString<string>;
2299
- }, z.core.$strip>;
2300
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
2301
- line: z.ZodMiniString<string>;
2302
- }, z.core.$strip>>;
2303
- }, z.core.$strip>;
2304
- partyTaxSchemes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2305
- companyId: z.ZodMiniString<string>;
2306
- taxSchemeId: z.ZodMiniObject<{
2307
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2308
- }, z.core.$strip>;
2309
- }, z.core.$strip>>>;
2310
- partyLegalEntity: z.ZodMiniObject<{
2311
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
2312
- id: z.ZodMiniString<string>;
2313
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2314
- }, z.core.$strip>>;
2315
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
2316
- registrationName: z.ZodMiniString<string>;
2317
- }, z.core.$strip>;
2318
- contact: z.ZodMiniOptional<z.ZodMiniObject<{
2319
- electronicMail: z.ZodMiniOptional<z.ZodMiniString<string>>;
2320
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2321
- telephone: z.ZodMiniOptional<z.ZodMiniString<string>>;
2322
- }, z.core.$strip>>;
2323
- }, z.core.$strip>;
2324
- export type PeppolPartySchema = z.infer<typeof partyBaseSchema>;
2325
- //#endregion
2326
- //#region src/schemas/fields/party-legal-entity-schema.d.ts
2327
- export declare const partyLegalEntitySchema: z.ZodMiniObject<{
2328
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
2329
- id: z.ZodMiniString<string>;
2330
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2331
- }, z.core.$strip>>;
2332
- companyLegalForm: z.ZodMiniOptional<z.ZodMiniString<string>>;
2333
- registrationName: z.ZodMiniString<string>;
2334
- }, z.core.$strip>;
2335
- export type PeppolPartyLegalEntitySchema = z.infer<typeof partyLegalEntitySchema>;
2336
- //#endregion
2337
- //#region src/schemas/fields/party-tax-schema.d.ts
2338
- /**
2339
- * @name cac:PartyTaxScheme (0..2)
2340
- */
2341
- export declare const partyTaxSchemeSchema: z.ZodMiniObject<{
2342
- companyId: z.ZodMiniString<string>;
2343
- taxSchemeId: z.ZodMiniObject<{
2344
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2345
- }, z.core.$strip>;
2346
- }, z.core.$strip>;
2347
- export type PeppolPartyTaxSchema = z.infer<typeof partyTaxSchemeSchema>;
2348
- //#endregion
2349
- //#region src/schemas/fields/payee-party.d.ts
2350
- /**
2351
- * @description A group of business terms providing information about the Payee, i.e. the role that received the payment. Shall be used wwhen the payee is
2352
- * different from the seller.
2353
- *
2354
- * @summary PAYEE
2355
- *
2356
- * @name cac:PayeeParty
2357
- */
2358
- export declare const payeePartySchema: z.ZodMiniObject<{
2359
- partyIdentification: z.ZodMiniOptional<z.ZodMiniObject<{
2360
- id: z.ZodMiniOptional<z.ZodMiniObject<{
2361
- id: z.ZodMiniString<string>;
2362
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2363
- }, z.core.$strip>>;
2364
- }, z.core.$strip>>;
2365
- partyLegalEntity: z.ZodMiniOptional<z.ZodMiniObject<{
2366
- companyId: z.ZodMiniOptional<z.ZodMiniObject<{
2367
- id: z.ZodMiniString<string>;
2368
- schemeId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2369
- }, z.core.$strip>>;
2370
- }, z.core.$strip>>;
2371
- partyName: z.ZodMiniObject<{
2372
- name: z.ZodMiniString<string>;
2373
- }, z.core.$strip>;
2374
- }, z.core.$strip>;
2375
- export type PeppolPayeeParty = z.infer<typeof payeePartySchema>;
2376
- //#endregion
2377
- //#region src/schemas/fields/payment-means-schema.d.ts
2378
- /**
2379
- * @description A group of business terms providing information about the payment.
2380
- *
2381
- * @summary Payment means (credit transfer/direct debit/card)
2382
- *
2383
- * @name cac:PaymentMeans
2384
- */
2385
- export declare const paymentMeansSchema: z.ZodMiniObject<{
2386
- paymentMeansCode: z.ZodMiniObject<{
2387
- code: z.ZodMiniString<string>;
2388
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2389
- }, z.core.$strip>;
2390
- paymentDueDate: z.ZodMiniOptional<z.ZodMiniISODate>;
2391
- paymentId: z.ZodMiniOptional<z.ZodMiniString<string>>;
2392
- cardAccount: z.ZodMiniOptional<z.ZodMiniObject<{
2393
- holderName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2394
- networkId: z.ZodMiniString<string>;
2395
- primaryAccountNumberId: z.ZodMiniString<string>;
2396
- }, z.core.$strip>>;
2397
- payeeFinancialAccount: z.ZodMiniOptional<z.ZodMiniObject<{
2398
- financialInstitutionBranch: z.ZodMiniOptional<z.ZodMiniObject<{
2399
- id: z.ZodMiniString<string>;
2400
- }, z.core.$strip>>;
2401
- id: z.ZodMiniString<string>;
2402
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
2403
- }, z.core.$strip>>;
2404
- paymentMandate: z.ZodMiniOptional<z.ZodMiniObject<{
2405
- id: z.ZodMiniOptional<z.ZodMiniString<string>>;
2406
- payerFinancialAccountId: z.ZodMiniOptional<z.ZodMiniObject<{
2407
- id: z.ZodMiniString<string>;
2408
- }, z.core.$strip>>;
2409
- }, z.core.$strip>>;
2410
- }, z.core.$strip>;
2411
- export type PeppolPaymentMeans = z.infer<typeof paymentMeansSchema>;
2412
- //#endregion
2413
- //#region src/schemas/fields/payment-terms-schema.d.ts
2414
- /**
2415
- * @summary PAYMENT TERMS
2416
- *
2417
- * @name cac:PaymentTerms
2418
- */
2419
- export declare const paymentTermsSchema: z.ZodMiniObject<{
2420
- note: z.ZodMiniString<string>;
2421
- }, z.core.$strip>;
2422
- export type PeppolPaymentTerms = z.infer<typeof paymentTermsSchema>;
2423
- //#endregion
2424
- //#region src/schemas/fields/price-schema.d.ts
2425
- /**
2426
- * @summary Price details on invoice line
2427
- *
2428
- * @name cac:Price
2429
- */
2430
- export declare const linePriceSchema: z.ZodMiniObject<{
2431
- allowanceCharge: z.ZodMiniOptional<z.ZodMiniObject<{
2432
- amount: z.ZodMiniObject<{
2433
- currencyId: z.ZodMiniString<string>;
2434
- value: z.ZodMiniNumber<number>;
2435
- }, z.core.$strip>;
2436
- baseAmount: z.ZodMiniOptional<z.ZodMiniObject<{
2437
- currencyId: z.ZodMiniString<string>;
2438
- value: z.ZodMiniNumber<number>;
2439
- }, z.core.$strip>>;
2440
- chargeIndicator: z.ZodMiniLiteral<false>;
2441
- }, z.core.$strip>>;
2442
- baseQuantity: z.ZodMiniOptional<z.ZodMiniObject<{
2443
- unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2444
- value: z.ZodMiniNumber<number>;
2445
- }, z.core.$strip>>;
2446
- priceAmount: z.ZodMiniObject<{
2447
- currencyId: z.ZodMiniString<string>;
2448
- value: z.ZodMiniNumber<number>;
2449
- }, z.core.$strip>;
2450
- }, z.core.$strip>;
2451
- export type PeppolLinePrice = z.infer<typeof linePriceSchema>;
2452
- //#endregion
2453
- //#region src/schemas/fields/quantity-schema.d.ts
2454
- /**
2455
- * @summary Quantity with optional unit code
2456
- *
2457
- * @name `cbc:* (+ @unitCode)`
2458
- */
2459
- export declare const quantitySchema: z.ZodMiniObject<{
2460
- unitCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2461
- value: z.ZodMiniNumber<number>;
2462
- }, z.core.$strip>;
2463
- export type PeppolQuantity = z.infer<typeof quantitySchema>;
2464
- //#endregion
2465
- //#region src/schemas/fields/reference-schema.d.ts
2466
- export declare const referenceSchema: z.ZodMiniOptional<z.ZodMiniObject<{
2467
- id: z.ZodMiniString<string>;
2468
- }, z.core.$strip>>;
2469
- export type PeppolReferenceSchema = z.infer<typeof referenceSchema>;
2470
- //#endregion
2471
- //#region src/schemas/fields/tax-category-schema.d.ts
2472
- /**
2473
- * @description A group of business terms providing information about the VAT applicable for the goods and services invoiced on the Invoice line.
2474
- *
2475
- * @summary LINE VAT INFORMATION
2476
- *
2477
- * @name `cac:TaxCategory`
2478
- */
2479
- export declare const taxCategorySchema: z.ZodMiniObject<{
2480
- id: z.ZodMiniString<string>;
2481
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2482
- taxSchemeId: z.ZodMiniObject<{
2483
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2484
- }, z.core.$strip>;
2485
- }, z.core.$strip>;
2486
- export type PeppolTaxCategory = z.infer<typeof taxCategorySchema>;
2487
- //#endregion
2488
- //#region src/schemas/fields/tax-representative-party-schema.d.ts
2489
- /**
2490
- * @summary SELLER TAX REPRESENTATIVE PARTY
2491
- *
2492
- * @name cac:TaxRepresentativeParty
2493
- */
2494
- export declare const taxRepresentativeSchema: z.ZodMiniObject<{
2495
- name: z.ZodMiniString<string>;
2496
- postalAddress: z.ZodMiniObject<{
2497
- streetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2498
- additionalStreetName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2499
- cityName: z.ZodMiniOptional<z.ZodMiniString<string>>;
2500
- postalZone: z.ZodMiniOptional<z.ZodMiniString<string>>;
2501
- countrySubentity: z.ZodMiniOptional<z.ZodMiniString<string>>;
2502
- countryCode: z.ZodMiniObject<{
2503
- identificationCode: z.ZodMiniString<string>;
2504
- }, z.core.$strip>;
2505
- addressLine: z.ZodMiniOptional<z.ZodMiniObject<{
2506
- line: z.ZodMiniString<string>;
2507
- }, z.core.$strip>>;
2508
- }, z.core.$strip>;
2509
- partyTaxScheme: z.ZodMiniObject<{
2510
- companyId: z.ZodMiniString<string>;
2511
- taxSchemeId: z.ZodMiniObject<{
2512
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2513
- }, z.core.$strip>;
2514
- }, z.core.$strip>;
2515
- }, z.core.$strip>;
2516
- export type PeppolTaxRepresentativeParty = z.infer<typeof taxRepresentativeSchema>;
2517
- //#endregion
2518
- //#region src/schemas/fields/tax-subtotal-category-schema.d.ts
2519
- /**
2520
- * @description This one is specific for TaxSubtotal since it includes more fields.
2521
- *
2522
- * @summary Tax Category for Tax Subtotal
2523
- *
2524
- * @name cac:TaxCategory
2525
- */
2526
- export declare const taxSubtotalCategorySchema: z.ZodMiniObject<{
2527
- id: z.ZodMiniString<string>;
2528
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2529
- taxSchemeId: z.ZodMiniObject<{
2530
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2531
- }, z.core.$strip>;
2532
- taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2533
- taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2534
- }, z.core.$strip>;
2535
- export type PeppolTaxSubTotalCategory = z.infer<typeof taxSubtotalCategorySchema>;
2536
- //#endregion
2537
- //#region src/schemas/fields/tax-subtotal-schema.d.ts
2538
- /**
2539
- * @summary VAT breakdown (TaxSubtotal)
2540
- *
2541
- * @name cac:TaxSubtotal
2542
- */
2543
- export declare const taxSubtotalSchema: z.ZodMiniObject<{
2544
- taxAmount: z.ZodMiniObject<{
2545
- currencyId: z.ZodMiniString<string>;
2546
- value: z.ZodMiniNumber<number>;
2547
- }, z.core.$strip>;
2548
- taxCategory: z.ZodMiniObject<{
2549
- id: z.ZodMiniString<string>;
2550
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2551
- taxSchemeId: z.ZodMiniObject<{
2552
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2553
- }, z.core.$strip>;
2554
- taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2555
- taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2556
- }, z.core.$strip>;
2557
- taxableAmount: z.ZodMiniObject<{
2558
- currencyId: z.ZodMiniString<string>;
2559
- value: z.ZodMiniNumber<number>;
2560
- }, z.core.$strip>;
2561
- }, z.core.$strip>;
2562
- export type PeppolTaxSubTotal = z.infer<typeof taxSubtotalSchema>;
2563
- //#endregion
2564
- //#region src/schemas/fields/tax-totals.d.ts
2565
- /**
2566
- * @summary TAX TOTAL
2567
- *
2568
- * @name cac:TaxTotal (1..2)
2569
- */
2570
- export declare const taxTotalsBaseSchema: z.ZodMiniObject<{
2571
- taxAmount: z.ZodMiniObject<{
2572
- currencyId: z.ZodMiniString<string>;
2573
- value: z.ZodMiniNumber<number>;
2574
- }, z.core.$strip>;
2575
- taxSubtotals: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
2576
- taxAmount: z.ZodMiniObject<{
2577
- currencyId: z.ZodMiniString<string>;
2578
- value: z.ZodMiniNumber<number>;
2579
- }, z.core.$strip>;
2580
- taxCategory: z.ZodMiniObject<{
2581
- id: z.ZodMiniString<string>;
2582
- percent: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
2583
- taxSchemeId: z.ZodMiniObject<{
2584
- id: z.ZodMiniDefault<z.ZodMiniString<string>>;
2585
- }, z.core.$strip>;
2586
- taxExemptionReason: z.ZodMiniOptional<z.ZodMiniString<string>>;
2587
- taxExemptionReasonCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
2588
- }, z.core.$strip>;
2589
- taxableAmount: z.ZodMiniObject<{
2590
- currencyId: z.ZodMiniString<string>;
2591
- value: z.ZodMiniNumber<number>;
2592
- }, z.core.$strip>;
2593
- }, z.core.$strip>>>;
2594
- }, z.core.$strip>;
2595
- export type PeppolTaxTotal = z.infer<typeof taxTotalsBaseSchema>;
2596
- //#endregion
2597
- //#region src/schemas/fields/time-only.d.ts
2598
- /**
2599
- * @description Parser function for date-only values.
2600
- */
2601
- export declare function timeOnlyParser(): z.ZodMiniCodec<z.ZodMiniDate<Date>, z.ZodMiniString<string>>;
2602
- //#endregion
2603
- //#region src/schemas/utils/base-64.d.ts
2604
- export declare const base64Schema: z.ZodMiniString<string>;
2605
- //#endregion
2606
- //#region src/schemas/utils/vat-regex.d.ts
2607
- export declare const vatRegexSchema: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>, z.ZodMiniString<string>]>;
2608
- //#endregion
2609
- //#region src/schemas/utils/xsd-time.d.ts
2610
- export declare const xsdTime: z.ZodMiniString<string>;
2611
- //#endregion
2612
- export { AdditionalDocumentReferenceCodesKeys, AllowanceChargeReasonCodesKeys, ApplicationResponseTypeCodesKeys, ChargeReasonCodesKeys, CountryCodesKeys, CreditNoteTypeCodesKeys, CurrencyCodesKeys, DocumentTypeCodesKeys, DocumentTypesTableKeys, DutyTaxFeeCategoriesKeys, ElectronicAddressCodesKeys, IcdCodesKeys, IntlUnit, InvoiceDocumentResponseParty, InvoiceResponseDocumentReference, InvoiceResponseDocumentResponse, InvoiceResponseParty, InvoiceStatusCodesKeys, InvoiceTypeCodesKeys, ItemClassificationCodesKeys, MimeCodesKeys, OpStatusActionKeys, OpStatusReasonKeys, ParticipantIdentifierSchemesKeys, PaymentMeansCodesKeys, PeppolAllDocuments, PeppolCreditNote, PeppolCreditNoteLine, PeppolCreditNoteTypeCode, PeppolDocument, PeppolDocumentLine, PeppolInvoice, PeppolInvoiceLine, PeppolInvoiceResponse, PeppolInvoiceTypeCode, PeppolMessage, PeppolMessageLevelResponse, PeppolProcesses, PeppolQuantityUnitCode, ProcessesKeys, QuantityUnitCodesKeys, VatDateCodesKeys, VatexCodesKeys, additionalDocumentReferenceCodes, additionalDocumentReferenceCodesKeys, allowanceChargeReasonCodes, allowanceChargeReasonCodesKeys, applicationResponseTypeCodes, applicationResponseTypeCodesKeys, baseLineAllowanceChargeSchema, chargeReasonCodes, chargeReasonCodesKeys, countryCodes, countryCodesKeys, creditNoteLineSchema, creditNoteSchema, creditNoteTypeCodeSchema, creditNoteTypeCodes, creditNoteTypeCodesKeys, currencyCodes, currencyCodesKeys, deprecatedDocumentTypes, deprecatedParticipantIdentifierSchemes, deprecatedProcesses, documentTypeCodes, documentTypeCodesKeys, documentTypesList, documentTypesProcessIds, documentTypesScheme, documentTypesTable, documentTypesTableKeys, dutyTaxFeeCategories, dutyTaxFeeCategoriesKeys, electronicAddressCodes, electronicAddressCodesKeys, formatQuantityWithUnit, getCreditNoteTypeCodeDescription, getInvoiceTypeCodeDescription, icdCodes, icdCodesKeys, invoiceLineSchema, invoiceResponseSchema, invoiceSchema, invoiceStatusCodes, invoiceStatusCodesKeys, invoiceTypeCodeSchema, invoiceTypeCodes, invoiceTypeCodesKeys, isValidCreditNoteTypeCode, isValidInvoiceTypeCode, isValidProcess, itemClassificationCodes, itemClassificationCodesKeys, messageLevelResponse, mimeCodes, mimeCodesKeys, opStatusAction, opStatusActionKeys, opStatusReason, opStatusReasonKeys, participantIdentifierSchemes, participantIdentifierSchemesKeys, participantIdentifierSchemesValidations, paymentMeansCodes, paymentMeansCodesKeys, priceAllowanceChargeSchema, processSchema, processes, processesKeys, processesList, processesScheme, quantityToIntlUnitMap, quantityUnitCodeToIntlUnit, quantityUnitCodes, quantityUnitCodesKeys, quantityUnitCodesSchema, vatDateCodes, vatDateCodesKeys, vatexCodes, vatexCodesKeys };
2613
- //# sourceMappingURL=index.d.ts.map
1
+ import { $ as PeppolDocumentEncoded, $n as PeppolPartyLegalEntity, $t as PeppolMessageLevelResponseDocumentResponse, A as peppolDocumentTypeSchema, An as PeppolBillingBase, At as PeppolInvoiceTypeCode, B as PeppolApplicationResponseTypeCode, Bn as PeppolTaxCategory, Bt as PeppolInvoiceResponseDocumentActualResponseWithoutStatus, C as electronicCodesSchema, Cn as PeppolInvoiceLinePeriod, Ct as quantityUnitCodesSchema, D as documentTypeValuesSchema, Dn as PeppolLineAllowanceChargeEncoded, Dt as isValidInvoiceTypeCode, E as peppolDutyTaxFeeCategorySchema, En as PeppolLineAllowanceCharge, Et as peppolProcessSchema, F as currencyCodeSchema, Fn as PeppolTaxTotal, Ft as formatQuantityWithUnit, G as additionalDocumentReferenceCodeSchema, Gn as PeppolPaymentMeans, Gt as PeppolInvoiceResponseCondition, H as PeppolAllowanceChargeReasonCode, Hn as PeppolTaxRepresentative, Ht as withStatusCodes, I as PeppolCountryCode, In as PeppolTaxTotalsBase, It as Base64, J as DEFAULT_PROFILE_ID, Jn as PeppolPartyIdentification, Jt as PeppolInvoiceResponseStatusReasonCodeAction, K as PeppolReferenceSchema, Kn as PeppolPayeeParty, Kt as PeppolInvoiceResponseDocumentActualResponseStatus, L as peppolCountryCodeSchema, Ln as PeppolTaxSubTotal, Lt as peppolBase64Schema, M as peppolDocumentTypeCodeSchema, Mn as PeppolDespatchDocumentReference, Mt as getCreditNoteTypeCodeDescription, N as PeppolCurrencyCode, Nn as PeppolOriginatorDocumentReference, Nt as PeppolCreditNoteTypeCode, O as documentTypeSchemesSchema, On as PeppolLineCharge, Ot as isValidCreditNoteTypeCode, P as PeppolCurrencyCodeEncoded, Pn as PeppolReceiptDocumentReference, Pt as creditNoteTypeCodeSchema, Q as PeppolDocumentDecoded, Qn as PeppolPartyTaxScheme, Qt as PeppolXsdTime, R as PeppolChargeReasonCode, Rn as PeppolTaxSubTotalCategory, Rt as InvoiceResponseDocumentActualResponse, S as PeppolElectronicAddressCode, Sn as PeppolItemClassification, St as PeppolQuantityUnitCode, T as PeppolDutyTaxFeeCategoryCodeEncoded, Tn as PeppolLineAllowance, Tt as PeppolProcesses, U as allowanceChargeReasonCodeSchema, Un as PeppolTaxRepresentativeParty, Ut as withoutStatusCodes, V as applicationResponseTypeCodeSchema, Vn as PeppolTaxSchemeId, Vt as peppolInvoiceResponseDocumentActualResponseSchema, W as PeppolAdditionalDocumentReferenceCode, Wn as PeppolPaymentTerms, Wt as InvoiceResponseDocumentActualResponseStatus, X as PeppolAllDocuments, Xn as PeppolPartySchema, Xt as peppolInvoiceResponseStatusReasonCodeSchema, Y as DEFAULT_CUSTOMIZATION_ID, Yn as PeppolPartyName, Yt as PeppolInvoiceResponseStatusReasonCodeReason, Z as PeppolDocument, Zn as PeppolPartyTaxSchema, Zt as PeppolMessageLevelResponse, _ as itemClassificationCodesSchema, _n as PeppolQuantity, _r as peppolAllowanceChargeSchema, _t as BaseIntlUnit, a as processFromDocumentTypeSchema, an as PeppolDocumentResponseDocumentReference, ar as PeppolInvoicePeriod, at as isPeppolMessageLevelResponse, b as PeppolIcdCode, bn as PeppolItem, br as PeppolIsoDateString, bt as quantityToIntlUnitMap, c as PeppolParticipantIdentifierCode, cn as PeppolCreditNote, cr as PeppolBillingReference, ct as PeppolInvoiceResponse, d as opStatusReasonSchema, dn as PeppolInvoice, dr as BaseAllowanceCharge, dt as PeppolInvoiceResponseDocumentResponseParty, en as PeppolDocumentResponseLineResponse, er as PeppolPartyLegalEntitySchema, et as PeppolDocumentLine, f as PeppolOpStatusAction, fn as PeppolInvoiceLine, fr as PeppolAllowance, ft as PeppolInvoiceResponseDocumentResponsePartyName, g as PeppolItemClassificationCode, gn as PeppolLinePrice, gr as PeppolTaxCategoryTaxSchemeId, gt as peppolVatRegexSchema, h as mimeCodesSchema, hn as PeppolOrderLineReference, hr as PeppolCharge, ht as VatRegex, i as vatexCodeSchema, in as PeppolMessageLevelResponseDocumentResponseDocument, ir as PeppolLegalMonetaryTotal, it as isPeppolInvoiceResponse, j as PeppolDocumentTypeCode, jn as PeppolContractDocumentReference, jt as invoiceTypeCodeSchema, k as PeppolDocumentType, kn as peppolLineAllowanceChargeSchema, kt as getInvoiceTypeCodeDescription, l as participantIdentifierCodeSchema, ln as PeppolCreditNoteLine, lr as PeppolAdditionalDocumentReference, lt as PeppolInvoiceResponseDocumentReference, m as PeppolMimeCode, mn as PeppolBaseLine, mr as PeppolAllowanceChargeEncoded, mt as PeppolInvoiceResponseSenderParty, n as vatDateCodeSchema, nn as PeppolDocumentResponseLineResponseContent, nr as PeppolContact, nt as isPeppolCreditNote, o as PeppolPaymentMeansCode, on as PeppolMessageLevelDocumentResponseDocumentReference, or as PeppolDelivery, ot as peppolDocumentSchema, p as opStatusActionSchema, pn as PeppolInvoiceLineEncoded, pr as PeppolAllowanceCharge, pt as PeppolInvoiceResponseParty, q as peppolReferenceSchema, qn as PeppolPartyEndpointId, qt as PeppolInvoiceResponseStatusReasonCode, r as PeppolVatexCode, rn as PeppolDocumentResponseDocument, rr as PeppolOrderReference, rt as isPeppolInvoice, s as paymentMeansCodeSchema, sn as PeppolMessageLevelResponseParty, sr as PeppolAddress, st as PeppolInvoiceDocumentResponseParty, t as PeppolVatDateCode, tn as PeppolMessageLevelDocumentResponseLineResponse, tr as PeppolIdentifier, tt as PeppolMessage, u as PeppolOpStatusReason, un as PeppolCreditNoteLineEncoded, ur as PeppolBinaryObject, ut as PeppolInvoiceResponseDocumentResponse, v as PeppolInvoiceStatusCodes, vn as PeppolLinePriceAllowanceCharge, vr as PeppolAmount, vt as IntlUnit, w as PeppolDutyTaxFeeCategoryCode, wn as BaseLineAllowanceCharge, wt as isValidProcess, x as icdCodesSchema, xn as PeppolLineItem, xt as quantityUnitCodeToIntlUnit, y as invoiceStatusCodeSchema, yn as PriceAllowanceCharge, yr as PeppolAmountEncoded, yt as TimeIntlUnit, z as chargeReasonCodeSchema, zn as PeppolTaxSubTotalCategoryEncoded, zt as PeppolInvoiceResponseDocumentActualResponseWithStatus } from "./index-CfjMSrpQ.js";
2
+ export { Base64, BaseAllowanceCharge, BaseIntlUnit, BaseLineAllowanceCharge, DEFAULT_CUSTOMIZATION_ID, DEFAULT_PROFILE_ID, IntlUnit, InvoiceResponseDocumentActualResponse, InvoiceResponseDocumentActualResponseStatus, PeppolAdditionalDocumentReference, PeppolAdditionalDocumentReferenceCode, PeppolAddress, PeppolAllDocuments, PeppolAllowance, PeppolAllowanceCharge, PeppolAllowanceChargeEncoded, PeppolAllowanceChargeReasonCode, PeppolAmount, PeppolAmountEncoded, PeppolApplicationResponseTypeCode, PeppolBaseLine, PeppolBillingBase, PeppolBillingReference, PeppolBinaryObject, PeppolCharge, PeppolChargeReasonCode, PeppolContact, PeppolContractDocumentReference, PeppolCountryCode, PeppolCreditNote, PeppolCreditNoteLine, PeppolCreditNoteLineEncoded, PeppolCreditNoteTypeCode, PeppolCurrencyCode, PeppolCurrencyCodeEncoded, PeppolDelivery, PeppolDespatchDocumentReference, PeppolDocument, PeppolDocumentDecoded, PeppolDocumentEncoded, PeppolDocumentLine, PeppolDocumentResponseDocument, PeppolDocumentResponseDocumentReference, PeppolDocumentResponseLineResponse, PeppolDocumentResponseLineResponseContent, PeppolDocumentType, PeppolDocumentTypeCode, PeppolDutyTaxFeeCategoryCode, PeppolDutyTaxFeeCategoryCodeEncoded, PeppolElectronicAddressCode, PeppolIcdCode, PeppolIdentifier, PeppolInvoice, PeppolInvoiceDocumentResponseParty, PeppolInvoiceLine, PeppolInvoiceLineEncoded, PeppolInvoiceLinePeriod, PeppolInvoicePeriod, PeppolInvoiceResponse, PeppolInvoiceResponseCondition, PeppolInvoiceResponseDocumentActualResponseStatus, PeppolInvoiceResponseDocumentActualResponseWithStatus, PeppolInvoiceResponseDocumentActualResponseWithoutStatus, PeppolInvoiceResponseDocumentReference, PeppolInvoiceResponseDocumentResponse, PeppolInvoiceResponseDocumentResponseParty, PeppolInvoiceResponseDocumentResponsePartyName, PeppolInvoiceResponseParty, PeppolInvoiceResponseSenderParty, PeppolInvoiceResponseStatusReasonCode, PeppolInvoiceResponseStatusReasonCodeAction, PeppolInvoiceResponseStatusReasonCodeReason, PeppolInvoiceStatusCodes, PeppolInvoiceTypeCode, PeppolIsoDateString, PeppolItem, PeppolItemClassification, PeppolItemClassificationCode, PeppolLegalMonetaryTotal, PeppolLineAllowance, PeppolLineAllowanceCharge, PeppolLineAllowanceChargeEncoded, PeppolLineCharge, PeppolLineItem, PeppolLinePrice, PeppolLinePriceAllowanceCharge, PeppolMessage, PeppolMessageLevelDocumentResponseDocumentReference, PeppolMessageLevelDocumentResponseLineResponse, PeppolMessageLevelResponse, PeppolMessageLevelResponseDocumentResponse, PeppolMessageLevelResponseDocumentResponseDocument, PeppolMessageLevelResponseParty, PeppolMimeCode, PeppolOpStatusAction, PeppolOpStatusReason, PeppolOrderLineReference, PeppolOrderReference, PeppolOriginatorDocumentReference, PeppolParticipantIdentifierCode, PeppolPartyEndpointId, PeppolPartyIdentification, PeppolPartyLegalEntity, PeppolPartyLegalEntitySchema, PeppolPartyName, PeppolPartySchema, PeppolPartyTaxSchema, PeppolPartyTaxScheme, PeppolPayeeParty, PeppolPaymentMeans, PeppolPaymentMeansCode, PeppolPaymentTerms, PeppolProcesses, PeppolQuantity, PeppolQuantityUnitCode, PeppolReceiptDocumentReference, PeppolReferenceSchema, PeppolTaxCategory, PeppolTaxCategoryTaxSchemeId, PeppolTaxRepresentative, PeppolTaxRepresentativeParty, PeppolTaxSchemeId, PeppolTaxSubTotal, PeppolTaxSubTotalCategory, PeppolTaxSubTotalCategoryEncoded, PeppolTaxTotal, PeppolTaxTotalsBase, PeppolVatDateCode, PeppolVatexCode, PeppolXsdTime, PriceAllowanceCharge, TimeIntlUnit, VatRegex, additionalDocumentReferenceCodeSchema, allowanceChargeReasonCodeSchema, applicationResponseTypeCodeSchema, chargeReasonCodeSchema, creditNoteTypeCodeSchema, currencyCodeSchema, documentTypeSchemesSchema, documentTypeValuesSchema, electronicCodesSchema, formatQuantityWithUnit, getCreditNoteTypeCodeDescription, getInvoiceTypeCodeDescription, icdCodesSchema, invoiceStatusCodeSchema, invoiceTypeCodeSchema, isPeppolCreditNote, isPeppolInvoice, isPeppolInvoiceResponse, isPeppolMessageLevelResponse, isValidCreditNoteTypeCode, isValidInvoiceTypeCode, isValidProcess, itemClassificationCodesSchema, mimeCodesSchema, opStatusActionSchema, opStatusReasonSchema, participantIdentifierCodeSchema, paymentMeansCodeSchema, peppolAllowanceChargeSchema, peppolBase64Schema, peppolCountryCodeSchema, peppolDocumentSchema, peppolDocumentTypeCodeSchema, peppolDocumentTypeSchema, peppolDutyTaxFeeCategorySchema, peppolInvoiceResponseDocumentActualResponseSchema, peppolInvoiceResponseStatusReasonCodeSchema, peppolLineAllowanceChargeSchema, peppolProcessSchema, peppolReferenceSchema, peppolVatRegexSchema, processFromDocumentTypeSchema, quantityToIntlUnitMap, quantityUnitCodeToIntlUnit, quantityUnitCodesSchema, vatDateCodeSchema, vatexCodeSchema, withStatusCodes, withoutStatusCodes };