@firmenakte/api-client 2.47.0 → 2.48.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.
@@ -27,7 +27,7 @@ export type AddBillingPartnerRequest = {
27
27
  */
28
28
  name?: null | string;
29
29
  /**
30
- * A partner outside the register: values of this workspace's fields by field key, set with his own entry. Firmenakte gives the Kunden- and Lieferantennummer; they cannot be set here.
30
+ * A partner outside the register: values of this workspace's fields by field key, set with his own entry. A Kunden- or Lieferantennummer given here follows the rules of number.
31
31
  */
32
32
  values?: null | {
33
33
  [key: string]: null | string | number | boolean | {
@@ -44,6 +44,10 @@ export type AddBillingPartnerRequest = {
44
44
  sourceValues?: null | {
45
45
  [key: string]: null | string | number | boolean;
46
46
  };
47
+ /**
48
+ * The Kunden- or Lieferantennummer to give instead of the next one, as it reads (K-0042) or bare (42); refused when another partner has it. Empty gives the next.
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
  /**
@@ -264,10 +268,44 @@ export type BankAssignInput = {
264
268
  */
265
269
  reason?: null | string;
266
270
  /**
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).
271
+ * 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
272
  */
269
273
  category?: 'bank' | 'social' | 'staff' | 'tax';
270
274
  };
275
+ export type BankBelegDto = {
276
+ /**
277
+ * present or missing.
278
+ */
279
+ status: string;
280
+ /**
281
+ * 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).
282
+ */
283
+ kind: string;
284
+ /**
285
+ * What the Beleg is called: Beleg, Rechnung, Kontoauszug, Vorschreibung, Buchungsmitteilung, Lohnabrechnung, Eigenbeleg or Kontoauszüge.
286
+ */
287
+ name: string;
288
+ /**
289
+ * 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.
290
+ */
291
+ label: string;
292
+ /**
293
+ * statement: the month whose Kontoauszug it is, YYYY-MM.
294
+ */
295
+ month?: null | string;
296
+ /**
297
+ * statement: the Kontoauszug that covers it; null while it is missing.
298
+ */
299
+ statementId?: null | string;
300
+ /**
301
+ * While missing: what to do, such as Kontoauszug November 2026 ablegen, Vorschreibung hochladen or Beleg zuordnen.
302
+ */
303
+ action?: null | string;
304
+ /**
305
+ * 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.
306
+ */
307
+ eigenbeleg?: null | string;
308
+ };
271
309
  export type BankBookingInput = {
272
310
  /**
273
311
  * 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 +423,11 @@ export type BankMatchDto = {
385
423
  */
386
424
  id?: null | string;
387
425
  /**
388
- * What it is: an invoice's number, the account's name, Privat, Kein Beleg with its category such as Kein Beleg: Bank.
426
+ * 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
427
  */
390
428
  label: string;
391
429
  /**
392
- * noReceipt: the category's German label (Bank, Sozialversicherung, Personal, Finanzamt). Read category instead.
430
+ * noReceipt, and receipt with a category: the category's German label (Bank, Sozialversicherung, Personal, Finanzamt). Read category instead.
393
431
  */
394
432
  reason?: null | string;
395
433
  /**
@@ -413,7 +451,7 @@ export type BankMatchDto = {
413
451
  */
414
452
  reasons: Array<string>;
415
453
  /**
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).
454
+ * 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
455
  */
418
456
  category?: null | string;
419
457
  };
@@ -423,6 +461,57 @@ export type BankSettingsDto = {
423
461
  */
424
462
  mode: string;
425
463
  };
464
+ export type BankStatementDto = {
465
+ id: string;
466
+ accountId: string;
467
+ /**
468
+ * The CAMT number such as 007/2026; null for one filed as a document.
469
+ */
470
+ number?: null | string;
471
+ periodFrom: string;
472
+ periodTo: string;
473
+ /**
474
+ * Its file; null for a CAMT statement read before files were kept.
475
+ */
476
+ fileId?: null | string;
477
+ /**
478
+ * How many of the Konto's bank fees in its period it is the Beleg of.
479
+ */
480
+ covers: number;
481
+ };
482
+ export type BankTargetPaymentDto = {
483
+ id: string;
484
+ accountId: string;
485
+ accountName: string;
486
+ /**
487
+ * The Konto's kind: bank, cash, card, provider or private.
488
+ */
489
+ accountKind: string;
490
+ bookingDate: string;
491
+ /**
492
+ * Signed, in cents: money in is positive.
493
+ */
494
+ amountCents: number;
495
+ currency: string;
496
+ counterparty: BankCounterpartyDto;
497
+ reference?: null | string;
498
+ /**
499
+ * assigned (it pays the target), proposed (a proposal for the target waits for a person) or candidate (it waits and can pay the target).
500
+ */
501
+ state: string;
502
+ /**
503
+ * What fits, as in BankCandidateDto.reasons; empty for an assigned booking and a search hit that only fits the text.
504
+ */
505
+ reasons: Array<string>;
506
+ /**
507
+ * The text of the booking's reference that names the target, to highlight.
508
+ */
509
+ mark?: null | string;
510
+ /**
511
+ * A part payment: what of the target stays open after this booking, in cents.
512
+ */
513
+ remainderCents?: null | number;
514
+ };
426
515
  export type BankTransactionDto = {
427
516
  id: string;
428
517
  accountId: string;
@@ -468,9 +557,10 @@ export type BankTransactionDto = {
468
557
  match?: null | BankMatchDto;
469
558
  createdAt: string;
470
559
  /**
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.
560
+ * 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
561
  */
473
562
  candidates: Array<BankCandidateDto>;
563
+ beleg?: null | BankBelegDto;
474
564
  };
475
565
  export type BankTransactionInput = {
476
566
  /**
@@ -675,13 +765,17 @@ export type BillingExportDto = {
675
765
  */
676
766
  downloadedAt?: null | string;
677
767
  /**
678
- * Issued invoices and receipts in it without a Sachkonto: missing from the DATEV Buchungsstapel.
768
+ * 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
769
  */
680
770
  unaccountedCount?: number;
681
771
  /**
682
772
  * Of the documents, the invoices the workspace issued; the rest are receipts.
683
773
  */
684
774
  invoiceCount?: number;
775
+ /**
776
+ * Bookings in it that are assigned but miss their Beleg: a Kontoauszug, Vorschreibung, Buchungsmitteilung or Lohnabrechnung.
777
+ */
778
+ missingCount?: number;
685
779
  };
686
780
  export type BillingListsDto = {
687
781
  partners: string;
@@ -785,6 +879,10 @@ export type BillingNumbersDto = {
785
879
  * Field key of the Rechnungsanschrift, a text field: name, street, postal code and city, country and UID line by line.
786
880
  */
787
881
  addressField?: null | string;
882
+ /**
883
+ * The Artikelnummer the next Artikel gets when none is typed, such as A-0001.
884
+ */
885
+ nextArticleNumber?: null | string;
788
886
  };
789
887
  export type BillingPartnerDefaultsDto = {
790
888
  /**
@@ -1665,7 +1763,7 @@ export type CompanySearchRequest = {
1665
1763
  */
1666
1764
  includeSummary?: boolean;
1667
1765
  /**
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.
1766
+ * 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
1767
  */
1670
1768
  activity?: null | string;
1671
1769
  /**
@@ -1754,7 +1852,7 @@ export type ContactFieldValue = {
1754
1852
  export type CreateBankAccountRequest = {
1755
1853
  name: string;
1756
1854
  /**
1757
- * Optional; a Kassa has none.
1855
+ * Optional; a Kassa has none. One whose check digits do not add up is refused.
1758
1856
  */
1759
1857
  iban?: null | string;
1760
1858
  /**
@@ -1766,7 +1864,7 @@ export type CreateBankAccountRequest = {
1766
1864
  */
1767
1865
  openingBalanceCents?: number;
1768
1866
  /**
1769
- * bank (default), cash, card or provider.
1867
+ * bank (default), cash, card, provider or private.
1770
1868
  */
1771
1869
  kind?: null | string;
1772
1870
  /**
@@ -1804,6 +1902,10 @@ export type CreateBankTransactionsRequest = {
1804
1902
  * The IBAN of the statement; refused when the Konto has another.
1805
1903
  */
1806
1904
  iban?: null | string;
1905
+ /**
1906
+ * 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.
1907
+ */
1908
+ contentBase64?: null | string;
1807
1909
  };
1808
1910
  export type CreateBankTransactionsResult = {
1809
1911
  /**
@@ -1872,7 +1974,7 @@ export type CreateExportRequest = {
1872
1974
  export type CreateFieldDto = {
1873
1975
  label: string;
1874
1976
  /**
1875
- * Value type: text, one of the options, number, ISO date, boolean, money ({cents, currency}), file (a stored file ID), reference (an entry of targetListId), member (a user ID) or sequence (numbered once by Firmenakte).
1977
+ * Value type: text, one of the options, number, ISO date, boolean, money ({cents, currency}), file (a stored file ID), reference (an entry of targetListId), member (a user ID) or sequence ("next" for the next number, or a typed one no other entry holds).
1876
1978
  */
1877
1979
  type?: 'text' | 'options' | 'number' | 'date' | 'bool' | 'money' | 'file' | 'reference' | 'member' | 'sequence';
1878
1980
  /**
@@ -1923,6 +2025,9 @@ export type CreateLetterRequest = {
1923
2025
  * The bold line in the QR field; takes the same variables as the text. Empty prints „Mehr erfahren“.
1924
2026
  */
1925
2027
  qrText?: null | string;
2028
+ /**
2029
+ * Every Brief counts as Werbung; the Robinsonliste always applies. Ignored on write.
2030
+ */
1926
2031
  advertising?: null | boolean;
1927
2032
  recipients?: null | Array<LetterRecipientRef>;
1928
2033
  /**
@@ -1963,6 +2068,22 @@ export type CreateOwnRecordDto = {
1963
2068
  };
1964
2069
  };
1965
2070
  };
2071
+ export type CreateTargetPaymentRequest = {
2072
+ /**
2073
+ * invoice or receipt.
2074
+ */
2075
+ targetKind: 'invoice' | 'receipt';
2076
+ targetId: string;
2077
+ /**
2078
+ * cash: on the workspace's Kassa (kind cash). private: on its Konto Privat (kind private), so the owner's money paid in counts as Einlage, taken out as Entnahme. Either Konto is created when missing.
2079
+ */
2080
+ method: 'cash' | 'private';
2081
+ bookingDate: string;
2082
+ /**
2083
+ * Signed like a booking, in cents: a receipt paid is negative, an invoice paid positive.
2084
+ */
2085
+ amountCents: number;
2086
+ };
1966
2087
  export type CreditPrices = {
1967
2088
  exportRows: number;
1968
2089
  receiptRead: number;
@@ -1987,6 +2108,11 @@ export type CursorPageOfBankCandidateDto = {
1987
2108
  nextCursor?: null | string;
1988
2109
  total?: null | number;
1989
2110
  };
2111
+ export type CursorPageOfBankTargetPaymentDto = {
2112
+ items: Array<BankTargetPaymentDto>;
2113
+ nextCursor?: null | string;
2114
+ total?: null | number;
2115
+ };
1990
2116
  export type CursorPageOfBankTransactionDto = {
1991
2117
  items: Array<BankTransactionDto>;
1992
2118
  nextCursor?: null | string;
@@ -2414,6 +2540,29 @@ export type FigureRange = {
2414
2540
  min?: null | number;
2415
2541
  max?: null | number;
2416
2542
  };
2543
+ export type FileBankStatementRequest = {
2544
+ accountId: string;
2545
+ /**
2546
+ * The statement, base64: PDF, JPEG, PNG, WebP or HEIC, at most 10 MB.
2547
+ */
2548
+ contentBase64: string;
2549
+ /**
2550
+ * Its file name, such as kontoauszug-2026-11.pdf.
2551
+ */
2552
+ fileName?: null | string;
2553
+ /**
2554
+ * The month it covers, YYYY-MM. Or periodFrom and periodTo.
2555
+ */
2556
+ month?: null | string;
2557
+ /**
2558
+ * The first day it covers, with periodTo, instead of month.
2559
+ */
2560
+ periodFrom?: null | string;
2561
+ /**
2562
+ * The last day it covers.
2563
+ */
2564
+ periodTo?: null | string;
2565
+ };
2417
2566
  export type FilingChange = {
2418
2567
  type: string;
2419
2568
  text?: null | string;
@@ -2865,6 +3014,10 @@ export type InvoiceLine = {
2865
3014
  * 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
3015
  */
2867
3016
  scope?: null | string;
3017
+ /**
3018
+ * A short note the invoice prints under the position; at most 500 characters.
3019
+ */
3020
+ note?: null | string;
2868
3021
  };
2869
3022
  export type InvoiceMailDto = {
2870
3023
  /**
@@ -2939,6 +3092,9 @@ export type LetterDto = {
2939
3092
  subject: string;
2940
3093
  body: string;
2941
3094
  qrUrl?: null | string;
3095
+ /**
3096
+ * Always true: every Brief counts as Werbung; the Robinsonliste always applies.
3097
+ */
2942
3098
  advertising: boolean;
2943
3099
  recipients: Array<LetterRecipientDto>;
2944
3100
  attachments: Array<LetterAttachmentDto>;
@@ -2976,7 +3132,7 @@ export type LetterDto = {
2976
3132
  */
2977
3133
  ongoing?: boolean;
2978
3134
  /**
2979
- * The budget in credits per calendar month (Europe/Vienna); null is none.
3135
+ * 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
3136
  */
2981
3137
  budgetCredits?: null | number;
2982
3138
  /**
@@ -2996,7 +3152,7 @@ export type LetterDto = {
2996
3152
  */
2997
3153
  creditsSpent?: number;
2998
3154
  /**
2999
- * Credits the budget counted in the current period.
3155
+ * Credits the budget counted in the current month; the first round counts not (#3776).
3000
3156
  */
3001
3157
  budgetUsed?: number;
3002
3158
  /**
@@ -3011,6 +3167,26 @@ export type LetterDto = {
3011
3167
  * The Kampagne's Kontaktliste, the companies it sent to; null until its first letter.
3012
3168
  */
3013
3169
  contactListId?: null | string;
3170
+ /**
3171
+ * The Monatsbudget as letters per month, where it was set in letters (#3776); BudgetCredits then follows the price.
3172
+ */
3173
+ budgetLetters?: null | number;
3174
+ /**
3175
+ * Letters the budget counted in the current month (#3776).
3176
+ */
3177
+ budgetUsedLetters?: number;
3178
+ /**
3179
+ * The first round (#3776): the letters charged to what the start found in the Zielgruppe, outside any budget.
3180
+ */
3181
+ firstRoundLetters?: number;
3182
+ /**
3183
+ * What the first round's charged letters cost, in credits.
3184
+ */
3185
+ firstRoundCredits?: number;
3186
+ /**
3187
+ * When the first round was booked; null before.
3188
+ */
3189
+ firstRoundAt?: null | string;
3014
3190
  };
3015
3191
  export type LetterPlanDto = {
3016
3192
  letterId: string;
@@ -3706,7 +3882,7 @@ export type PublicCompany = {
3706
3882
  isDeleted?: null | boolean;
3707
3883
  legalForm?: null | AkteRefLink;
3708
3884
  seat?: null | PublicCompanySeat;
3709
- industry?: null | AkteRefLink;
3885
+ industry?: null | PublicIndustryLink;
3710
3886
  court?: null | AkteRefLink;
3711
3887
  registeredDate?: null | string;
3712
3888
  purpose?: null | string;
@@ -3866,7 +4042,7 @@ export type PublicEntityPublicCompany = {
3866
4042
  isDeleted?: null | boolean;
3867
4043
  legalForm?: null | AkteRefLink;
3868
4044
  seat?: null | PublicCompanySeat;
3869
- industry?: null | AkteRefLink;
4045
+ industry?: null | PublicIndustryLink;
3870
4046
  court?: null | AkteRefLink;
3871
4047
  registeredDate?: null | string;
3872
4048
  purpose?: null | string;
@@ -3993,6 +4169,11 @@ export type PublicHolder = {
3993
4169
  country?: null | string;
3994
4170
  functionCount?: null | number;
3995
4171
  };
4172
+ export type PublicIndustryLink = {
4173
+ ref: string;
4174
+ label?: null | string;
4175
+ source: SourceKey;
4176
+ };
3996
4177
  export type PublicNetwork = {
3997
4178
  depth: number;
3998
4179
  nodes: Array<CompanyNetworkNode>;
@@ -4412,7 +4593,7 @@ export type SaveArticleRequest = {
4412
4593
  */
4413
4594
  id?: null | string;
4414
4595
  /**
4415
- * Artikelnummer, at most 30 characters.
4596
+ * 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
4597
  */
4417
4598
  number?: null | string;
4418
4599
  /**
@@ -4503,7 +4684,7 @@ export type SendTemplateBody = {
4503
4684
  */
4504
4685
  companies?: null | Array<string>;
4505
4686
  /**
4506
- * A table (list ID): all its entries, or with entryIds only those.
4687
+ * A list (list ID): all its entries, or with entryIds only those.
4507
4688
  */
4508
4689
  listId?: null | string;
4509
4690
  /**
@@ -4557,7 +4738,7 @@ export type SetEntityValuesDto = {
4557
4738
  [key: string]: null | string | number | boolean;
4558
4739
  };
4559
4740
  };
4560
- export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
4741
+ export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
4561
4742
  export type SourceLicense = {
4562
4743
  name: string;
4563
4744
  url?: null | string;
@@ -4657,12 +4838,12 @@ export type UidVerification = {
4657
4838
  export type UpdateBankAccountBody = {
4658
4839
  name?: null | string;
4659
4840
  /**
4660
- * An empty string removes it.
4841
+ * An empty string removes it; one whose check digits do not add up is refused.
4661
4842
  */
4662
4843
  iban?: null | string;
4663
4844
  openingBalanceCents?: null | number;
4664
4845
  /**
4665
- * bank, cash, card or provider.
4846
+ * bank, cash, card, provider or private.
4666
4847
  */
4667
4848
  kind?: null | string;
4668
4849
  /**
@@ -4711,6 +4892,18 @@ export type UpdateBillingDocumentBody = {
4711
4892
  * Replaces the VAT lines.
4712
4893
  */
4713
4894
  vatLines?: null | Array<BillingDocumentVatLineDto>;
4895
+ /**
4896
+ * What was sold, in one short line; an empty text clears it.
4897
+ */
4898
+ description?: null | string;
4899
+ /**
4900
+ * How it was paid, e.g. Visa …1234; an empty text clears it.
4901
+ */
4902
+ paidWith?: null | string;
4903
+ /**
4904
+ * True when the document states reverse charge.
4905
+ */
4906
+ reverseCharge?: null | boolean;
4714
4907
  /**
4715
4908
  * Move it between Eingang and Ausgang.
4716
4909
  */
@@ -4741,6 +4934,14 @@ export type UpdateBillingPartnerDefaultsBody = {
4741
4934
  * Zahlungsziel in days, 0 to 365; empty takes the Absender's.
4742
4935
  */
4743
4936
  paymentDays?: null | number;
4937
+ /**
4938
+ * His Kundennummer, as it reads (K-0042) or bare; refused when another partner has it. Empty leaves it.
4939
+ */
4940
+ customerNumber?: null | string;
4941
+ /**
4942
+ * His Lieferantennummer, as it reads (L-0042) or bare; refused when another partner has it. Empty leaves it.
4943
+ */
4944
+ supplierNumber?: null | string;
4744
4945
  };
4745
4946
  export type UpdateBillingSettingsRequest = {
4746
4947
  sender?: null | SenderSettingsBody;
@@ -4788,6 +4989,9 @@ export type UpdateLetterBody = {
4788
4989
  * The bold line in the QR field; empty removes it, so „Mehr erfahren“ prints.
4789
4990
  */
4790
4991
  qrText?: null | string;
4992
+ /**
4993
+ * Every Brief counts as Werbung; the Robinsonliste always applies. Ignored on write.
4994
+ */
4791
4995
  advertising?: null | boolean;
4792
4996
  recipients?: null | Array<LetterRecipientRef>;
4793
4997
  /**
@@ -4804,9 +5008,17 @@ export type UpdateLetterBody = {
4804
5008
  */
4805
5009
  ongoing?: null | boolean;
4806
5010
  /**
4807
- * The budget in credits per calendar month, at least one letter's price; 0 removes it.
5011
+ * The Monatsbudget in credits per calendar month, at least one letter's price; 0 removes it. Replaces a budget in letters.
4808
5012
  */
4809
5013
  budgetCredits?: null | number;
5014
+ /**
5015
+ * 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).
5016
+ */
5017
+ ended?: null | boolean;
5018
+ /**
5019
+ * The Monatsbudget in letters per calendar month (#3776), kept when the price changes; 0 removes it. Replaces a budget in credits.
5020
+ */
5021
+ budgetLetters?: null | number;
4810
5022
  };
4811
5023
  export type UpdateLetterSetupRequest = {
4812
5024
  budgetCredits?: null | number;
@@ -7719,7 +7931,7 @@ export type ListSourceRecordsData = {
7719
7931
  /**
7720
7932
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7721
7933
  */
7722
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7934
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7723
7935
  };
7724
7936
  query?: {
7725
7937
  /**
@@ -7789,7 +8001,7 @@ export type ListSourceRecordChangesData = {
7789
8001
  /**
7790
8002
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7791
8003
  */
7792
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8004
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7793
8005
  };
7794
8006
  query?: {
7795
8007
  /**
@@ -7859,7 +8071,7 @@ export type GetSourceRecordData = {
7859
8071
  /**
7860
8072
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7861
8073
  */
7862
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8074
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7863
8075
  /**
7864
8076
  * Source record ID returned by this source's records collection; this is not an entity ID.
7865
8077
  */
@@ -7920,7 +8132,7 @@ export type ListRecordObservationsData = {
7920
8132
  /**
7921
8133
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
7922
8134
  */
7923
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8135
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
7924
8136
  /**
7925
8137
  * Source record ID returned by this source's records collection; this is not an entity ID.
7926
8138
  */
@@ -8218,7 +8430,7 @@ export type GetPublicSourceData = {
8218
8430
  /**
8219
8431
  * Source key from /api/v2/public/sources/catalogue; consult its capabilities before reading records.
8220
8432
  */
8221
- source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8433
+ source: 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims' | 'firmenakte' | 'vornamen' | 'oenace-2025' | 'gewerbeschluessel';
8222
8434
  };
8223
8435
  query?: never;
8224
8436
  url: '/api/v2/public/sources/{source}';
@@ -10927,6 +11139,123 @@ export type RunBankSyncResponses = {
10927
11139
  200: SyncBankConnectionResult;
10928
11140
  };
10929
11141
  export type RunBankSyncResponse = RunBankSyncResponses[keyof RunBankSyncResponses];
11142
+ export type ListBankTargetPaymentsData = {
11143
+ body?: never;
11144
+ path?: never;
11145
+ query?: {
11146
+ /**
11147
+ * invoice or receipt.
11148
+ */
11149
+ targetKind?: 'invoice' | 'receipt';
11150
+ /**
11151
+ * The invoice's or receipt's ID.
11152
+ */
11153
+ targetId?: string;
11154
+ /**
11155
+ * Searches the waiting bookings' counterparty and reference, or an amount such as 59,90.
11156
+ */
11157
+ q?: string;
11158
+ /**
11159
+ * Page size: bookings and Konten default 50, at most 200; candidates default 10, at most 50.
11160
+ */
11161
+ limit?: number;
11162
+ /**
11163
+ * Opaque cursor from the previous page.
11164
+ */
11165
+ cursor?: string;
11166
+ };
11167
+ url: '/api/v2/me/billing/payments';
11168
+ };
11169
+ export type ListBankTargetPaymentsErrors = {
11170
+ /**
11171
+ * Malformed request, or a cursor from another request.
11172
+ */
11173
+ 400: Problem;
11174
+ /**
11175
+ * No valid API key or session.
11176
+ */
11177
+ 401: Problem;
11178
+ /**
11179
+ * This operation needs a dashboard session.
11180
+ */
11181
+ 403: Problem;
11182
+ /**
11183
+ * Not found, or it belongs to another workspace.
11184
+ */
11185
+ 404: Problem;
11186
+ /**
11187
+ * Conflict with the current state; `code` says which.
11188
+ */
11189
+ 409: Problem;
11190
+ /**
11191
+ * Validation failed; `errors[]` names each parameter or JSON pointer.
11192
+ */
11193
+ 422: Problem;
11194
+ /**
11195
+ * Too many requests; retry after `Retry-After`.
11196
+ */
11197
+ 429: Problem;
11198
+ /**
11199
+ * Internal error; quote `requestId` to support.
11200
+ */
11201
+ 500: Problem;
11202
+ };
11203
+ export type ListBankTargetPaymentsError = ListBankTargetPaymentsErrors[keyof ListBankTargetPaymentsErrors];
11204
+ export type ListBankTargetPaymentsResponses = {
11205
+ /**
11206
+ * OK
11207
+ */
11208
+ 200: CursorPageOfBankTargetPaymentDto;
11209
+ };
11210
+ export type ListBankTargetPaymentsResponse = ListBankTargetPaymentsResponses[keyof ListBankTargetPaymentsResponses];
11211
+ export type CreateBankTargetPaymentData = {
11212
+ body: CreateTargetPaymentRequest;
11213
+ path?: never;
11214
+ query?: never;
11215
+ url: '/api/v2/me/billing/payments';
11216
+ };
11217
+ export type CreateBankTargetPaymentErrors = {
11218
+ /**
11219
+ * Malformed request, or a cursor from another request.
11220
+ */
11221
+ 400: Problem;
11222
+ /**
11223
+ * No valid API key or session.
11224
+ */
11225
+ 401: Problem;
11226
+ /**
11227
+ * This operation needs a dashboard session.
11228
+ */
11229
+ 403: Problem;
11230
+ /**
11231
+ * Not found, or it belongs to another workspace.
11232
+ */
11233
+ 404: Problem;
11234
+ /**
11235
+ * Conflict with the current state; `code` says which.
11236
+ */
11237
+ 409: Problem;
11238
+ /**
11239
+ * Validation failed; `errors[]` names each parameter or JSON pointer.
11240
+ */
11241
+ 422: Problem;
11242
+ /**
11243
+ * Too many requests; retry after `Retry-After`.
11244
+ */
11245
+ 429: Problem;
11246
+ /**
11247
+ * Internal error; quote `requestId` to support.
11248
+ */
11249
+ 500: Problem;
11250
+ };
11251
+ export type CreateBankTargetPaymentError = CreateBankTargetPaymentErrors[keyof CreateBankTargetPaymentErrors];
11252
+ export type CreateBankTargetPaymentResponses = {
11253
+ /**
11254
+ * OK
11255
+ */
11256
+ 200: BankTransactionDto;
11257
+ };
11258
+ export type CreateBankTargetPaymentResponse = CreateBankTargetPaymentResponses[keyof CreateBankTargetPaymentResponses];
10930
11259
  export type ListBankMatchCandidatesData = {
10931
11260
  body?: never;
10932
11261
  path: {
@@ -11213,7 +11542,7 @@ export type ListBankTransactionsData = {
11213
11542
  */
11214
11543
  accountId?: string;
11215
11544
  /**
11216
- * open, suggested, todo (open or suggested) or assigned.
11545
+ * open, suggested, missing (assigned, but its Beleg is missing: a Kontoauszug, Vorschreibung, Buchungsmitteilung or Lohnabrechnung), todo (open, suggested or missing) or assigned.
11217
11546
  */
11218
11547
  status?: string;
11219
11548
  /**
@@ -11844,6 +12173,54 @@ export type AddBankStatementResponses = {
11844
12173
  200: CamtImportResultDto;
11845
12174
  };
11846
12175
  export type AddBankStatementResponse = AddBankStatementResponses[keyof AddBankStatementResponses];
12176
+ export type FileBankStatementData = {
12177
+ body: FileBankStatementRequest;
12178
+ path?: never;
12179
+ query?: never;
12180
+ url: '/api/v2/me/billing/statements/file';
12181
+ };
12182
+ export type FileBankStatementErrors = {
12183
+ /**
12184
+ * Malformed request, or a cursor from another request.
12185
+ */
12186
+ 400: Problem;
12187
+ /**
12188
+ * No valid API key or session.
12189
+ */
12190
+ 401: Problem;
12191
+ /**
12192
+ * This operation needs a dashboard session.
12193
+ */
12194
+ 403: Problem;
12195
+ /**
12196
+ * Not found, or it belongs to another workspace.
12197
+ */
12198
+ 404: Problem;
12199
+ /**
12200
+ * Conflict with the current state; `code` says which.
12201
+ */
12202
+ 409: Problem;
12203
+ /**
12204
+ * Validation failed; `errors[]` names each parameter or JSON pointer.
12205
+ */
12206
+ 422: Problem;
12207
+ /**
12208
+ * Too many requests; retry after `Retry-After`.
12209
+ */
12210
+ 429: Problem;
12211
+ /**
12212
+ * Internal error; quote `requestId` to support.
12213
+ */
12214
+ 500: Problem;
12215
+ };
12216
+ export type FileBankStatementError = FileBankStatementErrors[keyof FileBankStatementErrors];
12217
+ export type FileBankStatementResponses = {
12218
+ /**
12219
+ * OK
12220
+ */
12221
+ 200: BankStatementDto;
12222
+ };
12223
+ export type FileBankStatementResponse = FileBankStatementResponses[keyof FileBankStatementResponses];
11847
12224
  export type PreviewBankStatementData = {
11848
12225
  body: PreviewCamtRequest;
11849
12226
  path?: never;