@firmenakte/api-client 2.47.0 → 2.49.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.
@@ -44,6 +44,10 @@ export type AddBillingPartnerRequest = {
44
44
  sourceValues?: null | {
45
45
  [key: string]: null | string | number | boolean;
46
46
  };
47
+ /**
48
+ * Firmenakte gives the Kunden- and Lieferantennummer in turn; a number sent here is refused. Leave it out.
49
+ */
50
+ number?: null | string;
47
51
  };
48
52
  export type AddLetterAttachmentBody = {
49
53
  fileName: string;
@@ -200,7 +204,7 @@ export type ArticleDto = {
200
204
  priceCents: number;
201
205
  vatRate: number;
202
206
  /**
203
- * The Artikelnummer, if it has one.
207
+ * The Artikelnummer: A- and at least four digits, or an older one typed freely.
204
208
  */
205
209
  number?: null | string;
206
210
  /**
@@ -238,7 +242,7 @@ export type BankAccountDto = {
238
242
  */
239
243
  listId?: null | string;
240
244
  /**
241
- * bank, cash, card or provider. It only names the Konto: every kind takes statements, bookings by hand and a connection.
245
+ * bank, cash, card, provider or private (the owner's own money, for what was paid privately). It only names the Konto: every kind takes statements, bookings by hand and a connection.
242
246
  */
243
247
  kind: string;
244
248
  /**
@@ -249,6 +253,10 @@ export type BankAccountDto = {
249
253
  * Optional BIC; an invoice naming this Konto prints it beside the IBAN.
250
254
  */
251
255
  bic?: null | string;
256
+ /**
257
+ * Kind private of a Kapitalgesellschaft: the Gesellschafter whose Verrechnungskonto it is, by his Firmenakte-ID; null otherwise.
258
+ */
259
+ shareholderId?: null | string;
252
260
  };
253
261
  export type BankAssignInput = {
254
262
  /**
@@ -264,10 +272,44 @@ export type BankAssignInput = {
264
272
  */
265
273
  reason?: null | string;
266
274
  /**
267
- * noReceipt (required, or a reason): bank (Kontoführung, Spesen, Zinsen), social (SVS, ÖGK), staff (Gehalt, Lohn, Lohnabgaben) or tax (the Finanzamt: USt, ESt, KöSt).
275
+ * noReceipt (required, or a reason): what the payment is, and so its Beleg: bank (Kontoführung, Spesen, Zinsen; the Kontoauszug), social (SVS, ÖGK; the Vorschreibung), staff (Gehalt, Lohn, Lohnabgaben; the Lohnabrechnung) or tax (the Finanzamt: USt, ESt, KöSt; the Buchungsmitteilung). The payment waits until its Beleg is there. receipt: social, staff or tax when the receipt is that document; the payment then counts by its category.
268
276
  */
269
277
  category?: 'bank' | 'social' | 'staff' | 'tax';
270
278
  };
279
+ export type BankBelegDto = {
280
+ /**
281
+ * present or missing.
282
+ */
283
+ status: string;
284
+ /**
285
+ * document (an invoice, a receipt, a Vorschreibung, Buchungsmitteilung or Lohnabrechnung), statement (the Konto's Kontoauszug of the month), own (an Eigenbeleg) or statements (a transfer: both Kontoauszüge).
286
+ */
287
+ kind: string;
288
+ /**
289
+ * What the Beleg is called: Beleg, Rechnung, Kontoauszug, Vorschreibung, Buchungsmitteilung, Lohnabrechnung, Eigenbeleg or Kontoauszüge.
290
+ */
291
+ name: string;
292
+ /**
293
+ * The status as the lists show it: Beleg fehlt, Kontoauszug fehlt, Vorschreibung fehlt, Buchungsmitteilung fehlt, Lohnabrechnung fehlt; once there the document's number, Kontoauszug November 2026, Eigenbeleg erstellt or Kontoauszüge.
294
+ */
295
+ label: string;
296
+ /**
297
+ * statement: the month whose Kontoauszug it is, YYYY-MM.
298
+ */
299
+ month?: null | string;
300
+ /**
301
+ * statement: the Kontoauszug that covers it; null while it is missing.
302
+ */
303
+ statementId?: null | string;
304
+ /**
305
+ * While missing: what to do, such as Kontoauszug November 2026 ablegen, Vorschreibung hochladen or Beleg zuordnen.
306
+ */
307
+ action?: null | string;
308
+ /**
309
+ * The Eigenbeleg the export writes (Eigenbelege.csv), by its number such as EB-20261110-a1b2c3: for a private booking, and for every booking on the Konto Privat, whose money paid in is an Einlage and taken out an Entnahme. Null otherwise.
310
+ */
311
+ eigenbeleg?: null | string;
312
+ };
271
313
  export type BankBookingInput = {
272
314
  /**
273
315
  * The row's ID, unique per Konto: a statement line's externalId, else a key of your own. A repeat is skipped, so a retry creates nothing twice.
@@ -385,11 +427,11 @@ export type BankMatchDto = {
385
427
  */
386
428
  id?: null | string;
387
429
  /**
388
- * What it is: an invoice's number, the account's name, Privat, Kein Beleg with its category such as Kein Beleg: Bank.
430
+ * What it is: an invoice's number, Umbuchung with the account's name, Privat, or the category such as Bank or Sozialversicherung (with the document's number once its Beleg is assigned). Whether its Beleg is there says beleg.
389
431
  */
390
432
  label: string;
391
433
  /**
392
- * noReceipt: the category's German label (Bank, Sozialversicherung, Personal, Finanzamt). Read category instead.
434
+ * noReceipt, and receipt with a category: the category's German label (Bank, Sozialversicherung, Personal, Finanzamt). Read category instead.
393
435
  */
394
436
  reason?: null | string;
395
437
  /**
@@ -413,15 +455,80 @@ export type BankMatchDto = {
413
455
  */
414
456
  reasons: Array<string>;
415
457
  /**
416
- * noReceipt: bank (Kontoführung, Spesen, Zinsen; an expense), social (SVS, ÖGK; an expense), staff (Gehalt, Lohn, Lohnabgaben; an expense) or tax (the Finanzamt: neither expense nor income, shown beside the USt).
458
+ * What the payment is, and so what its Beleg is: bank (Kontoführung, Spesen, Zinsen; an expense; Beleg the Kontoauszug), social (SVS, ÖGK; an expense; Beleg the Vorschreibung), staff (Gehalt, Lohn, Lohnabgaben; an expense; Beleg the Lohnabrechnung) or tax (the Finanzamt: neither expense nor income, shown beside the USt; Beleg the Buchungsmitteilung). Set on noReceipt, and on receipt when the receipt is that document.
417
459
  */
418
460
  category?: null | string;
419
461
  };
462
+ export type BankPrivateAccountDto = {
463
+ /**
464
+ * Privat; for a Kapitalgesellschaft Gesellschafter · Name, or Gesellschafter without Gesellschafter in the Firmenbuch.
465
+ */
466
+ name: string;
467
+ /**
468
+ * The Gesellschafter's Firmenakte-ID; null for Privat and Gesellschafter.
469
+ */
470
+ shareholderId?: null | string;
471
+ };
420
472
  export type BankSettingsDto = {
421
473
  /**
422
474
  * The KI-Abgleich. aus: no AI, nothing taken over; pruefen: the AI proposes too, every hit waits for a person; sicher: a sure hit of a rule or the AI is taken over (and can be undone). The rules propose in every mode.
423
475
  */
424
476
  mode: string;
477
+ /**
478
+ * The Konten of kind private a booking can be made on, by the Rechtsform of the Unternehmen: Privat (Einzelunternehmen, Personengesellschaft, none: Privateinlagen and -entnahmen), else one per Gesellschafter of the Firmenbuch (Verrechnung Gesellschafter). One the workspace has not made yet is made with createBankAccount, kind private.
479
+ */
480
+ privateAccounts?: null | Array<BankPrivateAccountDto>;
481
+ };
482
+ export type BankStatementDto = {
483
+ id: string;
484
+ accountId: string;
485
+ /**
486
+ * The CAMT number such as 007/2026; null for one filed as a document.
487
+ */
488
+ number?: null | string;
489
+ periodFrom: string;
490
+ periodTo: string;
491
+ /**
492
+ * Its file; null for a CAMT statement read before files were kept.
493
+ */
494
+ fileId?: null | string;
495
+ /**
496
+ * How many of the Konto's bank fees in its period it is the Beleg of.
497
+ */
498
+ covers: number;
499
+ };
500
+ export type BankTargetPaymentDto = {
501
+ id: string;
502
+ accountId: string;
503
+ accountName: string;
504
+ /**
505
+ * The Konto's kind: bank, cash, card, provider or private.
506
+ */
507
+ accountKind: string;
508
+ bookingDate: string;
509
+ /**
510
+ * Signed, in cents: money in is positive.
511
+ */
512
+ amountCents: number;
513
+ currency: string;
514
+ counterparty: BankCounterpartyDto;
515
+ reference?: null | string;
516
+ /**
517
+ * assigned (it pays the target), proposed (a proposal for the target waits for a person) or candidate (it waits and can pay the target).
518
+ */
519
+ state: string;
520
+ /**
521
+ * What fits, as in BankCandidateDto.reasons; empty for an assigned booking and a search hit that only fits the text.
522
+ */
523
+ reasons: Array<string>;
524
+ /**
525
+ * The text of the booking's reference that names the target, to highlight.
526
+ */
527
+ mark?: null | string;
528
+ /**
529
+ * A part payment: what of the target stays open after this booking, in cents.
530
+ */
531
+ remainderCents?: null | number;
425
532
  };
426
533
  export type BankTransactionDto = {
427
534
  id: string;
@@ -468,9 +575,10 @@ export type BankTransactionDto = {
468
575
  match?: null | BankMatchDto;
469
576
  createdAt: string;
470
577
  /**
471
- * While nothing is assigned: the invoices and receipts it can pay, best first, at most four; a proposal's target first. Empty once assigned.
578
+ * While nothing is assigned, or its Vorschreibung, Buchungsmitteilung or Lohnabrechnung is missing: the invoices and receipts it can take, best first, at most four; a proposal's target first. Empty once its Beleg is there.
472
579
  */
473
580
  candidates: Array<BankCandidateDto>;
581
+ beleg?: null | BankBelegDto;
474
582
  };
475
583
  export type BankTransactionInput = {
476
584
  /**
@@ -675,13 +783,17 @@ export type BillingExportDto = {
675
783
  */
676
784
  downloadedAt?: null | string;
677
785
  /**
678
- * Issued invoices and receipts in it without a Sachkonto: missing from the DATEV Buchungsstapel.
786
+ * Issued invoices and receipts in it without a Sachkonto: missing from the DATEV Buchungsstapel. A Vorschreibung, Buchungsmitteilung or Lohnabrechnung of a payment booked by its category is not booked from the document and never counts here.
679
787
  */
680
788
  unaccountedCount?: number;
681
789
  /**
682
790
  * Of the documents, the invoices the workspace issued; the rest are receipts.
683
791
  */
684
792
  invoiceCount?: number;
793
+ /**
794
+ * Bookings in it that are assigned but miss their Beleg: a Kontoauszug, Vorschreibung, Buchungsmitteilung or Lohnabrechnung.
795
+ */
796
+ missingCount?: number;
685
797
  };
686
798
  export type BillingListsDto = {
687
799
  partners: string;
@@ -785,6 +897,10 @@ export type BillingNumbersDto = {
785
897
  * Field key of the Rechnungsanschrift, a text field: name, street, postal code and city, country and UID line by line.
786
898
  */
787
899
  addressField?: null | string;
900
+ /**
901
+ * The Artikelnummer the next Artikel gets when none is typed, such as A-0001.
902
+ */
903
+ nextArticleNumber?: null | string;
788
904
  };
789
905
  export type BillingPartnerDefaultsDto = {
790
906
  /**
@@ -1665,7 +1781,7 @@ export type CompanySearchRequest = {
1665
1781
  */
1666
1782
  includeSummary?: boolean;
1667
1783
  /**
1668
- * What the company does, for example Bronzeguss, or a whole description of up to 2000 characters, such as a company's profile text to find similar companies. Ranks by relevance, combines with filters, takes no sort; three credits. Up to eight words also match word by word; a longer text ranks by meaning alone. 503 where unavailable.
1784
+ * What the company does, for example Bronzeguss, or a whole description of up to 2000 characters, such as a company's profile text to find similar companies. Ranks by meaning, combines with filters, takes no sort. 503 where unavailable.
1669
1785
  */
1670
1786
  activity?: null | string;
1671
1787
  /**
@@ -1754,7 +1870,7 @@ export type ContactFieldValue = {
1754
1870
  export type CreateBankAccountRequest = {
1755
1871
  name: string;
1756
1872
  /**
1757
- * Optional; a Kassa has none.
1873
+ * Optional; a Kassa has none. One whose check digits do not add up is refused.
1758
1874
  */
1759
1875
  iban?: null | string;
1760
1876
  /**
@@ -1766,13 +1882,17 @@ export type CreateBankAccountRequest = {
1766
1882
  */
1767
1883
  openingBalanceCents?: number;
1768
1884
  /**
1769
- * bank (default), cash, card or provider.
1885
+ * bank (default), cash, card, provider or private.
1770
1886
  */
1771
1887
  kind?: null | string;
1772
1888
  /**
1773
1889
  * Optional, 8 or 11 characters such as GIBAATWW.
1774
1890
  */
1775
1891
  bic?: null | string;
1892
+ /**
1893
+ * Kind private: the Gesellschafter whose Verrechnungskonto it is (a shareholderId of getBankSettings.privateAccounts).
1894
+ */
1895
+ shareholderId?: null | string;
1776
1896
  };
1777
1897
  export type CreateBankTransactionRequest = {
1778
1898
  accountId: string;
@@ -1804,6 +1924,10 @@ export type CreateBankTransactionsRequest = {
1804
1924
  * The IBAN of the statement; refused when the Konto has another.
1805
1925
  */
1806
1926
  iban?: null | string;
1927
+ /**
1928
+ * The statement file the rows were read from, base64, as previewBankStatement got it: kept with the statements it records, the Beleg of the Konto's bank fees in their period.
1929
+ */
1930
+ contentBase64?: null | string;
1807
1931
  };
1808
1932
  export type CreateBankTransactionsResult = {
1809
1933
  /**
@@ -1923,6 +2047,9 @@ export type CreateLetterRequest = {
1923
2047
  * The bold line in the QR field; takes the same variables as the text. Empty prints „Mehr erfahren“.
1924
2048
  */
1925
2049
  qrText?: null | string;
2050
+ /**
2051
+ * Every Brief counts as Werbung; the Robinsonliste always applies. Ignored on write.
2052
+ */
1926
2053
  advertising?: null | boolean;
1927
2054
  recipients?: null | Array<LetterRecipientRef>;
1928
2055
  /**
@@ -1987,6 +2114,11 @@ export type CursorPageOfBankCandidateDto = {
1987
2114
  nextCursor?: null | string;
1988
2115
  total?: null | number;
1989
2116
  };
2117
+ export type CursorPageOfBankTargetPaymentDto = {
2118
+ items: Array<BankTargetPaymentDto>;
2119
+ nextCursor?: null | string;
2120
+ total?: null | number;
2121
+ };
1990
2122
  export type CursorPageOfBankTransactionDto = {
1991
2123
  items: Array<BankTransactionDto>;
1992
2124
  nextCursor?: null | string;
@@ -2414,6 +2546,29 @@ export type FigureRange = {
2414
2546
  min?: null | number;
2415
2547
  max?: null | number;
2416
2548
  };
2549
+ export type FileBankStatementRequest = {
2550
+ accountId: string;
2551
+ /**
2552
+ * The statement, base64: PDF, JPEG, PNG, WebP or HEIC, at most 10 MB.
2553
+ */
2554
+ contentBase64: string;
2555
+ /**
2556
+ * Its file name, such as kontoauszug-2026-11.pdf.
2557
+ */
2558
+ fileName?: null | string;
2559
+ /**
2560
+ * The month it covers, YYYY-MM. Or periodFrom and periodTo.
2561
+ */
2562
+ month?: null | string;
2563
+ /**
2564
+ * The first day it covers, with periodTo, instead of month.
2565
+ */
2566
+ periodFrom?: null | string;
2567
+ /**
2568
+ * The last day it covers.
2569
+ */
2570
+ periodTo?: null | string;
2571
+ };
2417
2572
  export type FilingChange = {
2418
2573
  type: string;
2419
2574
  text?: null | string;
@@ -2865,6 +3020,10 @@ export type InvoiceLine = {
2865
3020
  * What issuing does beyond this invoice: invoice (nothing, the default), article (also change the Artikel articleId names) or newArticle (save it as a new Artikel).
2866
3021
  */
2867
3022
  scope?: null | string;
3023
+ /**
3024
+ * A short note the invoice prints under the position; at most 500 characters.
3025
+ */
3026
+ note?: null | string;
2868
3027
  };
2869
3028
  export type InvoiceMailDto = {
2870
3029
  /**
@@ -2939,6 +3098,9 @@ export type LetterDto = {
2939
3098
  subject: string;
2940
3099
  body: string;
2941
3100
  qrUrl?: null | string;
3101
+ /**
3102
+ * Always true: every Brief counts as Werbung; the Robinsonliste always applies.
3103
+ */
2942
3104
  advertising: boolean;
2943
3105
  recipients: Array<LetterRecipientDto>;
2944
3106
  attachments: Array<LetterAttachmentDto>;
@@ -2976,7 +3138,7 @@ export type LetterDto = {
2976
3138
  */
2977
3139
  ongoing?: boolean;
2978
3140
  /**
2979
- * The budget in credits per calendar month (Europe/Vienna); null is none.
3141
+ * The Monatsbudget in credits per calendar month (Europe/Vienna): set in euros, or BudgetLetters at today's price; null is none. Laufend, it holds only the letters to new matches after the first round (#3776).
2980
3142
  */
2981
3143
  budgetCredits?: null | number;
2982
3144
  /**
@@ -2996,7 +3158,7 @@ export type LetterDto = {
2996
3158
  */
2997
3159
  creditsSpent?: number;
2998
3160
  /**
2999
- * Credits the budget counted in the current period.
3161
+ * Credits the budget counted in the current month; the first round counts not (#3776).
3000
3162
  */
3001
3163
  budgetUsed?: number;
3002
3164
  /**
@@ -3011,6 +3173,26 @@ export type LetterDto = {
3011
3173
  * The Kampagne's Kontaktliste, the companies it sent to; null until its first letter.
3012
3174
  */
3013
3175
  contactListId?: null | string;
3176
+ /**
3177
+ * The Monatsbudget as letters per month, where it was set in letters (#3776); BudgetCredits then follows the price.
3178
+ */
3179
+ budgetLetters?: null | number;
3180
+ /**
3181
+ * Letters the budget counted in the current month (#3776).
3182
+ */
3183
+ budgetUsedLetters?: number;
3184
+ /**
3185
+ * The first round (#3776): the letters charged to what the start found in the Zielgruppe, outside any budget.
3186
+ */
3187
+ firstRoundLetters?: number;
3188
+ /**
3189
+ * What the first round's charged letters cost, in credits.
3190
+ */
3191
+ firstRoundCredits?: number;
3192
+ /**
3193
+ * When the first round was booked; null before.
3194
+ */
3195
+ firstRoundAt?: null | string;
3014
3196
  };
3015
3197
  export type LetterPlanDto = {
3016
3198
  letterId: string;
@@ -3706,7 +3888,7 @@ export type PublicCompany = {
3706
3888
  isDeleted?: null | boolean;
3707
3889
  legalForm?: null | AkteRefLink;
3708
3890
  seat?: null | PublicCompanySeat;
3709
- industry?: null | AkteRefLink;
3891
+ industry?: null | PublicIndustryLink;
3710
3892
  court?: null | AkteRefLink;
3711
3893
  registeredDate?: null | string;
3712
3894
  purpose?: null | string;
@@ -3866,7 +4048,7 @@ export type PublicEntityPublicCompany = {
3866
4048
  isDeleted?: null | boolean;
3867
4049
  legalForm?: null | AkteRefLink;
3868
4050
  seat?: null | PublicCompanySeat;
3869
- industry?: null | AkteRefLink;
4051
+ industry?: null | PublicIndustryLink;
3870
4052
  court?: null | AkteRefLink;
3871
4053
  registeredDate?: null | string;
3872
4054
  purpose?: null | string;
@@ -3993,6 +4175,11 @@ export type PublicHolder = {
3993
4175
  country?: null | string;
3994
4176
  functionCount?: null | number;
3995
4177
  };
4178
+ export type PublicIndustryLink = {
4179
+ ref: string;
4180
+ label?: null | string;
4181
+ source: SourceKey;
4182
+ };
3996
4183
  export type PublicNetwork = {
3997
4184
  depth: number;
3998
4185
  nodes: Array<CompanyNetworkNode>;
@@ -4412,7 +4599,7 @@ export type SaveArticleRequest = {
4412
4599
  */
4413
4600
  id?: null | string;
4414
4601
  /**
4415
- * Artikelnummer, at most 30 characters.
4602
+ * Artikelnummer as it reads (A-0042) or bare (42); refused when another Artikel has it. Empty gives a new Artikel the next and leaves a saved one's.
4416
4603
  */
4417
4604
  number?: null | string;
4418
4605
  /**
@@ -4503,7 +4690,7 @@ export type SendTemplateBody = {
4503
4690
  */
4504
4691
  companies?: null | Array<string>;
4505
4692
  /**
4506
- * A table (list ID): all its entries, or with entryIds only those.
4693
+ * A list (list ID): all its entries, or with entryIds only those.
4507
4694
  */
4508
4695
  listId?: null | string;
4509
4696
  /**
@@ -4557,7 +4744,7 @@ export type SetEntityValuesDto = {
4557
4744
  [key: string]: null | string | number | boolean;
4558
4745
  };
4559
4746
  };
4560
- export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
4747
+ export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
4561
4748
  export type SourceLicense = {
4562
4749
  name: string;
4563
4750
  url?: null | string;
@@ -4657,12 +4844,12 @@ export type UidVerification = {
4657
4844
  export type UpdateBankAccountBody = {
4658
4845
  name?: null | string;
4659
4846
  /**
4660
- * An empty string removes it.
4847
+ * An empty string removes it; one whose check digits do not add up is refused.
4661
4848
  */
4662
4849
  iban?: null | string;
4663
4850
  openingBalanceCents?: null | number;
4664
4851
  /**
4665
- * bank, cash, card or provider.
4852
+ * bank, cash, card, provider or private.
4666
4853
  */
4667
4854
  kind?: null | string;
4668
4855
  /**
@@ -4711,6 +4898,18 @@ export type UpdateBillingDocumentBody = {
4711
4898
  * Replaces the VAT lines.
4712
4899
  */
4713
4900
  vatLines?: null | Array<BillingDocumentVatLineDto>;
4901
+ /**
4902
+ * What was sold, in one short line; an empty text clears it.
4903
+ */
4904
+ description?: null | string;
4905
+ /**
4906
+ * How it was paid, e.g. Visa …1234; an empty text clears it.
4907
+ */
4908
+ paidWith?: null | string;
4909
+ /**
4910
+ * True when the document states reverse charge.
4911
+ */
4912
+ reverseCharge?: null | boolean;
4714
4913
  /**
4715
4914
  * Move it between Eingang and Ausgang.
4716
4915
  */
@@ -4741,6 +4940,14 @@ export type UpdateBillingPartnerDefaultsBody = {
4741
4940
  * Zahlungsziel in days, 0 to 365; empty takes the Absender's.
4742
4941
  */
4743
4942
  paymentDays?: null | number;
4943
+ /**
4944
+ * Firmenakte gives the Kunden- and Lieferantennummer in turn; a number sent here is refused. Leave it out.
4945
+ */
4946
+ customerNumber?: null | string;
4947
+ /**
4948
+ * Firmenakte gives the Kunden- and Lieferantennummer in turn; a number sent here is refused. Leave it out.
4949
+ */
4950
+ supplierNumber?: null | string;
4744
4951
  };
4745
4952
  export type UpdateBillingSettingsRequest = {
4746
4953
  sender?: null | SenderSettingsBody;
@@ -4788,6 +4995,9 @@ export type UpdateLetterBody = {
4788
4995
  * The bold line in the QR field; empty removes it, so „Mehr erfahren“ prints.
4789
4996
  */
4790
4997
  qrText?: null | string;
4998
+ /**
4999
+ * Every Brief counts as Werbung; the Robinsonliste always applies. Ignored on write.
5000
+ */
4791
5001
  advertising?: null | boolean;
4792
5002
  recipients?: null | Array<LetterRecipientRef>;
4793
5003
  /**
@@ -4804,9 +5014,17 @@ export type UpdateLetterBody = {
4804
5014
  */
4805
5015
  ongoing?: null | boolean;
4806
5016
  /**
4807
- * The budget in credits per calendar month, at least one letter's price; 0 removes it.
5017
+ * The Monatsbudget in credits per calendar month, at least one letter's price; 0 removes it. Replaces a budget in letters.
4808
5018
  */
4809
5019
  budgetCredits?: null | number;
5020
+ /**
5021
+ * true ends a running or paused Kampagne for good (Beenden): it books nothing more, its letters that still wait are dropped uncharged, and it is sent (fertig).
5022
+ */
5023
+ ended?: null | boolean;
5024
+ /**
5025
+ * The Monatsbudget in letters per calendar month (#3776), kept when the price changes; 0 removes it. Replaces a budget in credits.
5026
+ */
5027
+ budgetLetters?: null | number;
4810
5028
  };
4811
5029
  export type UpdateLetterSetupRequest = {
4812
5030
  budgetCredits?: null | number;
@@ -7719,7 +7937,7 @@ export type ListSourceRecordsData = {
7719
7937
  /**
7720
7938
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7721
7939
  */
7722
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7940
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7723
7941
  };
7724
7942
  query?: {
7725
7943
  /**
@@ -7789,7 +8007,7 @@ export type ListSourceRecordChangesData = {
7789
8007
  /**
7790
8008
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7791
8009
  */
7792
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8010
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7793
8011
  };
7794
8012
  query?: {
7795
8013
  /**
@@ -7859,7 +8077,7 @@ export type GetSourceRecordData = {
7859
8077
  /**
7860
8078
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7861
8079
  */
7862
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8080
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7863
8081
  /**
7864
8082
  * Source record ID returned by this source's records collection; this is not an entity ID.
7865
8083
  */
@@ -7920,7 +8138,7 @@ export type ListRecordObservationsData = {
7920
8138
  /**
7921
8139
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7922
8140
  */
7923
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8141
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7924
8142
  /**
7925
8143
  * Source record ID returned by this source's records collection; this is not an entity ID.
7926
8144
  */
@@ -8218,7 +8436,7 @@ export type GetPublicSourceData = {
8218
8436
  /**
8219
8437
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
8220
8438
  */
8221
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8439
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8222
8440
  };
8223
8441
  query?: never;
8224
8442
  url: '/api/v2/public/sources/{source}';
@@ -10927,6 +11145,75 @@ export type RunBankSyncResponses = {
10927
11145
  200: SyncBankConnectionResult;
10928
11146
  };
10929
11147
  export type RunBankSyncResponse = RunBankSyncResponses[keyof RunBankSyncResponses];
11148
+ export type ListBankTargetPaymentsData = {
11149
+ body?: never;
11150
+ path?: never;
11151
+ query?: {
11152
+ /**
11153
+ * invoice or receipt.
11154
+ */
11155
+ targetKind?: 'invoice' | 'receipt';
11156
+ /**
11157
+ * The invoice's or receipt's ID.
11158
+ */
11159
+ targetId?: string;
11160
+ /**
11161
+ * Searches the waiting bookings' counterparty and reference, or an amount such as 59,90.
11162
+ */
11163
+ q?: string;
11164
+ /**
11165
+ * Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
11166
+ */
11167
+ limit?: number;
11168
+ /**
11169
+ * Opaque cursor from the previous page.
11170
+ */
11171
+ cursor?: string;
11172
+ };
11173
+ url: '/api/v2/me/billing/payments';
11174
+ };
11175
+ export type ListBankTargetPaymentsErrors = {
11176
+ /**
11177
+ * Malformed request, or a cursor from another request.
11178
+ */
11179
+ 400: Problem;
11180
+ /**
11181
+ * No valid API key or session.
11182
+ */
11183
+ 401: Problem;
11184
+ /**
11185
+ * This operation needs a dashboard session.
11186
+ */
11187
+ 403: Problem;
11188
+ /**
11189
+ * Not found, or it belongs to another workspace.
11190
+ */
11191
+ 404: Problem;
11192
+ /**
11193
+ * Conflict with the current state; `code` says which.
11194
+ */
11195
+ 409: Problem;
11196
+ /**
11197
+ * Validation failed; `errors[]` names each parameter or JSON pointer.
11198
+ */
11199
+ 422: Problem;
11200
+ /**
11201
+ * Too many requests; retry after `Retry-After`.
11202
+ */
11203
+ 429: Problem;
11204
+ /**
11205
+ * Internal error; quote `requestId` to support.
11206
+ */
11207
+ 500: Problem;
11208
+ };
11209
+ export type ListBankTargetPaymentsError = ListBankTargetPaymentsErrors[keyof ListBankTargetPaymentsErrors];
11210
+ export type ListBankTargetPaymentsResponses = {
11211
+ /**
11212
+ * OK
11213
+ */
11214
+ 200: CursorPageOfBankTargetPaymentDto;
11215
+ };
11216
+ export type ListBankTargetPaymentsResponse = ListBankTargetPaymentsResponses[keyof ListBankTargetPaymentsResponses];
10930
11217
  export type ListBankMatchCandidatesData = {
10931
11218
  body?: never;
10932
11219
  path: {
@@ -11213,7 +11500,7 @@ export type ListBankTransactionsData = {
11213
11500
  */
11214
11501
  accountId?: string;
11215
11502
  /**
11216
- * open, suggested, todo (open or suggested) or assigned.
11503
+ * open, suggested, missing (assigned, but its Beleg is missing: a Kontoauszug, Vorschreibung, Buchungsmitteilung or Lohnabrechnung), todo (open, suggested or missing) or assigned.
11217
11504
  */
11218
11505
  status?: string;
11219
11506
  /**
@@ -11844,6 +12131,54 @@ export type AddBankStatementResponses = {
11844
12131
  200: CamtImportResultDto;
11845
12132
  };
11846
12133
  export type AddBankStatementResponse = AddBankStatementResponses[keyof AddBankStatementResponses];
12134
+ export type FileBankStatementData = {
12135
+ body: FileBankStatementRequest;
12136
+ path?: never;
12137
+ query?: never;
12138
+ url: '/api/v2/me/billing/statements/file';
12139
+ };
12140
+ export type FileBankStatementErrors = {
12141
+ /**
12142
+ * Malformed request, or a cursor from another request.
12143
+ */
12144
+ 400: Problem;
12145
+ /**
12146
+ * No valid API key or session.
12147
+ */
12148
+ 401: Problem;
12149
+ /**
12150
+ * This operation needs a dashboard session.
12151
+ */
12152
+ 403: Problem;
12153
+ /**
12154
+ * Not found, or it belongs to another workspace.
12155
+ */
12156
+ 404: Problem;
12157
+ /**
12158
+ * Conflict with the current state; `code` says which.
12159
+ */
12160
+ 409: Problem;
12161
+ /**
12162
+ * Validation failed; `errors[]` names each parameter or JSON pointer.
12163
+ */
12164
+ 422: Problem;
12165
+ /**
12166
+ * Too many requests; retry after `Retry-After`.
12167
+ */
12168
+ 429: Problem;
12169
+ /**
12170
+ * Internal error; quote `requestId` to support.
12171
+ */
12172
+ 500: Problem;
12173
+ };
12174
+ export type FileBankStatementError = FileBankStatementErrors[keyof FileBankStatementErrors];
12175
+ export type FileBankStatementResponses = {
12176
+ /**
12177
+ * OK
12178
+ */
12179
+ 200: BankStatementDto;
12180
+ };
12181
+ export type FileBankStatementResponse = FileBankStatementResponses[keyof FileBankStatementResponses];
11847
12182
  export type PreviewBankStatementData = {
11848
12183
  body: PreviewCamtRequest;
11849
12184
  path?: never;