@unimaze/billing 0.21.3 → 0.21.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 (230) hide show
  1. package/lib/common/components/CommonTranslations.d.ts +1 -29
  2. package/lib/common/components/CommonTranslations.js +4 -32
  3. package/lib/common/components/attachments/Attachment.d.ts +1 -1
  4. package/lib/common/components/attachments/AttachmentModal.d.ts +1 -1
  5. package/lib/common/components/attachments/index.d.ts +1 -1
  6. package/lib/common/components/base-information/AccountingCost.d.ts +1 -1
  7. package/lib/common/components/base-information/OrderReference.d.ts +1 -1
  8. package/lib/common/components/base-information/ProjectReference.d.ts +1 -1
  9. package/lib/common/components/base-information/ReferenceIdentifiers.d.ts +2 -1
  10. package/lib/common/components/base-information/ReferenceIdentifiers.js +29 -11
  11. package/lib/common/components/base-information/index.d.ts +10 -1
  12. package/lib/common/components/base-information/index.js +9 -1
  13. package/lib/common/components/billing-lines/BillingCalculations.d.ts +1 -1
  14. package/lib/common/components/billing-lines/BillingLinePreview.d.ts +2 -1
  15. package/lib/common/components/billing-lines/BillingLinePreview.js +4 -2
  16. package/lib/common/components/billing-lines/BillingTaxSummary.d.ts +1 -1
  17. package/lib/common/components/billing-lines/BillingTaxSummary.js +0 -1
  18. package/lib/common/components/billing-lines/CurrencySelector.d.ts +20 -0
  19. package/lib/common/components/billing-lines/CurrencySelector.js +17 -0
  20. package/lib/common/components/billing-lines/DiscountTypeSelector.d.ts +10 -0
  21. package/lib/common/components/billing-lines/DiscountTypeSelector.js +16 -0
  22. package/lib/common/components/billing-lines/NewBillingLines.d.ts +2 -1
  23. package/lib/common/components/billing-lines/NewBillingLines.js +37 -327
  24. package/lib/common/components/billing-lines/NewNewBillingLines.d.ts +15 -0
  25. package/lib/common/components/billing-lines/NewNewBillingLines.js +36 -0
  26. package/lib/common/components/billing-lines/SingleBillingLine.d.ts +19 -0
  27. package/lib/common/components/billing-lines/SingleBillingLine.js +275 -0
  28. package/lib/common/components/billing-lines/UnitOfMeasureSelector.d.ts +14 -0
  29. package/lib/common/components/billing-lines/UnitOfMeasureSelector.js +15 -0
  30. package/lib/common/components/billing-lines/cwdwdw.d.ts +1 -0
  31. package/lib/common/components/billing-lines/cwdwdw.js +14 -0
  32. package/lib/common/components/billing-lines/index.d.ts +3 -6
  33. package/lib/common/components/billing-lines/index.js +1 -1
  34. package/lib/common/components/customer/CostCenter.d.ts +1 -1
  35. package/lib/common/components/customer/CustomerContactName.d.ts +1 -1
  36. package/lib/common/components/customer/index.d.ts +1 -1
  37. package/lib/common/components/customer/index.js +6 -4
  38. package/lib/common/components/delivery-location/index.d.ts +1 -1
  39. package/lib/common/components/form-item/index.d.ts +1 -1
  40. package/lib/common/components/input/index.d.ts +1 -1
  41. package/lib/common/components/invoice/index.d.ts +3 -1
  42. package/lib/common/components/invoice/index.js +21 -14
  43. package/lib/common/components/invoice-preview/InvoicePreviewHeader.d.ts +1 -1
  44. package/lib/common/components/invoice-preview/InvoicePreviewHeader.js +7 -8
  45. package/lib/common/components/invoice-preview/index.d.ts +1 -1
  46. package/lib/common/components/invoice-preview/index.js +8 -2
  47. package/lib/common/components/payment-method/index.d.ts +1 -1
  48. package/lib/common/components/payment-method/index.js +22 -7
  49. package/lib/common/components/supplier/CityAutofill.d.ts +1 -1
  50. package/lib/common/components/supplier/index.d.ts +1 -1
  51. package/lib/common/components/welcome-modal/index.d.ts +1 -1
  52. package/lib/common/types/ReceiverRequirements.d.ts +2 -0
  53. package/lib/common/types/ReceiverRequirements.js +2 -0
  54. package/lib/create-invoice/index.d.ts +9 -1
  55. package/lib/create-invoice/index.js +87 -60
  56. package/lib/enums.d.ts +3 -0
  57. package/lib/translations/locales/en.json +7 -10
  58. package/lib/translations/locales/is.json +5 -8
  59. package/lib/translations/locales.d.ts +10 -16
  60. package/lib/unimaze-api-clients/src/mapi/api.d.ts +6664 -0
  61. package/lib/unimaze-api-clients/src/mapi/api.js +4743 -0
  62. package/lib/unimaze-api-clients/src/mapi/base.d.ts +55 -0
  63. package/lib/unimaze-api-clients/src/mapi/base.js +84 -0
  64. package/lib/unimaze-api-clients/src/mapi/configuration.d.ts +63 -0
  65. package/lib/unimaze-api-clients/src/mapi/configuration.js +28 -0
  66. package/lib/unimaze-api-clients/src/mapi/index.d.ts +13 -0
  67. package/lib/unimaze-api-clients/src/mapi/index.js +30 -0
  68. package/lib/unimaze-api-clients/src/rapi/api.d.ts +5015 -0
  69. package/lib/unimaze-api-clients/src/rapi/api.js +5582 -0
  70. package/lib/unimaze-api-clients/src/rapi/base.d.ts +55 -0
  71. package/lib/unimaze-api-clients/src/rapi/base.js +84 -0
  72. package/lib/unimaze-api-clients/src/rapi/configuration.d.ts +63 -0
  73. package/lib/unimaze-api-clients/src/rapi/configuration.js +28 -0
  74. package/lib/unimaze-api-clients/src/rapi/index.d.ts +13 -0
  75. package/lib/unimaze-api-clients/src/rapi/index.js +30 -0
  76. package/lib/unimaze-billing/src/common/components/CommonTranslations.d.ts +102 -0
  77. package/lib/unimaze-billing/src/common/components/CommonTranslations.js +106 -0
  78. package/lib/unimaze-billing/src/common/components/attachments/Attachment.d.ts +20 -0
  79. package/lib/unimaze-billing/src/common/components/attachments/Attachment.js +164 -0
  80. package/lib/unimaze-billing/src/common/components/attachments/AttachmentModal.d.ts +21 -0
  81. package/lib/unimaze-billing/src/common/components/attachments/AttachmentModal.js +203 -0
  82. package/lib/unimaze-billing/src/common/components/attachments/index.d.ts +27 -0
  83. package/lib/unimaze-billing/src/common/components/attachments/index.js +214 -0
  84. package/lib/unimaze-billing/src/common/components/base-information/AccountingCost.d.ts +17 -0
  85. package/lib/unimaze-billing/src/common/components/base-information/AccountingCost.js +61 -0
  86. package/lib/unimaze-billing/src/common/components/base-information/OrderReference.d.ts +16 -0
  87. package/lib/unimaze-billing/src/common/components/base-information/OrderReference.js +58 -0
  88. package/lib/unimaze-billing/src/common/components/base-information/ProjectReference.d.ts +14 -0
  89. package/lib/unimaze-billing/src/common/components/base-information/ProjectReference.js +30 -0
  90. package/lib/unimaze-billing/src/common/components/base-information/ReferenceIdentifiers.d.ts +48 -0
  91. package/lib/unimaze-billing/src/common/components/base-information/ReferenceIdentifiers.js +306 -0
  92. package/lib/unimaze-billing/src/common/components/base-information/index.d.ts +68 -0
  93. package/lib/unimaze-billing/src/common/components/base-information/index.js +178 -0
  94. package/lib/unimaze-billing/src/common/components/billing-lines/BillingCalculations.d.ts +14 -0
  95. package/lib/unimaze-billing/src/common/components/billing-lines/BillingCalculations.js +153 -0
  96. package/lib/unimaze-billing/src/common/components/billing-lines/BillingLinePreview.d.ts +21 -0
  97. package/lib/unimaze-billing/src/common/components/billing-lines/BillingLinePreview.js +41 -0
  98. package/lib/unimaze-billing/src/common/components/billing-lines/BillingTaxSummary.d.ts +13 -0
  99. package/lib/unimaze-billing/src/common/components/billing-lines/BillingTaxSummary.js +134 -0
  100. package/lib/unimaze-billing/src/common/components/billing-lines/CurrencySelector.d.ts +20 -0
  101. package/lib/unimaze-billing/src/common/components/billing-lines/CurrencySelector.js +17 -0
  102. package/lib/unimaze-billing/src/common/components/billing-lines/DiscountTypeSelector.d.ts +10 -0
  103. package/lib/unimaze-billing/src/common/components/billing-lines/DiscountTypeSelector.js +16 -0
  104. package/lib/unimaze-billing/src/common/components/billing-lines/NewBillingLines.d.ts +129 -0
  105. package/lib/unimaze-billing/src/common/components/billing-lines/NewBillingLines.js +495 -0
  106. package/lib/unimaze-billing/src/common/components/billing-lines/NewNewBillingLines.d.ts +15 -0
  107. package/lib/unimaze-billing/src/common/components/billing-lines/NewNewBillingLines.js +36 -0
  108. package/lib/unimaze-billing/src/common/components/billing-lines/SingleBillingLine.d.ts +14 -0
  109. package/lib/unimaze-billing/src/common/components/billing-lines/SingleBillingLine.js +199 -0
  110. package/lib/unimaze-billing/src/common/components/billing-lines/UnitOfMeasureSelector.d.ts +14 -0
  111. package/lib/unimaze-billing/src/common/components/billing-lines/UnitOfMeasureSelector.js +15 -0
  112. package/lib/unimaze-billing/src/common/components/billing-lines/index.d.ts +52 -0
  113. package/lib/unimaze-billing/src/common/components/billing-lines/index.js +104 -0
  114. package/lib/unimaze-billing/src/common/components/component-container/Content.d.ts +7 -0
  115. package/lib/unimaze-billing/src/common/components/component-container/Content.js +13 -0
  116. package/lib/unimaze-billing/src/common/components/component-container/Header.d.ts +9 -0
  117. package/lib/unimaze-billing/src/common/components/component-container/Header.js +28 -0
  118. package/lib/unimaze-billing/src/common/components/component-container/index.d.ts +12 -0
  119. package/lib/unimaze-billing/src/common/components/component-container/index.js +22 -0
  120. package/lib/unimaze-billing/src/common/components/customer/CostCenter.d.ts +17 -0
  121. package/lib/unimaze-billing/src/common/components/customer/CostCenter.js +163 -0
  122. package/lib/unimaze-billing/src/common/components/customer/CustomerContactName.d.ts +17 -0
  123. package/lib/unimaze-billing/src/common/components/customer/CustomerContactName.js +53 -0
  124. package/lib/unimaze-billing/src/common/components/customer/hardCoddedCustomer.d.ts +7 -0
  125. package/lib/unimaze-billing/src/common/components/customer/hardCoddedCustomer.js +41 -0
  126. package/lib/unimaze-billing/src/common/components/customer/index.d.ts +26 -0
  127. package/lib/unimaze-billing/src/common/components/customer/index.js +168 -0
  128. package/lib/unimaze-billing/src/common/components/date-picker/index.d.ts +21 -0
  129. package/lib/unimaze-billing/src/common/components/date-picker/index.js +23 -0
  130. package/lib/unimaze-billing/src/common/components/delivery-location/index.d.ts +12 -0
  131. package/lib/unimaze-billing/src/common/components/delivery-location/index.js +89 -0
  132. package/lib/unimaze-billing/src/common/components/editable-cell/index.d.ts +0 -0
  133. package/lib/unimaze-billing/src/common/components/editable-cell/index.js +295 -0
  134. package/lib/unimaze-billing/src/common/components/editable-row/index.d.ts +5 -0
  135. package/lib/unimaze-billing/src/common/components/editable-row/index.js +59 -0
  136. package/lib/unimaze-billing/src/common/components/form-item/index.d.ts +35 -0
  137. package/lib/unimaze-billing/src/common/components/form-item/index.js +60 -0
  138. package/lib/unimaze-billing/src/common/components/index.d.ts +18 -0
  139. package/lib/unimaze-billing/src/common/components/index.js +42 -0
  140. package/lib/unimaze-billing/src/common/components/input/index.d.ts +23 -0
  141. package/lib/unimaze-billing/src/common/components/input/index.js +37 -0
  142. package/lib/unimaze-billing/src/common/components/invoice/index.d.ts +40 -0
  143. package/lib/unimaze-billing/src/common/components/invoice/index.js +52 -0
  144. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewHeader.d.ts +12 -0
  145. package/lib/unimaze-billing/src/common/components/invoice-preview/InvoicePreviewHeader.js +105 -0
  146. package/lib/unimaze-billing/src/common/components/invoice-preview/index.d.ts +16 -0
  147. package/lib/unimaze-billing/src/common/components/invoice-preview/index.js +405 -0
  148. package/lib/unimaze-billing/src/common/components/locale-intl/index.d.ts +0 -0
  149. package/lib/unimaze-billing/src/common/components/locale-intl/index.js +51 -0
  150. package/lib/unimaze-billing/src/common/components/payment-method/index.d.ts +76 -0
  151. package/lib/unimaze-billing/src/common/components/payment-method/index.js +356 -0
  152. package/lib/unimaze-billing/src/common/components/payment-method/paymentMethodForConversion.d.ts +8 -0
  153. package/lib/unimaze-billing/src/common/components/payment-method/paymentMethodForConversion.js +37 -0
  154. package/lib/unimaze-billing/src/common/components/submit-confirmation/SubmitConfirmationSVG.d.ts +3 -0
  155. package/lib/unimaze-billing/src/common/components/submit-confirmation/SubmitConfirmationSVG.js +17 -0
  156. package/lib/unimaze-billing/src/common/components/submit-confirmation/index.d.ts +8 -0
  157. package/lib/unimaze-billing/src/common/components/submit-confirmation/index.js +34 -0
  158. package/lib/unimaze-billing/src/common/components/supplier/CityAutofill.d.ts +18 -0
  159. package/lib/unimaze-billing/src/common/components/supplier/CityAutofill.js +159 -0
  160. package/lib/unimaze-billing/src/common/components/supplier/index.d.ts +94 -0
  161. package/lib/unimaze-billing/src/common/components/supplier/index.js +334 -0
  162. package/lib/unimaze-billing/src/common/components/tooltip/index.d.ts +7 -0
  163. package/lib/unimaze-billing/src/common/components/tooltip/index.js +15 -0
  164. package/lib/unimaze-billing/src/common/components/welcome-modal/index.d.ts +15 -0
  165. package/lib/unimaze-billing/src/common/components/welcome-modal/index.js +26 -0
  166. package/lib/unimaze-billing/src/common/consts/formLayout.d.ts +74 -0
  167. package/lib/unimaze-billing/src/common/consts/formLayout.js +45 -0
  168. package/lib/unimaze-billing/src/common/consts/validationRules.d.ts +6 -0
  169. package/lib/unimaze-billing/src/common/consts/validationRules.js +69 -0
  170. package/lib/unimaze-billing/src/common/enums/DocumentTypeEnum.d.ts +5 -0
  171. package/lib/unimaze-billing/src/common/enums/DocumentTypeEnum.js +8 -0
  172. package/lib/unimaze-billing/src/common/enums/index.d.ts +1 -0
  173. package/lib/unimaze-billing/src/common/enums/index.js +8 -0
  174. package/lib/unimaze-billing/src/common/types/AppConfiguration.d.ts +23 -0
  175. package/lib/unimaze-billing/src/common/types/AppConfiguration.js +2 -0
  176. package/lib/unimaze-billing/src/common/types/BillingLineMetadataOverride.d.ts +10 -0
  177. package/lib/unimaze-billing/src/common/types/BillingLineMetadataOverride.js +2 -0
  178. package/lib/unimaze-billing/src/common/types/CommonProps.d.ts +33 -0
  179. package/lib/unimaze-billing/src/common/types/CommonProps.js +2 -0
  180. package/lib/unimaze-billing/src/common/types/DiscountType.d.ts +1 -0
  181. package/lib/unimaze-billing/src/common/types/DiscountType.js +2 -0
  182. package/lib/unimaze-billing/src/common/types/InvoiceFormFields.d.ts +1 -0
  183. package/lib/unimaze-billing/src/common/types/InvoiceFormFields.js +2 -0
  184. package/lib/unimaze-billing/src/common/types/NewReceiverRequirements.d.ts +27 -0
  185. package/lib/unimaze-billing/src/common/types/NewReceiverRequirements.js +2 -0
  186. package/lib/unimaze-billing/src/common/types/ReceiverRequirements.d.ts +81 -0
  187. package/lib/unimaze-billing/src/common/types/ReceiverRequirements.js +391 -0
  188. package/lib/unimaze-billing/src/common/types/SupplierInfo.d.ts +11 -0
  189. package/lib/unimaze-billing/src/common/types/SupplierInfo.js +2 -0
  190. package/lib/unimaze-billing/src/common/types/index.d.ts +1 -0
  191. package/lib/unimaze-billing/src/common/types/index.js +17 -0
  192. package/lib/unimaze-billing/src/create-credit-note/index.d.ts +9 -0
  193. package/lib/unimaze-billing/src/create-credit-note/index.js +62 -0
  194. package/lib/unimaze-billing/src/create-invoice/IntlLoader.d.ts +11 -0
  195. package/lib/unimaze-billing/src/create-invoice/IntlLoader.js +116 -0
  196. package/lib/unimaze-billing/src/create-invoice/index.d.ts +74 -0
  197. package/lib/unimaze-billing/src/create-invoice/index.js +680 -0
  198. package/lib/unimaze-billing/src/enums.d.ts +11 -0
  199. package/lib/unimaze-billing/src/enums.js +18 -0
  200. package/lib/unimaze-billing/src/index.d.ts +4 -0
  201. package/lib/unimaze-billing/src/index.js +28 -0
  202. package/lib/unimaze-billing/src/translations/locales/en.json +183 -0
  203. package/lib/unimaze-billing/src/translations/locales/is.json +183 -0
  204. package/lib/unimaze-billing/src/translations/locales.d.ts +369 -0
  205. package/lib/unimaze-billing/src/translations/locales.js +11 -0
  206. package/lib/unimaze-billing/src/utils/ApiUtility.d.ts +23 -0
  207. package/lib/unimaze-billing/src/utils/ApiUtility.js +115 -0
  208. package/lib/unimaze-billing/src/utils/BillingLineUtility.d.ts +22 -0
  209. package/lib/unimaze-billing/src/utils/BillingLineUtility.js +158 -0
  210. package/lib/unimaze-billing/src/utils/ConversionUtility.d.ts +9 -0
  211. package/lib/unimaze-billing/src/utils/ConversionUtility.js +223 -0
  212. package/lib/unimaze-billing/src/utils/FileUploadUtility.d.ts +9 -0
  213. package/lib/unimaze-billing/src/utils/FileUploadUtility.js +45 -0
  214. package/lib/unimaze-billing/src/utils/IntlUtility.d.ts +5 -0
  215. package/lib/unimaze-billing/src/utils/IntlUtility.js +55 -0
  216. package/lib/unimaze-billing/src/utils/LocationUtility.d.ts +1 -0
  217. package/lib/unimaze-billing/src/utils/LocationUtility.js +81 -0
  218. package/lib/unimaze-billing/src/utils/ReferenceIdentifierUtility.d.ts +7 -0
  219. package/lib/unimaze-billing/src/utils/ReferenceIdentifierUtility.js +26 -0
  220. package/lib/unimaze-billing/src/utils/RequirementsUtility.d.ts +19 -0
  221. package/lib/unimaze-billing/src/utils/RequirementsUtility.js +189 -0
  222. package/lib/unimaze-billing/src/utils/index.d.ts +2 -0
  223. package/lib/unimaze-billing/src/utils/index.js +8 -0
  224. package/lib/utils/ApiUtility.d.ts +9 -3
  225. package/lib/utils/ApiUtility.js +30 -2
  226. package/lib/utils/BillingLineUtility.d.ts +4 -1
  227. package/lib/utils/BillingLineUtility.js +36 -4
  228. package/lib/utils/RequirementsUtility.d.ts +4 -1
  229. package/lib/utils/RequirementsUtility.js +56 -1
  230. package/package.json +2 -2
@@ -0,0 +1,369 @@
1
+ declare const _default: {
2
+ en: {
3
+ attachment_addAttachmentButton_title: string;
4
+ attachment_error_fileFailedToUpload: string;
5
+ attachment_error_fileTooLarge: string;
6
+ attachment_error_fileWrongType: string;
7
+ attachment_labels_Description: string;
8
+ attachment_labels_Description_requiredMessage: string;
9
+ attachment_labels_File: string;
10
+ attachment_labels_Reference: string;
11
+ attachment_labels_Reference_requiredMessage: string;
12
+ attachment_labels_descriptionErrorMsg: string;
13
+ attachment_labels_onUploadFileMsg: string;
14
+ attachment_labels_uploadFileMsg: string;
15
+ attachment_saveButton_title: string;
16
+ attachment_title: string;
17
+ attachment_tooltip_title: string;
18
+ baseInformation_accountingCostLabel: string;
19
+ baseInformation_accountingCostLabel_helpText: string;
20
+ baseInformation_buyerReferenceLabel: string;
21
+ baseInformation_buyerReferenceLabel_helpText: string;
22
+ baseInformation_costCenter: string;
23
+ baseInformation_dueDate: string;
24
+ baseInformation_dueDateErrorMsg: string;
25
+ baseInformation_dueDate_title: string;
26
+ baseInformation_invoiceNo: string;
27
+ baseInformation_issueDate: string;
28
+ baseInformation_issueDate_title: string;
29
+ baseInformation_notes: string;
30
+ baseInformation_orderReferenceLabel: string;
31
+ baseInformation_orderReferenceLabel_helpText: string;
32
+ baseInformation_projectReferenceLabel: string;
33
+ baseInformation_title: string;
34
+ billingCalculations_labels_AmountPayable: string;
35
+ billingCalculations_labels_RoundingAmount: string;
36
+ billingCalculations_labels_TaxAmountWithoutVat: string;
37
+ billingCalculations_labels_TotalAmountWithVat: string;
38
+ billingCalculations_labels_TotalRoundingAmount: string;
39
+ billingCalculations_labels_TotalVatAmount: string;
40
+ billingLines_button_addRow: string;
41
+ billingLines_currencyCode: string;
42
+ billingLines_currency_DKK: string;
43
+ billingLines_currency_DKK_short: string;
44
+ billingLines_currency_EUR: string;
45
+ billingLines_currency_EUR_short: string;
46
+ billingLines_currency_GBP: string;
47
+ billingLines_currency_GBP_short: string;
48
+ billingLines_currency_ISK: string;
49
+ billingLines_currency_ISK_short: string;
50
+ billingLines_currency_NOK: string;
51
+ billingLines_currency_NOK_short: string;
52
+ billingLines_currency_SEK: string;
53
+ billingLines_currency_SEK_short: string;
54
+ billingLines_currency_USD: string;
55
+ billingLines_currency_USD_short: string;
56
+ billingLines_discount: string;
57
+ billingLines_discount_helpText: string;
58
+ billingLines_itemNo: string;
59
+ billingLines_labels_addButton: string;
60
+ billingLines_lineAmount: string;
61
+ billingLines_name: string;
62
+ billingLines_placeholders_itemNo: string;
63
+ billingLines_placeholders_newItem: string;
64
+ billingLines_quantity: string;
65
+ billingLines_taxAmount: string;
66
+ billingLines_taxCategoryPercentage: string;
67
+ billingLines_taxCategoryType: string;
68
+ billingLines_taxCategoryType_title: string;
69
+ billingLines_title: string;
70
+ billingLines_tooltip_title: string;
71
+ billingLines_total: string;
72
+ billingLines_unitOfMeasure: string;
73
+ billingLines_unitPriceAmount: string;
74
+ billingTaxSummary_taxAmount: string;
75
+ billingTaxSummary_taxCategoryType_labels_Exempt: string;
76
+ billingTaxSummary_taxCategoryType_labels_OutsideTaxScope: string;
77
+ billingTaxSummary_taxCategoryType_labels_ReducedRated: string;
78
+ billingTaxSummary_taxCategoryType_labels_StandardRated: string;
79
+ billingTaxSummary_taxCategoryType_labels_ZeroRated: string;
80
+ billingTaxSummary_taxOverview: string;
81
+ billingTaxSummary_taxableAmount: string;
82
+ createInvoice_ErrorUploadedAttachmentMsg: string;
83
+ createInvoice_SendCopy: string;
84
+ createInvoice_SendCopyTooltip: string;
85
+ createInvoice_SendCopyTooltipDisabled: string;
86
+ createInvoice_Submit: string;
87
+ createInvoice_addDocumentLineMsg: string;
88
+ createInvoice_customerStepTitle: string;
89
+ createInvoice_invoiceStepTitle: string;
90
+ createInvoice_nextStep: string;
91
+ createInvoice_paymentStepTitle: string;
92
+ createInvoice_selectCustomerMsg: string;
93
+ createInvoice_successfullySubmittedInvoiceMsg: string;
94
+ createInvoice_successfullyUploadedAttachmentMsg: string;
95
+ createInvoice_supplierStepTitle: string;
96
+ customer_address_city: string;
97
+ customer_address_countryCode: string;
98
+ customer_address_streetNameAndNumber: string;
99
+ customer_address_zipPostalCode: string;
100
+ customer_contact_email: string;
101
+ customer_contact_name: string;
102
+ customer_identifier: string;
103
+ customer_name: string;
104
+ customer_selectTheCustomer: string;
105
+ customer_title: string;
106
+ deliveryLocation_city: string;
107
+ deliveryLocation_countryCode: string;
108
+ deliveryLocation_partyName: string;
109
+ deliveryLocation_postalZone: string;
110
+ deliveryLocation_streetNameAndNumber: string;
111
+ deliveryLocation_title: string;
112
+ formItem_required_errorMessage: string;
113
+ "invoicePreview.headerTitle": string;
114
+ invoicePreview_attachmentsTitle: string;
115
+ invoicePreview_billingLinesTitle: string;
116
+ invoicePreview_paymentInfoTitle: string;
117
+ missingRequiredData: string;
118
+ paymentMethod_label: string;
119
+ paymentMethod_labels_domesticTransfer_accountNo: string;
120
+ paymentMethod_labels_domesticTransfer_accountType: string;
121
+ paymentMethod_labels_domesticTransfer_bankNo: string;
122
+ paymentMethod_labels_domesticTransfer_paymentReference: string;
123
+ paymentMethod_labels_icelandicClaim_bankNo: string;
124
+ paymentMethod_labels_icelandicClaim_claimNo: string;
125
+ paymentMethod_labels_methods_domesticClaim: string;
126
+ paymentMethod_labels_methods_domesticTransfer: string;
127
+ paymentMethod_labels_methods_mutuallyAgreed: string;
128
+ paymentMethod_labels_methods_undefined: string;
129
+ paymentMethod_rules_Length: string;
130
+ paymentMethod_rules_number: string;
131
+ paymentMethod_title: string;
132
+ referenceIdentifiers_labels_AKG: string;
133
+ referenceIdentifiers_labels_ARR: string;
134
+ referenceIdentifiers_labels_LOC: string;
135
+ referenceIdentifiers_labels_addButton: string;
136
+ referenceIdentifiers_labels_referenceIdentifier: string;
137
+ referenceIdentifiers_labels_referenceIdentifier_title: string;
138
+ saveInformation_label: string;
139
+ submitConfirmation_footer_text: string;
140
+ submitConfirmation_text: string;
141
+ submitConfirmation_title: string;
142
+ supplier_address_city: string;
143
+ supplier_address_countryCode: string;
144
+ supplier_address_streetNameAndNumber: string;
145
+ supplier_address_zip_postalCode: string;
146
+ supplier_address_zip_postalZone: string;
147
+ supplier_contact_email: string;
148
+ supplier_contact_email_title: string;
149
+ supplier_contact_name: string;
150
+ supplier_contact_phoneNumber: string;
151
+ supplier_identifier: string;
152
+ supplier_name: string;
153
+ supplier_notFound: string;
154
+ supplier_notValidEmail: string;
155
+ supplier_notVatRegistered: string;
156
+ supplier_title: string;
157
+ supplier_vatNumber: string;
158
+ supplier_vatNumber_mandatory: string;
159
+ taxCategoryType_labels_Exempt: string;
160
+ taxCategoryType_labels_ExemptEuropeanEconomicArea: string;
161
+ taxCategoryType_labels_FreeExportTaxNotCharged: string;
162
+ taxCategoryType_labels_OutsideTaxScope: string;
163
+ taxCategoryType_labels_ReducedRated: string;
164
+ taxCategoryType_labels_ReverseCharged: string;
165
+ taxCategoryType_labels_StandardRated: string;
166
+ taxCategoryType_labels_ZeroRated: string;
167
+ unitOfMeasure_labels_CubicMetre: string;
168
+ unitOfMeasure_labels_Day: string;
169
+ unitOfMeasure_labels_Hour: string;
170
+ unitOfMeasure_labels_KiloWattHour: string;
171
+ unitOfMeasure_labels_Kilogram: string;
172
+ unitOfMeasure_labels_Kilometre: string;
173
+ unitOfMeasure_labels_Litre: string;
174
+ unitOfMeasure_labels_Metre: string;
175
+ unitOfMeasure_labels_Month: string;
176
+ unitOfMeasure_labels_One: string;
177
+ unitOfMeasure_labels_Package: string;
178
+ unitOfMeasure_labels_Piece: string;
179
+ unitOfMeasure_labels_SquareMetre: string;
180
+ unitOfMeasure_labels_Tonne: string;
181
+ unitOfMeasure_labels_Year: string;
182
+ validationRule_kennitalaPattern: string;
183
+ welcomeModal_button_title: string;
184
+ };
185
+ is: {
186
+ attachment_addAttachmentButton_title: string;
187
+ attachment_error_fileFailedToUpload: string;
188
+ attachment_error_fileTooLarge: string;
189
+ attachment_error_fileWrongType: string;
190
+ attachment_labels_Description: string;
191
+ attachment_labels_Description_requiredMessage: string;
192
+ attachment_labels_File: string;
193
+ attachment_labels_Reference: string;
194
+ attachment_labels_Reference_requiredMessage: string;
195
+ attachment_labels_descriptionErrorMsg: string;
196
+ attachment_labels_onUploadFileMsg: string;
197
+ attachment_labels_uploadFileMsg: string;
198
+ attachment_saveButton_title: string;
199
+ attachment_title: string;
200
+ attachment_tooltip_title: string;
201
+ baseInformation_accountingCostLabel: string;
202
+ baseInformation_accountingCostLabel_helpText: string;
203
+ baseInformation_buyerReferenceLabel: string;
204
+ baseInformation_buyerReferenceLabel_helpText: string;
205
+ baseInformation_costCenter: string;
206
+ baseInformation_dueDate: string;
207
+ baseInformation_dueDateErrorMsg: string;
208
+ baseInformation_dueDate_title: string;
209
+ baseInformation_invoiceNo: string;
210
+ baseInformation_issueDate: string;
211
+ baseInformation_issueDate_title: string;
212
+ baseInformation_notes: string;
213
+ baseInformation_orderReferenceLabel: string;
214
+ baseInformation_orderReferenceLabel_helpText: string;
215
+ baseInformation_projectReferenceLabel: string;
216
+ baseInformation_title: string;
217
+ billingCalculations_labels_AmountPayable: string;
218
+ billingCalculations_labels_RoundingAmount: string;
219
+ billingCalculations_labels_TaxAmountWithoutVat: string;
220
+ billingCalculations_labels_TotalAmountWithVat: string;
221
+ billingCalculations_labels_TotalRoundingAmount: string;
222
+ billingCalculations_labels_TotalVatAmount: string;
223
+ billingLines_button_addRow: string;
224
+ billingLines_currencyCode: string;
225
+ billingLines_currency_DKK: string;
226
+ billingLines_currency_DKK_short: string;
227
+ billingLines_currency_EUR: string;
228
+ billingLines_currency_EUR_short: string;
229
+ billingLines_currency_GBP: string;
230
+ billingLines_currency_GBP_short: string;
231
+ billingLines_currency_ISK: string;
232
+ billingLines_currency_ISK_short: string;
233
+ billingLines_currency_NOK: string;
234
+ billingLines_currency_NOK_short: string;
235
+ billingLines_currency_SEK: string;
236
+ billingLines_currency_SEK_short: string;
237
+ billingLines_currency_USD: string;
238
+ billingLines_currency_USD_short: string;
239
+ billingLines_discount: string;
240
+ billingLines_discount_helpText: string;
241
+ billingLines_itemNo: string;
242
+ billingLines_labels_addButton: string;
243
+ billingLines_lineAmount: string;
244
+ billingLines_name: string;
245
+ billingLines_placeholders_itemNo: string;
246
+ billingLines_placeholders_newItem: string;
247
+ billingLines_quantity: string;
248
+ billingLines_taxAmount: string;
249
+ billingLines_taxCategoryPercentage: string;
250
+ billingLines_taxCategoryType: string;
251
+ billingLines_taxCategoryType_title: string;
252
+ billingLines_title: string;
253
+ billingLines_tooltip_title: string;
254
+ billingLines_total: string;
255
+ billingLines_unitOfMeasure: string;
256
+ billingLines_unitPriceAmount: string;
257
+ billingTaxSummary_taxAmount: string;
258
+ billingTaxSummary_taxCategoryType_labels_Exempt: string;
259
+ billingTaxSummary_taxCategoryType_labels_OutsideTaxScope: string;
260
+ billingTaxSummary_taxCategoryType_labels_ReducedRated: string;
261
+ billingTaxSummary_taxCategoryType_labels_StandardRated: string;
262
+ billingTaxSummary_taxCategoryType_labels_ZeroRated: string;
263
+ billingTaxSummary_taxOverview: string;
264
+ billingTaxSummary_taxableAmount: string;
265
+ createInvoice_ErrorUploadedAttachmentMsg: string;
266
+ createInvoice_SendCopy: string;
267
+ createInvoice_SendCopyTooltip: string;
268
+ createInvoice_SendCopyTooltipDisabled: string;
269
+ createInvoice_Submit: string;
270
+ createInvoice_addDocumentLineMsg: string;
271
+ createInvoice_customerStepTitle: string;
272
+ createInvoice_invoiceStepTitle: string;
273
+ createInvoice_nextStep: string;
274
+ createInvoice_paymentStepTitle: string;
275
+ createInvoice_selectCustomerMsg: string;
276
+ createInvoice_successfullySubmittedInvoiceMsg: string;
277
+ createInvoice_successfullyUploadedAttachmentMsg: string;
278
+ createInvoice_supplierStepTitle: string;
279
+ customer_address_city: string;
280
+ customer_address_countryCode: string;
281
+ customer_address_streetNameAndNumber: string;
282
+ customer_address_zipPostalCode: string;
283
+ customer_contact_email: string;
284
+ customer_contact_name: string;
285
+ customer_identifier: string;
286
+ customer_name: string;
287
+ customer_selectTheCustomer: string;
288
+ customer_title: string;
289
+ deliveryLocation_city: string;
290
+ deliveryLocation_countryCode: string;
291
+ deliveryLocation_partyName: string;
292
+ deliveryLocation_postalZone: string;
293
+ deliveryLocation_streetNameAndNumber: string;
294
+ deliveryLocation_title: string;
295
+ formItem_required_errorMessage: string;
296
+ "invoicePreview.headerTitle": string;
297
+ invoicePreview_attachmentsTitle: string;
298
+ invoicePreview_billingLinesTitle: string;
299
+ invoicePreview_paymentInfoTitle: string;
300
+ missingRequiredData: string;
301
+ paymentMethod_label: string;
302
+ paymentMethod_labels_domesticTransfer_accountNo: string;
303
+ paymentMethod_labels_domesticTransfer_accountType: string;
304
+ paymentMethod_labels_domesticTransfer_bankNo: string;
305
+ paymentMethod_labels_domesticTransfer_paymentReference: string;
306
+ paymentMethod_labels_icelandicClaim_bankNo: string;
307
+ paymentMethod_labels_icelandicClaim_claimNo: string;
308
+ paymentMethod_labels_methods_domesticClaim: string;
309
+ paymentMethod_labels_methods_domesticTransfer: string;
310
+ paymentMethod_labels_methods_mutuallyAgreed: string;
311
+ paymentMethod_labels_methods_undefined: string;
312
+ paymentMethod_rules_Length: string;
313
+ paymentMethod_rules_number: string;
314
+ paymentMethod_title: string;
315
+ referenceIdentifiers_labels_AKG: string;
316
+ referenceIdentifiers_labels_ARR: string;
317
+ referenceIdentifiers_labels_LOC: string;
318
+ referenceIdentifiers_labels_addButton: string;
319
+ referenceIdentifiers_labels_referenceIdentifier: string;
320
+ referenceIdentifiers_labels_referenceIdentifier_title: string;
321
+ saveInformation_label: string;
322
+ submitConfirmation_footer_text: string;
323
+ submitConfirmation_text: string;
324
+ submitConfirmation_title: string;
325
+ supplier_address_city: string;
326
+ supplier_address_countryCode: string;
327
+ supplier_address_streetNameAndNumber: string;
328
+ supplier_address_zip_postalCode: string;
329
+ supplier_address_zip_postalZone: string;
330
+ supplier_contact_email: string;
331
+ supplier_contact_email_title: string;
332
+ supplier_contact_name: string;
333
+ supplier_contact_phoneNumber: string;
334
+ supplier_identifier: string;
335
+ supplier_name: string;
336
+ supplier_notFound: string;
337
+ supplier_notValidEmail: string;
338
+ supplier_notVatRegistered: string;
339
+ supplier_title: string;
340
+ supplier_vatNumber: string;
341
+ supplier_vatNumber_mandatory: string;
342
+ taxCategoryType_labels_Exempt: string;
343
+ taxCategoryType_labels_ExemptEuropeanEconomicArea: string;
344
+ taxCategoryType_labels_FreeExportTaxNotCharged: string;
345
+ taxCategoryType_labels_OutsideTaxScope: string;
346
+ taxCategoryType_labels_ReducedRated: string;
347
+ taxCategoryType_labels_ReverseCharged: string;
348
+ taxCategoryType_labels_StandardRated: string;
349
+ taxCategoryType_labels_ZeroRated: string;
350
+ unitOfMeasure_labels_CubicMetre: string;
351
+ unitOfMeasure_labels_Day: string;
352
+ unitOfMeasure_labels_Hour: string;
353
+ unitOfMeasure_labels_KiloWattHour: string;
354
+ unitOfMeasure_labels_Kilogram: string;
355
+ unitOfMeasure_labels_Kilometre: string;
356
+ unitOfMeasure_labels_Litre: string;
357
+ unitOfMeasure_labels_Metre: string;
358
+ unitOfMeasure_labels_Month: string;
359
+ unitOfMeasure_labels_One: string;
360
+ unitOfMeasure_labels_Package: string;
361
+ unitOfMeasure_labels_Piece: string;
362
+ unitOfMeasure_labels_SquareMetre: string;
363
+ unitOfMeasure_labels_Tonne: string;
364
+ unitOfMeasure_labels_Year: string;
365
+ validationRule_kennitalaPattern: string;
366
+ welcomeModal_button_title: string;
367
+ };
368
+ };
369
+ export default _default;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var is_json_1 = __importDefault(require("./locales/is.json"));
7
+ var en_json_1 = __importDefault(require("./locales/en.json"));
8
+ // English is the default message in each of our source files, so no need for a separate en.json file
9
+ // const en = {};
10
+ // If we add more than just spanish, just import the files and export it below: export default { en, es, de }
11
+ exports.default = { en: en_json_1.default, is: is_json_1.default };
@@ -0,0 +1,23 @@
1
+ import { MessageOutput } from "@unimaze/api-clients/lib/mapi";
2
+ import { InvoiceMetadataInput, TransactionProcessingMode } from "@unimaze/api-clients/lib/mapi/api";
3
+ import { AxiosPromise, CancelToken } from "axios";
4
+ import { LanguageProp } from "../common/types/CommonProps";
5
+ interface CreateSubmitInvoice {
6
+ messageId: string;
7
+ more: boolean;
8
+ conversationIdentifier?: string;
9
+ processingMode?: TransactionProcessingMode;
10
+ services?: string[];
11
+ invoiceMetadataInput?: InvoiceMetadataInput;
12
+ }
13
+ interface AttachDocument {
14
+ messageId: string;
15
+ name: string;
16
+ contentType: string;
17
+ more: boolean;
18
+ }
19
+ declare const submitDocument: (data: any, attachDocument: AttachDocument, mapiBaseUrl: string, apiKey?: string) => AxiosPromise<MessageOutput>;
20
+ declare const submitDocumentFetch: (data: any, attachDocument: AttachDocument, mapiBaseUrl: string, apiKey: string) => Promise<Response>;
21
+ declare const submitInvoice: (createSubmitInvoice: CreateSubmitInvoice, mapiBaseUrl: string, rapiBaseUrl: string, apiKey: string, callName?: string, language?: LanguageProp) => AxiosPromise<MessageOutput>;
22
+ export declare const getCancelToken: (callName: string, showMessage?: boolean) => CancelToken;
23
+ export { submitInvoice, CreateSubmitInvoice, submitDocument, AttachDocument, submitDocumentFetch };
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.submitDocumentFetch = exports.submitDocument = exports.submitInvoice = exports.getCancelToken = void 0;
18
+ var api_clients_1 = require("@unimaze/api-clients");
19
+ var api_1 = require("@unimaze/api-clients/src/rapi/api");
20
+ var mapi_1 = require("@unimaze/api-clients/lib/mapi");
21
+ var axios_1 = __importDefault(require("axios"));
22
+ var initialiseTransactionApi = function (mapiBaseUrl) {
23
+ var apiConfig = {
24
+ basePath: mapiBaseUrl,
25
+ };
26
+ var initiatedConfig = new mapi_1.Configuration(apiConfig);
27
+ return new api_clients_1.mapi.TransactionApi(initiatedConfig);
28
+ };
29
+ var initialiseMessageApi = function (mapiBaseUrl) {
30
+ var apiConfig = {
31
+ basePath: mapiBaseUrl,
32
+ };
33
+ var initiatedConfig = new mapi_1.Configuration(apiConfig);
34
+ return new api_clients_1.mapi.MessageApi(initiatedConfig);
35
+ };
36
+ var initialiseRapiPortalApi = function (rapiBaseUrl) {
37
+ var apiConfig = {
38
+ basePath: rapiBaseUrl,
39
+ };
40
+ var initiatedConfig = new mapi_1.Configuration(apiConfig);
41
+ return new api_1.PortalApi(initiatedConfig);
42
+ };
43
+ var submitDocument = function (data, attachDocument, mapiBaseUrl, apiKey) {
44
+ var messageId = attachDocument.messageId, name = attachDocument.name, contentType = attachDocument.contentType, more = attachDocument.more;
45
+ var headers = __assign(__assign({}, (apiKey && { Authorization: "Bearer ".concat(window.btoa(apiKey)) })), { "Content-Type": "application/octet-stream", "X-test": "test" });
46
+ return axios_1.default.post("".concat(mapiBaseUrl, "/api/v1/messages/").concat(messageId, "/documents"), data, {
47
+ params: {
48
+ name: name,
49
+ contentType: contentType,
50
+ more: more
51
+ },
52
+ headers: headers
53
+ });
54
+ // const messageApi = initialiseMessageApi(mapiBaseUrl);
55
+ //
56
+ // const options = createOptionsData(data, apiKey)
57
+ // return messageApi.addDocuments(
58
+ // messageId,
59
+ // name,
60
+ // contentType,
61
+ // more,
62
+ // undefined,
63
+ // undefined,
64
+ // undefined,
65
+ // options
66
+ // )
67
+ };
68
+ exports.submitDocument = submitDocument;
69
+ var submitDocumentFetch = function (data, attachDocument, mapiBaseUrl, apiKey) {
70
+ var messageId = attachDocument.messageId, name = attachDocument.name, contentType = attachDocument.contentType, more = attachDocument.more;
71
+ var headers = {
72
+ Authorization: "Bearer ".concat(window.btoa(apiKey)),
73
+ "Content-Type": "application/octet-stream",
74
+ "X-test": "test",
75
+ };
76
+ var responsePromise = fetch("".concat(mapiBaseUrl, "/api/v1/messages/").concat(messageId, "/documents?Name=").concat(name, "&ContentType=").concat(contentType, "&More=").concat(more), {
77
+ method: "POST",
78
+ headers: headers,
79
+ body: data
80
+ });
81
+ return responsePromise;
82
+ };
83
+ exports.submitDocumentFetch = submitDocumentFetch;
84
+ var submitInvoice = function (createSubmitInvoice, mapiBaseUrl, rapiBaseUrl, apiKey, callName, language) {
85
+ var transactionApi = initialiseTransactionApi(mapiBaseUrl);
86
+ var portalApi = initialiseRapiPortalApi(rapiBaseUrl);
87
+ var token = portalApi.supplierPortalAuthenticate();
88
+ var messageId = createSubmitInvoice.messageId, more = createSubmitInvoice.more, conversationIdentifier = createSubmitInvoice.conversationIdentifier, processingMode = createSubmitInvoice.processingMode, services = createSubmitInvoice.services, invoiceMetadataInput = createSubmitInvoice.invoiceMetadataInput;
89
+ return transactionApi.createSubmitInvoice(messageId, more, conversationIdentifier, processingMode, services, invoiceMetadataInput, createOptions(apiKey, callName, language));
90
+ };
91
+ exports.submitInvoice = submitInvoice;
92
+ var createOptions = function (apiKey, callName, language) {
93
+ return __assign({ headers: {
94
+ "Accept-Language": language ? language : "en",
95
+ Authorization: "Bearer ".concat(window.btoa(apiKey))
96
+ } }, (callName && { cancelToken: (0, exports.getCancelToken)(callName) }));
97
+ };
98
+ var createOptionsData = function (data, apiKey, callName, language) {
99
+ var options = __assign(__assign({}, (callName && { cancelToken: (0, exports.getCancelToken)(callName) })), { data: data, headers: {
100
+ "Accept-Language": language ? language : "en",
101
+ Authorization: "Bearer ".concat(window.btoa(apiKey)),
102
+ "Content-Type": "application/octet-stream"
103
+ } });
104
+ return options;
105
+ };
106
+ var getCancelToken = function (callName, showMessage) {
107
+ if (showMessage === void 0) { showMessage = true; }
108
+ var cancelTokenSource = window[callName];
109
+ if (cancelTokenSource && showMessage) {
110
+ cancelTokenSource.cancel("only one call allowed. Canceling previous call");
111
+ }
112
+ window[callName] = axios_1.default.CancelToken.source();
113
+ return window[callName].token;
114
+ };
115
+ exports.getCancelToken = getCancelToken;
@@ -0,0 +1,22 @@
1
+ import { BillingLineMetadata } from "@unimaze/api-clients/lib/mapi";
2
+ import { FormInstance } from "antd/es/form";
3
+ import { TaxCategoryTypeEnum } from "@unimaze/api-clients/lib/mapi/api";
4
+ import { BillingLineMetadataOverride } from "../common/types/BillingLineMetadataOverride";
5
+ import React from "react";
6
+ import { IntlShape } from "react-intl";
7
+ import { DiscountType } from "../common/types/DiscountType";
8
+ export interface Totals {
9
+ totalTaxableAmount: number;
10
+ totalTaxAmount: number;
11
+ totalTaxInclusiveAmount: number;
12
+ roundingAmount: number;
13
+ discountAmount: number;
14
+ }
15
+ export declare const billingLinesFieldsMetadata: (formInstance: FormInstance) => BillingLineMetadata[];
16
+ export declare const calculateDiscountAmount: (discountValue: string | null | undefined, quantity: number | null, unitPriceAmount: number | null) => number;
17
+ export declare const calculateTaxableAmount: (discountValue: string | null | undefined, quantity: number | null, unitPriceAmount: number | null, discountType: DiscountType) => number;
18
+ export declare const calculateTaxAmount: (taxableAmount: number, taxPercentage: number) => number;
19
+ export declare const calculateTaxPercentage: (taxCategoryType: TaxCategoryTypeEnum | undefined) => number;
20
+ export declare const generateTaxCategoryLabel: (taxCategoryType: TaxCategoryTypeEnum | undefined, taxCategoryTypeTranslated: string) => string;
21
+ export declare const getCorrectInputNode: (dataIdx: keyof BillingLineMetadataOverride, intl: IntlShape, placeholder: string, required: boolean, addonAfter?: React.ReactNode, mobile?: boolean) => React.ReactChild;
22
+ export declare const getTotals: (invoiceLines: BillingLineMetadataOverride[]) => Totals;