@wisemen/wise-invoicing-web 0.11.2 → 0.12.0

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 (79) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-D0kpogSQ.js → ApprovalReminderSettingsViewDataProvider-BnHeEMZD.js} +6 -10
  2. package/dist/{BillingDocumentDetailViewDataProvider-D_oc3-0D.js → BillingDocumentDetailViewDataProvider-Dm8C5WNN.js} +1311 -1327
  3. package/dist/{BillingDocumentPdf-wlv-k8KE.js → BillingDocumentPdf-57ksqoPW.js} +16 -22
  4. package/dist/{CreditNoteDetailViewDataProvider-DoFm2xgo.js → CreditNoteDetailViewDataProvider-CC4gnwSN.js} +154 -172
  5. package/dist/{CreditNotePdfViewDataProvider-QpzNsVsK.js → CreditNotePdfViewDataProvider-C9vgN3kV.js} +4 -4
  6. package/dist/{CustomFieldValueText-DZzqLZ0K.js → CustomFieldValueText-CvWq0fl_.js} +3 -3
  7. package/dist/{DataProvider-C3uEds9v.js → DataProvider-BtnD-BzI.js} +1 -1
  8. package/dist/{DunningCaseSendDialog-Bol8NF1J.js → DunningCaseSendDialog-CfWSrquA.js} +6 -14
  9. package/dist/{InvoiceApprovalOutOfSyncIndicator-C4ZLDRiv.js → InvoiceApprovalOutOfSyncIndicator-CKLAraIU.js} +1 -1
  10. package/dist/{InvoiceApprovalOverviewView-BAmEOum7.js → InvoiceApprovalOverviewView-DpL-vV8_.js} +10 -18
  11. package/dist/{InvoiceApprovalStatusBadge-C2Wj9b_Z.js → InvoiceApprovalStatusBadge-oVWkCqZY.js} +3 -3
  12. package/dist/{InvoiceApproveDialogDataProvider-S81Mc5oS.js → InvoiceApproveDialogDataProvider-serNDdl9.js} +16 -32
  13. package/dist/{InvoiceDetailViewDataProvider-Dqu6qlky.js → InvoiceDetailViewDataProvider-BaT7fgsi.js} +591 -665
  14. package/dist/{InvoicePdfView-D0G-Pik3.js → InvoicePdfView-MaBnd78V.js} +2 -2
  15. package/dist/{InvoicePdfViewDataProvider-DXXbPe-Z.js → InvoicePdfViewDataProvider-BIHBY608.js} +4 -4
  16. package/dist/{InvoicePublicProFormaPdfViewDataProvider-CdGFZD-G.js → InvoicePublicProFormaPdfViewDataProvider-KY8pN59k.js} +4 -4
  17. package/dist/{InvoicingFileUploadProvider-BsK5eRGE.js → InvoicingFileUploadProvider-CxmF68sz.js} +2 -2
  18. package/dist/IssuerSettingsViewDataProvider-DJzVZS8Q.js +543 -0
  19. package/dist/{PeppolSettingsViewDataProvider-ZdJQGqux.js → PeppolSettingsViewDataProvider-C7lwtu7n.js} +6 -20
  20. package/dist/{api.util-B3JqQVJA.js → api.util-Ct8FnoLB.js} +628 -547
  21. package/dist/{billingDocumentDetail.transformer-CcnSe7Fz.js → billingDocumentDetail.transformer-B3ypgtIv.js} +4 -2
  22. package/dist/client/index.d.ts +1 -1
  23. package/dist/client/types.gen.d.ts +177 -7
  24. package/dist/client/zod.gen.d.ts +406 -6
  25. package/dist/composables/invoicingConfig.composable.d.ts +15 -0
  26. package/dist/{creditNoteDetail.query-BVbXoNt-.js → creditNoteDetail.query-C2BYvPKC.js} +5 -3
  27. package/dist/{dist-DALBiuub.js → dist-BZgvL8_m.js} +19 -30
  28. package/dist/{documentTitle.composable-RvqrZTBa.js → documentTitle.composable-BqZWKGw1.js} +35 -29
  29. package/dist/{i18n.lib-BkdaaKCs.js → i18n.lib-8sQYo5_y.js} +101 -7
  30. package/dist/index.d.ts +96 -2
  31. package/dist/index.js +4517 -228
  32. package/dist/{invoice.service-jakQLnDu.js → invoice.service-CtePUw1R.js} +8 -5
  33. package/dist/{invoiceApproval.service-DR9g1Dek.js → invoiceApproval.service-CQzG8_wX.js} +2 -2
  34. package/dist/{invoiceApprovalStatus.util-Nd4E3qlZ.js → invoiceApprovalStatus.util-C4su45dU.js} +2 -2
  35. package/dist/{invoiceCustomer.service-Bp59E0ZJ.js → invoiceCustomer.service-CzbM3ey1.js} +2 -2
  36. package/dist/{invoiceDetail.query-BBhA0ZAn.js → invoiceDetail.query-NNAoIuWN.js} +1 -1
  37. package/dist/{invoiceIndexCache.util-Ba2MGULh.js → invoiceIndexCache.util-DI0WM-eW.js} +4 -8
  38. package/dist/{invoicingConfig.composable-k8p1Y_eJ.js → invoicingConfig.composable-DXJ71Uq_.js} +20 -18
  39. package/dist/issuerSettings.query-ggEHdk0S.js +204 -0
  40. package/dist/libs/i18n.lib.d.ts +96 -2
  41. package/dist/locales/en-US.json.d.ts +50 -3
  42. package/dist/locales/nl-BE.json.d.ts +51 -4
  43. package/dist/models/billing-document/billingDocumentCreditable.util.d.ts +19 -0
  44. package/dist/models/billing-document/billingDocumentCreditable.util.spec.d.ts +1 -0
  45. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -0
  46. package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +2 -0
  47. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +4 -1
  48. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +1 -0
  49. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +1 -1
  50. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.spec.d.ts +1 -0
  51. package/dist/modules/settings/api/mutations/issuerSettingsUpdate.mutation.d.ts +22 -1
  52. package/dist/modules/settings/models/issuer-settings/invoiceSequenceFormat.util.d.ts +16 -0
  53. package/dist/modules/settings/models/issuer-settings/invoiceSequenceFormat.util.spec.d.ts +1 -0
  54. package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +7 -2
  55. package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.d.ts +2 -0
  56. package/dist/modules/settings/models/issuer-settings/issuerSettingsForm.model.d.ts +23 -2
  57. package/dist/modules/settings/use-cases/overview/components/InvoiceSequenceFormatFields.vue.d.ts +11 -0
  58. package/dist/modules/settings/use-cases/overview/components/InvoiceSequenceNumberPreview.vue.d.ts +12 -0
  59. package/dist/modules/settings/use-cases/overview/components/InvoiceSequencePreviewCard.vue.d.ts +13 -0
  60. package/dist/modules/settings/use-cases/overview/components/SharedSequencePreviewCard.vue.d.ts +8 -0
  61. package/dist/modules/settings/use-cases/overview/composables/sequenceFormatFields.composable.d.ts +16 -0
  62. package/dist/{reminderConfig.query-BIfCEIYX.js → reminderConfig.query-C2xT3DJH.js} +2 -2
  63. package/dist/{src-DUSgQTKr.js → src-Vz2dm4sM.js} +1 -3
  64. package/dist/style.css +1 -1
  65. package/dist/types/apiError.type.d.ts +2 -2
  66. package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +24 -0
  67. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +4 -0
  68. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +4 -0
  69. package/package.json +2 -2
  70. package/dist/DunningCaseDetailViewDataProvider-uRJFWZtQ.js +0 -439
  71. package/dist/DunningCaseOverviewView-DpQoXamE.js +0 -799
  72. package/dist/DunningCaseReminderPdfViewDataProvider-D-CfDeC8.js +0 -490
  73. package/dist/InvoiceOverviewViewDataProvider-WKzgF7cl.js +0 -1929
  74. package/dist/InvoicePublicPdfViewDataProvider-ndVoAAY3.js +0 -45
  75. package/dist/IssuerSettingsViewDataProvider-Ca7GPCDE.js +0 -193
  76. package/dist/ReminderSettingsViewDataProvider-DTC0Ud5z.js +0 -709
  77. package/dist/issuerSettings.query-BOgWdNmP.js +0 -118
  78. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  79. /package/dist/{DunningCaseReminderPdfViewDataProvider.css → index.css} +0 -0
@@ -28,6 +28,7 @@ export declare const zPermission: z.ZodEnum<{
28
28
  "invoice.payment.create": "invoice.payment.create";
29
29
  "invoice.payment.delete": "invoice.payment.delete";
30
30
  "invoice.payment.read": "invoice.payment.read";
31
+ "invoice.externally-created.update": "invoice.externally-created.update";
31
32
  "peppol-connection.update": "peppol-connection.update";
32
33
  "issuer.read": "issuer.read";
33
34
  "issuer.update": "issuer.update";
@@ -102,6 +103,7 @@ export declare const zViewPermissionIndexPermissionResponse: z.ZodObject<{
102
103
  "invoice.payment.create": "invoice.payment.create";
103
104
  "invoice.payment.delete": "invoice.payment.delete";
104
105
  "invoice.payment.read": "invoice.payment.read";
106
+ "invoice.externally-created.update": "invoice.externally-created.update";
105
107
  "peppol-connection.update": "peppol-connection.update";
106
108
  "issuer.read": "issuer.read";
107
109
  "issuer.update": "issuer.update";
@@ -180,6 +182,7 @@ export declare const zViewPermissionIndexGroupResponse: z.ZodObject<{
180
182
  "invoice.payment.create": "invoice.payment.create";
181
183
  "invoice.payment.delete": "invoice.payment.delete";
182
184
  "invoice.payment.read": "invoice.payment.read";
185
+ "invoice.externally-created.update": "invoice.externally-created.update";
183
186
  "peppol-connection.update": "peppol-connection.update";
184
187
  "issuer.read": "issuer.read";
185
188
  "issuer.update": "issuer.update";
@@ -260,6 +263,7 @@ export declare const zViewPermissionIndexResponse: z.ZodObject<{
260
263
  "invoice.payment.create": "invoice.payment.create";
261
264
  "invoice.payment.delete": "invoice.payment.delete";
262
265
  "invoice.payment.read": "invoice.payment.read";
266
+ "invoice.externally-created.update": "invoice.externally-created.update";
263
267
  "peppol-connection.update": "peppol-connection.update";
264
268
  "issuer.read": "issuer.read";
265
269
  "issuer.update": "issuer.update";
@@ -356,6 +360,7 @@ export declare const zCreateApiKeyCommand: z.ZodObject<{
356
360
  "invoice.payment.create": "invoice.payment.create";
357
361
  "invoice.payment.delete": "invoice.payment.delete";
358
362
  "invoice.payment.read": "invoice.payment.read";
363
+ "invoice.externally-created.update": "invoice.externally-created.update";
359
364
  "peppol-connection.update": "peppol-connection.update";
360
365
  "issuer.read": "issuer.read";
361
366
  "issuer.update": "issuer.update";
@@ -433,6 +438,7 @@ export declare const zCreateApiKeyResponse: z.ZodObject<{
433
438
  "invoice.payment.create": "invoice.payment.create";
434
439
  "invoice.payment.delete": "invoice.payment.delete";
435
440
  "invoice.payment.read": "invoice.payment.read";
441
+ "invoice.externally-created.update": "invoice.externally-created.update";
436
442
  "peppol-connection.update": "peppol-connection.update";
437
443
  "issuer.read": "issuer.read";
438
444
  "issuer.update": "issuer.update";
@@ -535,6 +541,7 @@ export declare const zViewApiKeyIndexItemResponse: z.ZodObject<{
535
541
  "invoice.payment.create": "invoice.payment.create";
536
542
  "invoice.payment.delete": "invoice.payment.delete";
537
543
  "invoice.payment.read": "invoice.payment.read";
544
+ "invoice.externally-created.update": "invoice.externally-created.update";
538
545
  "peppol-connection.update": "peppol-connection.update";
539
546
  "issuer.read": "issuer.read";
540
547
  "issuer.update": "issuer.update";
@@ -623,6 +630,7 @@ export declare const zViewApiKeyIndexResponse: z.ZodObject<{
623
630
  "invoice.payment.create": "invoice.payment.create";
624
631
  "invoice.payment.delete": "invoice.payment.delete";
625
632
  "invoice.payment.read": "invoice.payment.read";
633
+ "invoice.externally-created.update": "invoice.externally-created.update";
626
634
  "peppol-connection.update": "peppol-connection.update";
627
635
  "issuer.read": "issuer.read";
628
636
  "issuer.update": "issuer.update";
@@ -745,6 +753,7 @@ export declare const zViewRoleDetailResponse: z.ZodObject<{
745
753
  "invoice.payment.create": "invoice.payment.create";
746
754
  "invoice.payment.delete": "invoice.payment.delete";
747
755
  "invoice.payment.read": "invoice.payment.read";
756
+ "invoice.externally-created.update": "invoice.externally-created.update";
748
757
  "peppol-connection.update": "peppol-connection.update";
749
758
  "issuer.read": "issuer.read";
750
759
  "issuer.update": "issuer.update";
@@ -831,6 +840,7 @@ export declare const zViewMeResponse: z.ZodObject<{
831
840
  "invoice.payment.create": "invoice.payment.create";
832
841
  "invoice.payment.delete": "invoice.payment.delete";
833
842
  "invoice.payment.read": "invoice.payment.read";
843
+ "invoice.externally-created.update": "invoice.externally-created.update";
834
844
  "peppol-connection.update": "peppol-connection.update";
835
845
  "issuer.read": "issuer.read";
836
846
  "issuer.update": "issuer.update";
@@ -918,6 +928,7 @@ export declare const zViewUserDetailResponse: z.ZodObject<{
918
928
  "invoice.payment.create": "invoice.payment.create";
919
929
  "invoice.payment.delete": "invoice.payment.delete";
920
930
  "invoice.payment.read": "invoice.payment.read";
931
+ "invoice.externally-created.update": "invoice.externally-created.update";
921
932
  "peppol-connection.update": "peppol-connection.update";
922
933
  "issuer.read": "issuer.read";
923
934
  "issuer.update": "issuer.update";
@@ -1060,6 +1071,7 @@ export declare const zRoleResponse: z.ZodObject<{
1060
1071
  "invoice.payment.create": "invoice.payment.create";
1061
1072
  "invoice.payment.delete": "invoice.payment.delete";
1062
1073
  "invoice.payment.read": "invoice.payment.read";
1074
+ "invoice.externally-created.update": "invoice.externally-created.update";
1063
1075
  "peppol-connection.update": "peppol-connection.update";
1064
1076
  "issuer.read": "issuer.read";
1065
1077
  "issuer.update": "issuer.update";
@@ -1141,6 +1153,7 @@ export declare const zViewRoleIndexResponse: z.ZodObject<{
1141
1153
  "invoice.payment.create": "invoice.payment.create";
1142
1154
  "invoice.payment.delete": "invoice.payment.delete";
1143
1155
  "invoice.payment.read": "invoice.payment.read";
1156
+ "invoice.externally-created.update": "invoice.externally-created.update";
1144
1157
  "peppol-connection.update": "peppol-connection.update";
1145
1158
  "issuer.read": "issuer.read";
1146
1159
  "issuer.update": "issuer.update";
@@ -1219,6 +1232,7 @@ export declare const zUpdateRolesPermissionsCommandItem: z.ZodObject<{
1219
1232
  "invoice.payment.create": "invoice.payment.create";
1220
1233
  "invoice.payment.delete": "invoice.payment.delete";
1221
1234
  "invoice.payment.read": "invoice.payment.read";
1235
+ "invoice.externally-created.update": "invoice.externally-created.update";
1222
1236
  "peppol-connection.update": "peppol-connection.update";
1223
1237
  "issuer.read": "issuer.read";
1224
1238
  "issuer.update": "issuer.update";
@@ -1295,6 +1309,7 @@ export declare const zUpdateRolesPermissionsCommand: z.ZodObject<{
1295
1309
  "invoice.payment.create": "invoice.payment.create";
1296
1310
  "invoice.payment.delete": "invoice.payment.delete";
1297
1311
  "invoice.payment.read": "invoice.payment.read";
1312
+ "invoice.externally-created.update": "invoice.externally-created.update";
1298
1313
  "peppol-connection.update": "peppol-connection.update";
1299
1314
  "issuer.read": "issuer.read";
1300
1315
  "issuer.update": "issuer.update";
@@ -4310,6 +4325,59 @@ export declare const zIssuerNotFoundError: z.ZodObject<{
4310
4325
  issuer_not_found: "issuer_not_found";
4311
4326
  }>;
4312
4327
  }, z.core.$strip>;
4328
+ export declare const zSequenceDateFormat: z.ZodEnum<{
4329
+ none: "none";
4330
+ YYYY: "YYYY";
4331
+ YY: "YY";
4332
+ YYYYMM: "YYYYMM";
4333
+ YYMM: "YYMM";
4334
+ YYYYMMDD: "YYYYMMDD";
4335
+ }>;
4336
+ export declare const zSequenceSeparator: z.ZodEnum<{
4337
+ none: "none";
4338
+ hyphen: "hyphen";
4339
+ slash: "slash";
4340
+ underscore: "underscore";
4341
+ period: "period";
4342
+ }>;
4343
+ export declare const zInvoiceSequenceSeparatorDto: z.ZodObject<{
4344
+ value: z.ZodEnum<{
4345
+ none: "none";
4346
+ hyphen: "hyphen";
4347
+ slash: "slash";
4348
+ underscore: "underscore";
4349
+ period: "period";
4350
+ }>;
4351
+ afterPrefix: z.ZodBoolean;
4352
+ afterDate: z.ZodBoolean;
4353
+ }, z.core.$strip>;
4354
+ export declare const zInvoiceSequenceFormatDto: z.ZodObject<{
4355
+ prefix: z.ZodNullable<z.ZodString>;
4356
+ dateFormat: z.ZodEnum<{
4357
+ none: "none";
4358
+ YYYY: "YYYY";
4359
+ YY: "YY";
4360
+ YYYYMM: "YYYYMM";
4361
+ YYMM: "YYMM";
4362
+ YYYYMMDD: "YYYYMMDD";
4363
+ }>;
4364
+ minDigits: z.ZodInt;
4365
+ separator: z.ZodObject<{
4366
+ value: z.ZodEnum<{
4367
+ none: "none";
4368
+ hyphen: "hyphen";
4369
+ slash: "slash";
4370
+ underscore: "underscore";
4371
+ period: "period";
4372
+ }>;
4373
+ afterPrefix: z.ZodBoolean;
4374
+ afterDate: z.ZodBoolean;
4375
+ }, z.core.$strip>;
4376
+ }, z.core.$strip>;
4377
+ export declare const zSequenceReset: z.ZodEnum<{
4378
+ never: "never";
4379
+ yearly: "yearly";
4380
+ }>;
4313
4381
  export declare const zViewMyIssuerResponse: z.ZodObject<{
4314
4382
  uuid: z.ZodUUID;
4315
4383
  createdAt: z.ZodString;
@@ -4516,7 +4584,59 @@ export declare const zViewMyIssuerResponse: z.ZodObject<{
4516
4584
  XPT: "XPT";
4517
4585
  XAG: "XAG";
4518
4586
  }>;
4519
- sequencePrefix: z.ZodNullable<z.ZodString>;
4587
+ invoiceSequenceFormat: z.ZodObject<{
4588
+ prefix: z.ZodNullable<z.ZodString>;
4589
+ dateFormat: z.ZodEnum<{
4590
+ none: "none";
4591
+ YYYY: "YYYY";
4592
+ YY: "YY";
4593
+ YYYYMM: "YYYYMM";
4594
+ YYMM: "YYMM";
4595
+ YYYYMMDD: "YYYYMMDD";
4596
+ }>;
4597
+ minDigits: z.ZodInt;
4598
+ separator: z.ZodObject<{
4599
+ value: z.ZodEnum<{
4600
+ none: "none";
4601
+ hyphen: "hyphen";
4602
+ slash: "slash";
4603
+ underscore: "underscore";
4604
+ period: "period";
4605
+ }>;
4606
+ afterPrefix: z.ZodBoolean;
4607
+ afterDate: z.ZodBoolean;
4608
+ }, z.core.$strip>;
4609
+ }, z.core.$strip>;
4610
+ creditNoteSequenceFormat: z.ZodObject<{
4611
+ prefix: z.ZodNullable<z.ZodString>;
4612
+ dateFormat: z.ZodEnum<{
4613
+ none: "none";
4614
+ YYYY: "YYYY";
4615
+ YY: "YY";
4616
+ YYYYMM: "YYYYMM";
4617
+ YYMM: "YYMM";
4618
+ YYYYMMDD: "YYYYMMDD";
4619
+ }>;
4620
+ minDigits: z.ZodInt;
4621
+ separator: z.ZodObject<{
4622
+ value: z.ZodEnum<{
4623
+ none: "none";
4624
+ hyphen: "hyphen";
4625
+ slash: "slash";
4626
+ underscore: "underscore";
4627
+ period: "period";
4628
+ }>;
4629
+ afterPrefix: z.ZodBoolean;
4630
+ afterDate: z.ZodBoolean;
4631
+ }, z.core.$strip>;
4632
+ }, z.core.$strip>;
4633
+ shareCreditNoteSequence: z.ZodBoolean;
4634
+ isSequenceFormatChangeImmediate: z.ZodBoolean;
4635
+ isCreditNoteSequenceChangeImmediate: z.ZodBoolean;
4636
+ sequenceReset: z.ZodEnum<{
4637
+ never: "never";
4638
+ yearly: "yearly";
4639
+ }>;
4520
4640
  defaultPaymentTerm: z.ZodObject<{
4521
4641
  value: z.ZodNumber;
4522
4642
  unit: z.ZodEnum<{
@@ -4530,6 +4650,25 @@ export declare const zViewMyIssuerResponse: z.ZodObject<{
4530
4650
  }>;
4531
4651
  }, z.core.$strip>;
4532
4652
  requiresInvoiceApprovalFile: z.ZodBoolean;
4653
+ allowsEditingExternallyCreatedInvoices: z.ZodBoolean;
4654
+ }, z.core.$strip>;
4655
+ export declare const zSequenceDateFormatIncompatibleWithResetError: z.ZodObject<{
4656
+ detail: z.ZodOptional<z.ZodString>;
4657
+ status: z.ZodEnum<{
4658
+ 400: "400";
4659
+ }>;
4660
+ code: z.ZodEnum<{
4661
+ sequence_date_format_incompatible_with_reset: "sequence_date_format_incompatible_with_reset";
4662
+ }>;
4663
+ }, z.core.$strip>;
4664
+ export declare const zSequenceSharingWouldReuseNumbersError: z.ZodObject<{
4665
+ detail: z.ZodOptional<z.ZodString>;
4666
+ status: z.ZodEnum<{
4667
+ 409: "409";
4668
+ }>;
4669
+ code: z.ZodEnum<{
4670
+ sequence_sharing_would_reuse_numbers: "sequence_sharing_would_reuse_numbers";
4671
+ }>;
4533
4672
  }, z.core.$strip>;
4534
4673
  export declare const zUpdateMyIssuerCommand: z.ZodObject<{
4535
4674
  email: z.ZodNullable<z.ZodEmail>;
@@ -4734,7 +4873,57 @@ export declare const zUpdateMyIssuerCommand: z.ZodObject<{
4734
4873
  XPT: "XPT";
4735
4874
  XAG: "XAG";
4736
4875
  }>;
4737
- sequencePrefix: z.ZodNullable<z.ZodString>;
4876
+ invoiceSequenceFormat: z.ZodObject<{
4877
+ prefix: z.ZodNullable<z.ZodString>;
4878
+ dateFormat: z.ZodEnum<{
4879
+ none: "none";
4880
+ YYYY: "YYYY";
4881
+ YY: "YY";
4882
+ YYYYMM: "YYYYMM";
4883
+ YYMM: "YYMM";
4884
+ YYYYMMDD: "YYYYMMDD";
4885
+ }>;
4886
+ minDigits: z.ZodInt;
4887
+ separator: z.ZodObject<{
4888
+ value: z.ZodEnum<{
4889
+ none: "none";
4890
+ hyphen: "hyphen";
4891
+ slash: "slash";
4892
+ underscore: "underscore";
4893
+ period: "period";
4894
+ }>;
4895
+ afterPrefix: z.ZodBoolean;
4896
+ afterDate: z.ZodBoolean;
4897
+ }, z.core.$strip>;
4898
+ }, z.core.$strip>;
4899
+ creditNoteSequenceFormat: z.ZodOptional<z.ZodObject<{
4900
+ prefix: z.ZodNullable<z.ZodString>;
4901
+ dateFormat: z.ZodEnum<{
4902
+ none: "none";
4903
+ YYYY: "YYYY";
4904
+ YY: "YY";
4905
+ YYYYMM: "YYYYMM";
4906
+ YYMM: "YYMM";
4907
+ YYYYMMDD: "YYYYMMDD";
4908
+ }>;
4909
+ minDigits: z.ZodInt;
4910
+ separator: z.ZodObject<{
4911
+ value: z.ZodEnum<{
4912
+ none: "none";
4913
+ hyphen: "hyphen";
4914
+ slash: "slash";
4915
+ underscore: "underscore";
4916
+ period: "period";
4917
+ }>;
4918
+ afterPrefix: z.ZodBoolean;
4919
+ afterDate: z.ZodBoolean;
4920
+ }, z.core.$strip>;
4921
+ }, z.core.$strip>>;
4922
+ shareCreditNoteSequence: z.ZodOptional<z.ZodBoolean>;
4923
+ sequenceReset: z.ZodEnum<{
4924
+ never: "never";
4925
+ yearly: "yearly";
4926
+ }>;
4738
4927
  defaultPaymentTerm: z.ZodObject<{
4739
4928
  value: z.ZodNumber;
4740
4929
  unit: z.ZodEnum<{
@@ -12639,6 +12828,7 @@ export declare const zInvoiceContactOverrideCommand: z.ZodObject<{
12639
12828
  export declare const zCreateInvoiceCommand: z.ZodObject<{
12640
12829
  customerUuid: z.ZodUUID;
12641
12830
  requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
12831
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
12642
12832
  contactOverride: z.ZodOptional<z.ZodObject<{
12643
12833
  billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12644
12834
  name: z.ZodNullable<z.ZodString>;
@@ -12740,6 +12930,7 @@ export declare const zViewInvoiceDetailLineResponse: z.ZodObject<{
12740
12930
  position: z.ZodNumber;
12741
12931
  name: z.ZodString;
12742
12932
  description: z.ZodNullable<z.ZodString>;
12933
+ externalId: z.ZodNullable<z.ZodString>;
12743
12934
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12744
12935
  definitionUuid: z.ZodUUID;
12745
12936
  type: z.ZodEnum<{
@@ -13763,6 +13954,7 @@ export declare const zViewInvoiceDetailGroupResponse: z.ZodObject<{
13763
13954
  position: z.ZodNumber;
13764
13955
  name: z.ZodString;
13765
13956
  description: z.ZodNullable<z.ZodString>;
13957
+ externalId: z.ZodNullable<z.ZodString>;
13766
13958
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13767
13959
  definitionUuid: z.ZodUUID;
13768
13960
  type: z.ZodEnum<{
@@ -14017,6 +14209,7 @@ export declare const zViewInvoiceDetailGroupResponse: z.ZodObject<{
14017
14209
  position: z.ZodNumber;
14018
14210
  name: z.ZodString;
14019
14211
  description: z.ZodNullable<z.ZodString>;
14212
+ externalId: z.ZodNullable<z.ZodString>;
14020
14213
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
14021
14214
  definitionUuid: z.ZodUUID;
14022
14215
  type: z.ZodEnum<{
@@ -16871,6 +17064,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
16871
17064
  position: z.ZodNumber;
16872
17065
  name: z.ZodString;
16873
17066
  description: z.ZodNullable<z.ZodString>;
17067
+ externalId: z.ZodNullable<z.ZodString>;
16874
17068
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
16875
17069
  definitionUuid: z.ZodUUID;
16876
17070
  type: z.ZodEnum<{
@@ -17894,6 +18088,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
17894
18088
  position: z.ZodNumber;
17895
18089
  name: z.ZodString;
17896
18090
  description: z.ZodNullable<z.ZodString>;
18091
+ externalId: z.ZodNullable<z.ZodString>;
17897
18092
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
17898
18093
  definitionUuid: z.ZodUUID;
17899
18094
  type: z.ZodEnum<{
@@ -18148,6 +18343,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
18148
18343
  position: z.ZodNumber;
18149
18344
  name: z.ZodString;
18150
18345
  description: z.ZodNullable<z.ZodString>;
18346
+ externalId: z.ZodNullable<z.ZodString>;
18151
18347
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
18152
18348
  definitionUuid: z.ZodUUID;
18153
18349
  type: z.ZodEnum<{
@@ -23654,6 +23850,8 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
23654
23850
  reminderSentAt: z.ZodNullable<z.ZodISODateTime>;
23655
23851
  }, z.core.$strip>>;
23656
23852
  hasChangesSinceApprovalSent: z.ZodBoolean;
23853
+ isEditable: z.ZodBoolean;
23854
+ isExternallyCreated: z.ZodBoolean;
23657
23855
  }, z.core.$strip>;
23658
23856
  export declare const zViewInvoiceIndexSortQueryKey: z.ZodEnum<{
23659
23857
  customer: "customer";
@@ -24263,6 +24461,7 @@ export declare const zViewInvoiceIndexFilterQuery: z.ZodObject<{
24263
24461
  reminder_2: "reminder_2";
24264
24462
  }>>>;
24265
24463
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
24464
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
24266
24465
  }, z.core.$strip>;
24267
24466
  export declare const zInvoiceIndexCustomerResponse: z.ZodObject<{
24268
24467
  uuid: z.ZodUUID;
@@ -26776,6 +26975,15 @@ export declare const zCanNotChangeInvoiceCustomerWithApprovalCreatedError: z.Zod
26776
26975
  can_not_change_invoice_customer_with_approval_created: "can_not_change_invoice_customer_with_approval_created";
26777
26976
  }>;
26778
26977
  }, z.core.$strip>;
26978
+ export declare const zExternallyCreatedInvoiceNotEditableError: z.ZodObject<{
26979
+ detail: z.ZodOptional<z.ZodString>;
26980
+ status: z.ZodEnum<{
26981
+ 403: "403";
26982
+ }>;
26983
+ code: z.ZodEnum<{
26984
+ externally_created_invoice_not_editable: "externally_created_invoice_not_editable";
26985
+ }>;
26986
+ }, z.core.$strip>;
26779
26987
  export declare const zUpdateInvoiceCommand: z.ZodObject<{
26780
26988
  issuedOn: z.ZodISODate;
26781
26989
  deliveredOn: z.ZodNullable<z.ZodISODate>;
@@ -27097,6 +27305,7 @@ export declare const zInvoiceLineGroupMaxDepthExceededError: z.ZodObject<{
27097
27305
  export declare const zInvoiceLineCommand: z.ZodObject<{
27098
27306
  name: z.ZodString;
27099
27307
  description: z.ZodNullable<z.ZodString>;
27308
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27100
27309
  position: z.ZodInt;
27101
27310
  quantity: z.ZodNumber;
27102
27311
  unitPrice: z.ZodObject<{
@@ -27745,10 +27954,12 @@ export declare const zInvoiceLineCommand: z.ZodObject<{
27745
27954
  export declare const zUpdateInvoiceLinesGroupCommand: z.ZodObject<{
27746
27955
  name: z.ZodString;
27747
27956
  description: z.ZodNullable<z.ZodString>;
27957
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27748
27958
  position: z.ZodInt;
27749
27959
  lines: z.ZodArray<z.ZodObject<{
27750
27960
  name: z.ZodString;
27751
27961
  description: z.ZodNullable<z.ZodString>;
27962
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27752
27963
  position: z.ZodInt;
27753
27964
  quantity: z.ZodNumber;
27754
27965
  unitPrice: z.ZodObject<{
@@ -28648,10 +28859,12 @@ export declare const zUpdateInvoiceLinesCommand: z.ZodObject<{
28648
28859
  groups: z.ZodArray<z.ZodObject<{
28649
28860
  name: z.ZodString;
28650
28861
  description: z.ZodNullable<z.ZodString>;
28862
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28651
28863
  position: z.ZodInt;
28652
28864
  lines: z.ZodArray<z.ZodObject<{
28653
28865
  name: z.ZodString;
28654
28866
  description: z.ZodNullable<z.ZodString>;
28867
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28655
28868
  position: z.ZodInt;
28656
28869
  quantity: z.ZodNumber;
28657
28870
  unitPrice: z.ZodObject<{
@@ -29550,6 +29763,7 @@ export declare const zUpdateInvoiceLinesCommand: z.ZodObject<{
29550
29763
  ungroupedLines: z.ZodArray<z.ZodObject<{
29551
29764
  name: z.ZodString;
29552
29765
  description: z.ZodNullable<z.ZodString>;
29766
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29553
29767
  position: z.ZodInt;
29554
29768
  quantity: z.ZodNumber;
29555
29769
  unitPrice: z.ZodObject<{
@@ -30659,6 +30873,45 @@ export declare const zInvoiceFinalizationRequiresApprovalError: z.ZodObject<{
30659
30873
  level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
30660
30874
  }, z.core.$strip>;
30661
30875
  }, z.core.$strip>;
30876
+ export declare const zInvoiceIssuedOnInFutureError: z.ZodObject<{
30877
+ detail: z.ZodOptional<z.ZodString>;
30878
+ status: z.ZodEnum<{
30879
+ 400: "400";
30880
+ }>;
30881
+ code: z.ZodEnum<{
30882
+ invoice_issued_on_in_future: "invoice_issued_on_in_future";
30883
+ }>;
30884
+ }, z.core.$strip>;
30885
+ export declare const zInvoiceIssuedOnBeforeLastIssuedErrorMeta: z.ZodObject<{
30886
+ lastIssuedOn: z.ZodISODate;
30887
+ }, z.core.$strip>;
30888
+ export declare const zInvoiceIssuedOnBeforeLastIssuedError: z.ZodObject<{
30889
+ detail: z.ZodOptional<z.ZodString>;
30890
+ status: z.ZodEnum<{
30891
+ 409: "409";
30892
+ }>;
30893
+ code: z.ZodEnum<{
30894
+ invoice_issued_on_before_last_issued: "invoice_issued_on_before_last_issued";
30895
+ }>;
30896
+ meta: z.ZodObject<{
30897
+ lastIssuedOn: z.ZodISODate;
30898
+ }, z.core.$strip>;
30899
+ }, z.core.$strip>;
30900
+ export declare const zInvoiceIssuedOnInClosedPeriodErrorMeta: z.ZodObject<{
30901
+ periodEndedOn: z.ZodISODate;
30902
+ }, z.core.$strip>;
30903
+ export declare const zInvoiceIssuedOnInClosedPeriodError: z.ZodObject<{
30904
+ detail: z.ZodOptional<z.ZodString>;
30905
+ status: z.ZodEnum<{
30906
+ 409: "409";
30907
+ }>;
30908
+ code: z.ZodEnum<{
30909
+ invoice_issued_on_in_closed_period: "invoice_issued_on_in_closed_period";
30910
+ }>;
30911
+ meta: z.ZodObject<{
30912
+ periodEndedOn: z.ZodISODate;
30913
+ }, z.core.$strip>;
30914
+ }, z.core.$strip>;
30662
30915
  export declare const zCreditNoteFromDraftInvoiceError: z.ZodObject<{
30663
30916
  detail: z.ZodOptional<z.ZodString>;
30664
30917
  status: z.ZodEnum<{
@@ -30677,13 +30930,13 @@ export declare const zCreditNoteFromCreditNoteError: z.ZodObject<{
30677
30930
  credit_note_from_credit_note: "credit_note_from_credit_note";
30678
30931
  }>;
30679
30932
  }, z.core.$strip>;
30680
- export declare const zCreditNoteSettledError: z.ZodObject<{
30933
+ export declare const zInvoiceFullyCreditedError: z.ZodObject<{
30681
30934
  detail: z.ZodOptional<z.ZodString>;
30682
30935
  status: z.ZodEnum<{
30683
30936
  409: "409";
30684
30937
  }>;
30685
30938
  code: z.ZodEnum<{
30686
- credit_note_settled: "credit_note_settled";
30939
+ invoice_fully_credited: "invoice_fully_credited";
30687
30940
  }>;
30688
30941
  }, z.core.$strip>;
30689
30942
  export declare const zCreateCreditNoteResponse: z.ZodObject<{
@@ -30701,6 +30954,7 @@ export declare const zInvoiceNotCreditNoteError: z.ZodObject<{
30701
30954
  export declare const zCreditNoteInvoiceLineCommand: z.ZodObject<{
30702
30955
  name: z.ZodString;
30703
30956
  description: z.ZodNullable<z.ZodString>;
30957
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30704
30958
  position: z.ZodInt;
30705
30959
  quantity: z.ZodNumber;
30706
30960
  unitPrice: z.ZodObject<{
@@ -31349,10 +31603,12 @@ export declare const zCreditNoteInvoiceLineCommand: z.ZodObject<{
31349
31603
  export declare const zUpdateCreditNoteInvoiceLinesGroupCommand: z.ZodObject<{
31350
31604
  name: z.ZodString;
31351
31605
  description: z.ZodNullable<z.ZodString>;
31606
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31352
31607
  position: z.ZodInt;
31353
31608
  lines: z.ZodArray<z.ZodObject<{
31354
31609
  name: z.ZodString;
31355
31610
  description: z.ZodNullable<z.ZodString>;
31611
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31356
31612
  position: z.ZodInt;
31357
31613
  quantity: z.ZodNumber;
31358
31614
  unitPrice: z.ZodObject<{
@@ -32252,10 +32508,12 @@ export declare const zUpdateCreditNoteInvoiceLinesCommand: z.ZodObject<{
32252
32508
  groups: z.ZodArray<z.ZodObject<{
32253
32509
  name: z.ZodString;
32254
32510
  description: z.ZodNullable<z.ZodString>;
32511
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32255
32512
  position: z.ZodInt;
32256
32513
  lines: z.ZodArray<z.ZodObject<{
32257
32514
  name: z.ZodString;
32258
32515
  description: z.ZodNullable<z.ZodString>;
32516
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32259
32517
  position: z.ZodInt;
32260
32518
  quantity: z.ZodNumber;
32261
32519
  unitPrice: z.ZodObject<{
@@ -33154,6 +33412,7 @@ export declare const zUpdateCreditNoteInvoiceLinesCommand: z.ZodObject<{
33154
33412
  ungroupedLines: z.ZodArray<z.ZodObject<{
33155
33413
  name: z.ZodString;
33156
33414
  description: z.ZodNullable<z.ZodString>;
33415
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33157
33416
  position: z.ZodInt;
33158
33417
  quantity: z.ZodNumber;
33159
33418
  unitPrice: z.ZodObject<{
@@ -34445,6 +34704,7 @@ export declare const zBulkSendInvoiceFilterQuery: z.ZodObject<{
34445
34704
  reminder_2: "reminder_2";
34446
34705
  }>>>;
34447
34706
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
34707
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
34448
34708
  }, z.core.$strip>;
34449
34709
  export declare const zBulkActionMeta: z.ZodObject<{
34450
34710
  total: z.ZodNumber;
@@ -34830,6 +35090,7 @@ export declare const zPreviewBulkSendInvoiceFilterQuery: z.ZodObject<{
34830
35090
  reminder_2: "reminder_2";
34831
35091
  }>>>;
34832
35092
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
35093
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
34833
35094
  }, z.core.$strip>;
34834
35095
  export declare const zPreviewBulkSendInvoiceResponse: z.ZodObject<{
34835
35096
  meta: z.ZodObject<{
@@ -35222,6 +35483,7 @@ export declare const zPreviewBulkMarkInvoiceAsReadyFilterQuery: z.ZodObject<{
35222
35483
  reminder_2: "reminder_2";
35223
35484
  }>>>;
35224
35485
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
35486
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
35225
35487
  }, z.core.$strip>;
35226
35488
  export declare const zPreviewBulkMarkInvoiceAsReadyResponse: z.ZodObject<{
35227
35489
  meta: z.ZodObject<{
@@ -35557,6 +35819,7 @@ export declare const zBulkMarkInvoiceAsReadyFilterQuery: z.ZodObject<{
35557
35819
  reminder_2: "reminder_2";
35558
35820
  }>>>;
35559
35821
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
35822
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
35560
35823
  }, z.core.$strip>;
35561
35824
  export declare const zBulkMarkInvoiceAsReadyResponse: z.ZodObject<{
35562
35825
  meta: z.ZodObject<{
@@ -35901,6 +36164,7 @@ export declare const zPreviewBulkFinalizeInvoiceFilterQuery: z.ZodObject<{
35901
36164
  reminder_2: "reminder_2";
35902
36165
  }>>>;
35903
36166
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
36167
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
35904
36168
  }, z.core.$strip>;
35905
36169
  export declare const zPreviewBulkFinalizeInvoiceResponse: z.ZodObject<{
35906
36170
  meta: z.ZodObject<{
@@ -36236,6 +36500,7 @@ export declare const zBulkFinalizeInvoiceFilterQuery: z.ZodObject<{
36236
36500
  reminder_2: "reminder_2";
36237
36501
  }>>>;
36238
36502
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
36503
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
36239
36504
  }, z.core.$strip>;
36240
36505
  export declare const zBulkFinalizeInvoiceResponse: z.ZodObject<{
36241
36506
  meta: z.ZodObject<{
@@ -45077,6 +45342,7 @@ export declare const zPreviewBulkSendInvoiceApprovalFilterQuery: z.ZodObject<{
45077
45342
  reminder_2: "reminder_2";
45078
45343
  }>>>;
45079
45344
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
45345
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
45080
45346
  }, z.core.$strip>;
45081
45347
  export declare const zPreviewBulkSendInvoiceApprovalResponse: z.ZodObject<{
45082
45348
  meta: z.ZodObject<{
@@ -45412,6 +45678,7 @@ export declare const zBulkSendInvoiceApprovalFilterQuery: z.ZodObject<{
45412
45678
  reminder_2: "reminder_2";
45413
45679
  }>>>;
45414
45680
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
45681
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
45415
45682
  }, z.core.$strip>;
45416
45683
  export declare const zBulkSendInvoiceApprovalResponse: z.ZodObject<{
45417
45684
  meta: z.ZodObject<{
@@ -54779,6 +55046,7 @@ export declare const zViewPermissionIndexV1Response: z.ZodObject<{
54779
55046
  "invoice.payment.create": "invoice.payment.create";
54780
55047
  "invoice.payment.delete": "invoice.payment.delete";
54781
55048
  "invoice.payment.read": "invoice.payment.read";
55049
+ "invoice.externally-created.update": "invoice.externally-created.update";
54782
55050
  "peppol-connection.update": "peppol-connection.update";
54783
55051
  "issuer.read": "issuer.read";
54784
55052
  "issuer.update": "issuer.update";
@@ -54869,6 +55137,7 @@ export declare const zViewApiKeyIndexV1Response: z.ZodObject<{
54869
55137
  "invoice.payment.create": "invoice.payment.create";
54870
55138
  "invoice.payment.delete": "invoice.payment.delete";
54871
55139
  "invoice.payment.read": "invoice.payment.read";
55140
+ "invoice.externally-created.update": "invoice.externally-created.update";
54872
55141
  "peppol-connection.update": "peppol-connection.update";
54873
55142
  "issuer.read": "issuer.read";
54874
55143
  "issuer.update": "issuer.update";
@@ -54956,6 +55225,7 @@ export declare const zCreateApiKeyV1Body: z.ZodObject<{
54956
55225
  "invoice.payment.create": "invoice.payment.create";
54957
55226
  "invoice.payment.delete": "invoice.payment.delete";
54958
55227
  "invoice.payment.read": "invoice.payment.read";
55228
+ "invoice.externally-created.update": "invoice.externally-created.update";
54959
55229
  "peppol-connection.update": "peppol-connection.update";
54960
55230
  "issuer.read": "issuer.read";
54961
55231
  "issuer.update": "issuer.update";
@@ -55033,6 +55303,7 @@ export declare const zCreateApiKeyV1Response: z.ZodObject<{
55033
55303
  "invoice.payment.create": "invoice.payment.create";
55034
55304
  "invoice.payment.delete": "invoice.payment.delete";
55035
55305
  "invoice.payment.read": "invoice.payment.read";
55306
+ "invoice.externally-created.update": "invoice.externally-created.update";
55036
55307
  "peppol-connection.update": "peppol-connection.update";
55037
55308
  "issuer.read": "issuer.read";
55038
55309
  "issuer.update": "issuer.update";
@@ -55167,6 +55438,7 @@ export declare const zViewMeV1Response: z.ZodObject<{
55167
55438
  "invoice.payment.create": "invoice.payment.create";
55168
55439
  "invoice.payment.delete": "invoice.payment.delete";
55169
55440
  "invoice.payment.read": "invoice.payment.read";
55441
+ "invoice.externally-created.update": "invoice.externally-created.update";
55170
55442
  "peppol-connection.update": "peppol-connection.update";
55171
55443
  "issuer.read": "issuer.read";
55172
55444
  "issuer.update": "issuer.update";
@@ -55260,6 +55532,7 @@ export declare const zViewUserDetailV1Response: z.ZodObject<{
55260
55532
  "invoice.payment.create": "invoice.payment.create";
55261
55533
  "invoice.payment.delete": "invoice.payment.delete";
55262
55534
  "invoice.payment.read": "invoice.payment.read";
55535
+ "invoice.externally-created.update": "invoice.externally-created.update";
55263
55536
  "peppol-connection.update": "peppol-connection.update";
55264
55537
  "issuer.read": "issuer.read";
55265
55538
  "issuer.update": "issuer.update";
@@ -55372,6 +55645,7 @@ export declare const zViewRoleIndexV1Response: z.ZodObject<{
55372
55645
  "invoice.payment.create": "invoice.payment.create";
55373
55646
  "invoice.payment.delete": "invoice.payment.delete";
55374
55647
  "invoice.payment.read": "invoice.payment.read";
55648
+ "invoice.externally-created.update": "invoice.externally-created.update";
55375
55649
  "peppol-connection.update": "peppol-connection.update";
55376
55650
  "issuer.read": "issuer.read";
55377
55651
  "issuer.update": "issuer.update";
@@ -55451,6 +55725,7 @@ export declare const zUpdateRolesPermissionsV1Body: z.ZodObject<{
55451
55725
  "invoice.payment.create": "invoice.payment.create";
55452
55726
  "invoice.payment.delete": "invoice.payment.delete";
55453
55727
  "invoice.payment.read": "invoice.payment.read";
55728
+ "invoice.externally-created.update": "invoice.externally-created.update";
55454
55729
  "peppol-connection.update": "peppol-connection.update";
55455
55730
  "issuer.read": "issuer.read";
55456
55731
  "issuer.update": "issuer.update";
@@ -55551,6 +55826,7 @@ export declare const zViewRoleDetailV1Response: z.ZodObject<{
55551
55826
  "invoice.payment.create": "invoice.payment.create";
55552
55827
  "invoice.payment.delete": "invoice.payment.delete";
55553
55828
  "invoice.payment.read": "invoice.payment.read";
55829
+ "invoice.externally-created.update": "invoice.externally-created.update";
55554
55830
  "peppol-connection.update": "peppol-connection.update";
55555
55831
  "issuer.read": "issuer.read";
55556
55832
  "issuer.update": "issuer.update";
@@ -57344,7 +57620,59 @@ export declare const zViewMyIssuerV1Response: z.ZodObject<{
57344
57620
  XPT: "XPT";
57345
57621
  XAG: "XAG";
57346
57622
  }>;
57347
- sequencePrefix: z.ZodNullable<z.ZodString>;
57623
+ invoiceSequenceFormat: z.ZodObject<{
57624
+ prefix: z.ZodNullable<z.ZodString>;
57625
+ dateFormat: z.ZodEnum<{
57626
+ none: "none";
57627
+ YYYY: "YYYY";
57628
+ YY: "YY";
57629
+ YYYYMM: "YYYYMM";
57630
+ YYMM: "YYMM";
57631
+ YYYYMMDD: "YYYYMMDD";
57632
+ }>;
57633
+ minDigits: z.ZodInt;
57634
+ separator: z.ZodObject<{
57635
+ value: z.ZodEnum<{
57636
+ none: "none";
57637
+ hyphen: "hyphen";
57638
+ slash: "slash";
57639
+ underscore: "underscore";
57640
+ period: "period";
57641
+ }>;
57642
+ afterPrefix: z.ZodBoolean;
57643
+ afterDate: z.ZodBoolean;
57644
+ }, z.core.$strip>;
57645
+ }, z.core.$strip>;
57646
+ creditNoteSequenceFormat: z.ZodObject<{
57647
+ prefix: z.ZodNullable<z.ZodString>;
57648
+ dateFormat: z.ZodEnum<{
57649
+ none: "none";
57650
+ YYYY: "YYYY";
57651
+ YY: "YY";
57652
+ YYYYMM: "YYYYMM";
57653
+ YYMM: "YYMM";
57654
+ YYYYMMDD: "YYYYMMDD";
57655
+ }>;
57656
+ minDigits: z.ZodInt;
57657
+ separator: z.ZodObject<{
57658
+ value: z.ZodEnum<{
57659
+ none: "none";
57660
+ hyphen: "hyphen";
57661
+ slash: "slash";
57662
+ underscore: "underscore";
57663
+ period: "period";
57664
+ }>;
57665
+ afterPrefix: z.ZodBoolean;
57666
+ afterDate: z.ZodBoolean;
57667
+ }, z.core.$strip>;
57668
+ }, z.core.$strip>;
57669
+ shareCreditNoteSequence: z.ZodBoolean;
57670
+ isSequenceFormatChangeImmediate: z.ZodBoolean;
57671
+ isCreditNoteSequenceChangeImmediate: z.ZodBoolean;
57672
+ sequenceReset: z.ZodEnum<{
57673
+ never: "never";
57674
+ yearly: "yearly";
57675
+ }>;
57348
57676
  defaultPaymentTerm: z.ZodObject<{
57349
57677
  value: z.ZodNumber;
57350
57678
  unit: z.ZodEnum<{
@@ -57358,6 +57686,7 @@ export declare const zViewMyIssuerV1Response: z.ZodObject<{
57358
57686
  }>;
57359
57687
  }, z.core.$strip>;
57360
57688
  requiresInvoiceApprovalFile: z.ZodBoolean;
57689
+ allowsEditingExternallyCreatedInvoices: z.ZodBoolean;
57361
57690
  }, z.core.$strip>;
57362
57691
  export declare const zUpdateMyIssuerV1Body: z.ZodObject<{
57363
57692
  email: z.ZodNullable<z.ZodEmail>;
@@ -57562,7 +57891,57 @@ export declare const zUpdateMyIssuerV1Body: z.ZodObject<{
57562
57891
  XPT: "XPT";
57563
57892
  XAG: "XAG";
57564
57893
  }>;
57565
- sequencePrefix: z.ZodNullable<z.ZodString>;
57894
+ invoiceSequenceFormat: z.ZodObject<{
57895
+ prefix: z.ZodNullable<z.ZodString>;
57896
+ dateFormat: z.ZodEnum<{
57897
+ none: "none";
57898
+ YYYY: "YYYY";
57899
+ YY: "YY";
57900
+ YYYYMM: "YYYYMM";
57901
+ YYMM: "YYMM";
57902
+ YYYYMMDD: "YYYYMMDD";
57903
+ }>;
57904
+ minDigits: z.ZodInt;
57905
+ separator: z.ZodObject<{
57906
+ value: z.ZodEnum<{
57907
+ none: "none";
57908
+ hyphen: "hyphen";
57909
+ slash: "slash";
57910
+ underscore: "underscore";
57911
+ period: "period";
57912
+ }>;
57913
+ afterPrefix: z.ZodBoolean;
57914
+ afterDate: z.ZodBoolean;
57915
+ }, z.core.$strip>;
57916
+ }, z.core.$strip>;
57917
+ creditNoteSequenceFormat: z.ZodOptional<z.ZodObject<{
57918
+ prefix: z.ZodNullable<z.ZodString>;
57919
+ dateFormat: z.ZodEnum<{
57920
+ none: "none";
57921
+ YYYY: "YYYY";
57922
+ YY: "YY";
57923
+ YYYYMM: "YYYYMM";
57924
+ YYMM: "YYMM";
57925
+ YYYYMMDD: "YYYYMMDD";
57926
+ }>;
57927
+ minDigits: z.ZodInt;
57928
+ separator: z.ZodObject<{
57929
+ value: z.ZodEnum<{
57930
+ none: "none";
57931
+ hyphen: "hyphen";
57932
+ slash: "slash";
57933
+ underscore: "underscore";
57934
+ period: "period";
57935
+ }>;
57936
+ afterPrefix: z.ZodBoolean;
57937
+ afterDate: z.ZodBoolean;
57938
+ }, z.core.$strip>;
57939
+ }, z.core.$strip>>;
57940
+ shareCreditNoteSequence: z.ZodOptional<z.ZodBoolean>;
57941
+ sequenceReset: z.ZodEnum<{
57942
+ never: "never";
57943
+ yearly: "yearly";
57944
+ }>;
57566
57945
  defaultPaymentTerm: z.ZodObject<{
57567
57946
  value: z.ZodNumber;
57568
57947
  unit: z.ZodEnum<{
@@ -62464,6 +62843,7 @@ export declare const zViewInvoiceIndexV1Query: z.ZodObject<{
62464
62843
  reminder_2: "reminder_2";
62465
62844
  }>>>;
62466
62845
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
62846
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
62467
62847
  }, z.core.$strip>>;
62468
62848
  search: z.ZodOptional<z.ZodString>;
62469
62849
  }, z.core.$strip>;
@@ -63708,6 +64088,7 @@ export declare const zViewInvoiceIndexV1Response: z.ZodObject<{
63708
64088
  export declare const zCreateInvoiceV1Body: z.ZodObject<{
63709
64089
  customerUuid: z.ZodUUID;
63710
64090
  requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
64091
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
63711
64092
  contactOverride: z.ZodOptional<z.ZodObject<{
63712
64093
  billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63713
64094
  name: z.ZodNullable<z.ZodString>;
@@ -64102,6 +64483,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
64102
64483
  position: z.ZodNumber;
64103
64484
  name: z.ZodString;
64104
64485
  description: z.ZodNullable<z.ZodString>;
64486
+ externalId: z.ZodNullable<z.ZodString>;
64105
64487
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
64106
64488
  definitionUuid: z.ZodUUID;
64107
64489
  type: z.ZodEnum<{
@@ -65125,6 +65507,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
65125
65507
  position: z.ZodNumber;
65126
65508
  name: z.ZodString;
65127
65509
  description: z.ZodNullable<z.ZodString>;
65510
+ externalId: z.ZodNullable<z.ZodString>;
65128
65511
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
65129
65512
  definitionUuid: z.ZodUUID;
65130
65513
  type: z.ZodEnum<{
@@ -65379,6 +65762,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
65379
65762
  position: z.ZodNumber;
65380
65763
  name: z.ZodString;
65381
65764
  description: z.ZodNullable<z.ZodString>;
65765
+ externalId: z.ZodNullable<z.ZodString>;
65382
65766
  customFields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
65383
65767
  definitionUuid: z.ZodUUID;
65384
65768
  type: z.ZodEnum<{
@@ -70885,6 +71269,8 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
70885
71269
  reminderSentAt: z.ZodNullable<z.ZodISODateTime>;
70886
71270
  }, z.core.$strip>>;
70887
71271
  hasChangesSinceApprovalSent: z.ZodBoolean;
71272
+ isEditable: z.ZodBoolean;
71273
+ isExternallyCreated: z.ZodBoolean;
70888
71274
  }, z.core.$strip>;
70889
71275
  export declare const zUpdateInvoiceV1Body: z.ZodObject<{
70890
71276
  issuedOn: z.ZodISODate;
@@ -71167,10 +71553,12 @@ export declare const zUpdateInvoiceLinesV1Body: z.ZodObject<{
71167
71553
  groups: z.ZodArray<z.ZodObject<{
71168
71554
  name: z.ZodString;
71169
71555
  description: z.ZodNullable<z.ZodString>;
71556
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71170
71557
  position: z.ZodInt;
71171
71558
  lines: z.ZodArray<z.ZodObject<{
71172
71559
  name: z.ZodString;
71173
71560
  description: z.ZodNullable<z.ZodString>;
71561
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71174
71562
  position: z.ZodInt;
71175
71563
  quantity: z.ZodNumber;
71176
71564
  unitPrice: z.ZodObject<{
@@ -72069,6 +72457,7 @@ export declare const zUpdateInvoiceLinesV1Body: z.ZodObject<{
72069
72457
  ungroupedLines: z.ZodArray<z.ZodObject<{
72070
72458
  name: z.ZodString;
72071
72459
  description: z.ZodNullable<z.ZodString>;
72460
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72072
72461
  position: z.ZodInt;
72073
72462
  quantity: z.ZodNumber;
72074
72463
  unitPrice: z.ZodObject<{
@@ -73135,10 +73524,12 @@ export declare const zUpdateCreditNoteInvoiceLinesV1Body: z.ZodObject<{
73135
73524
  groups: z.ZodArray<z.ZodObject<{
73136
73525
  name: z.ZodString;
73137
73526
  description: z.ZodNullable<z.ZodString>;
73527
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73138
73528
  position: z.ZodInt;
73139
73529
  lines: z.ZodArray<z.ZodObject<{
73140
73530
  name: z.ZodString;
73141
73531
  description: z.ZodNullable<z.ZodString>;
73532
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73142
73533
  position: z.ZodInt;
73143
73534
  quantity: z.ZodNumber;
73144
73535
  unitPrice: z.ZodObject<{
@@ -74037,6 +74428,7 @@ export declare const zUpdateCreditNoteInvoiceLinesV1Body: z.ZodObject<{
74037
74428
  ungroupedLines: z.ZodArray<z.ZodObject<{
74038
74429
  name: z.ZodString;
74039
74430
  description: z.ZodNullable<z.ZodString>;
74431
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74040
74432
  position: z.ZodInt;
74041
74433
  quantity: z.ZodNumber;
74042
74434
  unitPrice: z.ZodObject<{
@@ -75272,6 +75664,7 @@ export declare const zBulkSendInvoiceV1Query: z.ZodObject<{
75272
75664
  reminder_2: "reminder_2";
75273
75665
  }>>>;
75274
75666
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
75667
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
75275
75668
  }, z.core.$strip>>;
75276
75669
  search: z.ZodOptional<z.ZodString>;
75277
75670
  }, z.core.$strip>;
@@ -75610,6 +76003,7 @@ export declare const zPreviewBulkSendInvoiceV1Query: z.ZodObject<{
75610
76003
  reminder_2: "reminder_2";
75611
76004
  }>>>;
75612
76005
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
76006
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
75613
76007
  }, z.core.$strip>>;
75614
76008
  search: z.ZodOptional<z.ZodString>;
75615
76009
  }, z.core.$strip>;
@@ -75978,6 +76372,7 @@ export declare const zPreviewBulkMarkInvoiceAsReadyV1Query: z.ZodObject<{
75978
76372
  reminder_2: "reminder_2";
75979
76373
  }>>>;
75980
76374
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
76375
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
75981
76376
  }, z.core.$strip>>;
75982
76377
  search: z.ZodOptional<z.ZodString>;
75983
76378
  }, z.core.$strip>;
@@ -76316,6 +76711,7 @@ export declare const zBulkMarkInvoiceAsReadyV1Query: z.ZodObject<{
76316
76711
  reminder_2: "reminder_2";
76317
76712
  }>>>;
76318
76713
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
76714
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
76319
76715
  }, z.core.$strip>>;
76320
76716
  search: z.ZodOptional<z.ZodString>;
76321
76717
  }, z.core.$strip>;
@@ -76658,6 +77054,7 @@ export declare const zPreviewBulkFinalizeInvoiceV1Query: z.ZodObject<{
76658
77054
  reminder_2: "reminder_2";
76659
77055
  }>>>;
76660
77056
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
77057
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
76661
77058
  }, z.core.$strip>>;
76662
77059
  search: z.ZodOptional<z.ZodString>;
76663
77060
  }, z.core.$strip>;
@@ -76996,6 +77393,7 @@ export declare const zBulkFinalizeInvoiceV1Query: z.ZodObject<{
76996
77393
  reminder_2: "reminder_2";
76997
77394
  }>>>;
76998
77395
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
77396
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
76999
77397
  }, z.core.$strip>>;
77000
77398
  search: z.ZodOptional<z.ZodString>;
77001
77399
  }, z.core.$strip>;
@@ -81944,6 +82342,7 @@ export declare const zPreviewBulkSendInvoiceApprovalV1Query: z.ZodObject<{
81944
82342
  reminder_2: "reminder_2";
81945
82343
  }>>>;
81946
82344
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
82345
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
81947
82346
  }, z.core.$strip>>;
81948
82347
  search: z.ZodOptional<z.ZodString>;
81949
82348
  }, z.core.$strip>;
@@ -82282,6 +82681,7 @@ export declare const zBulkSendInvoiceApprovalV1Query: z.ZodObject<{
82282
82681
  reminder_2: "reminder_2";
82283
82682
  }>>>;
82284
82683
  isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
82684
+ isExternallyCreated: z.ZodOptional<z.ZodBoolean>;
82285
82685
  }, z.core.$strip>>;
82286
82686
  search: z.ZodOptional<z.ZodString>;
82287
82687
  }, z.core.$strip>;