@lambda-development/erp-core 0.8.26 → 0.8.27

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.
@@ -95,7 +95,7 @@ export interface BankInvoiceSuggestion {
95
95
  reasons: string[];
96
96
  }
97
97
  export interface BankVoucherSuggestion {
98
- kind: "existing_voucher";
98
+ kind: "existing_voucher" | "existing_voucher_group";
99
99
  voucher_type: "Payment Entry" | "Journal Entry";
100
100
  voucher_no: string;
101
101
  posting_date: string;
@@ -103,6 +103,15 @@ export interface BankVoucherSuggestion {
103
103
  currency: string;
104
104
  score: number;
105
105
  reasons: string[];
106
+ bank_transactions: Array<{
107
+ name: string;
108
+ posting_date: string;
109
+ amount: number;
110
+ deposit: number;
111
+ withdrawal: number;
112
+ counterparty_name: string | null;
113
+ description: string | null;
114
+ }>;
106
115
  }
107
116
  export interface BankReconciliationSuggestions {
108
117
  transaction: BankReconciliationTransaction;
@@ -200,6 +209,7 @@ export declare const api: {
200
209
  }) => Promise<any>;
201
210
  reconcileBankExistingVoucher: (data: {
202
211
  bank_transaction: string;
212
+ bank_transactions?: string[];
203
213
  voucher_type: string;
204
214
  voucher_no: string;
205
215
  confirmed: boolean;
@@ -125,6 +125,8 @@ declare const _default: {
125
125
  "undo": "Abstimmung rückgängig machen",
126
126
  "confirmExistingTitle": "Bestehende Buchung zuordnen?",
127
127
  "confirmExistingBody": "{{transaction}} mit {{voucher}} abstimmen? Es wird kein neuer Buchungssatz erzeugt.",
128
+ "confirmGroupBody": "Alle {{count}} Transaktionen über insgesamt {{amount}} mit {{voucher}} abstimmen? Es wird kein neuer Buchungssatz erzeugt.",
129
+ "groupedTransactions": "{{count}} gruppierte Transaktionen",
128
130
  "confirmPaymentTitle": "Zahlung buchen und abstimmen?",
129
131
  "confirmPaymentBody": "Damit wird für {{transaction}} eine Zahlung über {{amount}} eingereicht und auf {{count}} Rechnung(en) verteilt.",
130
132
  "onAccountWarning": "{{amount}} bleibt als nicht zugewiesene Zahlung bei dieser Partei bestehen.",
@@ -134,7 +136,9 @@ declare const _default: {
134
136
  "undoTitle": "Abstimmung rückgängig machen?",
135
137
  "undoCreatedBody": "Der durch diese Abstimmung erstellte Beleg wird storniert, seine Hauptbuchungen werden umgekehrt und Rechnungszuweisungen wiederhergestellt.",
136
138
  "undoExistingBody": "Der bestehende Beleg wird nur von der Banktransaktion getrennt. Er bleibt eingereicht und seine Buchungen werden nicht verändert.",
139
+ "undoExistingGroupBody": "Alle {{count}} gruppierten Banktransaktionen ({{transactions}}) werden gemeinsam vom Beleg getrennt. Der bestehende Beleg bleibt eingereicht und seine Buchungen werden nicht verändert.",
137
140
  "reconciledNotice": "Banktransaktion wurde abgestimmt.",
141
+ "groupReconciledNotice": "{{count}} Banktransaktionen wurden als Gruppe abgestimmt.",
138
142
  "undoneNotice": "Abstimmung wurde rückgängig gemacht."
139
143
  },
140
144
  "smartSearch": {
@@ -125,6 +125,8 @@ declare const _default: {
125
125
  "undo": "Undo reconciliation",
126
126
  "confirmExistingTitle": "Match existing entry?",
127
127
  "confirmExistingBody": "Match {{transaction}} to {{voucher}}? No new ledger entry will be posted.",
128
+ "confirmGroupBody": "Match all {{count}} transactions totalling {{amount}} to {{voucher}}? No new ledger entry will be posted.",
129
+ "groupedTransactions": "{{count}} grouped transactions",
128
130
  "confirmPaymentTitle": "Post payment and reconcile?",
129
131
  "confirmPaymentBody": "This submits a payment of {{amount}} for {{transaction}} and allocates it across {{count}} invoice(s).",
130
132
  "onAccountWarning": "{{amount}} will remain as an on-account payment for this party.",
@@ -134,7 +136,9 @@ declare const _default: {
134
136
  "undoTitle": "Undo reconciliation?",
135
137
  "undoCreatedBody": "The voucher created by this reconciliation will be cancelled, its ledger entries reversed, and invoice allocations restored.",
136
138
  "undoExistingBody": "The existing voucher will only be unlinked. It remains submitted and its ledger entries are not changed.",
139
+ "undoExistingGroupBody": "All {{count}} grouped transactions ({{transactions}}) will be unlinked together. The existing voucher remains submitted and its ledger entries are not changed.",
137
140
  "reconciledNotice": "Bank transaction reconciled.",
141
+ "groupReconciledNotice": "{{count}} bank transactions reconciled as one group.",
138
142
  "undoneNotice": "Reconciliation reversed."
139
143
  },
140
144
  "smartSearch": {
@@ -125,6 +125,8 @@ declare const _default: {
125
125
  "undo": "Annuler le rapprochement",
126
126
  "confirmExistingTitle": "Rapprocher l’écriture existante ?",
127
127
  "confirmExistingBody": "Rapprocher {{transaction}} avec {{voucher}} ? Aucune nouvelle écriture ne sera comptabilisée.",
128
+ "confirmGroupBody": "Rapprocher les {{count}} transactions, pour un total de {{amount}}, avec {{voucher}} ? Aucune nouvelle écriture ne sera comptabilisée.",
129
+ "groupedTransactions": "{{count}} transactions groupées",
128
130
  "confirmPaymentTitle": "Comptabiliser le paiement et rapprocher ?",
129
131
  "confirmPaymentBody": "Cette action valide un paiement de {{amount}} pour {{transaction}} et l’affecte à {{count}} facture(s).",
130
132
  "onAccountWarning": "{{amount}} resteront comme paiement non affecté pour ce tiers.",
@@ -134,7 +136,9 @@ declare const _default: {
134
136
  "undoTitle": "Annuler le rapprochement ?",
135
137
  "undoCreatedBody": "La pièce créée par ce rapprochement sera annulée, ses écritures extournées et les affectations aux factures restaurées.",
136
138
  "undoExistingBody": "La pièce existante sera uniquement dissociée. Elle restera validée et ses écritures ne seront pas modifiées.",
139
+ "undoExistingGroupBody": "Les {{count}} transactions groupées ({{transactions}}) seront toutes dissociées ensemble. La pièce existante restera validée et ses écritures ne seront pas modifiées.",
137
140
  "reconciledNotice": "Transaction bancaire rapprochée.",
141
+ "groupReconciledNotice": "{{count}} transactions bancaires ont été rapprochées en groupe.",
138
142
  "undoneNotice": "Rapprochement annulé."
139
143
  },
140
144
  "smartSearch": {