@spaceinvoices/react-ui 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/cli/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/registry.json +25 -0
  4. package/src/components/advance-invoices/advance-invoices.hooks.ts +32 -2
  5. package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +109 -4
  6. package/src/components/advance-invoices/create/locales/de.ts +2 -0
  7. package/src/components/advance-invoices/create/locales/es.ts +2 -0
  8. package/src/components/advance-invoices/create/locales/fr.ts +2 -0
  9. package/src/components/advance-invoices/create/locales/hr.ts +2 -0
  10. package/src/components/advance-invoices/create/locales/it.ts +2 -0
  11. package/src/components/advance-invoices/create/locales/nl.ts +2 -0
  12. package/src/components/advance-invoices/create/locales/pl.ts +2 -0
  13. package/src/components/advance-invoices/create/locales/pt.ts +2 -0
  14. package/src/components/advance-invoices/create/locales/sl.ts +2 -0
  15. package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +17 -0
  16. package/src/components/advance-invoices/list/list-row-actions.tsx +3 -6
  17. package/src/components/advance-invoices/list/list-table.tsx +45 -2
  18. package/src/components/advance-invoices/list/locales/de.ts +3 -0
  19. package/src/components/advance-invoices/list/locales/en.ts +3 -0
  20. package/src/components/advance-invoices/list/locales/es.ts +3 -0
  21. package/src/components/advance-invoices/list/locales/fr.ts +3 -0
  22. package/src/components/advance-invoices/list/locales/hr.ts +3 -0
  23. package/src/components/advance-invoices/list/locales/it.ts +3 -0
  24. package/src/components/advance-invoices/list/locales/nl.ts +3 -0
  25. package/src/components/advance-invoices/list/locales/pl.ts +3 -0
  26. package/src/components/advance-invoices/list/locales/pt.ts +3 -0
  27. package/src/components/advance-invoices/list/locales/sl.ts +3 -0
  28. package/src/components/credit-notes/create/create-credit-note-form.tsx +177 -6
  29. package/src/components/credit-notes/create/locales/de.ts +8 -0
  30. package/src/components/credit-notes/create/locales/es.ts +8 -0
  31. package/src/components/credit-notes/create/locales/fr.ts +7 -0
  32. package/src/components/credit-notes/create/locales/hr.ts +7 -0
  33. package/src/components/credit-notes/create/locales/it.ts +9 -0
  34. package/src/components/credit-notes/create/locales/nl.ts +7 -0
  35. package/src/components/credit-notes/create/locales/pl.ts +7 -0
  36. package/src/components/credit-notes/create/locales/pt.ts +7 -0
  37. package/src/components/credit-notes/create/locales/sl.ts +7 -0
  38. package/src/components/credit-notes/credit-notes.hooks.ts +30 -0
  39. package/src/components/credit-notes/list/list-row-actions.tsx +3 -6
  40. package/src/components/credit-notes/list/list-table.tsx +45 -2
  41. package/src/components/credit-notes/list/locales/de.ts +3 -0
  42. package/src/components/credit-notes/list/locales/en.ts +3 -0
  43. package/src/components/credit-notes/list/locales/es.ts +3 -0
  44. package/src/components/credit-notes/list/locales/fr.ts +3 -0
  45. package/src/components/credit-notes/list/locales/hr.ts +3 -0
  46. package/src/components/credit-notes/list/locales/it.ts +3 -0
  47. package/src/components/credit-notes/list/locales/nl.ts +3 -0
  48. package/src/components/credit-notes/list/locales/pl.ts +3 -0
  49. package/src/components/credit-notes/list/locales/pt.ts +3 -0
  50. package/src/components/credit-notes/list/locales/sl.ts +3 -0
  51. package/src/components/customers/create-customer-form/create-customer-form.tsx +0 -1
  52. package/src/components/documents/create/document-details-section.tsx +67 -1
  53. package/src/components/documents/create/mark-as-paid-section.tsx +11 -2
  54. package/src/components/documents/view/document-actions-bar.tsx +30 -0
  55. package/src/components/documents/view/locales/de.ts +5 -0
  56. package/src/components/documents/view/locales/es.ts +5 -0
  57. package/src/components/documents/view/locales/fr.ts +5 -0
  58. package/src/components/documents/view/locales/hr.ts +5 -0
  59. package/src/components/documents/view/locales/it.ts +5 -0
  60. package/src/components/documents/view/locales/nl.ts +5 -0
  61. package/src/components/documents/view/locales/pl.ts +5 -0
  62. package/src/components/documents/view/locales/pt.ts +5 -0
  63. package/src/components/documents/view/locales/sl.ts +5 -0
  64. package/src/components/entities/create-entity-form.tsx +1 -1
  65. package/src/components/entities/entity-settings-form/entity-settings-form.tsx +2 -3
  66. package/src/components/entities/entity-settings-form/locales/es.ts +2 -0
  67. package/src/components/entities/entity-settings-form/locales/fr.ts +2 -0
  68. package/src/components/entities/entity-settings-form/locales/hr.ts +2 -0
  69. package/src/components/entities/entity-settings-form/locales/it.ts +2 -0
  70. package/src/components/entities/entity-settings-form/locales/nl.ts +2 -0
  71. package/src/components/entities/entity-settings-form/locales/pl.ts +2 -0
  72. package/src/components/entities/entity-settings-form/locales/pt.ts +2 -0
  73. package/src/components/entities/fina-settings-form/fina-operator-required-dialog.tsx +109 -0
  74. package/src/components/entities/fina-settings-form/fina-settings-form.tsx +365 -35
  75. package/src/components/entities/fina-settings-form/fina-settings.hooks.ts +101 -20
  76. package/src/components/entities/fina-settings-form/index.ts +1 -0
  77. package/src/components/entities/fina-settings-form/locales/de.ts +54 -34
  78. package/src/components/entities/fina-settings-form/locales/en.ts +51 -34
  79. package/src/components/entities/fina-settings-form/locales/es.ts +50 -34
  80. package/src/components/entities/fina-settings-form/locales/fr.ts +50 -34
  81. package/src/components/entities/fina-settings-form/locales/hr.ts +50 -34
  82. package/src/components/entities/fina-settings-form/locales/it.ts +50 -34
  83. package/src/components/entities/fina-settings-form/locales/nl.ts +50 -34
  84. package/src/components/entities/fina-settings-form/locales/pl.ts +50 -34
  85. package/src/components/entities/fina-settings-form/locales/pt.ts +50 -34
  86. package/src/components/entities/fina-settings-form/locales/sl.ts +50 -34
  87. package/src/components/entities/fina-settings-form/sections/certificate-settings-section.tsx +18 -0
  88. package/src/components/entities/fina-settings-form/sections/premises-management-section.tsx +64 -89
  89. package/src/components/entities/fina-settings-form/sections/register-premise-dialog.tsx +51 -323
  90. package/src/components/entities/furs-settings-form/furs-operator-required-dialog.tsx +106 -0
  91. package/src/components/entities/furs-settings-form/furs-settings-form.tsx +24 -10
  92. package/src/components/entities/furs-settings-form/furs-settings.hooks.ts +5 -9
  93. package/src/components/entities/furs-settings-form/index.ts +1 -0
  94. package/src/components/entities/furs-settings-form/locales/de.ts +27 -3
  95. package/src/components/entities/furs-settings-form/locales/en.ts +17 -3
  96. package/src/components/entities/furs-settings-form/locales/es.ts +26 -3
  97. package/src/components/entities/furs-settings-form/locales/fr.ts +26 -3
  98. package/src/components/entities/furs-settings-form/locales/hr.ts +26 -3
  99. package/src/components/entities/furs-settings-form/locales/it.ts +26 -3
  100. package/src/components/entities/furs-settings-form/locales/nl.ts +26 -3
  101. package/src/components/entities/furs-settings-form/locales/pl.ts +26 -3
  102. package/src/components/entities/furs-settings-form/locales/pt.ts +26 -3
  103. package/src/components/entities/furs-settings-form/locales/sl.ts +16 -3
  104. package/src/components/entities/furs-settings-form/sections/certificate-settings-section.tsx +22 -0
  105. package/src/components/entities/furs-settings-form/sections/general-settings-section.tsx +15 -2
  106. package/src/components/entities/furs-settings-form/sections/register-premise-dialog.tsx +14 -2
  107. package/src/components/entities/settings/tax-rules-settings-form.tsx +4 -4
  108. package/src/components/estimates/list/list-row-actions.tsx +3 -7
  109. package/src/components/estimates/list/list-table.tsx +35 -2
  110. package/src/components/estimates/list/locales/de.ts +3 -0
  111. package/src/components/estimates/list/locales/en.ts +3 -0
  112. package/src/components/estimates/list/locales/es.ts +3 -0
  113. package/src/components/estimates/list/locales/fr.ts +3 -0
  114. package/src/components/estimates/list/locales/hr.ts +3 -0
  115. package/src/components/estimates/list/locales/it.ts +3 -0
  116. package/src/components/estimates/list/locales/nl.ts +3 -0
  117. package/src/components/estimates/list/locales/pl.ts +3 -0
  118. package/src/components/estimates/list/locales/pt.ts +3 -0
  119. package/src/components/estimates/list/locales/sl.ts +3 -0
  120. package/src/components/export/document-export-form.tsx +34 -34
  121. package/src/components/invoices/create/create-invoice-form.tsx +107 -5
  122. package/src/components/invoices/create/prepare-invoice-submission.ts +17 -0
  123. package/src/components/invoices/invoices.hooks.ts +32 -2
  124. package/src/components/invoices/list/list-row-actions.tsx +23 -8
  125. package/src/components/invoices/list/list-table.tsx +53 -2
  126. package/src/components/invoices/list/locales/de.ts +4 -0
  127. package/src/components/invoices/list/locales/en.ts +4 -0
  128. package/src/components/invoices/list/locales/es.ts +4 -0
  129. package/src/components/invoices/list/locales/fr.ts +4 -0
  130. package/src/components/invoices/list/locales/hr.ts +4 -0
  131. package/src/components/invoices/list/locales/it.ts +4 -0
  132. package/src/components/invoices/list/locales/nl.ts +4 -0
  133. package/src/components/invoices/list/locales/pl.ts +4 -0
  134. package/src/components/invoices/list/locales/pt.ts +4 -0
  135. package/src/components/invoices/list/locales/sl.ts +4 -0
  136. package/src/components/invoices/view/fiscalization-status-card.tsx +4 -1
  137. package/src/components/items/item-list-table/item-list-row-actions.tsx +3 -7
  138. package/src/components/items/item-list-table/item-list-row.tsx +3 -2
  139. package/src/components/items/item-list-table/item-list-table.tsx +5 -1
  140. package/src/components/recurring-invoices/create-recurring-invoice-form/create-recurring-invoice-form.tsx +418 -0
  141. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/de.ts +45 -0
  142. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/es.ts +44 -0
  143. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/fr.ts +44 -0
  144. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/hr.ts +44 -0
  145. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/it.ts +44 -0
  146. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/nl.ts +44 -0
  147. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/pl.ts +44 -0
  148. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/pt.ts +44 -0
  149. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sl.ts +44 -0
  150. package/src/components/recurring-invoices/index.ts +3 -0
  151. package/src/components/recurring-invoices/list/index.ts +2 -0
  152. package/src/components/recurring-invoices/list/list-row-actions.tsx +139 -0
  153. package/src/components/recurring-invoices/list/list-table.tsx +179 -0
  154. package/src/components/recurring-invoices/list/locales/de.ts +27 -0
  155. package/src/components/recurring-invoices/list/locales/en.ts +5 -0
  156. package/src/components/recurring-invoices/list/locales/es.ts +27 -0
  157. package/src/components/recurring-invoices/list/locales/fr.ts +27 -0
  158. package/src/components/recurring-invoices/list/locales/hr.ts +27 -0
  159. package/src/components/recurring-invoices/list/locales/it.ts +27 -0
  160. package/src/components/recurring-invoices/list/locales/nl.ts +27 -0
  161. package/src/components/recurring-invoices/list/locales/pl.ts +27 -0
  162. package/src/components/recurring-invoices/list/locales/pt.ts +27 -0
  163. package/src/components/recurring-invoices/list/locales/sl.ts +27 -0
  164. package/src/components/recurring-invoices/recurring-invoices.hooks.ts +28 -0
  165. package/src/components/table/data-table.tsx +122 -5
  166. package/src/components/table/selection-toolbar.tsx +36 -0
  167. package/src/components/tax-reports/kir-export-form.tsx +75 -55
  168. package/src/components/taxes/tax-list-table/tax-list-row-actions.tsx +3 -6
  169. package/src/components/taxes/tax-list-table/tax-list-row.tsx +3 -2
  170. package/src/components/taxes/tax-list-table/tax-list-table.tsx +5 -1
  171. package/src/components/ui/checkbox.tsx +5 -5
  172. package/src/generate-schemas.ts +45 -18
  173. package/src/generated/schemas/authorizeshopify_body.ts +22 -0
  174. package/src/generated/schemas/creditnote.ts +0 -2
  175. package/src/generated/schemas/entity.ts +1 -1
  176. package/src/generated/schemas/index.ts +39 -28
  177. package/src/generated/schemas/order.ts +127 -0
  178. package/src/generated/schemas/orderintegration.ts +51 -0
  179. package/src/generated/schemas/payment.ts +2 -0
  180. package/src/generated/schemas/recurringinvoice.ts +61 -0
  181. package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +107 -140
  182. package/src/generated/schemas/rendercreditnotepreview_body.ts +108 -141
  183. package/src/generated/schemas/renderestimatepreview_body.ts +78 -82
  184. package/src/generated/schemas/renderinvoicepreview_body.ts +108 -141
  185. package/src/generated/schemas/webhook.ts +42 -0
  186. package/src/lib/furs-error-utils.ts +36 -0
  187. package/src/lib/schemas/advance-invoice.ts +3 -3
  188. package/src/lib/schemas/credit-note.ts +3 -3
  189. package/src/lib/schemas/estimate.ts +3 -3
  190. package/src/lib/schemas/invoice.ts +3 -3
  191. package/src/providers/white-label-provider.tsx +3 -0
@@ -0,0 +1,106 @@
1
+ import { type FC, useState } from "react";
2
+ import { Button } from "@/ui/components/ui/button";
3
+ import {
4
+ Dialog,
5
+ DialogContent,
6
+ DialogDescription,
7
+ DialogFooter,
8
+ DialogHeader,
9
+ DialogTitle,
10
+ } from "@/ui/components/ui/dialog";
11
+ import { Input } from "@/ui/components/ui/input";
12
+ import { useUpdateUserFursSettings } from "./furs-settings.hooks";
13
+
14
+ interface FursOperatorRequiredDialogProps {
15
+ open: boolean;
16
+ onOpenChange: (open: boolean) => void;
17
+ entityId: string;
18
+ onSaved: () => void;
19
+ t: (key: string) => string;
20
+ }
21
+
22
+ export const FursOperatorRequiredDialog: FC<FursOperatorRequiredDialogProps> = ({
23
+ open,
24
+ onOpenChange,
25
+ entityId,
26
+ onSaved,
27
+ t,
28
+ }) => {
29
+ const [operatorTaxNumber, setOperatorTaxNumber] = useState("");
30
+ const [operatorLabel, setOperatorLabel] = useState("");
31
+
32
+ const { mutate: updateUserSettings, isPending } = useUpdateUserFursSettings({
33
+ onSuccess: () => {
34
+ setOperatorTaxNumber("");
35
+ setOperatorLabel("");
36
+ onSaved();
37
+ },
38
+ });
39
+
40
+ const handleSubmit = (e: React.FormEvent) => {
41
+ e.preventDefault();
42
+ e.stopPropagation();
43
+ if (!operatorTaxNumber || !operatorLabel) return;
44
+ updateUserSettings({
45
+ entityId,
46
+ data: {
47
+ operator_tax_number: operatorTaxNumber,
48
+ operator_label: operatorLabel,
49
+ },
50
+ });
51
+ };
52
+
53
+ const isValid = operatorTaxNumber.trim() !== "" && operatorLabel.trim() !== "";
54
+
55
+ return (
56
+ <Dialog open={open} onOpenChange={onOpenChange}>
57
+ <DialogContent className="max-w-md">
58
+ <DialogHeader>
59
+ <DialogTitle>{t("FURS Operator Settings Required")}</DialogTitle>
60
+ <DialogDescription>
61
+ {t(
62
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
63
+ )}
64
+ </DialogDescription>
65
+ </DialogHeader>
66
+
67
+ <form onSubmit={handleSubmit} className="space-y-4">
68
+ <div>
69
+ <label htmlFor="furs-dialog-operator-tax" className="font-medium text-sm">
70
+ {t("Operator Tax Number")}
71
+ </label>
72
+ <Input
73
+ id="furs-dialog-operator-tax"
74
+ placeholder="12345678"
75
+ value={operatorTaxNumber}
76
+ onChange={(e) => setOperatorTaxNumber(e.target.value)}
77
+ className="mt-2 h-10"
78
+ />
79
+ </div>
80
+
81
+ <div>
82
+ <label htmlFor="furs-dialog-operator-label" className="font-medium text-sm">
83
+ {t("Operator Label")}
84
+ </label>
85
+ <Input
86
+ id="furs-dialog-operator-label"
87
+ placeholder={t("Your Name")}
88
+ value={operatorLabel}
89
+ onChange={(e) => setOperatorLabel(e.target.value)}
90
+ className="mt-2 h-10"
91
+ />
92
+ </div>
93
+
94
+ <DialogFooter>
95
+ <Button type="button" variant="outline" onClick={() => onOpenChange(false)} disabled={isPending}>
96
+ {t("Cancel")}
97
+ </Button>
98
+ <Button type="submit" disabled={isPending || !isValid}>
99
+ {isPending ? t("Saving...") : t("Save & Retry")}
100
+ </Button>
101
+ </DialogFooter>
102
+ </form>
103
+ </DialogContent>
104
+ </Dialog>
105
+ );
106
+ };
@@ -14,7 +14,7 @@ import type { ComponentTranslationProps } from "@/ui/lib/translation";
14
14
  import { createTranslation } from "@/ui/lib/translation";
15
15
  import { cn } from "@/ui/lib/utils";
16
16
  import { useFormFooterRegistration } from "@/ui/providers/form-footer-context";
17
- import { useFursPremises, useFursSettings, useUpdateFursSettings } from "./furs-settings.hooks";
17
+ import { useFursPremises, useFursSettings, useUpdateFursSettings, useUserFursSettings } from "./furs-settings.hooks";
18
18
  // Import locale files
19
19
  import de from "./locales/de";
20
20
  import en from "./locales/en";
@@ -117,6 +117,7 @@ export const FursSettingsForm: FC<FursSettingsFormProps> = ({
117
117
  // Fetch FURS settings and premises
118
118
  const { data: fursSettings, isLoading: settingsLoading } = useFursSettings(entity.id);
119
119
  const { data: premises, isLoading: premisesLoading } = useFursPremises(entity.id);
120
+ const { data: userFursSettings } = useUserFursSettings(entity.id);
120
121
 
121
122
  const { mutate: updateSettings, isPending } = useUpdateFursSettings({
122
123
  onSuccess: () => {
@@ -155,20 +156,25 @@ export const FursSettingsForm: FC<FursSettingsFormProps> = ({
155
156
 
156
157
  // Step unlocking logic (new flow: settings -> certificate -> premises -> enable)
157
158
  // - Step 1 (Settings): Always accessible
158
- // - Step 2 (Certificate): Requires entity tax number
159
- // - Step 3 (Premises): Requires valid certificate
160
- // - Step 4 (Enable): Requires certificate + premise + device
159
+ // - Step 2 (Certificate): Requires entity tax number + operator settings
160
+ // - Step 3 (Premises): Requires valid certificate + operator settings
161
+ // - Step 4 (Enable): Requires certificate + premise + device + operator settings
161
162
  const hasEntityTaxNumber = !!entity.tax_number;
163
+ // Operator settings can come from user settings or entity-level FURS settings
164
+ const hasOperatorSettings =
165
+ (!!userFursSettings?.operator_tax_number && !!userFursSettings?.operator_label) ||
166
+ (!!fursSettings?.operator_tax_number && !!fursSettings?.operator_label);
162
167
  const fursEnabled = fursSettings?.enabled || false;
163
- const canAccessCertificate = hasEntityTaxNumber;
164
- const canAccessPremises = hasEntityTaxNumber && hasCertificate && certificateValid;
165
- const canAccessEnable = hasEntityTaxNumber && certificateValid && hasPremises && hasPremiseWithDevice;
168
+ const canAccessCertificate = hasEntityTaxNumber && hasOperatorSettings;
169
+ const canAccessPremises = hasEntityTaxNumber && hasOperatorSettings && hasCertificate && certificateValid;
170
+ const canAccessEnable =
171
+ hasEntityTaxNumber && hasOperatorSettings && certificateValid && hasPremises && hasPremiseWithDevice;
166
172
 
167
173
  const steps = [
168
174
  {
169
175
  id: "settings" as const,
170
176
  title: translate("General Settings"),
171
- complete: hasEntityTaxNumber,
177
+ complete: hasEntityTaxNumber && hasOperatorSettings,
172
178
  unlocked: true,
173
179
  },
174
180
  {
@@ -275,15 +281,23 @@ export const FursSettingsForm: FC<FursSettingsFormProps> = ({
275
281
 
276
282
  if (isLocked) {
277
283
  if (step.id === "certificate") {
278
- tooltipText = translate("Set entity tax number in General Settings first");
284
+ if (!hasEntityTaxNumber) {
285
+ tooltipText = translate("Set entity tax number in General Settings first");
286
+ } else {
287
+ tooltipText = translate("Set operator tax number and label in General Settings first");
288
+ }
279
289
  } else if (step.id === "premises") {
280
290
  if (!hasEntityTaxNumber) {
281
291
  tooltipText = translate("Set entity tax number in General Settings first");
292
+ } else if (!hasOperatorSettings) {
293
+ tooltipText = translate("Set operator tax number and label in General Settings first");
282
294
  } else {
283
295
  tooltipText = translate("Upload and validate digital certificate first");
284
296
  }
285
297
  } else if (step.id === "enable") {
286
- if (!certificateValid) {
298
+ if (!hasEntityTaxNumber || !hasOperatorSettings) {
299
+ tooltipText = translate("Complete General Settings first");
300
+ } else if (!certificateValid) {
287
301
  tooltipText = translate("Upload and validate digital certificate first");
288
302
  } else if (!hasPremises) {
289
303
  tooltipText = translate("Register at least one business premise first");
@@ -125,7 +125,7 @@ export function useFursPremises(
125
125
  queryKey: fursQueryKeys.premises(entityId),
126
126
  queryFn: async () => {
127
127
  if (!sdk) throw new Error("SDK not initialized");
128
- return sdk.fursFiscalization.listFursBusinessPremises({ entity_id: entityId });
128
+ return sdk.fursPremises.listFursBusinessPremises({ entity_id: entityId });
129
129
  },
130
130
  enabled: !!sdk,
131
131
  staleTime: 0, // Always fetch fresh data to reflect device changes
@@ -146,7 +146,7 @@ export function useRegisterRealEstatePremise(
146
146
  ...options,
147
147
  mutationFn: async ({ entityId, data }) => {
148
148
  if (!sdk) throw new Error("SDK not initialized");
149
- return sdk.fursFiscalization.registerFursRealEstatePremise(data, { entity_id: entityId });
149
+ return sdk.fursPremises.registerFursRealEstatePremise(data, { entity_id: entityId });
150
150
  },
151
151
  onSuccess: (data, variables, context) => {
152
152
  // Invalidate premises list
@@ -174,7 +174,7 @@ export function useRegisterMovablePremise(
174
174
  ...options,
175
175
  mutationFn: async ({ entityId, data }) => {
176
176
  if (!sdk) throw new Error("SDK not initialized");
177
- return sdk.fursFiscalization.registerFursMovablePremise(data, { entity_id: entityId });
177
+ return sdk.fursPremises.registerFursMovablePremise(data, { entity_id: entityId });
178
178
  },
179
179
  onSuccess: (data, variables, context) => {
180
180
  // Invalidate premises list
@@ -200,7 +200,7 @@ export function useClosePremise(options?: UseMutationOptions<any, Error, { entit
200
200
  ...options,
201
201
  mutationFn: async ({ entityId, premiseId }) => {
202
202
  if (!sdk) throw new Error("SDK not initialized");
203
- return sdk.fursFiscalization.closeFursBusinessPremise(premiseId, { entity_id: entityId });
203
+ return sdk.fursPremises.closeFursBusinessPremise(premiseId, { entity_id: entityId });
204
204
  },
205
205
  onSuccess: (data, variables, context) => {
206
206
  // Invalidate premises list
@@ -228,11 +228,7 @@ export function useRegisterElectronicDevice(
228
228
  ...options,
229
229
  mutationFn: async ({ entityId, premiseId, deviceName }) => {
230
230
  if (!sdk) throw new Error("SDK not initialized");
231
- return sdk.fursFiscalization.registerFursElectronicDevice(
232
- premiseId,
233
- { name: deviceName },
234
- { entity_id: entityId },
235
- );
231
+ return sdk.fursDevices.registerFursElectronicDevice(premiseId, { name: deviceName }, { entity_id: entityId });
236
232
  },
237
233
  onSuccess: (data, variables, context) => {
238
234
  // Invalidate premises list to refresh devices
@@ -1,3 +1,4 @@
1
+ export { FursOperatorRequiredDialog } from "./furs-operator-required-dialog";
1
2
  export * from "./furs-settings.hooks";
2
3
  export type { FursSettingsFormSchema, SectionType, StepType } from "./furs-settings-form";
3
4
  export { FursSettingsForm } from "./furs-settings-form";
@@ -45,7 +45,7 @@ export default {
45
45
  "Tax number of the operator for API key usage (optional)":
46
46
  "Steuernummer des Betreibers für API-Schlüssel-Nutzung (optional)",
47
47
  "Operator Label": "Betreiber-Bezeichnung",
48
- "Descriptive label for the operator (optional)": "Beschreibende Bezeichnung für den Betreiber (optional)",
48
+
49
49
  "Digital Certificate": "Digitales Zertifikat",
50
50
  "Upload your FURS digital certificate": "Laden Sie Ihr FURS-Digitalzertifikat hoch",
51
51
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -56,6 +56,10 @@ export default {
56
56
  "Ungültiger Dateityp. Bitte laden Sie eine .p12- oder .pfx-Zertifikatsdatei hoch.",
57
57
  "Please select a certificate file and enter the passphrase":
58
58
  "Bitte wählen Sie eine Zertifikatsdatei und geben Sie das Passwort ein",
59
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
60
+ "Ungültiges Zertifikatspasswort. Bitte überprüfen Sie Ihr Passwort und versuchen Sie es erneut.",
61
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
62
+ "Zertifikats-Steuernummer stimmt nicht mit der Steuernummer der Entität überein. Bitte laden Sie ein Zertifikat für diese Entität hoch.",
59
63
  Valid: "Gültig",
60
64
  "Expiring Soon": "Läuft bald ab",
61
65
  Expired: "Abgelaufen",
@@ -179,8 +183,9 @@ export default {
179
183
  "Your personal operator info for FURS invoices": "Ihre persönlichen Betreiberinformationen für FURS-Rechnungen",
180
184
  "Save Operator Settings": "Betreibereinstellungen speichern",
181
185
  "Your tax number for FURS fiscalization": "Ihre Steuernummer für FURS-Fiskalisierung",
182
- "Your name or identifier for FURS invoices": "Ihr Name oder Bezeichner für FURS-Rechnungen",
183
- "Your Name": "Ihr Name",
186
+ "Descriptive label for the operator (e.g. Cashier 1)":
187
+ "Beschreibende Bezeichnung für den Betreiber (z.B. Kassierer 1)",
188
+ "e.g. Cashier 1": "z.B. Kassierer 1",
184
189
  "Fiscalization Settings": "Fiskalisierungseinstellungen",
185
190
  "Advanced Settings": "Erweiterte Einstellungen",
186
191
  "API Default Operator": "API-Standardbetreiber",
@@ -196,4 +201,23 @@ export default {
196
201
  "Standard-Betreiberinformationen, die verwendet werden, wenn Rechnungen über die API ohne angemeldeten Benutzer erstellt werden.",
197
202
  "Certificate uploaded successfully": "Zertifikat erfolgreich hochgeladen",
198
203
  "Loading certificate details...": "Zertifikatsdetails werden geladen...",
204
+ // Entity info section
205
+ "Entity Information": "Entity Information",
206
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
207
+ "Entity Tax Number": "Entity Tax Number",
208
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
209
+ Address: "Address",
210
+ "Post Code": "Post Code",
211
+ "Save Entity Info": "Save Entity Info",
212
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
213
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
214
+ "Set operator tax number and label in General Settings first":
215
+ "Set operator tax number and label in General Settings first",
216
+ "Complete General Settings first": "Complete General Settings first",
217
+ "Operator tax number and label are required for FURS fiscalization":
218
+ "Operator tax number and label are required for FURS fiscalization",
219
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
220
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
221
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
222
+ "Save & Retry": "Save & Retry",
199
223
  } as const;
@@ -42,7 +42,7 @@ export default {
42
42
  "Operator Tax Number": "Operator Tax Number",
43
43
  "Tax number of the operator for API key usage (optional)": "Tax number of the operator for API key usage (optional)",
44
44
  "Operator Label": "Operator Label",
45
- "Descriptive label for the operator (optional)": "Descriptive label for the operator (optional)",
45
+ "e.g. Cashier 1": "e.g. Cashier 1",
46
46
  "Digital Certificate": "Digital Certificate",
47
47
  "Upload your FURS digital certificate": "Upload your FURS digital certificate",
48
48
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -53,6 +53,10 @@ export default {
53
53
  "Invalid file type. Please upload a .p12 or .pfx certificate file.",
54
54
  "Please select a certificate file and enter the passphrase":
55
55
  "Please select a certificate file and enter the passphrase",
56
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
57
+ "Invalid certificate passphrase. Please check your passphrase and try again.",
58
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
59
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.",
56
60
  Valid: "Valid",
57
61
  "Expiring Soon": "Expiring Soon",
58
62
  Expired: "Expired",
@@ -178,8 +182,8 @@ export default {
178
182
  "Your personal operator info for FURS invoices": "Your personal operator info for FURS invoices",
179
183
  "Save Operator Settings": "Save Operator Settings",
180
184
  "Your tax number for FURS fiscalization": "Your tax number for FURS fiscalization",
181
- "Your name or identifier for FURS invoices": "Your name or identifier for FURS invoices",
182
- "Your Name": "Your Name",
185
+ "Descriptive label for the operator (e.g. Cashier 1)": "Descriptive label for the operator (e.g. Cashier 1)",
186
+ "e.g. Cashier 1": "e.g. Cashier 1",
183
187
  "Fiscalization Settings": "Fiscalization Settings",
184
188
  "Advanced Settings": "Advanced Settings",
185
189
  "API Default Operator": "API Default Operator",
@@ -206,4 +210,14 @@ export default {
206
210
  "Save Entity Info": "Save Entity Info",
207
211
  "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
208
212
  "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
213
+ "Set operator tax number and label in General Settings first":
214
+ "Set operator tax number and label in General Settings first",
215
+ "Complete General Settings first": "Complete General Settings first",
216
+ "Operator tax number and label are required for FURS fiscalization":
217
+ "Operator tax number and label are required for FURS fiscalization",
218
+ // FURS Operator Required Dialog (used during document creation)
219
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
220
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
221
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
222
+ "Save & Retry": "Save & Retry",
209
223
  } as const;
@@ -44,7 +44,7 @@ export default {
44
44
  "Tax number of the operator for API key usage (optional)":
45
45
  "Número fiscal del operador para uso de clave API (opcional)",
46
46
  "Operator Label": "Etiqueta del operador",
47
- "Descriptive label for the operator (optional)": "Etiqueta descriptiva del operador (opcional)",
47
+
48
48
  "Digital Certificate": "Certificado digital",
49
49
  "Upload your FURS digital certificate": "Suba su certificado digital FURS",
50
50
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -55,6 +55,10 @@ export default {
55
55
  "Tipo de archivo inválido. Suba un archivo de certificado .p12 o .pfx.",
56
56
  "Please select a certificate file and enter the passphrase":
57
57
  "Seleccione un archivo de certificado e introduzca la contraseña",
58
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
59
+ "Contraseña del certificado no válida. Verifique su contraseña e intente nuevamente.",
60
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
61
+ "El número fiscal del certificado no coincide con el número fiscal de la entidad. Suba un certificado para esta entidad.",
58
62
  Valid: "Válido",
59
63
  "Expiring Soon": "Expira pronto",
60
64
  Expired: "Expirado",
@@ -178,8 +182,8 @@ export default {
178
182
  "Your personal operator info for FURS invoices": "Su información personal de operador para facturas FURS",
179
183
  "Save Operator Settings": "Guardar configuración del operador",
180
184
  "Your tax number for FURS fiscalization": "Su número fiscal para la fiscalización FURS",
181
- "Your name or identifier for FURS invoices": "Su nombre o identificador para facturas FURS",
182
- "Your Name": "Su nombre",
185
+ "Descriptive label for the operator (e.g. Cashier 1)": "Etiqueta descriptiva del operador (ej. Cajero 1)",
186
+ "e.g. Cashier 1": "ej. Cajero 1",
183
187
  "Fiscalization Settings": "Configuración de fiscalización",
184
188
  "Advanced Settings": "Configuración avanzada",
185
189
  "API Default Operator": "Operador predeterminado API",
@@ -195,4 +199,23 @@ export default {
195
199
  "Información del operador predeterminada utilizada cuando las facturas se crean a través de API sin un usuario conectado.",
196
200
  "Certificate uploaded successfully": "Certificado subido con éxito",
197
201
  "Loading certificate details...": "Cargando detalles del certificado...",
202
+ // Entity info section
203
+ "Entity Information": "Entity Information",
204
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
205
+ "Entity Tax Number": "Entity Tax Number",
206
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
207
+ Address: "Address",
208
+ "Post Code": "Post Code",
209
+ "Save Entity Info": "Save Entity Info",
210
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
211
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
212
+ "Set operator tax number and label in General Settings first":
213
+ "Set operator tax number and label in General Settings first",
214
+ "Complete General Settings first": "Complete General Settings first",
215
+ "Operator tax number and label are required for FURS fiscalization":
216
+ "Operator tax number and label are required for FURS fiscalization",
217
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
218
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
219
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
220
+ "Save & Retry": "Save & Retry",
198
221
  } as const;
@@ -44,7 +44,7 @@ export default {
44
44
  "Tax number of the operator for API key usage (optional)":
45
45
  "Numéro fiscal de l'opérateur pour l'utilisation de la clé API (optionnel)",
46
46
  "Operator Label": "Libellé de l'opérateur",
47
- "Descriptive label for the operator (optional)": "Libellé descriptif de l'opérateur (optionnel)",
47
+
48
48
  "Digital Certificate": "Certificat numérique",
49
49
  "Upload your FURS digital certificate": "Téléchargez votre certificat numérique FURS",
50
50
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -55,6 +55,10 @@ export default {
55
55
  "Type de fichier invalide. Veuillez télécharger un fichier certificat .p12 ou .pfx.",
56
56
  "Please select a certificate file and enter the passphrase":
57
57
  "Veuillez sélectionner un fichier certificat et entrer la phrase secrète",
58
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
59
+ "Mot de passe du certificat invalide. Veuillez vérifier votre mot de passe et réessayer.",
60
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
61
+ "Le numéro fiscal du certificat ne correspond pas au numéro fiscal de l'entité. Veuillez télécharger un certificat pour cette entité.",
58
62
  Valid: "Valide",
59
63
  "Expiring Soon": "Expire bientôt",
60
64
  Expired: "Expiré",
@@ -178,8 +182,8 @@ export default {
178
182
  "Your personal operator info for FURS invoices": "Vos informations personnelles d'opérateur pour les factures FURS",
179
183
  "Save Operator Settings": "Enregistrer les paramètres opérateur",
180
184
  "Your tax number for FURS fiscalization": "Votre numéro fiscal pour la fiscalisation FURS",
181
- "Your name or identifier for FURS invoices": "Votre nom ou identifiant pour les factures FURS",
182
- "Your Name": "Votre nom",
185
+ "Descriptive label for the operator (e.g. Cashier 1)": "Libellé descriptif de l'opérateur (ex. Caissier 1)",
186
+ "e.g. Cashier 1": "ex. Caissier 1",
183
187
  "Fiscalization Settings": "Paramètres de fiscalisation",
184
188
  "Advanced Settings": "Paramètres avancés",
185
189
  "API Default Operator": "Opérateur par défaut API",
@@ -195,4 +199,23 @@ export default {
195
199
  "Informations opérateur par défaut utilisées lorsque les factures sont créées via l'API sans utilisateur connecté.",
196
200
  "Certificate uploaded successfully": "Certificat téléchargé avec succès",
197
201
  "Loading certificate details...": "Chargement des détails du certificat...",
202
+ // Entity info section
203
+ "Entity Information": "Entity Information",
204
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
205
+ "Entity Tax Number": "Entity Tax Number",
206
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
207
+ Address: "Address",
208
+ "Post Code": "Post Code",
209
+ "Save Entity Info": "Save Entity Info",
210
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
211
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
212
+ "Set operator tax number and label in General Settings first":
213
+ "Set operator tax number and label in General Settings first",
214
+ "Complete General Settings first": "Complete General Settings first",
215
+ "Operator tax number and label are required for FURS fiscalization":
216
+ "Operator tax number and label are required for FURS fiscalization",
217
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
218
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
219
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
220
+ "Save & Retry": "Save & Retry",
198
221
  } as const;
@@ -43,7 +43,7 @@ export default {
43
43
  "Tax number of the operator for API key usage (optional)":
44
44
  "Porezni broj operatera za korištenje API ključa (opcionalno)",
45
45
  "Operator Label": "Oznaka operatera",
46
- "Descriptive label for the operator (optional)": "Opisna oznaka za operatera (opcionalno)",
46
+
47
47
  "Digital Certificate": "Digitalni certifikat",
48
48
  "Upload your FURS digital certificate": "Prenesite svoj digitalni certifikat FURS",
49
49
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -54,6 +54,10 @@ export default {
54
54
  "Nevažeća vrsta datoteke. Molimo prenesite datoteku certifikata .p12 ili .pfx.",
55
55
  "Please select a certificate file and enter the passphrase":
56
56
  "Molimo odaberite datoteku certifikata i unesite lozinku",
57
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
58
+ "Nevažeća lozinka certifikata. Provjerite lozinku i pokušajte ponovo.",
59
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
60
+ "Porezni broj certifikata ne odgovara poreznom broju entiteta. Učitajte certifikat za ovaj entitet.",
57
61
  Valid: "Valjan",
58
62
  "Expiring Soon": "Uskoro ističe",
59
63
  Expired: "Istekao",
@@ -177,8 +181,8 @@ export default {
177
181
  "Your personal operator info for FURS invoices": "Vaši osobni podaci operatera za FURS račune",
178
182
  "Save Operator Settings": "Spremi postavke operatera",
179
183
  "Your tax number for FURS fiscalization": "Vaš porezni broj za fiskalizaciju FURS",
180
- "Your name or identifier for FURS invoices": "Vaše ime ili identifikator za FURS račune",
181
- "Your Name": "Vaše ime",
184
+ "Descriptive label for the operator (e.g. Cashier 1)": "Opisna oznaka za operatera (npr. Blagajnik 1)",
185
+ "e.g. Cashier 1": "npr. Blagajnik 1",
182
186
  "Fiscalization Settings": "Postavke fiskalizacije",
183
187
  "Advanced Settings": "Napredne postavke",
184
188
  "API Default Operator": "Zadani operater API",
@@ -194,4 +198,23 @@ export default {
194
198
  "Zadane informacije operatera korištene kada se računi kreiraju putem API-ja bez prijavljenog korisnika.",
195
199
  "Certificate uploaded successfully": "Certifikat uspješno prenesen",
196
200
  "Loading certificate details...": "Učitavanje pojedinosti certifikata...",
201
+ // Entity info section
202
+ "Entity Information": "Entity Information",
203
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
204
+ "Entity Tax Number": "Entity Tax Number",
205
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
206
+ Address: "Address",
207
+ "Post Code": "Post Code",
208
+ "Save Entity Info": "Save Entity Info",
209
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
210
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
211
+ "Set operator tax number and label in General Settings first":
212
+ "Set operator tax number and label in General Settings first",
213
+ "Complete General Settings first": "Complete General Settings first",
214
+ "Operator tax number and label are required for FURS fiscalization":
215
+ "Operator tax number and label are required for FURS fiscalization",
216
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
217
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
218
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
219
+ "Save & Retry": "Save & Retry",
197
220
  } as const;
@@ -44,7 +44,7 @@ export default {
44
44
  "Tax number of the operator for API key usage (optional)":
45
45
  "Codice fiscale dell'operatore per l'utilizzo della chiave API (opzionale)",
46
46
  "Operator Label": "Etichetta operatore",
47
- "Descriptive label for the operator (optional)": "Etichetta descrittiva per l'operatore (opzionale)",
47
+
48
48
  "Digital Certificate": "Certificato digitale",
49
49
  "Upload your FURS digital certificate": "Carica il tuo certificato digitale FURS",
50
50
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -55,6 +55,10 @@ export default {
55
55
  "Tipo di file non valido. Carica un file certificato .p12 o .pfx.",
56
56
  "Please select a certificate file and enter the passphrase":
57
57
  "Seleziona un file certificato e inserisci la passphrase",
58
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
59
+ "Passphrase del certificato non valida. Controlla la passphrase e riprova.",
60
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
61
+ "Il codice fiscale del certificato non corrisponde al codice fiscale dell'entità. Carica un certificato per questa entità.",
58
62
  Valid: "Valido",
59
63
  "Expiring Soon": "In scadenza",
60
64
  Expired: "Scaduto",
@@ -178,8 +182,8 @@ export default {
178
182
  "Your personal operator info for FURS invoices": "Le tue informazioni personali di operatore per le fatture FURS",
179
183
  "Save Operator Settings": "Salva impostazioni operatore",
180
184
  "Your tax number for FURS fiscalization": "Il tuo codice fiscale per la fiscalizzazione FURS",
181
- "Your name or identifier for FURS invoices": "Il tuo nome o identificatore per le fatture FURS",
182
- "Your Name": "Il tuo nome",
185
+ "Descriptive label for the operator (e.g. Cashier 1)": "Etichetta descrittiva per l'operatore (es. Cassiere 1)",
186
+ "e.g. Cashier 1": "es. Cassiere 1",
183
187
  "Fiscalization Settings": "Impostazioni di fiscalizzazione",
184
188
  "Advanced Settings": "Impostazioni avanzate",
185
189
  "API Default Operator": "Operatore predefinito API",
@@ -195,4 +199,23 @@ export default {
195
199
  "Informazioni operatore predefinite utilizzate quando le fatture vengono create tramite API senza un utente connesso.",
196
200
  "Certificate uploaded successfully": "Certificato caricato con successo",
197
201
  "Loading certificate details...": "Caricamento dettagli certificato...",
202
+ // Entity info section
203
+ "Entity Information": "Entity Information",
204
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
205
+ "Entity Tax Number": "Entity Tax Number",
206
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
207
+ Address: "Address",
208
+ "Post Code": "Post Code",
209
+ "Save Entity Info": "Save Entity Info",
210
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
211
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
212
+ "Set operator tax number and label in General Settings first":
213
+ "Set operator tax number and label in General Settings first",
214
+ "Complete General Settings first": "Complete General Settings first",
215
+ "Operator tax number and label are required for FURS fiscalization":
216
+ "Operator tax number and label are required for FURS fiscalization",
217
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
218
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
219
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
220
+ "Save & Retry": "Save & Retry",
198
221
  } as const;
@@ -43,7 +43,7 @@ export default {
43
43
  "Tax number of the operator for API key usage (optional)":
44
44
  "Belastingnummer van de operator voor API-sleutelgebruik (optioneel)",
45
45
  "Operator Label": "Operatorlabel",
46
- "Descriptive label for the operator (optional)": "Beschrijvend label voor de operator (optioneel)",
46
+
47
47
  "Digital Certificate": "Digitaal certificaat",
48
48
  "Upload your FURS digital certificate": "Upload uw FURS digitaal certificaat",
49
49
  "Your certificate is required to digitally sign all fiscalized invoices. The certificate must be obtained from the Slovenian Financial Administration (FURS).":
@@ -54,6 +54,10 @@ export default {
54
54
  "Ongeldig bestandstype. Upload een .p12 of .pfx certificaatbestand.",
55
55
  "Please select a certificate file and enter the passphrase":
56
56
  "Selecteer een certificaatbestand en voer de wachtwoordzin in",
57
+ "Invalid certificate passphrase. Please check your passphrase and try again.":
58
+ "Ongeldig certificaatwachtwoord. Controleer uw wachtwoord en probeer het opnieuw.",
59
+ "Certificate tax number does not match entity tax number. Please upload a certificate for this entity.":
60
+ "BTW-nummer van certificaat komt niet overeen met BTW-nummer van entiteit. Upload een certificaat voor deze entiteit.",
57
61
  Valid: "Geldig",
58
62
  "Expiring Soon": "Verloopt binnenkort",
59
63
  Expired: "Verlopen",
@@ -177,8 +181,8 @@ export default {
177
181
  "Your personal operator info for FURS invoices": "Uw persoonlijke operatorinformatie voor FURS-facturen",
178
182
  "Save Operator Settings": "Operatorinstellingen opslaan",
179
183
  "Your tax number for FURS fiscalization": "Uw belastingnummer voor FURS-fiscalisatie",
180
- "Your name or identifier for FURS invoices": "Uw naam of identificatie voor FURS-facturen",
181
- "Your Name": "Uw naam",
184
+ "Descriptive label for the operator (e.g. Cashier 1)": "Beschrijvend label voor de operator (bijv. Kassier 1)",
185
+ "e.g. Cashier 1": "bijv. Kassier 1",
182
186
  "Fiscalization Settings": "Fiscalisatie-instellingen",
183
187
  "Advanced Settings": "Geavanceerde instellingen",
184
188
  "API Default Operator": "API-standaardoperator",
@@ -194,4 +198,23 @@ export default {
194
198
  "Standaard operatorinformatie die wordt gebruikt wanneer facturen worden aangemaakt via API zonder ingelogde gebruiker.",
195
199
  "Certificate uploaded successfully": "Certificaat succesvol geüpload",
196
200
  "Loading certificate details...": "Certificaatgegevens worden geladen...",
201
+ // Entity info section
202
+ "Entity Information": "Entity Information",
203
+ "Required company details for FURS fiscalization": "Required company details for FURS fiscalization",
204
+ "Entity Tax Number": "Entity Tax Number",
205
+ "Your company's tax number (must match FURS certificate)": "Your company's tax number (must match FURS certificate)",
206
+ Address: "Address",
207
+ "Post Code": "Post Code",
208
+ "Save Entity Info": "Save Entity Info",
209
+ "Tax number is required for FURS fiscalization": "Tax number is required for FURS fiscalization",
210
+ "Set entity tax number in General Settings first": "Set entity tax number in General Settings first",
211
+ "Set operator tax number and label in General Settings first":
212
+ "Set operator tax number and label in General Settings first",
213
+ "Complete General Settings first": "Complete General Settings first",
214
+ "Operator tax number and label are required for FURS fiscalization":
215
+ "Operator tax number and label are required for FURS fiscalization",
216
+ "FURS Operator Settings Required": "FURS Operator Settings Required",
217
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.":
218
+ "Your FURS operator information is needed to fiscalize this document. Please enter your operator details.",
219
+ "Save & Retry": "Save & Retry",
197
220
  } as const;