@accounter/client
Version:
3,498 lines • 822 kB
text/typescript
/* eslint-disable */
import { TimelessDateString } from '../helpers';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
/** Date */
Date: { input: any; output: any; }
/** mock */
DividendMock: { input: any; output: any; }
/** File */
FileScalar: { input: any; output: any; }
/** Rate */
Rate: { input: any; output: any; }
/** Date with no time of day */
TimelessDate: { input: TimelessDateString; output: TimelessDateString; }
/** URL */
URL: { input: any; output: any; }
/** UUID */
UUID: { input: any; output: any; }
};
/** represent a single bank account */
export type BankFinancialAccount = FinancialAccount & {
__typename?: 'BankFinancialAccount';
/** the external identifier of the bank account */
accountNumber: Scalars['String']['output'];
bankNumber: Scalars['String']['output'];
branchNumber: Scalars['String']['output'];
charges: Array<Charge>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
type: Scalars['String']['output'];
};
/** represent a single bank account */
export type BankFinancialAccountChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
};
/** represent a financial entity of any type that may hold financial accounts (company, business, individual) */
export type Business = {
accounts: Array<FinancialAccount>;
charges: PaginatedCharges;
documents?: Maybe<Array<Maybe<Document>>>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
sortCode?: Maybe<SortCode>;
};
/** represent a financial entity of any type that may hold financial accounts (company, business, individual) */
export type BusinessChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** single business transaction info */
export type BusinessTransaction = {
__typename?: 'BusinessTransaction';
amount: FinancialAmount;
business: FinancialEntity;
counterAccount?: Maybe<FinancialEntity>;
details?: Maybe<Scalars['String']['output']>;
eurAmount?: Maybe<FinancialAmount>;
gbpAmount?: Maybe<FinancialAmount>;
invoiceDate: Scalars['TimelessDate']['output'];
reference1?: Maybe<Scalars['String']['output']>;
reference2?: Maybe<Scalars['String']['output']>;
usdAmount?: Maybe<FinancialAmount>;
};
/** single business transaction summery */
export type BusinessTransactionSum = {
__typename?: 'BusinessTransactionSum';
business: FinancialEntity;
credit: FinancialAmount;
debit: FinancialAmount;
eurSum?: Maybe<ForeignCurrencySum>;
gbpSum?: Maybe<ForeignCurrencySum>;
total: FinancialAmount;
usdSum?: Maybe<ForeignCurrencySum>;
};
/** input variables for businessTransactions */
export type BusinessTransactionsFilter = {
businessIDs?: InputMaybe<Array<Scalars['UUID']['input']>>;
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
ownerIds?: InputMaybe<Array<Scalars['UUID']['input']>>;
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** result type for businessTransactionsFromLedgerRecords */
export type BusinessTransactionsFromLedgerRecordsResult = BusinessTransactionsFromLedgerRecordsSuccessfulResult | CommonError;
/** result type for businessTransactionsFromLedgerRecords */
export type BusinessTransactionsFromLedgerRecordsSuccessfulResult = {
__typename?: 'BusinessTransactionsFromLedgerRecordsSuccessfulResult';
businessTransactions: Array<BusinessTransaction>;
};
/** result type for businessTransactionsSumFromLedgerRecords */
export type BusinessTransactionsSumFromLedgerRecordsResult = BusinessTransactionsSumFromLedgerRecordsSuccessfulResult | CommonError;
/** result type for businessTransactionsSumFromLedgerRecords */
export type BusinessTransactionsSumFromLedgerRecordsSuccessfulResult = {
__typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult';
businessTransactionsSum: Array<BusinessTransactionSum>;
};
/** represent a business trip */
export type BusinessTrip = {
__typename?: 'BusinessTrip';
dates?: Maybe<DateRange>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
transactions: Array<BusinessTripTransaction>;
};
/** represent a business trip accommodation transaction */
export type BusinessTripAccommodationTransaction = BusinessTripTransaction & {
__typename?: 'BusinessTripAccommodationTransaction';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
country?: Maybe<Scalars['String']['output']>;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
nightsCount?: Maybe<Scalars['Int']['output']>;
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** charge of dividends */
export type BusinessTripCharge = Charge & {
__typename?: 'BusinessTripCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** represent a business trip flight transaction */
export type BusinessTripFlightTransaction = BusinessTripTransaction & {
__typename?: 'BusinessTripFlightTransaction';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
class?: Maybe<Scalars['String']['output']>;
date?: Maybe<Scalars['TimelessDate']['output']>;
destination?: Maybe<Scalars['String']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
origin?: Maybe<Scalars['String']['output']>;
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent a business trip other transaction */
export type BusinessTripOtherTransaction = BusinessTripTransaction & {
__typename?: 'BusinessTripOtherTransaction';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
date?: Maybe<Scalars['TimelessDate']['output']>;
/** הוצאה מוכרת */
deductibleExpense?: Maybe<Scalars['Boolean']['output']>;
employee?: Maybe<FinancialEntity>;
/** סוג ההוצאה */
expenseType?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** business trip transaction prototype */
export type BusinessTripTransaction = {
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
/** שולם על ידי העובד */
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent a business trip travel and subsistence transaction */
export type BusinessTripTravelAndSubsistenceTransaction = BusinessTripTransaction & {
__typename?: 'BusinessTripTravelAndSubsistenceTransaction';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
/** סוג ההוצאה */
expenseType?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent a business trip uncategorized transaction */
export type BusinessTripUncategorizedTransaction = BusinessTripTransaction & {
__typename?: 'BusinessTripUncategorizedTransaction';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transaction?: Maybe<Transaction>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** the input for updating a business trip */
export type BusinessTripUpdateInput = {
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** represent a single credit card */
export type CardFinancialAccount = FinancialAccount & {
__typename?: 'CardFinancialAccount';
charges: Array<Charge>;
fourDigits: Scalars['String']['output'];
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
/** the external identifier of the card */
number: Scalars['String']['output'];
type: Scalars['String']['output'];
};
/** represent a single credit card */
export type CardFinancialAccountChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
};
/** represent a complex type for grouped charge with ledger info, bank/card transactions and documents */
export type Charge = {
/** calculated based on ledger record and transaction approvals */
accountantApproval: Scalars['Boolean']['output'];
/** additional documents attached to the charge */
additionalDocuments: Array<Document>;
/** should be later in busines trip module? */
businessTrip?: Maybe<BusinessTrip>;
/** is currency conversion */
conversion?: Maybe<Scalars['Boolean']['output']>;
/** calculated counterparty details for the charge */
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
/** ledger records linked to the charge */
ledger: Ledger;
/** metadata about the charge */
metadata?: Maybe<ChargeMetadata>;
/** minimal debit date from linked transactions */
minDebitDate?: Maybe<Scalars['Date']['output']>;
/** minimal date from linked documents */
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
/** minimal event date from linked transactions */
minEventDate?: Maybe<Scalars['Date']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
/** the financial entity that created the charge */
owner: Business;
/** פחת, ציוד */
property?: Maybe<Scalars['Boolean']['output']>;
/** is salary */
salary?: Maybe<Scalars['Boolean']['output']>;
/** user customer tags */
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
/** the total amount of the charge */
totalAmount?: Maybe<FinancialAmount>;
/** list of financial/bank transactions linked to the charge */
transactions: Array<Transaction>;
/** user custom description */
userDescription?: Maybe<Scalars['String']['output']>;
/** missing info validation data */
validationData?: Maybe<ValidationData>;
/** calculated field based on the actual ledger records, optional because not all charges has VAT */
vat?: Maybe<FinancialAmount>;
/** withholding tax */
withholdingTax?: Maybe<FinancialAmount>;
/** the tax year in which the action took place */
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** input variables for charge filtering */
export type ChargeFilter = {
accountantApproval?: InputMaybe<Scalars['Boolean']['input']>;
/** filter by business trip (should be later in business trip module?) */
businessTrip?: InputMaybe<Scalars['UUID']['input']>;
/** Include only charges including specific business */
byBusinesses?: InputMaybe<Array<Scalars['UUID']['input']>>;
/** Include only charges related to specific financial accounts */
byFinancialAccounts?: InputMaybe<Array<Scalars['UUID']['input']>>;
/** Include only charges related to specific owners financial entities */
byOwners?: InputMaybe<Array<Scalars['UUID']['input']>>;
/** Include only charges with those tags */
byTags?: InputMaybe<Array<Scalars['String']['input']>>;
chargesType?: InputMaybe<ChargeFilterType>;
/** Include only charges with any doc/transaction date occurred after this date */
fromAnyDate?: InputMaybe<Scalars['TimelessDate']['input']>;
/** Include only charges with main date occurred after this date */
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
sortBy?: InputMaybe<ChargeSortBy>;
/** Include only charges with any doc/transaction date occurred before this date */
toAnyDate?: InputMaybe<Scalars['TimelessDate']['input']>;
/** Include only charges with main date occurred before this date */
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
/** Include only charges that are not balances */
unbalanced?: InputMaybe<Scalars['Boolean']['input']>;
/** Include only charges that doesn't have documents linked */
withoutDocuments?: InputMaybe<Scalars['Boolean']['input']>;
/** Include only charges that doesn't have invoice document linked */
withoutInvoice?: InputMaybe<Scalars['Boolean']['input']>;
/** Include only charges that doesn't have transactions linked */
withoutTransaction?: InputMaybe<Scalars['Boolean']['input']>;
};
/** filter charges by type */
export enum ChargeFilterType {
All = 'ALL',
Expense = 'EXPENSE',
Income = 'INCOME'
}
/** represent charge's metadata */
export type ChargeMetadata = {
__typename?: 'ChargeMetadata';
/** when the initial charge was created from the first event we found */
createdAt: Scalars['Date']['output'];
documentsCount: Scalars['Int']['output'];
invalidDocuments: Scalars['Boolean']['output'];
invalidTransactions: Scalars['Boolean']['output'];
invoicesCount: Scalars['Int']['output'];
isConversion: Scalars['Boolean']['output'];
isSalary: Scalars['Boolean']['output'];
optionalBusinesses: Array<Scalars['String']['output']>;
receiptsCount: Scalars['Int']['output'];
transactionsCount: Scalars['Int']['output'];
/** when the charge was last updated */
updatedAt: Scalars['Date']['output'];
};
/** input variables for sorting charges */
export type ChargeSortBy = {
asc?: InputMaybe<Scalars['Boolean']['input']>;
field: ChargeSortByField;
};
/** fields that can be used to sort charges */
export enum ChargeSortByField {
AbsAmount = 'ABS_AMOUNT',
Amount = 'AMOUNT',
Date = 'DATE'
}
/** represent charge suggestions for missing info */
export type ChargeSuggestions = {
__typename?: 'ChargeSuggestions';
description?: Maybe<Scalars['String']['output']>;
tags: Array<Tag>;
};
/** common charge */
export type CommonCharge = Charge & {
__typename?: 'CommonCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** common type of errors */
export type CommonError = Error & {
__typename?: 'CommonError';
message: Scalars['String']['output'];
};
/** temp type until DB supports transactions differenciation */
export type CommonTransaction = Transaction & {
__typename?: 'CommonTransaction';
account: FinancialAccount;
amount: FinancialAmount;
balance: FinancialAmount;
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['Date']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isFee?: Maybe<Scalars['Boolean']['output']>;
missingInfoSuggestions?: Maybe<TransactionSuggestions>;
referenceId: Scalars['String']['output'];
referenceKey?: Maybe<Scalars['String']['output']>;
sourceDescription: Scalars['String']['output'];
updatedAt: Scalars['Date']['output'];
};
/** charge with conversion transactions */
export type ConversionCharge = Charge & {
__typename?: 'ConversionCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
eventRate?: Maybe<ConversionRate>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
officialRate?: Maybe<ConversionRate>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** represent exchange rate between two currencies */
export type ConversionRate = {
__typename?: 'ConversionRate';
from: Currency;
rate: Scalars['Float']['output'];
to: Currency;
};
/** המרה */
export type ConversionTransaction = Transaction & {
__typename?: 'ConversionTransaction';
account: FinancialAccount;
amount: FinancialAmount;
balance: FinancialAmount;
/** המרה של הבנק */
bankRate: Scalars['Rate']['output'];
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['Date']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate: Scalars['TimelessDate']['output'];
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isFee?: Maybe<Scalars['Boolean']['output']>;
missingInfoSuggestions?: Maybe<TransactionSuggestions>;
/** בנק ישראל */
officialRateToLocal?: Maybe<Scalars['Rate']['output']>;
referenceId: Scalars['String']['output'];
referenceKey?: Maybe<Scalars['String']['output']>;
sourceDescription: Scalars['String']['output'];
type: ConversionTransactionType;
updatedAt: Scalars['Date']['output'];
};
/** Type pf conversion transaction */
export enum ConversionTransactionType {
/** מכירה */
Base = 'BASE',
/** קניה */
Quote = 'QUOTE'
}
/** Credit invoice document - חשבונית זיכוי */
export type CreditInvoice = Document & FinancialDocument & Linkable & {
__typename?: 'CreditInvoice';
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** represent a single credit card */
export type CryptoWalletFinancialAccount = FinancialAccount & {
__typename?: 'CryptoWalletFinancialAccount';
charges: Array<Charge>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
/** the external identifier of the wallet */
number: Scalars['String']['output'];
type: Scalars['String']['output'];
};
/** represent a single credit card */
export type CryptoWalletFinancialAccountChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
};
/** All possible currencies */
export enum Currency {
Eth = 'ETH',
Eur = 'EUR',
Gbp = 'GBP',
Grt = 'GRT',
Ils = 'ILS',
Usd = 'USD',
Usdc = 'USDC'
}
/** a date range */
export type DateRange = {
__typename?: 'DateRange';
end: Scalars['TimelessDate']['output'];
start: Scalars['TimelessDate']['output'];
};
/** charge of dividends */
export type DividendCharge = Charge & {
__typename?: 'DividendCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** represent a generic document with identifier and a URL */
export type Document = {
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
debtor?: Maybe<FinancialEntity>;
/** the specific type of the document */
documentType?: Maybe<DocumentType>;
/** link to original file gmail, pdf */
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
/** previewable image */
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
};
/** represent document suggestions for missing info */
export type DocumentSuggestions = {
__typename?: 'DocumentSuggestions';
/** The document amount */
amount?: Maybe<FinancialAmount>;
/** The counter-side of the document (opposite to it's owner) */
counterparty?: Maybe<FinancialEntity>;
/** The document direction (income or expense) */
isIncome?: Maybe<Scalars['Boolean']['output']>;
/** The owner of the document */
owner?: Maybe<FinancialEntity>;
};
/** All possible document types */
export enum DocumentType {
CreditInvoice = 'CREDIT_INVOICE',
Invoice = 'INVOICE',
InvoiceReceipt = 'INVOICE_RECEIPT',
Proforma = 'PROFORMA',
Receipt = 'RECEIPT',
Unprocessed = 'UNPROCESSED'
}
/** input variables for documents filtering */
export type DocumentsFilters = {
businessIDs?: InputMaybe<Array<Scalars['UUID']['input']>>;
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
ownerIDs?: InputMaybe<Array<Scalars['UUID']['input']>>;
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
/** Include only documents without matching transactions */
unmatched?: InputMaybe<Scalars['Boolean']['input']>;
};
/** represent employee record */
export type Employee = {
__typename?: 'Employee';
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** basic structure of error */
export type Error = {
message: Scalars['String']['output'];
};
/** represent a financial amount in a specific currency */
export type ExchangeRates = {
__typename?: 'ExchangeRates';
date: Scalars['TimelessDate']['output'];
eur?: Maybe<FinancialAmount>;
gbp?: Maybe<FinancialAmount>;
usd?: Maybe<FinancialAmount>;
};
/** עמלה */
export type FeeTransaction = Transaction & {
__typename?: 'FeeTransaction';
account: FinancialAccount;
amount: FinancialAmount;
balance: FinancialAmount;
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['Date']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate: Scalars['TimelessDate']['output'];
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isFee?: Maybe<Scalars['Boolean']['output']>;
missingInfoSuggestions?: Maybe<TransactionSuggestions>;
referenceId: Scalars['String']['output'];
referenceKey?: Maybe<Scalars['String']['output']>;
sourceDescription: Scalars['String']['output'];
updatedAt: Scalars['Date']['output'];
};
/** Represent something external that we scrape, like bank or card */
export type FinancialAccount = {
charges: Array<Charge>;
id: Scalars['UUID']['output'];
/** the name of the account */
name: Scalars['String']['output'];
/** the general type of the account */
type: Scalars['String']['output'];
};
/** Represent something external that we scrape, like bank or card */
export type FinancialAccountChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
};
/** Represent financial amount */
export type FinancialAmount = {
__typename?: 'FinancialAmount';
/** currency of the amount */
currency: Currency;
/** formatted value with the currency symbol, like: 10$ */
formatted: Scalars['String']['output'];
/** the raw amount, for example: 19.99 */
raw: Scalars['Float']['output'];
};
/** input variables for updateCharge.FinancialAmount */
export type FinancialAmountInput = {
currency: Currency;
raw: Scalars['Float']['input'];
};
/** represent a financial document */
export type FinancialDocument = {
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** represent a financial entity of any type, including businesses, tax categories, etc. */
export type FinancialEntity = {
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
sortCode?: Maybe<SortCode>;
};
/** Represent financial rounded amount with Int values */
export type FinancialIntAmount = {
__typename?: 'FinancialIntAmount';
/** currency of the amount */
currency: Currency;
/** formatted value with the currency symbol, like: 10$ */
formatted: Scalars['String']['output'];
/** the raw amount, for example: 19 */
raw: Scalars['Int']['output'];
};
/** result type for flagForeignFeeTransactions */
export type FlagForeignFeeTransactionsResult = {
__typename?: 'FlagForeignFeeTransactionsResult';
errors?: Maybe<Array<Scalars['String']['output']>>;
success: Scalars['Boolean']['output'];
transactions?: Maybe<Array<Transaction>>;
};
/** summary of foreign currency business transactions */
export type ForeignCurrencySum = {
__typename?: 'ForeignCurrencySum';
credit: FinancialAmount;
debit: FinancialAmount;
total: FinancialAmount;
};
/** fund entity prototype */
export type Fund = {
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** result type for ledger records */
export type GeneratedLedgerRecords = CommonError | Ledger;
/** the input for creating a business trip */
export type InsertBusinessTripInput = {
destination?: InputMaybe<Scalars['String']['input']>;
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
name: Scalars['String']['input'];
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
tripPurpose?: InputMaybe<Scalars['String']['input']>;
};
/** input variables for insertDocument */
export type InsertDocumentInput = {
amount?: InputMaybe<FinancialAmountInput>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
creditorId?: InputMaybe<Scalars['UUID']['input']>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
debtorId?: InputMaybe<Scalars['UUID']['input']>;
documentType?: InputMaybe<DocumentType>;
file?: InputMaybe<Scalars['URL']['input']>;
image?: InputMaybe<Scalars['URL']['input']>;
serialNumber?: InputMaybe<Scalars['String']['input']>;
vat?: InputMaybe<FinancialAmountInput>;
};
/** result type for insertDocument */
export type InsertDocumentResult = CommonError | InsertDocumentSuccessfulResult;
/** result type for insertDocument */
export type InsertDocumentSuccessfulResult = {
__typename?: 'InsertDocumentSuccessfulResult';
document?: Maybe<Document>;
};
/** result type for insertSalaryRecord */
export type InsertSalaryRecordsResult = CommonError | InsertSalaryRecordsSuccessfulResult;
/** result type for insertSalaryRecord */
export type InsertSalaryRecordsSuccessfulResult = {
__typename?: 'InsertSalaryRecordsSuccessfulResult';
salaryRecords: Array<Salary>;
};
/** charge of internal transfer */
export type InternalTransferCharge = Charge & {
__typename?: 'InternalTransferCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** invoice document */
export type Invoice = Document & FinancialDocument & Linkable & {
__typename?: 'Invoice';
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** Invoice receipt document - חשבונית מס קבלה */
export type InvoiceReceipt = Document & FinancialDocument & Linkable & {
__typename?: 'InvoiceReceipt';
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** array of ledger records linked to the charge */
export type Ledger = {
__typename?: 'Ledger';
balance?: Maybe<LedgerBalanceInfo>;
records: Array<LedgerRecord>;
validate: LedgerValidation;
};
/** info about ledger total balance */
export type LedgerBalanceInfo = {
__typename?: 'LedgerBalanceInfo';
isBalanced: Scalars['Boolean']['output'];
unbalancedEntities: Array<LedgerBalanceUnbalancedEntity>;
};
/** unbalanced entity over ledger records */
export type LedgerBalanceUnbalancedEntity = {
__typename?: 'LedgerBalanceUnbalancedEntity';
balance: FinancialAmount;
entity: FinancialEntity;
};
/** represent atomic movement of funds */
export type LedgerRecord = {
__typename?: 'LedgerRecord';
creditAccount1?: Maybe<FinancialEntity>;
creditAccount2?: Maybe<FinancialEntity>;
creditAmount1?: Maybe<FinancialAmount>;
creditAmount2?: Maybe<FinancialAmount>;
debitAccount1?: Maybe<FinancialEntity>;
debitAccount2?: Maybe<FinancialEntity>;
debitAmount1?: Maybe<FinancialAmount>;
debitAmount2?: Maybe<FinancialAmount>;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
invoiceDate: Scalars['Date']['output'];
localCurrencyCreditAmount1: FinancialAmount;
localCurrencyCreditAmount2?: Maybe<FinancialAmount>;
localCurrencyDebitAmount1: FinancialAmount;
localCurrencyDebitAmount2?: Maybe<FinancialAmount>;
reference1?: Maybe<Scalars['String']['output']>;
valueDate: Scalars['Date']['output'];
};
/** ledger validation info */
export type LedgerValidation = {
__typename?: 'LedgerValidation';
differences: Array<LedgerRecord>;
isValid: Scalars['Boolean']['output'];
matches: Array<Scalars['UUID']['output']>;
};
/** represent a link to an external file */
export type Linkable = {
file?: Maybe<Scalars['URL']['output']>;
};
/** Financial entity, identifier by ID, can be a company or individual */
export type LtdFinancialEntity = Business & FinancialEntity & {
__typename?: 'LtdFinancialEntity';
accounts: Array<FinancialAccount>;
address?: Maybe<Scalars['String']['output']>;
charges: PaginatedCharges;
documents?: Maybe<Array<Maybe<Document>>>;
email?: Maybe<Scalars['String']['output']>;
governmentId?: Maybe<Scalars['String']['output']>;
hebrewName?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
phoneNumber?: Maybe<Scalars['String']['output']>;
sortCode?: Maybe<SortCode>;
taxCategory?: Maybe<TaxCategory>;
website?: Maybe<Scalars['String']['output']>;
};
/** Financial entity, identifier by ID, can be a company or individual */
export type LtdFinancialEntityChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** result type for mergeCharge */
export type MergeChargeResult = CommonError | MergeChargeSuccessfulResult;
/** successful result type for mergeCharge */
export type MergeChargeSuccessfulResult = {
__typename?: 'MergeChargeSuccessfulResult';
charge: Charge;
};
/** result type for mergeChargesByTransactionReference */
export type MergeChargesByTransactionReferenceResult = {
__typename?: 'MergeChargesByTransactionReferenceResult';
charges?: Maybe<Array<Charge>>;
errors?: Maybe<Array<Scalars['String']['output']>>;
success: Scalars['Boolean']['output'];
};
/** represent a missing info attributes for a charge */
export enum MissingChargeInfo {
Counterparty = 'COUNTERPARTY',
Description = 'DESCRIPTION',
Documents = 'DOCUMENTS',
Tags = 'TAGS',
TaxCategory = 'TAX_CATEGORY',
Transactions = 'TRANSACTIONS',
Vat = 'VAT'
}
/** charge of monthly VAT payment */
export type MonthlyVatCharge = Charge & {
__typename?: 'MonthlyVatCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** mutation root */
export type Mutation = {
__typename?: 'Mutation';
addTag: Scalars['Boolean']['output'];
deleteCharge: Scalars['Boolean']['output'];
deleteDocument: Scalars['Boolean']['output'];
deleteTag: Scalars['Boolean']['output'];
fetchIncomeDocuments: Array<Document>;
flagForeignFeeTransactions: FlagForeignFeeTransactionsResult;
insertBusinessTrip: BusinessTrip;
insertDocument: InsertDocumentResult;
insertOrUpdateSalaryRecords: InsertSalaryRecordsResult;
insertSalaryRecords: InsertSalaryRecordsResult;
mergeCharges: MergeChargeResult;
mergeChargesByTransactionReference: MergeChargesByTransactionReferenceResult;
pong?: Maybe<Scalars['Boolean']['output']>;
regenerateLedgerRecords: GeneratedLedgerRecords;
renameTag: Scalars['Boolean']['output'];
toggleChargeAccountantApproval: Scalars['Boolean']['output'];
updateBusiness: UpdateBusinessResponse;
updateBusinessTrip: BusinessTrip;
updateCharge: UpdateChargeResult;
updateChargeBusinessTrip?: Maybe<Charge>;
updateDocument: UpdateDocumentResult;
updateSalaryRecord: UpdateSalaryRecordResult;
updateTaxCategory: UpdateTaxCategoryResponse;
updateTransaction: UpdateTransactionResult;
uploadDocument: UploadDocumentResult;
};
/** mutation root */
export type MutationAddTagArgs = {
name: Scalars['String']['input'];
};
/** mutation root */
export type MutationDeleteChargeArgs = {
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteDocumentArgs = {
documentId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteTagArgs = {
name: Scalars['String']['input'];
};
/** mutation root */
export type MutationFetchIncomeDocumentsArgs = {
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationInsertBusinessTripArgs = {
fields: InsertBusinessTripInput;
};
/** mutation root */
export type MutationInsertDocumentArgs = {
record: InsertDocumentInput;
};
/** mutation root */
export type MutationInsertOrUpdateSalaryRecordsArgs = {
salaryRecords: Array<SalaryRecordInput>;
};
/** mutation root */
export type MutationInsertSalaryRecordsArgs = {
salaryRecords: Array<SalaryRecordInput>;
};
/** mutation root */
export type MutationMergeChargesArgs = {
baseChargeID: Scalars['UUID']['input'];
chargeIdsToMerge: Array<Scalars['UUID']['input']>;
fields?: InputMaybe<UpdateChargeInput>;
};
/** mutation root */
export type MutationRegenerateLedgerRecordsArgs = {
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationRenameTagArgs = {
newName: Scalars['String']['input'];
prevName: Scalars['String']['input'];
};
/** mutation root */
export type MutationToggleChargeAccountantApprovalArgs = {
approved: Scalars['Boolean']['input'];
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateBusinessArgs = {
businessId: Scalars['UUID']['input'];
fields: UpdateBusinessInput;
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateBusinessTripArgs = {
fields: BusinessTripUpdateInput;
};
/** mutation root */
export type MutationUpdateChargeArgs = {
chargeId: Scalars['UUID']['input'];
fields: UpdateChargeInput;
};
/** mutation root */
export type MutationUpdateChargeBusinessTripArgs = {
businessTripId?: InputMaybe<Scalars['UUID']['input']>;
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateDocumentArgs = {
documentId: Scalars['UUID']['input'];
fields: UpdateDocumentFieldsInput;
};
/** mutation root */
export type MutationUpdateSalaryRecordArgs = {
salaryRecord: SalaryRecordEditInput;
};
/** mutation root */
export type MutationUpdateTaxCategoryArgs = {
fields: UpdateTaxCategoryInput;
ownerId: Scalars['UUID']['input'];
taxCategoryId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateTransactionArgs = {
fields: UpdateTransactionInput;
transactionId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUploadDocumentArgs = {
chargeId?: InputMaybe<Scalars['UUID']['input']>;
file: Scalars['FileScalar']['input'];
};
/** result type for pcnFile */
export type PcnFileResult = {
__typename?: 'PCNFileResult';
fileName: Scalars['String']['output'];
reportContent: Scalars['String']['output'];
};
/** config options for generatePCN */
export type PcnOptionsInput = {
strict?: InputMaybe<Scalars['Boolean']['input']>;
};
/** meta info for page pagination */
export type PageInfo = {
__typename?: 'PageInfo';
currentPage?: Maybe<Scalars['Int']['output']>;
pageSize?: Maybe<Scalars['Int']['output']>;
totalPages: Scalars['Int']['output'];
};
/** response for paginated Financial Entities */
export type PaginatedBusinesses = {
__typename?: 'PaginatedBusinesses';
nodes: Array<Business>;
pageInfo: PageInfo;
};
/** response for paginated charges */
export type PaginatedCharges = {
__typename?: 'PaginatedCharges';
nodes: Array<Charge>;
pageInfo: PageInfo;
};
/** response for paginated Financial Entities */
export type PaginatedFinancialEntities = {
__typename?: 'PaginatedFinancialEntities';
nodes: Array<FinancialEntity>;
pageInfo: PageInfo;
};
/** represent pension fund */
export type PensionFund = Fund & {
__typename?: 'PensionFund';
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** Financial entity, identifier by ID, represents an actual person */
export type PersonalFinancialEntity = Business & FinancialEntity & {
__typename?: 'PersonalFinancialEntity';
accounts: Array<FinancialAccount>;
charges: PaginatedCharges;
documents?: Maybe<Array<Maybe<Document>>>;
email: Scalars['String']['output'];
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
sortCode?: Maybe<SortCode>;
};
/** Financial entity, identifier by ID, represents an actual person */
export type PersonalFinancialEntityChargesArgs = {
filter?: InputMaybe<ChargeFilter>;
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** proforma document */
export type Proforma = Document & FinancialDocument & Linkable & {
__typename?: 'Proforma';
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** query root */
export type Query = {
__typename?: 'Query';
allBusinessTrips: Array<BusinessTrip>;
/** TODO: This is temporary & should be replaced after auth and financial entities hierarchy is implemented */
allBusinesses?: Maybe<PaginatedBusinesses>;
allCharges: PaginatedCharges;
allFinancialAccounts: Array<FinancialAccount>;
/** TODO: This is temporary, should be replaced after auth and financial entities hierarchy is implemented */
allFinancialEntities?: Maybe<PaginatedFinancialEntities>;
allPensionFunds: Array<PensionFund>;
allSortCodes: Array<SortCode>;
allTags: Array<Tag>;
allTrainingFunds: Array<TrainingFund>;
business: Business;
businessTransactionsFromLedgerRecords: BusinessTransactionsFromLedgerRecordsResult;
businessTransactionsSumFromLedgerRecords: BusinessTransactionsSumFromLedgerRecordsResult;
businessTrip?: Maybe<BusinessTrip>;
chargesByIDs: Array<Charge>;
documentById?: Maybe<Document>;
documents: Array<Document>;
documentsByFilters: Array<Document>;
employeesByEmployerId: Array<Employee>;
/** get exchage rates by date */
exchangeRates?: Maybe<ExchangeRates>;
financialEntity: FinancialEntity;
pcnFile: PcnFileResult;
ping?: Maybe<Scalars['Boolean']['output']>;
salaryRecordsByCharge: Array<Salary>;
salaryRecordsByDates: Array<Salary>;
taxCategories: Array<TaxCategory>;
taxCategoryByBusinessId?: Maybe<TaxCategory>;
transactionsByIDs: Array<Transaction>;
vatReport: VatReportResult;
};
/** query root */
export type QueryAllBusinessesArgs = {
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** query root */
export type QueryAllChargesArgs = {
filters?: InputMaybe<ChargeFilter>;
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** query root */
export type QueryAllFinancialEntitiesArgs = {
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** query root */
export type QueryBusinessArgs = {
id: Scalars['UUID']['input'];
};
/** query root */
export type QueryBusinessTransactionsFromLedgerRecordsArgs = {
filters?: InputMaybe<BusinessTransactionsFilter>;
};
/** query root */
export type QueryBusinessTransactionsSumFromLedgerRecordsArgs = {
filters?: InputMaybe<BusinessTransactionsFilter>;
};
/** query root */
export type QueryBusinessTripArgs = {
id: Scalars['UUID']['input'];
};
/** query root */
export type QueryChargesByIDsArgs = {
chargeIDs: Array<Scalars['UUID']['input']>;
};
/** query root */
export type QueryDocumentByIdArgs = {
documentId: Scalars['UUID']['input'];
};
/** query root */
export type QueryDocumentsByFiltersArgs = {
filters: DocumentsFilters;
};
/** query root */
export type QueryEmployeesByEmployerIdArgs = {
employerId: Scalars['UUID']['input'];
};
/** query root */
export type QueryExchangeRatesArgs = {
date?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** query root */
export type QueryFinancialEntityArgs = {
id: Scalars['UUID']['input'];
};
/** query root */
export type QueryPcnFileArgs = {
financialEntityId: Scalars['UUID']['input'];
fromDate: Scalars['TimelessDate']['input'];
options?: InputMaybe<PcnOptionsInput>;
toDate: Scalars['TimelessDate']['input'];
};
/** query root */
export type QuerySalaryRecordsByChargeArgs = {
chargeId: Scalars['UUID']['input'];
};
/** query root */
export type QuerySalaryRecordsByDatesArgs = {
employeeIDs?: InputMaybe<Array<Scalars['UUID']['input']>>;
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
};
/** query root */
export type QueryTaxCategoryByBusinessIdArgs = {
businessId: Scalars['UUID']['input'];
ownerId: Scalars['UUID']['input'];
};
/** query root */
export type QueryTransactionsByIDsArgs = {
transactionIDs: Array<Scalars['UUID']['input']>;
};
/** query root */
export type QueryVatReportArgs = {
filters?: InputMaybe<VatReportFilter>;
};
/** receipt document */
export type Receipt = Document & FinancialDocument & Linkable & {
__typename?: 'Receipt';
amount?: Maybe<FinancialAmount>;
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
date?: Maybe<Scalars['TimelessDate']['output']>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
};
/** Role based authorization */
export enum Role {
Accountant = 'ACCOUNTANT',
Admin = 'ADMIN'
}
/** defines salary records for charge arrangement */
export type Salary = {
__typename?: 'Salary';
baseAmount?: Maybe<FinancialAmount>;
bonus?: Maybe<FinancialAmount>;
charge?: Maybe<SalaryCharge>;
compensationsAmount?: Maybe<FinancialAmount>;
compensationsPercentage?: Maybe<Scalars['Float']['output']>;
directAmount: FinancialAmount;
employee?: Maybe<LtdFinancialEntity>;
employer?: Maybe<LtdFinancialEntity>;
gift?: Maybe<FinancialAmount>;
globalAdditionalHoursAmount?: Maybe<FinancialAmount>;
healthInsuranceAmount?: Maybe<FinancialAmount>;
incomeTaxAmount?: Maybe<FinancialAmount>;
month: Scalars['String']['output'];
notionalExpense?: Maybe<FinancialAmount>;
pensionEmployeeAmount?: Maybe<FinancialAmount>;
pensionEmployeePercentage?: Maybe<Scalars['Float']['output']>;
pensionEmployerAmount?: Maybe<FinancialAmount>;
pensionEmployerPercentage?: Maybe<Scalars['Float']['output']>;
pensionFund?: Maybe<LtdFinancialEntity>;
recovery?: Maybe<FinancialAmount>;
sicknessDays?: Maybe<SicknessDays>;
socialSecurityEmployeeAmount?: Maybe<FinancialAmount>;
socialSecurityEmployerAmount?: Maybe<FinancialAmount>;
trainingFund?: Maybe<LtdFinancialEntity>;
trainingFundEmployeeAmount?: Maybe<FinancialAmount>;
trainingFundEmployeePercentage?: Maybe<Scalars['Float']['output']>;
trainingFundEmployerAmount?: Maybe<FinancialAmount>;
trainingFundEmployerPercentage?: Maybe<Scalars['Float']['output']>;
vacationDays?: Maybe<VacationDays>;
vacationTakeout?: Maybe<FinancialAmount>;
workDays?: Maybe<Scalars['Float']['output']>;
};
/** charge with conversion transactions */
export type SalaryCharge = Charge & {
__typename?: 'SalaryCharge';
accountantApproval: Scalars['Boolean']['output'];
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
employees: Array<LtdFinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['Date']['output']>;
minDocumentsDate?: Maybe<Scalars['Date']['output']>;
minEventDate?: Maybe<Scalars['Date']['output']>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
salaryRecords: Array<Salary>;
salaryRecordsSuggestions: Array<Salary>;
tags: Array<Tag>;
taxCategory?: Maybe<TaxCategory>;
totalAmount?: Maybe<FinancialAmount>;
transactions: Array<Transaction>;
userDescription?: Maybe<Scalars['String']['output']>;
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearOfRelevance?: Maybe<Scalars['String']['output']>;
};
/** input variables for update salary records */
export type SalaryRecordEditInput = {
addedVacationDays?: InputMaybe<Scalars['Float']['input']>;
baseSalary?: InputMaybe<Scalars['Float']['input']>;
bonus?: InputMaybe<Scalars['Float']['input']>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
compensationsEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
compensationsEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
directPaymentAmount?: InputMaybe<Scalars['Float']['input']>;
employeeId: Scalars['UUID']['input'];
employer?: InputMaybe<Scalars['UUID']['input']>;
gift?: InputMaybe<Scalars['Float']['input']>;
globalAdditionalHours?: InputMaybe<Scalars['Float']['input']>;
healthPaymentAmount?: InputMaybe<Scalars['Float']['input']>;
hourlyRate?: InputMaybe<Scalars['Float']['input']>;
hours?: InputMaybe<Scalars['Float']['input']>;
month: Scalars['String']['input'];
pensionEmployeeAmount?: InputMaybe<Scalars['Float']['input']>;
pensionEmployeePercentage?: InputMaybe<Scalars['Float']['input']>;
pensionEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
pensionEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
pensionFundId?: InputMaybe<Scalars['UUID']['input']>;
recovery?: InputMaybe<Scalars['Float']['input']>;
sicknessDaysBalance?: InputMaybe<Scalars['Float']['input']>;
socialSecurityAmountEmployee?: InputMaybe<Scalars['Float']['input']>;
socialSecurityAmountEmployer?: InputMaybe<Scalars['Float']['input']>;
taxAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployeeAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployeePercentage?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
trainingFundId?: InputMaybe<Scalars['UUID']['input']>;
vacationDaysBalance?: InputMaybe<Scalars['Float']['input']>;
vacationTakeout?: InputMaybe<Scalars['Float']['input']>;
workDays?: InputMaybe<Scalars['Float']['input']>;
zkufot?: InputMaybe<Scalars['Int']['input']>;
};
/** input variables for insert salary records */
export type SalaryRecordInput = {
addedVacationDays?: InputMaybe<Scalars['Float']['input']>;
baseSalary?: InputMaybe<Scalars['Float']['input']>;
bonus?: InputMaybe<Scalars['Float']['input']>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
compensationsEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
compensationsEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
directPaymentAmount: Scalars['Float']['input'];
employeeId: Scalars['UUID']['input'];
employer: Scalars['UUID']['input'];
gift?: InputMaybe<Scalars['Float']['input']>;
globalAdditionalHours?: InputMaybe<Scalars['Float']['input']>;
healthPaymentAmount?: InputMaybe<Scalars['Float']['input']>;
hourlyRate?: InputMaybe<Scalars['Float']['input']>;
hours?: InputMaybe<Scalars['Float']['input']>;
month: Scalars['String']['input'];
pensionEmployeeAmount?: InputMaybe<Scalars['Float']['input']>;
pensionEmployeePercentage?: InputMaybe<Scalars['Float']['input']>;
pensionEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
pensionEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
pensionFundId?: InputMaybe<Scalars['UUID']['input']>;
recovery?: InputMaybe<Scalars['Float']['input']>;
sicknessDaysBalance?: InputMaybe<Scalars['Float']['input']>;
socialSecurityAmountEmployee?: InputMaybe<Scalars['Float']['input']>;
socialSecurityAmountEmployer?: InputMaybe<Scalars['Float']['input']>;
taxAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployeeAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployeePercentage?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployerAmount?: InputMaybe<Scalars['Float']['input']>;
trainingFundEmployerPercentage?: InputMaybe<Scalars['Float']['input']>;
trainingFundId?: InputMaybe<Scalars['UUID']['input']>;
vacationDaysBalance?: InputMaybe<Scalars['Float']['input']>;
vacationTakeout?: InputMaybe<Scalars['Float']['input']>;
workDays?: InputMaybe<Scalars['Float']['input']>;
zkufot?: InputMaybe<Scalars['Int']['input']>;
};
/** defines sickness days for salary record */
export type SicknessDays = {
__typename?: 'SicknessDays';
balance?: Maybe<Scalars['Float']['output']>;
};
/** Sort Code */
export type SortCode = {
__typename?: 'SortCode';
id: Scalars['Int']['output'];
name?: Maybe<Scalars['String']['output']>;
};
/** defines a tag / category for charge arrangement */
export type Tag = {
__typename?: 'Tag';
name: Scalars['String']['output'];
};
/** input variables for Tag */
export type TagInput = {
name: Scalars['String']['input'];
};
/** Tax category entity used for ledger records */
export type TaxCategory = FinancialEntity & {
__typename?: 'TaxCategory';
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
sortCode?: Maybe<SortCode>;
};
/** represent training fund */
export type TrainingFund = Fund & {
__typename?: 'TrainingFund';
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** Represent a general transaction object */
export type Transaction = {
/** link to the account */
account: FinancialAccount;
/** the amount of the transaction */
amount: FinancialAmount;
/** effective bank / card balance, after the transaction */
balance: FinancialAmount;
/** calculated counterparty details for the charge */
counterparty?: Maybe<FinancialEntity>;
/** when the initial transaction was created from the first event we found */
createdAt: Scalars['Date']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
/** either credit or debit */
direction: TransactionDirection;
/** debitDate */
effectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
/** eventDate */
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
/** is this transaction a fee? */
isFee?: Maybe<Scalars['Boolean']['output']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<TransactionSuggestions>;
/** Source DB ID */
referenceId: Scalars['String']['output'];
/** external key / identifier in the bank or card (אסמכתא) */
referenceKey?: Maybe<Scalars['String']['output']>;
/** description of the transaction, as defined by the bank/card */
sourceDescription: Scalars['String']['output'];
/** when the transaction was last updated */
updatedAt: Scalars['Date']['output'];
};
/** The direction of the transaction */
export enum TransactionDirection {
Credit = 'CREDIT',
Debit = 'DEBIT'
}
/** represent transaction suggestions for missing info */
export type TransactionSuggestions = {
__typename?: 'TransactionSuggestions';
business: FinancialEntity;
};
/** document that haven't yet been processed */
export type Unprocessed = Document & Linkable & {
__typename?: 'Unprocessed';
charge?: Maybe<Charge>;
creditor?: Maybe<FinancialEntity>;
debtor?: Maybe<FinancialEntity>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
};
/** input for updateBusiness */
export type UpdateBusinessInput = {
address?: InputMaybe<Scalars['String']['input']>;
email?: InputMaybe<Scalars['String']['input']>;
governmentId?: InputMaybe<Scalars['String']['input']>;
hebrewName?: InputMaybe<Scalars['String']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
phoneNumber?: InputMaybe<Scalars['String']['input']>;
sortCode?: InputMaybe<Scalars['Int']['input']>;
taxCategory?: InputMaybe<Scalars['UUID']['input']>;
website?: InputMaybe<Scalars['String']['input']>;
};
/** result type for updateBusiness */
export type UpdateBusinessResponse = CommonError | LtdFinancialEntity;
/** input variables for updateCharge */
export type UpdateChargeInput = {
accountantApproval?: InputMaybe<Scalars['Boolean']['input']>;
businessTripID?: InputMaybe<Scalars['UUID']['input']>;
counterpartyId?: InputMaybe<Scalars['UUID']['input']>;
defaultTaxCategoryID?: InputMaybe<Scalars['UUID']['input']>;
isConversion?: InputMaybe<Scalars['Boolean']['input']>;
isProperty?: InputMaybe<Scalars['Boolean']['input']>;
ownerId?: InputMaybe<Scalars['UUID']['input']>;
tags?: InputMaybe<Array<TagInput>>;
/** user custom description */
userDescription?: InputMaybe<Scalars['String']['input']>;
yearOfRelevance?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** result type for updateCharge */
export type UpdateChargeResult = CommonError | UpdateChargeSuccessfulResult;
/** successful result type for updateCharge */
export type UpdateChargeSuccessfulResult = {
__typename?: 'UpdateChargeSuccessfulResult';
charge: Charge;
};
/** input variables for updateDocument */
export type UpdateDocumentFieldsInput = {
amount?: InputMaybe<FinancialAmountInput>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
creditorId?: InputMaybe<Scalars['UUID']['input']>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
debtorId?: InputMaybe<Scalars['UUID']['input']>;
documentType?: InputMaybe<DocumentType>;
file?: InputMaybe<Scalars['URL']['input']>;
image?: InputMaybe<Scalars['URL']['input']>;
serialNumber?: InputMaybe<Scalars['String']['input']>;
vat?: InputMaybe<FinancialAmountInput>;
};
/** result type for updateCharge */
export type UpdateDocumentResult = CommonError | UpdateDocumentSuccessfulResult;
/** result type for updateDocument */
export type UpdateDocumentSuccessfulResult = {
__typename?: 'UpdateDocumentSuccessfulResult';
document?: Maybe<Document>;
};
/** result type for updateCharge */
export type UpdateSalaryRecordResult = CommonError | UpdateSalaryRecordSuccessfulResult;
/** result type for updateSalaryRecord */
export type UpdateSalaryRecordSuccessfulResult = {
__typename?: 'UpdateSalaryRecordSuccessfulResult';
salaryRecord: Salary;
};
/** input for updateTaxCategory */
export type UpdateTaxCategoryInput = {
hashavshevetName?: InputMaybe<Scalars['String']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
sortCode?: InputMaybe<Scalars['Int']['input']>;
};
/** result type for updateBusiness */
export type UpdateTaxCategoryResponse = CommonError | TaxCategory;
/** input variables for updateTransaction */
export type UpdateTransactionInput = {
chargeId?: InputMaybe<Scalars['UUID']['input']>;
counterpartyId?: InputMaybe<Scalars['UUID']['input']>;
isFee?: InputMaybe<Scalars['Boolean']['input']>;
};
/** result type for updateTransaction */
export type UpdateTransactionResult = CommonError | CommonTransaction | ConversionTransaction;
/** result type for uploadDocument */
export type UploadDocumentResult = CommonError | UploadDocumentSuccessfulResult;
/** result type for uploadDocument */
export type UploadDocumentSuccessfulResult = {
__typename?: 'UploadDocumentSuccessfulResult';
document?: Maybe<Document>;
};
/** defines vacation days for salary record */
export type VacationDays = {
__typename?: 'VacationDays';
added?: Maybe<Scalars['Float']['output']>;
balance?: Maybe<Scalars['Float']['output']>;
taken?: Maybe<Scalars['Float']['output']>;
};
/** represent a validation data for missing info */
export type ValidationData = {
__typename?: 'ValidationData';
balance?: Maybe<FinancialAmount>;
isValid: Scalars['Boolean']['output'];
missingInfo: Array<MissingChargeInfo>;
};
/** input variables for vatReportRecords */
export type VatReportFilter = {
chargesType?: InputMaybe<ChargeFilterType>;
financialEntityId: Scalars['UUID']['input'];
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
};
/** Vat report record */
export type VatReportRecord = {
__typename?: 'VatReportRecord';
amount: FinancialAmount;
business?: Maybe<FinancialEntity>;
chargeAccountantReviewed?: Maybe<Scalars['Boolean']['output']>;
chargeDate?: Maybe<Scalars['TimelessDate']['output']>;
chargeId: Scalars['UUID']['output'];
documentDate?: Maybe<Scalars['TimelessDate']['output']>;
documentId?: Maybe<Scalars['UUID']['output']>;
documentSerial?: Maybe<Scalars['String']['output']>;
image?: Maybe<Scalars['String']['output']>;
localAmount?: Maybe<FinancialAmount>;
localVatAfterDeduction?: Maybe<FinancialAmount>;
/** Int value */
roundedLocalVatAfterDeduction?: Maybe<FinancialIntAmount>;
taxReducedLocalAmount?: Maybe<FinancialIntAmount>;
vat?: Maybe<FinancialAmount>;
vatAfterDeduction?: Maybe<FinancialAmount>;
vatNumber?: Maybe<Scalars['String']['output']>;
};
/** vat report result */
export type VatReportResult = {
__typename?: 'VatReportResult';
businessTrips: Array<Charge>;
differentMonthDoc: Array<Charge>;
expenses: Array<VatReportRecord>;
income: Array<VatReportRecord>;
missingInfo: Array<Charge>;
};
/** העברה */
export type WireTransaction = Transaction & {
__typename?: 'WireTransaction';
account: FinancialAccount;
amount: FinancialAmount;
balance: FinancialAmount;
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['Date']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate: Scalars['TimelessDate']['output'];
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isFee?: Maybe<Scalars['Boolean']['output']>;
missingInfoSuggestions?: Maybe<TransactionSuggestions>;
referenceId: Scalars['String']['output'];
referenceKey?: Maybe<Scalars['String']['output']>;
sourceDescription: Scalars['String']['output'];
updatedAt: Scalars['Date']['output'];
};
type AllChargesRowFields_BusinessTripCharge_Fragment = (
{ __typename?: 'BusinessTripCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_BusinessTripCharge_Fragment': AllChargesAccountantApprovalFields_BusinessTripCharge_Fragment;'AllChargesAmountFields_BusinessTripCharge_Fragment': AllChargesAmountFields_BusinessTripCharge_Fragment;'AllChargesBusinessTripFields_BusinessTripCharge_Fragment': AllChargesBusinessTripFields_BusinessTripCharge_Fragment;'AllChargesDateFields_BusinessTripCharge_Fragment': AllChargesDateFields_BusinessTripCharge_Fragment;'AllChargesDescriptionFields_BusinessTripCharge_Fragment': AllChargesDescriptionFields_BusinessTripCharge_Fragment;'AllChargesEntityFields_BusinessTripCharge_Fragment': AllChargesEntityFields_BusinessTripCharge_Fragment;'AllChargesMoreInfoFields_BusinessTripCharge_Fragment': AllChargesMoreInfoFields_BusinessTripCharge_Fragment;'AllChargesTagsFields_BusinessTripCharge_Fragment': AllChargesTagsFields_BusinessTripCharge_Fragment;'AllChargesTaxCategoryFields_BusinessTripCharge_Fragment': AllChargesTaxCategoryFields_BusinessTripCharge_Fragment;'AllChargesTypeFields_BusinessTripCharge_Fragment': AllChargesTypeFields_BusinessTripCharge_Fragment;'AllChargesVatFields_BusinessTripCharge_Fragment': AllChargesVatFields_BusinessTripCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_BusinessTripCharge_Fragment' };
type AllChargesRowFields_CommonCharge_Fragment = (
{ __typename?: 'CommonCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_CommonCharge_Fragment': AllChargesAccountantApprovalFields_CommonCharge_Fragment;'AllChargesAmountFields_CommonCharge_Fragment': AllChargesAmountFields_CommonCharge_Fragment;'AllChargesBusinessTripFields_CommonCharge_Fragment': AllChargesBusinessTripFields_CommonCharge_Fragment;'AllChargesDateFields_CommonCharge_Fragment': AllChargesDateFields_CommonCharge_Fragment;'AllChargesDescriptionFields_CommonCharge_Fragment': AllChargesDescriptionFields_CommonCharge_Fragment;'AllChargesEntityFields_CommonCharge_Fragment': AllChargesEntityFields_CommonCharge_Fragment;'AllChargesMoreInfoFields_CommonCharge_Fragment': AllChargesMoreInfoFields_CommonCharge_Fragment;'AllChargesTagsFields_CommonCharge_Fragment': AllChargesTagsFields_CommonCharge_Fragment;'AllChargesTaxCategoryFields_CommonCharge_Fragment': AllChargesTaxCategoryFields_CommonCharge_Fragment;'AllChargesTypeFields_CommonCharge_Fragment': AllChargesTypeFields_CommonCharge_Fragment;'AllChargesVatFields_CommonCharge_Fragment': AllChargesVatFields_CommonCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_CommonCharge_Fragment' };
type AllChargesRowFields_ConversionCharge_Fragment = (
{ __typename?: 'ConversionCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_ConversionCharge_Fragment': AllChargesAccountantApprovalFields_ConversionCharge_Fragment;'AllChargesAmountFields_ConversionCharge_Fragment': AllChargesAmountFields_ConversionCharge_Fragment;'AllChargesBusinessTripFields_ConversionCharge_Fragment': AllChargesBusinessTripFields_ConversionCharge_Fragment;'AllChargesDateFields_ConversionCharge_Fragment': AllChargesDateFields_ConversionCharge_Fragment;'AllChargesDescriptionFields_ConversionCharge_Fragment': AllChargesDescriptionFields_ConversionCharge_Fragment;'AllChargesEntityFields_ConversionCharge_Fragment': AllChargesEntityFields_ConversionCharge_Fragment;'AllChargesMoreInfoFields_ConversionCharge_Fragment': AllChargesMoreInfoFields_ConversionCharge_Fragment;'AllChargesTagsFields_ConversionCharge_Fragment': AllChargesTagsFields_ConversionCharge_Fragment;'AllChargesTaxCategoryFields_ConversionCharge_Fragment': AllChargesTaxCategoryFields_ConversionCharge_Fragment;'AllChargesTypeFields_ConversionCharge_Fragment': AllChargesTypeFields_ConversionCharge_Fragment;'AllChargesVatFields_ConversionCharge_Fragment': AllChargesVatFields_ConversionCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_ConversionCharge_Fragment' };
type AllChargesRowFields_DividendCharge_Fragment = (
{ __typename?: 'DividendCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_DividendCharge_Fragment': AllChargesAccountantApprovalFields_DividendCharge_Fragment;'AllChargesAmountFields_DividendCharge_Fragment': AllChargesAmountFields_DividendCharge_Fragment;'AllChargesBusinessTripFields_DividendCharge_Fragment': AllChargesBusinessTripFields_DividendCharge_Fragment;'AllChargesDateFields_DividendCharge_Fragment': AllChargesDateFields_DividendCharge_Fragment;'AllChargesDescriptionFields_DividendCharge_Fragment': AllChargesDescriptionFields_DividendCharge_Fragment;'AllChargesEntityFields_DividendCharge_Fragment': AllChargesEntityFields_DividendCharge_Fragment;'AllChargesMoreInfoFields_DividendCharge_Fragment': AllChargesMoreInfoFields_DividendCharge_Fragment;'AllChargesTagsFields_DividendCharge_Fragment': AllChargesTagsFields_DividendCharge_Fragment;'AllChargesTaxCategoryFields_DividendCharge_Fragment': AllChargesTaxCategoryFields_DividendCharge_Fragment;'AllChargesTypeFields_DividendCharge_Fragment': AllChargesTypeFields_DividendCharge_Fragment;'AllChargesVatFields_DividendCharge_Fragment': AllChargesVatFields_DividendCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_DividendCharge_Fragment' };
type AllChargesRowFields_InternalTransferCharge_Fragment = (
{ __typename?: 'InternalTransferCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_InternalTransferCharge_Fragment': AllChargesAccountantApprovalFields_InternalTransferCharge_Fragment;'AllChargesAmountFields_InternalTransferCharge_Fragment': AllChargesAmountFields_InternalTransferCharge_Fragment;'AllChargesBusinessTripFields_InternalTransferCharge_Fragment': AllChargesBusinessTripFields_InternalTransferCharge_Fragment;'AllChargesDateFields_InternalTransferCharge_Fragment': AllChargesDateFields_InternalTransferCharge_Fragment;'AllChargesDescriptionFields_InternalTransferCharge_Fragment': AllChargesDescriptionFields_InternalTransferCharge_Fragment;'AllChargesEntityFields_InternalTransferCharge_Fragment': AllChargesEntityFields_InternalTransferCharge_Fragment;'AllChargesMoreInfoFields_InternalTransferCharge_Fragment': AllChargesMoreInfoFields_InternalTransferCharge_Fragment;'AllChargesTagsFields_InternalTransferCharge_Fragment': AllChargesTagsFields_InternalTransferCharge_Fragment;'AllChargesTaxCategoryFields_InternalTransferCharge_Fragment': AllChargesTaxCategoryFields_InternalTransferCharge_Fragment;'AllChargesTypeFields_InternalTransferCharge_Fragment': AllChargesTypeFields_InternalTransferCharge_Fragment;'AllChargesVatFields_InternalTransferCharge_Fragment': AllChargesVatFields_InternalTransferCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_InternalTransferCharge_Fragment' };
type AllChargesRowFields_MonthlyVatCharge_Fragment = (
{ __typename?: 'MonthlyVatCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_MonthlyVatCharge_Fragment': AllChargesAccountantApprovalFields_MonthlyVatCharge_Fragment;'AllChargesAmountFields_MonthlyVatCharge_Fragment': AllChargesAmountFields_MonthlyVatCharge_Fragment;'AllChargesBusinessTripFields_MonthlyVatCharge_Fragment': AllChargesBusinessTripFields_MonthlyVatCharge_Fragment;'AllChargesDateFields_MonthlyVatCharge_Fragment': AllChargesDateFields_MonthlyVatCharge_Fragment;'AllChargesDescriptionFields_MonthlyVatCharge_Fragment': AllChargesDescriptionFields_MonthlyVatCharge_Fragment;'AllChargesEntityFields_MonthlyVatCharge_Fragment': AllChargesEntityFields_MonthlyVatCharge_Fragment;'AllChargesMoreInfoFields_MonthlyVatCharge_Fragment': AllChargesMoreInfoFields_MonthlyVatCharge_Fragment;'AllChargesTagsFields_MonthlyVatCharge_Fragment': AllChargesTagsFields_MonthlyVatCharge_Fragment;'AllChargesTaxCategoryFields_MonthlyVatCharge_Fragment': AllChargesTaxCategoryFields_MonthlyVatCharge_Fragment;'AllChargesTypeFields_MonthlyVatCharge_Fragment': AllChargesTypeFields_MonthlyVatCharge_Fragment;'AllChargesVatFields_MonthlyVatCharge_Fragment': AllChargesVatFields_MonthlyVatCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_MonthlyVatCharge_Fragment' };
type AllChargesRowFields_SalaryCharge_Fragment = (
{ __typename?: 'SalaryCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null }
& { ' $fragmentRefs'?: { 'AllChargesAccountantApprovalFields_SalaryCharge_Fragment': AllChargesAccountantApprovalFields_SalaryCharge_Fragment;'AllChargesAmountFields_SalaryCharge_Fragment': AllChargesAmountFields_SalaryCharge_Fragment;'AllChargesBusinessTripFields_SalaryCharge_Fragment': AllChargesBusinessTripFields_SalaryCharge_Fragment;'AllChargesDateFields_SalaryCharge_Fragment': AllChargesDateFields_SalaryCharge_Fragment;'AllChargesDescriptionFields_SalaryCharge_Fragment': AllChargesDescriptionFields_SalaryCharge_Fragment;'AllChargesEntityFields_SalaryCharge_Fragment': AllChargesEntityFields_SalaryCharge_Fragment;'AllChargesMoreInfoFields_SalaryCharge_Fragment': AllChargesMoreInfoFields_SalaryCharge_Fragment;'AllChargesTagsFields_SalaryCharge_Fragment': AllChargesTagsFields_SalaryCharge_Fragment;'AllChargesTaxCategoryFields_SalaryCharge_Fragment': AllChargesTaxCategoryFields_SalaryCharge_Fragment;'AllChargesTypeFields_SalaryCharge_Fragment': AllChargesTypeFields_SalaryCharge_Fragment;'AllChargesVatFields_SalaryCharge_Fragment': AllChargesVatFields_SalaryCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesRowFields_SalaryCharge_Fragment' };
export type AllChargesRowFieldsFragment = AllChargesRowFields_BusinessTripCharge_Fragment | AllChargesRowFields_CommonCharge_Fragment | AllChargesRowFields_ConversionCharge_Fragment | AllChargesRowFields_DividendCharge_Fragment | AllChargesRowFields_InternalTransferCharge_Fragment | AllChargesRowFields_MonthlyVatCharge_Fragment | AllChargesRowFields_SalaryCharge_Fragment;
export type ChargeForRowQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type ChargeForRowQuery = { __typename?: 'Query', chargesByIDs: Array<(
{ __typename?: 'BusinessTripCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_BusinessTripCharge_Fragment': AllChargesRowFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_CommonCharge_Fragment': AllChargesRowFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_ConversionCharge_Fragment': AllChargesRowFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_DividendCharge_Fragment': AllChargesRowFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_InternalTransferCharge_Fragment': AllChargesRowFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_MonthlyVatCharge_Fragment': AllChargesRowFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_SalaryCharge_Fragment': AllChargesRowFields_SalaryCharge_Fragment } }
)> };
type AllChargesTableFields_BusinessTripCharge_Fragment = (
{ __typename?: 'BusinessTripCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_BusinessTripCharge_Fragment': AllChargesRowFields_BusinessTripCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_BusinessTripCharge_Fragment' };
type AllChargesTableFields_CommonCharge_Fragment = (
{ __typename?: 'CommonCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_CommonCharge_Fragment': AllChargesRowFields_CommonCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_CommonCharge_Fragment' };
type AllChargesTableFields_ConversionCharge_Fragment = (
{ __typename?: 'ConversionCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_ConversionCharge_Fragment': AllChargesRowFields_ConversionCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_ConversionCharge_Fragment' };
type AllChargesTableFields_DividendCharge_Fragment = (
{ __typename?: 'DividendCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_DividendCharge_Fragment': AllChargesRowFields_DividendCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_DividendCharge_Fragment' };
type AllChargesTableFields_InternalTransferCharge_Fragment = (
{ __typename?: 'InternalTransferCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_InternalTransferCharge_Fragment': AllChargesRowFields_InternalTransferCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_InternalTransferCharge_Fragment' };
type AllChargesTableFields_MonthlyVatCharge_Fragment = (
{ __typename?: 'MonthlyVatCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_MonthlyVatCharge_Fragment': AllChargesRowFields_MonthlyVatCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_MonthlyVatCharge_Fragment' };
type AllChargesTableFields_SalaryCharge_Fragment = (
{ __typename?: 'SalaryCharge', id: any, owner: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } }
& { ' $fragmentRefs'?: { 'AllChargesRowFields_SalaryCharge_Fragment': AllChargesRowFields_SalaryCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesTableFields_SalaryCharge_Fragment' };
export type AllChargesTableFieldsFragment = AllChargesTableFields_BusinessTripCharge_Fragment | AllChargesTableFields_CommonCharge_Fragment | AllChargesTableFields_ConversionCharge_Fragment | AllChargesTableFields_DividendCharge_Fragment | AllChargesTableFields_InternalTransferCharge_Fragment | AllChargesTableFields_MonthlyVatCharge_Fragment | AllChargesTableFields_SalaryCharge_Fragment;
type AllChargesAccountantApprovalFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_BusinessTripCharge_Fragment' };
type AllChargesAccountantApprovalFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_CommonCharge_Fragment' };
type AllChargesAccountantApprovalFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_ConversionCharge_Fragment' };
type AllChargesAccountantApprovalFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_DividendCharge_Fragment' };
type AllChargesAccountantApprovalFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_InternalTransferCharge_Fragment' };
type AllChargesAccountantApprovalFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_MonthlyVatCharge_Fragment' };
type AllChargesAccountantApprovalFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, accountantApproval: boolean } & { ' $fragmentName'?: 'AllChargesAccountantApprovalFields_SalaryCharge_Fragment' };
export type AllChargesAccountantApprovalFieldsFragment = AllChargesAccountantApprovalFields_BusinessTripCharge_Fragment | AllChargesAccountantApprovalFields_CommonCharge_Fragment | AllChargesAccountantApprovalFields_ConversionCharge_Fragment | AllChargesAccountantApprovalFields_DividendCharge_Fragment | AllChargesAccountantApprovalFields_InternalTransferCharge_Fragment | AllChargesAccountantApprovalFields_MonthlyVatCharge_Fragment | AllChargesAccountantApprovalFields_SalaryCharge_Fragment;
type AllChargesAmountFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_BusinessTripCharge_Fragment' };
type AllChargesAmountFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_CommonCharge_Fragment' };
type AllChargesAmountFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_ConversionCharge_Fragment' };
type AllChargesAmountFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_DividendCharge_Fragment' };
type AllChargesAmountFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_InternalTransferCharge_Fragment' };
type AllChargesAmountFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_MonthlyVatCharge_Fragment' };
type AllChargesAmountFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'AllChargesAmountFields_SalaryCharge_Fragment' };
export type AllChargesAmountFieldsFragment = AllChargesAmountFields_BusinessTripCharge_Fragment | AllChargesAmountFields_CommonCharge_Fragment | AllChargesAmountFields_ConversionCharge_Fragment | AllChargesAmountFields_DividendCharge_Fragment | AllChargesAmountFields_InternalTransferCharge_Fragment | AllChargesAmountFields_MonthlyVatCharge_Fragment | AllChargesAmountFields_SalaryCharge_Fragment;
type AllChargesBusinessTripFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_BusinessTripCharge_Fragment' };
type AllChargesBusinessTripFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_CommonCharge_Fragment' };
type AllChargesBusinessTripFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_ConversionCharge_Fragment' };
type AllChargesBusinessTripFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_DividendCharge_Fragment' };
type AllChargesBusinessTripFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_InternalTransferCharge_Fragment' };
type AllChargesBusinessTripFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_MonthlyVatCharge_Fragment' };
type AllChargesBusinessTripFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, businessTrip?: { __typename?: 'BusinessTrip', name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null } | null } & { ' $fragmentName'?: 'AllChargesBusinessTripFields_SalaryCharge_Fragment' };
export type AllChargesBusinessTripFieldsFragment = AllChargesBusinessTripFields_BusinessTripCharge_Fragment | AllChargesBusinessTripFields_CommonCharge_Fragment | AllChargesBusinessTripFields_ConversionCharge_Fragment | AllChargesBusinessTripFields_DividendCharge_Fragment | AllChargesBusinessTripFields_InternalTransferCharge_Fragment | AllChargesBusinessTripFields_MonthlyVatCharge_Fragment | AllChargesBusinessTripFields_SalaryCharge_Fragment;
type AllChargesEntityFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_BusinessTripCharge_Fragment' };
type AllChargesEntityFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_CommonCharge_Fragment' };
type AllChargesEntityFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_ConversionCharge_Fragment' };
type AllChargesEntityFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_DividendCharge_Fragment' };
type AllChargesEntityFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_InternalTransferCharge_Fragment' };
type AllChargesEntityFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_MonthlyVatCharge_Fragment' };
type AllChargesEntityFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesEntityFields_SalaryCharge_Fragment' };
export type AllChargesEntityFieldsFragment = AllChargesEntityFields_BusinessTripCharge_Fragment | AllChargesEntityFields_CommonCharge_Fragment | AllChargesEntityFields_ConversionCharge_Fragment | AllChargesEntityFields_DividendCharge_Fragment | AllChargesEntityFields_InternalTransferCharge_Fragment | AllChargesEntityFields_MonthlyVatCharge_Fragment | AllChargesEntityFields_SalaryCharge_Fragment;
type AllChargesDateFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_BusinessTripCharge_Fragment' };
type AllChargesDateFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_CommonCharge_Fragment' };
type AllChargesDateFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_ConversionCharge_Fragment' };
type AllChargesDateFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_DividendCharge_Fragment' };
type AllChargesDateFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_InternalTransferCharge_Fragment' };
type AllChargesDateFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_MonthlyVatCharge_Fragment' };
type AllChargesDateFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, minEventDate?: any | null, minDebitDate?: any | null, minDocumentsDate?: any | null } & { ' $fragmentName'?: 'AllChargesDateFields_SalaryCharge_Fragment' };
export type AllChargesDateFieldsFragment = AllChargesDateFields_BusinessTripCharge_Fragment | AllChargesDateFields_CommonCharge_Fragment | AllChargesDateFields_ConversionCharge_Fragment | AllChargesDateFields_DividendCharge_Fragment | AllChargesDateFields_InternalTransferCharge_Fragment | AllChargesDateFields_MonthlyVatCharge_Fragment | AllChargesDateFields_SalaryCharge_Fragment;
type AllChargesDescriptionFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_BusinessTripCharge_Fragment' };
type AllChargesDescriptionFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_CommonCharge_Fragment' };
type AllChargesDescriptionFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_ConversionCharge_Fragment' };
type AllChargesDescriptionFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_DividendCharge_Fragment' };
type AllChargesDescriptionFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_InternalTransferCharge_Fragment' };
type AllChargesDescriptionFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_MonthlyVatCharge_Fragment' };
type AllChargesDescriptionFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'AllChargesDescriptionFields_SalaryCharge_Fragment' };
export type AllChargesDescriptionFieldsFragment = AllChargesDescriptionFields_BusinessTripCharge_Fragment | AllChargesDescriptionFields_CommonCharge_Fragment | AllChargesDescriptionFields_ConversionCharge_Fragment | AllChargesDescriptionFields_DividendCharge_Fragment | AllChargesDescriptionFields_InternalTransferCharge_Fragment | AllChargesDescriptionFields_MonthlyVatCharge_Fragment | AllChargesDescriptionFields_SalaryCharge_Fragment;
type AllChargesMoreInfoFields_BusinessTripCharge_Fragment = (
{ __typename?: 'BusinessTripCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_BusinessTripCharge_Fragment': AllChargesMoreLedgerInfoFields_BusinessTripCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_BusinessTripCharge_Fragment' };
type AllChargesMoreInfoFields_CommonCharge_Fragment = (
{ __typename?: 'CommonCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_CommonCharge_Fragment': AllChargesMoreLedgerInfoFields_CommonCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_CommonCharge_Fragment' };
type AllChargesMoreInfoFields_ConversionCharge_Fragment = (
{ __typename?: 'ConversionCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_ConversionCharge_Fragment': AllChargesMoreLedgerInfoFields_ConversionCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_ConversionCharge_Fragment' };
type AllChargesMoreInfoFields_DividendCharge_Fragment = (
{ __typename?: 'DividendCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_DividendCharge_Fragment': AllChargesMoreLedgerInfoFields_DividendCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_DividendCharge_Fragment' };
type AllChargesMoreInfoFields_InternalTransferCharge_Fragment = (
{ __typename?: 'InternalTransferCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_InternalTransferCharge_Fragment': AllChargesMoreLedgerInfoFields_InternalTransferCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_InternalTransferCharge_Fragment' };
type AllChargesMoreInfoFields_MonthlyVatCharge_Fragment = (
{ __typename?: 'MonthlyVatCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_MonthlyVatCharge_Fragment': AllChargesMoreLedgerInfoFields_MonthlyVatCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_MonthlyVatCharge_Fragment' };
type AllChargesMoreInfoFields_SalaryCharge_Fragment = (
{ __typename?: 'SalaryCharge', id: any, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, isSalary: boolean } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null }
& { ' $fragmentRefs'?: { 'AllChargesMoreLedgerInfoFields_SalaryCharge_Fragment': AllChargesMoreLedgerInfoFields_SalaryCharge_Fragment } }
) & { ' $fragmentName'?: 'AllChargesMoreInfoFields_SalaryCharge_Fragment' };
export type AllChargesMoreInfoFieldsFragment = AllChargesMoreInfoFields_BusinessTripCharge_Fragment | AllChargesMoreInfoFields_CommonCharge_Fragment | AllChargesMoreInfoFields_ConversionCharge_Fragment | AllChargesMoreInfoFields_DividendCharge_Fragment | AllChargesMoreInfoFields_InternalTransferCharge_Fragment | AllChargesMoreInfoFields_MonthlyVatCharge_Fragment | AllChargesMoreInfoFields_SalaryCharge_Fragment;
type AllChargesMoreLedgerInfoFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_BusinessTripCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_CommonCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_ConversionCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_DividendCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_InternalTransferCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_MonthlyVatCharge_Fragment' };
type AllChargesMoreLedgerInfoFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, ledger: { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', isValid: boolean } | { __typename?: 'LedgerValidation', isValid?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<{ __typename?: 'LedgerRecord', id: any }> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'AllChargesMoreLedgerInfoFields_SalaryCharge_Fragment' };
export type AllChargesMoreLedgerInfoFieldsFragment = AllChargesMoreLedgerInfoFields_BusinessTripCharge_Fragment | AllChargesMoreLedgerInfoFields_CommonCharge_Fragment | AllChargesMoreLedgerInfoFields_ConversionCharge_Fragment | AllChargesMoreLedgerInfoFields_DividendCharge_Fragment | AllChargesMoreLedgerInfoFields_InternalTransferCharge_Fragment | AllChargesMoreLedgerInfoFields_MonthlyVatCharge_Fragment | AllChargesMoreLedgerInfoFields_SalaryCharge_Fragment;
type AllChargesTagsFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_BusinessTripCharge_Fragment' };
type AllChargesTagsFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_CommonCharge_Fragment' };
type AllChargesTagsFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_ConversionCharge_Fragment' };
type AllChargesTagsFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_DividendCharge_Fragment' };
type AllChargesTagsFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_InternalTransferCharge_Fragment' };
type AllChargesTagsFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_MonthlyVatCharge_Fragment' };
type AllChargesTagsFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: any, tags: Array<{ __typename?: 'Tag', name: string }>, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', name: string }> } | null } & { ' $fragmentName'?: 'AllChargesTagsFields_SalaryCharge_Fragment' };
export type AllChargesTagsFieldsFragment = AllChargesTagsFields_BusinessTripCharge_Fragment | AllChargesTagsFields_CommonCharge_Fragment | AllChargesTagsFields_ConversionCharge_Fragment | AllChargesTagsFields_DividendCharge_Fragment | AllChargesTagsFields_InternalTransferCharge_Fragment | AllChargesTagsFields_MonthlyVatCharge_Fragment | AllChargesTagsFields_SalaryCharge_Fragment;
type AllChargesTaxCategoryFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_BusinessTripCharge_Fragment' };
type AllChargesTaxCategoryFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_CommonCharge_Fragment' };
type AllChargesTaxCategoryFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_ConversionCharge_Fragment' };
type AllChargesTaxCategoryFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_DividendCharge_Fragment' };
type AllChargesTaxCategoryFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_InternalTransferCharge_Fragment' };
type AllChargesTaxCategoryFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_MonthlyVatCharge_Fragment' };
type AllChargesTaxCategoryFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: any, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesTaxCategoryFields_SalaryCharge_Fragment' };
export type AllChargesTaxCategoryFieldsFragment = AllChargesTaxCategoryFields_BusinessTripCharge_Fragment | AllChargesTaxCategoryFields_CommonCharge_Fragment | AllChargesTaxCategoryFields_ConversionCharge_Fragment | AllChargesTaxCategoryFields_DividendCharge_Fragment | AllChargesTaxCategoryFields_InternalTransferCharge_Fragment | AllChargesTaxCategoryFields_MonthlyVatCharge_Fragment | AllChargesTaxCategoryFields_SalaryCharge_Fragment;
type AllChargesTypeFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_BusinessTripCharge_Fragment' };
type AllChargesTypeFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_CommonCharge_Fragment' };
type AllChargesTypeFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_ConversionCharge_Fragment' };
type AllChargesTypeFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_DividendCharge_Fragment' };
type AllChargesTypeFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_InternalTransferCharge_Fragment' };
type AllChargesTypeFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_MonthlyVatCharge_Fragment' };
type AllChargesTypeFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: any } & { ' $fragmentName'?: 'AllChargesTypeFields_SalaryCharge_Fragment' };
export type AllChargesTypeFieldsFragment = AllChargesTypeFields_BusinessTripCharge_Fragment | AllChargesTypeFields_CommonCharge_Fragment | AllChargesTypeFields_ConversionCharge_Fragment | AllChargesTypeFields_DividendCharge_Fragment | AllChargesTypeFields_InternalTransferCharge_Fragment | AllChargesTypeFields_MonthlyVatCharge_Fragment | AllChargesTypeFields_SalaryCharge_Fragment;
type AllChargesVatFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_BusinessTripCharge_Fragment' };
type AllChargesVatFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_CommonCharge_Fragment' };
type AllChargesVatFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_ConversionCharge_Fragment' };
type AllChargesVatFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_DividendCharge_Fragment' };
type AllChargesVatFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_InternalTransferCharge_Fragment' };
type AllChargesVatFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_MonthlyVatCharge_Fragment' };
type AllChargesVatFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null } & { ' $fragmentName'?: 'AllChargesVatFields_SalaryCharge_Fragment' };
export type AllChargesVatFieldsFragment = AllChargesVatFields_BusinessTripCharge_Fragment | AllChargesVatFields_CommonCharge_Fragment | AllChargesVatFields_ConversionCharge_Fragment | AllChargesVatFields_DividendCharge_Fragment | AllChargesVatFields_InternalTransferCharge_Fragment | AllChargesVatFields_MonthlyVatCharge_Fragment | AllChargesVatFields_SalaryCharge_Fragment;
export type FetchChargeQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type FetchChargeQuery = { __typename?: 'Query', chargesByIDs: Array<(
{ __typename: 'BusinessTripCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_BusinessTripCharge_Fragment': DocumentsGalleryFields_BusinessTripCharge_Fragment;'TableDocumentsFields_BusinessTripCharge_Fragment': TableDocumentsFields_BusinessTripCharge_Fragment;'TableLedgerRecordsFields_BusinessTripCharge_Fragment': TableLedgerRecordsFields_BusinessTripCharge_Fragment;'TableTransactionsFields_BusinessTripCharge_Fragment': TableTransactionsFields_BusinessTripCharge_Fragment } }
) | (
{ __typename: 'CommonCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_CommonCharge_Fragment': DocumentsGalleryFields_CommonCharge_Fragment;'TableDocumentsFields_CommonCharge_Fragment': TableDocumentsFields_CommonCharge_Fragment;'TableLedgerRecordsFields_CommonCharge_Fragment': TableLedgerRecordsFields_CommonCharge_Fragment;'TableTransactionsFields_CommonCharge_Fragment': TableTransactionsFields_CommonCharge_Fragment } }
) | (
{ __typename: 'ConversionCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'ConversionChargeInfoFragment': ConversionChargeInfoFragment;'DocumentsGalleryFields_ConversionCharge_Fragment': DocumentsGalleryFields_ConversionCharge_Fragment;'TableDocumentsFields_ConversionCharge_Fragment': TableDocumentsFields_ConversionCharge_Fragment;'TableLedgerRecordsFields_ConversionCharge_Fragment': TableLedgerRecordsFields_ConversionCharge_Fragment;'TableTransactionsFields_ConversionCharge_Fragment': TableTransactionsFields_ConversionCharge_Fragment } }
) | (
{ __typename: 'DividendCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_DividendCharge_Fragment': DocumentsGalleryFields_DividendCharge_Fragment;'TableDocumentsFields_DividendCharge_Fragment': TableDocumentsFields_DividendCharge_Fragment;'TableLedgerRecordsFields_DividendCharge_Fragment': TableLedgerRecordsFields_DividendCharge_Fragment;'TableTransactionsFields_DividendCharge_Fragment': TableTransactionsFields_DividendCharge_Fragment } }
) | (
{ __typename: 'InternalTransferCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_InternalTransferCharge_Fragment': DocumentsGalleryFields_InternalTransferCharge_Fragment;'TableDocumentsFields_InternalTransferCharge_Fragment': TableDocumentsFields_InternalTransferCharge_Fragment;'TableLedgerRecordsFields_InternalTransferCharge_Fragment': TableLedgerRecordsFields_InternalTransferCharge_Fragment;'TableTransactionsFields_InternalTransferCharge_Fragment': TableTransactionsFields_InternalTransferCharge_Fragment } }
) | (
{ __typename: 'MonthlyVatCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_MonthlyVatCharge_Fragment': DocumentsGalleryFields_MonthlyVatCharge_Fragment;'TableDocumentsFields_MonthlyVatCharge_Fragment': TableDocumentsFields_MonthlyVatCharge_Fragment;'TableLedgerRecordsFields_MonthlyVatCharge_Fragment': TableLedgerRecordsFields_MonthlyVatCharge_Fragment;'TableTransactionsFields_MonthlyVatCharge_Fragment': TableTransactionsFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename: 'SalaryCharge', id: any, ledger: { __typename?: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }>, balance?: { __typename?: 'LedgerBalanceInfo', isBalanced: boolean } | null }, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number } | null, tags: Array<{ __typename?: 'Tag', name: string }> }
& { ' $fragmentRefs'?: { 'TableSalariesFieldsFragment': TableSalariesFieldsFragment;'DocumentsGalleryFields_SalaryCharge_Fragment': DocumentsGalleryFields_SalaryCharge_Fragment;'TableDocumentsFields_SalaryCharge_Fragment': TableDocumentsFields_SalaryCharge_Fragment;'TableLedgerRecordsFields_SalaryCharge_Fragment': TableLedgerRecordsFields_SalaryCharge_Fragment;'TableTransactionsFields_SalaryCharge_Fragment': TableTransactionsFields_SalaryCharge_Fragment } }
)> };
type DocumentsTableAmountFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_CreditInvoice_Fragment' };
type DocumentsTableAmountFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_Invoice_Fragment' };
type DocumentsTableAmountFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_InvoiceReceipt_Fragment' };
type DocumentsTableAmountFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_Proforma_Fragment' };
type DocumentsTableAmountFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_Receipt_Fragment' };
type DocumentsTableAmountFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any } & { ' $fragmentName'?: 'DocumentsTableAmountFields_Unprocessed_Fragment' };
export type DocumentsTableAmountFieldsFragment = DocumentsTableAmountFields_CreditInvoice_Fragment | DocumentsTableAmountFields_Invoice_Fragment | DocumentsTableAmountFields_InvoiceReceipt_Fragment | DocumentsTableAmountFields_Proforma_Fragment | DocumentsTableAmountFields_Receipt_Fragment | DocumentsTableAmountFields_Unprocessed_Fragment;
type DocumentsTableCreditorFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_CreditInvoice_Fragment' };
type DocumentsTableCreditorFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Invoice_Fragment' };
type DocumentsTableCreditorFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_InvoiceReceipt_Fragment' };
type DocumentsTableCreditorFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Proforma_Fragment' };
type DocumentsTableCreditorFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Receipt_Fragment' };
type DocumentsTableCreditorFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Unprocessed_Fragment' };
export type DocumentsTableCreditorFieldsFragment = DocumentsTableCreditorFields_CreditInvoice_Fragment | DocumentsTableCreditorFields_Invoice_Fragment | DocumentsTableCreditorFields_InvoiceReceipt_Fragment | DocumentsTableCreditorFields_Proforma_Fragment | DocumentsTableCreditorFields_Receipt_Fragment | DocumentsTableCreditorFields_Unprocessed_Fragment;
type DocumentsDateFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', date?: TimelessDateString | null, id: any } & { ' $fragmentName'?: 'DocumentsDateFields_CreditInvoice_Fragment' };
type DocumentsDateFields_Invoice_Fragment = { __typename?: 'Invoice', date?: TimelessDateString | null, id: any } & { ' $fragmentName'?: 'DocumentsDateFields_Invoice_Fragment' };
type DocumentsDateFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', date?: TimelessDateString | null, id: any } & { ' $fragmentName'?: 'DocumentsDateFields_InvoiceReceipt_Fragment' };
type DocumentsDateFields_Proforma_Fragment = { __typename?: 'Proforma', date?: TimelessDateString | null, id: any } & { ' $fragmentName'?: 'DocumentsDateFields_Proforma_Fragment' };
type DocumentsDateFields_Receipt_Fragment = { __typename?: 'Receipt', date?: TimelessDateString | null, id: any } & { ' $fragmentName'?: 'DocumentsDateFields_Receipt_Fragment' };
type DocumentsDateFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any } & { ' $fragmentName'?: 'DocumentsDateFields_Unprocessed_Fragment' };
export type DocumentsDateFieldsFragment = DocumentsDateFields_CreditInvoice_Fragment | DocumentsDateFields_Invoice_Fragment | DocumentsDateFields_InvoiceReceipt_Fragment | DocumentsDateFields_Proforma_Fragment | DocumentsDateFields_Receipt_Fragment | DocumentsDateFields_Unprocessed_Fragment;
type DocumentsTableDebtorFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_CreditInvoice_Fragment' };
type DocumentsTableDebtorFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Invoice_Fragment' };
type DocumentsTableDebtorFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_InvoiceReceipt_Fragment' };
type DocumentsTableDebtorFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Proforma_Fragment' };
type DocumentsTableDebtorFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any } | { __typename?: 'PersonalFinancialEntity', id: any } | { __typename?: 'TaxCategory', id: any } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Receipt_Fragment' };
type DocumentsTableDebtorFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Unprocessed_Fragment' };
export type DocumentsTableDebtorFieldsFragment = DocumentsTableDebtorFields_CreditInvoice_Fragment | DocumentsTableDebtorFields_Invoice_Fragment | DocumentsTableDebtorFields_InvoiceReceipt_Fragment | DocumentsTableDebtorFields_Proforma_Fragment | DocumentsTableDebtorFields_Receipt_Fragment | DocumentsTableDebtorFields_Unprocessed_Fragment;
type DocumentFilesFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_CreditInvoice_Fragment' };
type DocumentFilesFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_Invoice_Fragment' };
type DocumentFilesFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_InvoiceReceipt_Fragment' };
type DocumentFilesFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_Proforma_Fragment' };
type DocumentFilesFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_Receipt_Fragment' };
type DocumentFilesFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any, image?: any | null, file?: any | null } & { ' $fragmentName'?: 'DocumentFilesFields_Unprocessed_Fragment' };
export type DocumentFilesFieldsFragment = DocumentFilesFields_CreditInvoice_Fragment | DocumentFilesFields_Invoice_Fragment | DocumentFilesFields_InvoiceReceipt_Fragment | DocumentFilesFields_Proforma_Fragment | DocumentFilesFields_Receipt_Fragment | DocumentFilesFields_Unprocessed_Fragment;
type DocumentSerialFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', serialNumber?: string | null, id: any } & { ' $fragmentName'?: 'DocumentSerialFields_CreditInvoice_Fragment' };
type DocumentSerialFields_Invoice_Fragment = { __typename?: 'Invoice', serialNumber?: string | null, id: any } & { ' $fragmentName'?: 'DocumentSerialFields_Invoice_Fragment' };
type DocumentSerialFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', serialNumber?: string | null, id: any } & { ' $fragmentName'?: 'DocumentSerialFields_InvoiceReceipt_Fragment' };
type DocumentSerialFields_Proforma_Fragment = { __typename?: 'Proforma', serialNumber?: string | null, id: any } & { ' $fragmentName'?: 'DocumentSerialFields_Proforma_Fragment' };
type DocumentSerialFields_Receipt_Fragment = { __typename?: 'Receipt', serialNumber?: string | null, id: any } & { ' $fragmentName'?: 'DocumentSerialFields_Receipt_Fragment' };
type DocumentSerialFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any } & { ' $fragmentName'?: 'DocumentSerialFields_Unprocessed_Fragment' };
export type DocumentSerialFieldsFragment = DocumentSerialFields_CreditInvoice_Fragment | DocumentSerialFields_Invoice_Fragment | DocumentSerialFields_InvoiceReceipt_Fragment | DocumentSerialFields_Proforma_Fragment | DocumentSerialFields_Receipt_Fragment | DocumentSerialFields_Unprocessed_Fragment;
type DocumentTypeFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_CreditInvoice_Fragment' };
type DocumentTypeFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Invoice_Fragment' };
type DocumentTypeFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_InvoiceReceipt_Fragment' };
type DocumentTypeFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Proforma_Fragment' };
type DocumentTypeFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Receipt_Fragment' };
type DocumentTypeFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Unprocessed_Fragment' };
export type DocumentTypeFieldsFragment = DocumentTypeFields_CreditInvoice_Fragment | DocumentTypeFields_Invoice_Fragment | DocumentTypeFields_InvoiceReceipt_Fragment | DocumentTypeFields_Proforma_Fragment | DocumentTypeFields_Receipt_Fragment | DocumentTypeFields_Unprocessed_Fragment;
type DocumentsTableVatFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_CreditInvoice_Fragment' };
type DocumentsTableVatFields_Invoice_Fragment = { __typename?: 'Invoice', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Invoice_Fragment' };
type DocumentsTableVatFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_InvoiceReceipt_Fragment' };
type DocumentsTableVatFields_Proforma_Fragment = { __typename?: 'Proforma', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Proforma_Fragment' };
type DocumentsTableVatFields_Receipt_Fragment = { __typename?: 'Receipt', id: any, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Receipt_Fragment' };
type DocumentsTableVatFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: any } & { ' $fragmentName'?: 'DocumentsTableVatFields_Unprocessed_Fragment' };
export type DocumentsTableVatFieldsFragment = DocumentsTableVatFields_CreditInvoice_Fragment | DocumentsTableVatFields_Invoice_Fragment | DocumentsTableVatFields_InvoiceReceipt_Fragment | DocumentsTableVatFields_Proforma_Fragment | DocumentsTableVatFields_Receipt_Fragment | DocumentsTableVatFields_Unprocessed_Fragment;
type DocumentsGalleryFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_BusinessTripCharge_Fragment' };
type DocumentsGalleryFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_CommonCharge_Fragment' };
type DocumentsGalleryFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_ConversionCharge_Fragment' };
type DocumentsGalleryFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_DividendCharge_Fragment' };
type DocumentsGalleryFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_InternalTransferCharge_Fragment' };
type DocumentsGalleryFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_MonthlyVatCharge_Fragment' };
type DocumentsGalleryFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: any, image?: any | null } | { __typename?: 'Unprocessed', id: any, image?: any | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_SalaryCharge_Fragment' };
export type DocumentsGalleryFieldsFragment = DocumentsGalleryFields_BusinessTripCharge_Fragment | DocumentsGalleryFields_CommonCharge_Fragment | DocumentsGalleryFields_ConversionCharge_Fragment | DocumentsGalleryFields_DividendCharge_Fragment | DocumentsGalleryFields_InternalTransferCharge_Fragment | DocumentsGalleryFields_MonthlyVatCharge_Fragment | DocumentsGalleryFields_SalaryCharge_Fragment;
type TableDocumentsRowFields_CreditInvoice_Fragment = (
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_CreditInvoice_Fragment': DocumentsTableAmountFields_CreditInvoice_Fragment;'DocumentsDateFields_CreditInvoice_Fragment': DocumentsDateFields_CreditInvoice_Fragment;'DocumentsTableVatFields_CreditInvoice_Fragment': DocumentsTableVatFields_CreditInvoice_Fragment;'DocumentTypeFields_CreditInvoice_Fragment': DocumentTypeFields_CreditInvoice_Fragment;'DocumentSerialFields_CreditInvoice_Fragment': DocumentSerialFields_CreditInvoice_Fragment;'DocumentsTableCreditorFields_CreditInvoice_Fragment': DocumentsTableCreditorFields_CreditInvoice_Fragment;'DocumentsTableDebtorFields_CreditInvoice_Fragment': DocumentsTableDebtorFields_CreditInvoice_Fragment;'DocumentFilesFields_CreditInvoice_Fragment': DocumentFilesFields_CreditInvoice_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_CreditInvoice_Fragment' };
type TableDocumentsRowFields_Invoice_Fragment = (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_Invoice_Fragment': DocumentsTableAmountFields_Invoice_Fragment;'DocumentsDateFields_Invoice_Fragment': DocumentsDateFields_Invoice_Fragment;'DocumentsTableVatFields_Invoice_Fragment': DocumentsTableVatFields_Invoice_Fragment;'DocumentTypeFields_Invoice_Fragment': DocumentTypeFields_Invoice_Fragment;'DocumentSerialFields_Invoice_Fragment': DocumentSerialFields_Invoice_Fragment;'DocumentsTableCreditorFields_Invoice_Fragment': DocumentsTableCreditorFields_Invoice_Fragment;'DocumentsTableDebtorFields_Invoice_Fragment': DocumentsTableDebtorFields_Invoice_Fragment;'DocumentFilesFields_Invoice_Fragment': DocumentFilesFields_Invoice_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_Invoice_Fragment' };
type TableDocumentsRowFields_InvoiceReceipt_Fragment = (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_InvoiceReceipt_Fragment': DocumentsTableAmountFields_InvoiceReceipt_Fragment;'DocumentsDateFields_InvoiceReceipt_Fragment': DocumentsDateFields_InvoiceReceipt_Fragment;'DocumentsTableVatFields_InvoiceReceipt_Fragment': DocumentsTableVatFields_InvoiceReceipt_Fragment;'DocumentTypeFields_InvoiceReceipt_Fragment': DocumentTypeFields_InvoiceReceipt_Fragment;'DocumentSerialFields_InvoiceReceipt_Fragment': DocumentSerialFields_InvoiceReceipt_Fragment;'DocumentsTableCreditorFields_InvoiceReceipt_Fragment': DocumentsTableCreditorFields_InvoiceReceipt_Fragment;'DocumentsTableDebtorFields_InvoiceReceipt_Fragment': DocumentsTableDebtorFields_InvoiceReceipt_Fragment;'DocumentFilesFields_InvoiceReceipt_Fragment': DocumentFilesFields_InvoiceReceipt_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_InvoiceReceipt_Fragment' };
type TableDocumentsRowFields_Proforma_Fragment = (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_Proforma_Fragment': DocumentsTableAmountFields_Proforma_Fragment;'DocumentsDateFields_Proforma_Fragment': DocumentsDateFields_Proforma_Fragment;'DocumentsTableVatFields_Proforma_Fragment': DocumentsTableVatFields_Proforma_Fragment;'DocumentTypeFields_Proforma_Fragment': DocumentTypeFields_Proforma_Fragment;'DocumentSerialFields_Proforma_Fragment': DocumentSerialFields_Proforma_Fragment;'DocumentsTableCreditorFields_Proforma_Fragment': DocumentsTableCreditorFields_Proforma_Fragment;'DocumentsTableDebtorFields_Proforma_Fragment': DocumentsTableDebtorFields_Proforma_Fragment;'DocumentFilesFields_Proforma_Fragment': DocumentFilesFields_Proforma_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_Proforma_Fragment' };
type TableDocumentsRowFields_Receipt_Fragment = (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_Receipt_Fragment': DocumentsTableAmountFields_Receipt_Fragment;'DocumentsDateFields_Receipt_Fragment': DocumentsDateFields_Receipt_Fragment;'DocumentsTableVatFields_Receipt_Fragment': DocumentsTableVatFields_Receipt_Fragment;'DocumentTypeFields_Receipt_Fragment': DocumentTypeFields_Receipt_Fragment;'DocumentSerialFields_Receipt_Fragment': DocumentSerialFields_Receipt_Fragment;'DocumentsTableCreditorFields_Receipt_Fragment': DocumentsTableCreditorFields_Receipt_Fragment;'DocumentsTableDebtorFields_Receipt_Fragment': DocumentsTableDebtorFields_Receipt_Fragment;'DocumentFilesFields_Receipt_Fragment': DocumentFilesFields_Receipt_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_Receipt_Fragment' };
type TableDocumentsRowFields_Unprocessed_Fragment = (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_Unprocessed_Fragment': DocumentsTableAmountFields_Unprocessed_Fragment;'DocumentsDateFields_Unprocessed_Fragment': DocumentsDateFields_Unprocessed_Fragment;'DocumentsTableVatFields_Unprocessed_Fragment': DocumentsTableVatFields_Unprocessed_Fragment;'DocumentTypeFields_Unprocessed_Fragment': DocumentTypeFields_Unprocessed_Fragment;'DocumentSerialFields_Unprocessed_Fragment': DocumentSerialFields_Unprocessed_Fragment;'DocumentsTableCreditorFields_Unprocessed_Fragment': DocumentsTableCreditorFields_Unprocessed_Fragment;'DocumentsTableDebtorFields_Unprocessed_Fragment': DocumentsTableDebtorFields_Unprocessed_Fragment;'DocumentFilesFields_Unprocessed_Fragment': DocumentFilesFields_Unprocessed_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_Unprocessed_Fragment' };
export type TableDocumentsRowFieldsFragment = TableDocumentsRowFields_CreditInvoice_Fragment | TableDocumentsRowFields_Invoice_Fragment | TableDocumentsRowFields_InvoiceReceipt_Fragment | TableDocumentsRowFields_Proforma_Fragment | TableDocumentsRowFields_Receipt_Fragment | TableDocumentsRowFields_Unprocessed_Fragment;
export type DocumentTableRowQueryVariables = Exact<{
documentId: Scalars['UUID']['input'];
}>;
export type DocumentTableRowQuery = { __typename?: 'Query', documentById?: (
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
) | null };
type TableDocumentsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_BusinessTripCharge_Fragment' };
type TableDocumentsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_CommonCharge_Fragment' };
type TableDocumentsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_ConversionCharge_Fragment' };
type TableDocumentsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_DividendCharge_Fragment' };
type TableDocumentsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_InternalTransferCharge_Fragment' };
type TableDocumentsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_MonthlyVatCharge_Fragment' };
type TableDocumentsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_SalaryCharge_Fragment' };
export type TableDocumentsFieldsFragment = TableDocumentsFields_BusinessTripCharge_Fragment | TableDocumentsFields_CommonCharge_Fragment | TableDocumentsFields_ConversionCharge_Fragment | TableDocumentsFields_DividendCharge_Fragment | TableDocumentsFields_InternalTransferCharge_Fragment | TableDocumentsFields_MonthlyVatCharge_Fragment | TableDocumentsFields_SalaryCharge_Fragment;
export type ConversionChargeInfoFragment = { __typename?: 'ConversionCharge', id: any } & ({ __typename?: 'ConversionCharge', eventRate?: { __typename?: 'ConversionRate', from: Currency, to: Currency, rate: number } | null } | { __typename?: 'ConversionCharge', eventRate?: never }) & ({ __typename?: 'ConversionCharge', officialRate?: { __typename?: 'ConversionRate', from: Currency, to: Currency, rate: number } | null } | { __typename?: 'ConversionCharge', officialRate?: never }) & { ' $fragmentName'?: 'ConversionChargeInfoFragment' };
export type TableSalariesFieldsFragment = { __typename?: 'SalaryCharge', id: any } & ({ __typename?: 'SalaryCharge', salaryRecords: Array<{ __typename?: 'Salary', directAmount: { __typename?: 'FinancialAmount', formatted: string }, baseAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, employee?: { __typename?: 'LtdFinancialEntity', name: string } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, pensionEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, pensionEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, compensationsAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, trainingFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, trainingFundEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, trainingFundEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, socialSecurityEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, socialSecurityEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, incomeTaxAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, healthInsuranceAmount?: { __typename?: 'FinancialAmount', formatted: string } | null }> } | { __typename?: 'SalaryCharge', salaryRecords?: never }) & { ' $fragmentName'?: 'TableSalariesFieldsFragment' };
export type AllChargesQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
filters?: InputMaybe<ChargeFilter>;
}>;
export type AllChargesQuery = { __typename?: 'Query', allCharges: { __typename?: 'PaginatedCharges', nodes: Array<(
{ __typename?: 'BusinessTripCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_BusinessTripCharge_Fragment': AllChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_CommonCharge_Fragment': AllChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_ConversionCharge_Fragment': AllChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_DividendCharge_Fragment': AllChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_InternalTransferCharge_Fragment': AllChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_MonthlyVatCharge_Fragment': AllChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_SalaryCharge_Fragment': AllChargesTableFields_SalaryCharge_Fragment } }
)>, pageInfo: { __typename?: 'PageInfo', totalPages: number } } };
export type LedgerRecordsAccountDetailsFieldsFragment = { __typename?: 'LedgerRecord', id: any, creditAccount1?: { __typename: 'LtdFinancialEntity', id: any, name: string } | { __typename: 'PersonalFinancialEntity', id: any, name: string } | { __typename: 'TaxCategory', id: any, name: string } | null, creditAccount2?: { __typename: 'LtdFinancialEntity', id: any, name: string } | { __typename: 'PersonalFinancialEntity', id: any, name: string } | { __typename: 'TaxCategory', id: any, name: string } | null, debitAccount1?: { __typename: 'LtdFinancialEntity', id: any, name: string } | { __typename: 'PersonalFinancialEntity', id: any, name: string } | { __typename: 'TaxCategory', id: any, name: string } | null, debitAccount2?: { __typename: 'LtdFinancialEntity', id: any, name: string } | { __typename: 'PersonalFinancialEntity', id: any, name: string } | { __typename: 'TaxCategory', id: any, name: string } | null, creditAmount1?: { __typename?: 'FinancialAmount', formatted: string, currency: Currency } | null, creditAmount2?: { __typename?: 'FinancialAmount', formatted: string, currency: Currency } | null, debitAmount1?: { __typename?: 'FinancialAmount', formatted: string, currency: Currency } | null, debitAmount2?: { __typename?: 'FinancialAmount', formatted: string, currency: Currency } | null, localCurrencyCreditAmount1: { __typename?: 'FinancialAmount', formatted: string }, localCurrencyCreditAmount2?: { __typename?: 'FinancialAmount', formatted: string } | null, localCurrencyDebitAmount1: { __typename?: 'FinancialAmount', formatted: string }, localCurrencyDebitAmount2?: { __typename?: 'FinancialAmount', formatted: string } | null } & { ' $fragmentName'?: 'LedgerRecordsAccountDetailsFieldsFragment' };
export type LedgerRecordsGeneralDateFieldsFragment = { __typename?: 'LedgerRecord', id: any, invoiceDate: any, valueDate: any } & { ' $fragmentName'?: 'LedgerRecordsGeneralDateFieldsFragment' };
export type TableLedgerRecordsRowFieldsFragment = (
{ __typename?: 'LedgerRecord', id: any, description?: string | null, reference1?: string | null }
& { ' $fragmentRefs'?: { 'LedgerRecordsAccountDetailsFieldsFragment': LedgerRecordsAccountDetailsFieldsFragment;'LedgerRecordsGeneralDateFieldsFragment': LedgerRecordsGeneralDateFieldsFragment } }
) & { ' $fragmentName'?: 'TableLedgerRecordsRowFieldsFragment' };
type TableLedgerRecordsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_BusinessTripCharge_Fragment' };
type TableLedgerRecordsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_CommonCharge_Fragment' };
type TableLedgerRecordsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_ConversionCharge_Fragment' };
type TableLedgerRecordsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_DividendCharge_Fragment' };
type TableLedgerRecordsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_InternalTransferCharge_Fragment' };
type TableLedgerRecordsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_MonthlyVatCharge_Fragment' };
type TableLedgerRecordsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<any> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: any }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_SalaryCharge_Fragment' };
export type TableLedgerRecordsFieldsFragment = TableLedgerRecordsFields_BusinessTripCharge_Fragment | TableLedgerRecordsFields_CommonCharge_Fragment | TableLedgerRecordsFields_ConversionCharge_Fragment | TableLedgerRecordsFields_DividendCharge_Fragment | TableLedgerRecordsFields_InternalTransferCharge_Fragment | TableLedgerRecordsFields_MonthlyVatCharge_Fragment | TableLedgerRecordsFields_SalaryCharge_Fragment;
type TransactionsTableAccountFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, account: { __typename: 'BankFinancialAccount', id: any, name: string, type: string } | { __typename: 'CardFinancialAccount', id: any, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: any, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_CommonTransaction_Fragment' };
type TransactionsTableAccountFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, account: { __typename: 'BankFinancialAccount', id: any, name: string, type: string } | { __typename: 'CardFinancialAccount', id: any, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: any, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_ConversionTransaction_Fragment' };
type TransactionsTableAccountFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, account: { __typename: 'BankFinancialAccount', id: any, name: string, type: string } | { __typename: 'CardFinancialAccount', id: any, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: any, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_FeeTransaction_Fragment' };
type TransactionsTableAccountFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, account: { __typename: 'BankFinancialAccount', id: any, name: string, type: string } | { __typename: 'CardFinancialAccount', id: any, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: any, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_WireTransaction_Fragment' };
export type TransactionsTableAccountFieldsFragment = TransactionsTableAccountFields_CommonTransaction_Fragment | TransactionsTableAccountFields_ConversionTransaction_Fragment | TransactionsTableAccountFields_FeeTransaction_Fragment | TransactionsTableAccountFields_WireTransaction_Fragment;
type TransactionsTableAmountFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_CommonTransaction_Fragment' };
type TransactionsTableAmountFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_ConversionTransaction_Fragment' };
type TransactionsTableAmountFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_FeeTransaction_Fragment' };
type TransactionsTableAmountFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_WireTransaction_Fragment' };
export type TransactionsTableAmountFieldsFragment = TransactionsTableAmountFields_CommonTransaction_Fragment | TransactionsTableAmountFields_ConversionTransaction_Fragment | TransactionsTableAmountFields_FeeTransaction_Fragment | TransactionsTableAmountFields_WireTransaction_Fragment;
type TransactionsTableEntityFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_CommonTransaction_Fragment' };
type TransactionsTableEntityFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_ConversionTransaction_Fragment' };
type TransactionsTableEntityFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_FeeTransaction_Fragment' };
type TransactionsTableEntityFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: any } | { __typename?: 'PersonalFinancialEntity', name: string, id: any } | { __typename?: 'TaxCategory', name: string, id: any } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_WireTransaction_Fragment' };
export type TransactionsTableEntityFieldsFragment = TransactionsTableEntityFields_CommonTransaction_Fragment | TransactionsTableEntityFields_ConversionTransaction_Fragment | TransactionsTableEntityFields_FeeTransaction_Fragment | TransactionsTableEntityFields_WireTransaction_Fragment;
type TransactionsTableDebitDateFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, effectiveDate?: TimelessDateString | null } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_CommonTransaction_Fragment' };
type TransactionsTableDebitDateFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, effectiveDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_ConversionTransaction_Fragment' };
type TransactionsTableDebitDateFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, effectiveDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_FeeTransaction_Fragment' };
type TransactionsTableDebitDateFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, effectiveDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_WireTransaction_Fragment' };
export type TransactionsTableDebitDateFieldsFragment = TransactionsTableDebitDateFields_CommonTransaction_Fragment | TransactionsTableDebitDateFields_ConversionTransaction_Fragment | TransactionsTableDebitDateFields_FeeTransaction_Fragment | TransactionsTableDebitDateFields_WireTransaction_Fragment;
type TransactionsTableDescriptionFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_CommonTransaction_Fragment' };
type TransactionsTableDescriptionFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_ConversionTransaction_Fragment' };
type TransactionsTableDescriptionFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_FeeTransaction_Fragment' };
type TransactionsTableDescriptionFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_WireTransaction_Fragment' };
export type TransactionsTableDescriptionFieldsFragment = TransactionsTableDescriptionFields_CommonTransaction_Fragment | TransactionsTableDescriptionFields_ConversionTransaction_Fragment | TransactionsTableDescriptionFields_FeeTransaction_Fragment | TransactionsTableDescriptionFields_WireTransaction_Fragment;
type TransactionsTableEventDateFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_CommonTransaction_Fragment' };
type TransactionsTableEventDateFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_ConversionTransaction_Fragment' };
type TransactionsTableEventDateFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_FeeTransaction_Fragment' };
type TransactionsTableEventDateFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_WireTransaction_Fragment' };
export type TransactionsTableEventDateFieldsFragment = TransactionsTableEventDateFields_CommonTransaction_Fragment | TransactionsTableEventDateFields_ConversionTransaction_Fragment | TransactionsTableEventDateFields_FeeTransaction_Fragment | TransactionsTableEventDateFields_WireTransaction_Fragment;
type TransactionsTableSourceIdFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: any, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_CommonTransaction_Fragment' };
type TransactionsTableSourceIdFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: any, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_ConversionTransaction_Fragment' };
type TransactionsTableSourceIdFields_FeeTransaction_Fragment = { __typename?: 'FeeTransaction', id: any, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_FeeTransaction_Fragment' };
type TransactionsTableSourceIdFields_WireTransaction_Fragment = { __typename?: 'WireTransaction', id: any, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_WireTransaction_Fragment' };
export type TransactionsTableSourceIdFieldsFragment = TransactionsTableSourceIdFields_CommonTransaction_Fragment | TransactionsTableSourceIdFields_ConversionTransaction_Fragment | TransactionsTableSourceIdFields_FeeTransaction_Fragment | TransactionsTableSourceIdFields_WireTransaction_Fragment;
type TableTransactionsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_BusinessTripCharge_Fragment' };
type TableTransactionsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_CommonCharge_Fragment' };
type TableTransactionsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_ConversionCharge_Fragment' };
type TableTransactionsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_DividendCharge_Fragment' };
type TableTransactionsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_InternalTransferCharge_Fragment' };
type TableTransactionsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_MonthlyVatCharge_Fragment' };
type TableTransactionsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, transactions: Array<(
{ __typename?: 'CommonTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_CommonTransaction_Fragment;'TransactionsTableAmountFields_CommonTransaction_Fragment': TransactionsTableAmountFields_CommonTransaction_Fragment;'TransactionsTableAccountFields_CommonTransaction_Fragment': TransactionsTableAccountFields_CommonTransaction_Fragment;'TransactionsTableDescriptionFields_CommonTransaction_Fragment': TransactionsTableDescriptionFields_CommonTransaction_Fragment;'TransactionsTableSourceIdFields_CommonTransaction_Fragment': TransactionsTableSourceIdFields_CommonTransaction_Fragment;'TransactionsTableEntityFields_CommonTransaction_Fragment': TransactionsTableEntityFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_ConversionTransaction_Fragment;'TransactionsTableAmountFields_ConversionTransaction_Fragment': TransactionsTableAmountFields_ConversionTransaction_Fragment;'TransactionsTableAccountFields_ConversionTransaction_Fragment': TransactionsTableAccountFields_ConversionTransaction_Fragment;'TransactionsTableDescriptionFields_ConversionTransaction_Fragment': TransactionsTableDescriptionFields_ConversionTransaction_Fragment;'TransactionsTableSourceIdFields_ConversionTransaction_Fragment': TransactionsTableSourceIdFields_ConversionTransaction_Fragment;'TransactionsTableEntityFields_ConversionTransaction_Fragment': TransactionsTableEntityFields_ConversionTransaction_Fragment } }
) | (
{ __typename?: 'FeeTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_FeeTransaction_Fragment': TransactionsTableEventDateFields_FeeTransaction_Fragment;'TransactionsTableDebitDateFields_FeeTransaction_Fragment': TransactionsTableDebitDateFields_FeeTransaction_Fragment;'TransactionsTableAmountFields_FeeTransaction_Fragment': TransactionsTableAmountFields_FeeTransaction_Fragment;'TransactionsTableAccountFields_FeeTransaction_Fragment': TransactionsTableAccountFields_FeeTransaction_Fragment;'TransactionsTableDescriptionFields_FeeTransaction_Fragment': TransactionsTableDescriptionFields_FeeTransaction_Fragment;'TransactionsTableSourceIdFields_FeeTransaction_Fragment': TransactionsTableSourceIdFields_FeeTransaction_Fragment;'TransactionsTableEntityFields_FeeTransaction_Fragment': TransactionsTableEntityFields_FeeTransaction_Fragment } }
) | (
{ __typename?: 'WireTransaction', id: any }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_WireTransaction_Fragment': TransactionsTableEventDateFields_WireTransaction_Fragment;'TransactionsTableDebitDateFields_WireTransaction_Fragment': TransactionsTableDebitDateFields_WireTransaction_Fragment;'TransactionsTableAmountFields_WireTransaction_Fragment': TransactionsTableAmountFields_WireTransaction_Fragment;'TransactionsTableAccountFields_WireTransaction_Fragment': TransactionsTableAccountFields_WireTransaction_Fragment;'TransactionsTableDescriptionFields_WireTransaction_Fragment': TransactionsTableDescriptionFields_WireTransaction_Fragment;'TransactionsTableSourceIdFields_WireTransaction_Fragment': TransactionsTableSourceIdFields_WireTransaction_Fragment;'TransactionsTableEntityFields_WireTransaction_Fragment': TransactionsTableEntityFields_WireTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'TableTransactionsFields_SalaryCharge_Fragment' };
export type TableTransactionsFieldsFragment = TableTransactionsFields_BusinessTripCharge_Fragment | TableTransactionsFields_CommonCharge_Fragment | TableTransactionsFields_ConversionCharge_Fragment | TableTransactionsFields_DividendCharge_Fragment | TableTransactionsFields_InternalTransferCharge_Fragment | TableTransactionsFields_MonthlyVatCharge_Fragment | TableTransactionsFields_SalaryCharge_Fragment;
export type BusinessTransactionsInfoQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type BusinessTransactionsInfoQuery = { __typename?: 'Query', businessTransactionsFromLedgerRecords: { __typename?: 'BusinessTransactionsFromLedgerRecordsSuccessfulResult', businessTransactions: Array<{ __typename?: 'BusinessTransaction', invoiceDate: TimelessDateString, reference1?: string | null, reference2?: string | null, details?: string | null, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number }, business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string }, eurAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, gbpAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, usdAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, counterAccount?: { __typename: 'LtdFinancialEntity', id: any, name: string } | { __typename: 'PersonalFinancialEntity', id: any, name: string } | { __typename: 'TaxCategory', id: any, name: string } | null }> } | { __typename: 'CommonError', message: string } };
export type BusinessTransactionsSummeryQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type BusinessTransactionsSummeryQuery = { __typename?: 'Query', businessTransactionsSumFromLedgerRecords: { __typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult', businessTransactionsSum: Array<{ __typename?: 'BusinessTransactionSum', business: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string }, credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number }, eurSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null, gbpSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null, usdSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null }> } | { __typename: 'CommonError', message: string } };
export type AllBusinessesRowFieldsFragment = (
{ __typename?: 'LtdFinancialEntity', id: any }
& { ' $fragmentRefs'?: { 'AllBusinessesNameFieldsFragment': AllBusinessesNameFieldsFragment;'AllBusinessesHebrewNameFieldsFragment': AllBusinessesHebrewNameFieldsFragment } }
) & { ' $fragmentName'?: 'AllBusinessesRowFieldsFragment' };
export type AllBusinessesHebrewNameFieldsFragment = { __typename?: 'LtdFinancialEntity', id: any, hebrewName?: string | null } & { ' $fragmentName'?: 'AllBusinessesHebrewNameFieldsFragment' };
export type AllBusinessesNameFieldsFragment = { __typename?: 'LtdFinancialEntity', id: any, name: string } & { ' $fragmentName'?: 'AllBusinessesNameFieldsFragment' };
export type AllBusinessesForScreenQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
}>;
export type AllBusinessesForScreenQuery = { __typename?: 'Query', allBusinesses?: { __typename?: 'PaginatedBusinesses', nodes: Array<(
{ __typename: 'LtdFinancialEntity', id: any, name: string }
& { ' $fragmentRefs'?: { 'AllBusinessesRowFieldsFragment': AllBusinessesRowFieldsFragment } }
) | { __typename: 'PersonalFinancialEntity', id: any, name: string }>, pageInfo: { __typename?: 'PageInfo', totalPages: number } } | null };
export type IncomeChargesChartQueryVariables = Exact<{
filters?: InputMaybe<ChargeFilter>;
}>;
export type IncomeChargesChartQuery = { __typename?: 'Query', allCharges: { __typename?: 'PaginatedCharges', nodes: Array<{ __typename?: 'BusinessTripCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'CommonCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'ConversionCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'DividendCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'InternalTransferCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'MonthlyVatCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> } | { __typename?: 'SalaryCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null, debitExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, eur?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, gbp?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, usd?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | null }> }> } };
export type DocumentsToChargeMatcherQueryVariables = Exact<{
chargeIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
filters: DocumentsFilters;
}>;
export type DocumentsToChargeMatcherQuery = { __typename?: 'Query', documentsByFilters: Array<(
{ __typename?: 'CreditInvoice', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_CreditInvoice_Fragment': DocumentsToMatchFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Invoice_Fragment': DocumentsToMatchFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_InvoiceReceipt_Fragment': DocumentsToMatchFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'Proforma', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Proforma_Fragment': DocumentsToMatchFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Receipt_Fragment': DocumentsToMatchFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: any }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Unprocessed_Fragment': DocumentsToMatchFields_Unprocessed_Fragment } }
)>, chargesByIDs: Array<(
{ __typename?: 'BusinessTripCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment': ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_CommonCharge_Fragment': ChargeToMatchDocumentsFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_ConversionCharge_Fragment': ChargeToMatchDocumentsFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_DividendCharge_Fragment': ChargeToMatchDocumentsFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment': ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment': ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_SalaryCharge_Fragment': ChargeToMatchDocumentsFields_SalaryCharge_Fragment } }
)> };
type ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment' };
type ChargeToMatchDocumentsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_CommonCharge_Fragment' };
type ChargeToMatchDocumentsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_ConversionCharge_Fragment' };
type ChargeToMatchDocumentsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_DividendCharge_Fragment' };
type ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment' };
type ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment' };
type ChargeToMatchDocumentsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: any, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_SalaryCharge_Fragment' };
export type ChargeToMatchDocumentsFieldsFragment = ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment | ChargeToMatchDocumentsFields_CommonCharge_Fragment | ChargeToMatchDocumentsFields_ConversionCharge_Fragment | ChargeToMatchDocumentsFields_DividendCharge_Fragment | ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment | ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment | ChargeToMatchDocumentsFields_SalaryCharge_Fragment;
type DocumentsToMatchFields_CreditInvoice_Fragment = { __typename: 'CreditInvoice', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_CreditInvoice_Fragment' };
type DocumentsToMatchFields_Invoice_Fragment = { __typename: 'Invoice', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Invoice_Fragment' };
type DocumentsToMatchFields_InvoiceReceipt_Fragment = { __typename: 'InvoiceReceipt', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_InvoiceReceipt_Fragment' };
type DocumentsToMatchFields_Proforma_Fragment = { __typename: 'Proforma', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Proforma_Fragment' };
type DocumentsToMatchFields_Receipt_Fragment = { __typename: 'Receipt', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Receipt_Fragment' };
type DocumentsToMatchFields_Unprocessed_Fragment = { __typename: 'Unprocessed', id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, charge?: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Unprocessed_Fragment' };
export type DocumentsToMatchFieldsFragment = DocumentsToMatchFields_CreditInvoice_Fragment | DocumentsToMatchFields_Invoice_Fragment | DocumentsToMatchFields_InvoiceReceipt_Fragment | DocumentsToMatchFields_Proforma_Fragment | DocumentsToMatchFields_Receipt_Fragment | DocumentsToMatchFields_Unprocessed_Fragment;
export type FetchBusinessQueryVariables = Exact<{
id: Scalars['UUID']['input'];
}>;
export type FetchBusinessQuery = { __typename?: 'Query', business: { __typename: 'LtdFinancialEntity', address?: string | null, email?: string | null, governmentId?: string | null, hebrewName?: string | null, name: string, phoneNumber?: string | null, website?: string | null, id: any, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'PersonalFinancialEntity', id: any } };
export type EditDocumentQueryVariables = Exact<{
documentId: Scalars['UUID']['input'];
}>;
export type EditDocumentQuery = { __typename?: 'Query', documentById?: { __typename: 'CreditInvoice', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'Invoice', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'InvoiceReceipt', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'Proforma', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'Receipt', serialNumber?: string | null, date?: TimelessDateString | null, id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null } | { __typename: 'Unprocessed', id: any, image?: any | null, file?: any | null, documentType?: DocumentType | null } | null };
export type EditTransactionQueryVariables = Exact<{
transactionIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type EditTransactionQuery = { __typename?: 'Query', transactionsByIDs: Array<{ __typename?: 'CommonTransaction', id: any, sourceDescription: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, isFee?: boolean | null, account: { __typename: 'BankFinancialAccount', name: string, accountNumber: string, id: any } | { __typename: 'CardFinancialAccount', fourDigits: string, number: string, id: any } | { __typename?: 'CryptoWalletFinancialAccount', id: any }, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, balance: { __typename?: 'FinancialAmount', raw: number, currency: Currency } } | { __typename?: 'ConversionTransaction', id: any, sourceDescription: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, isFee?: boolean | null, account: { __typename: 'BankFinancialAccount', name: string, accountNumber: string, id: any } | { __typename: 'CardFinancialAccount', fourDigits: string, number: string, id: any } | { __typename?: 'CryptoWalletFinancialAccount', id: any }, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, balance: { __typename?: 'FinancialAmount', raw: number, currency: Currency } } | { __typename?: 'FeeTransaction', id: any, sourceDescription: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, isFee?: boolean | null, account: { __typename: 'BankFinancialAccount', name: string, accountNumber: string, id: any } | { __typename: 'CardFinancialAccount', fourDigits: string, number: string, id: any } | { __typename?: 'CryptoWalletFinancialAccount', id: any }, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, balance: { __typename?: 'FinancialAmount', raw: number, currency: Currency } } | { __typename?: 'WireTransaction', id: any, sourceDescription: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, isFee?: boolean | null, account: { __typename: 'BankFinancialAccount', name: string, accountNumber: string, id: any } | { __typename: 'CardFinancialAccount', fourDigits: string, number: string, id: any } | { __typename?: 'CryptoWalletFinancialAccount', id: any }, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, balance: { __typename?: 'FinancialAmount', raw: number, currency: Currency } }> };
export type UploadDocumentMutationVariables = Exact<{
file: Scalars['FileScalar']['input'];
chargeId?: InputMaybe<Scalars['UUID']['input']>;
}>;
export type UploadDocumentMutation = { __typename?: 'Mutation', uploadDocument: { __typename: 'CommonError', message: string } | { __typename: 'UploadDocumentSuccessfulResult', document?: { __typename?: 'CreditInvoice', id: any } | { __typename?: 'Invoice', id: any } | { __typename?: 'InvoiceReceipt', id: any } | { __typename?: 'Proforma', id: any } | { __typename?: 'Receipt', id: any } | { __typename?: 'Unprocessed', id: any } | null } };
export type AllBusinessTripsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllBusinessTripsQuery = { __typename?: 'Query', allBusinessTrips: Array<{ __typename?: 'BusinessTrip', id: any, name: string }> };
export type AllBusinessesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllBusinessesQuery = { __typename?: 'Query', allBusinesses?: { __typename?: 'PaginatedBusinesses', nodes: Array<{ __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }> } | null };
export type AllEmployeesByEmployerQueryVariables = Exact<{
employerId: Scalars['UUID']['input'];
}>;
export type AllEmployeesByEmployerQuery = { __typename?: 'Query', employeesByEmployerId: Array<{ __typename?: 'Employee', id: any, name: string }> };
export type AllFinancialAccountsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllFinancialAccountsQuery = { __typename?: 'Query', allFinancialAccounts: Array<{ __typename: 'BankFinancialAccount', name: string, id: any } | { __typename: 'CardFinancialAccount', name: string, id: any } | { __typename: 'CryptoWalletFinancialAccount', name: string, id: any }> };
export type AllFinancialEntitiesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllFinancialEntitiesQuery = { __typename?: 'Query', allFinancialEntities?: { __typename?: 'PaginatedFinancialEntities', nodes: Array<{ __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string }> } | null };
export type AllPensionFundsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllPensionFundsQuery = { __typename?: 'Query', allPensionFunds: Array<{ __typename?: 'PensionFund', id: any, name: string }> };
export type AllSortCodesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllSortCodesQuery = { __typename?: 'Query', allSortCodes: Array<{ __typename?: 'SortCode', id: number, name?: string | null }> };
export type AllTaxCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTaxCategoriesQuery = { __typename?: 'Query', taxCategories: Array<{ __typename?: 'TaxCategory', id: any, name: string }> };
export type AllTrainingFundsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTrainingFundsQuery = { __typename?: 'Query', allTrainingFunds: Array<{ __typename?: 'TrainingFund', id: any, name: string }> };
export type FetchMultipleChargesQueryVariables = Exact<{
chargeIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type FetchMultipleChargesQuery = { __typename?: 'Query', chargesByIDs: Array<{ __typename?: 'BusinessTripCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'CommonCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'ConversionCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'DividendCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'InternalTransferCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'MonthlyVatCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> } | { __typename?: 'SalaryCharge', id: any, conversion?: boolean | null, property?: boolean | null, userDescription?: string | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, tags: Array<{ __typename?: 'Tag', name: string }> }> };
export type EditChargeQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type EditChargeQuery = { __typename?: 'Query', chargesByIDs: Array<{ __typename?: 'BusinessTripCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'CommonCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'ConversionCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'DividendCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'InternalTransferCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null } | { __typename?: 'SalaryCharge', id: any, property?: boolean | null, conversion?: boolean | null, userDescription?: string | null, yearOfRelevance?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: any, name: string } | null, tags: Array<{ __typename?: 'Tag', name: string }>, businessTrip?: { __typename?: 'BusinessTrip', id: any, name: string } | null }> };
export type EditSalaryRecordQueryVariables = Exact<{
month: Scalars['TimelessDate']['input'];
employeeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type EditSalaryRecordQuery = { __typename?: 'Query', salaryRecordsByDates: Array<{ __typename?: 'Salary', month: string, pensionEmployeePercentage?: number | null, pensionEmployerPercentage?: number | null, compensationsPercentage?: number | null, trainingFundEmployeePercentage?: number | null, trainingFundEmployerPercentage?: number | null, workDays?: number | null, charge?: { __typename?: 'SalaryCharge', id: any } | null, directAmount: { __typename?: 'FinancialAmount', raw: number }, baseAmount?: { __typename?: 'FinancialAmount', raw: number } | null, employee?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, employer?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, pensionEmployeeAmount?: { __typename?: 'FinancialAmount', raw: number } | null, pensionEmployerAmount?: { __typename?: 'FinancialAmount', raw: number } | null, compensationsAmount?: { __typename?: 'FinancialAmount', raw: number } | null, trainingFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, trainingFundEmployeeAmount?: { __typename?: 'FinancialAmount', raw: number } | null, trainingFundEmployerAmount?: { __typename?: 'FinancialAmount', raw: number } | null, socialSecurityEmployeeAmount?: { __typename?: 'FinancialAmount', raw: number } | null, socialSecurityEmployerAmount?: { __typename?: 'FinancialAmount', raw: number } | null, incomeTaxAmount?: { __typename?: 'FinancialAmount', raw: number } | null, healthInsuranceAmount?: { __typename?: 'FinancialAmount', raw: number } | null, globalAdditionalHoursAmount?: { __typename?: 'FinancialAmount', raw: number } | null, bonus?: { __typename?: 'FinancialAmount', raw: number } | null, gift?: { __typename?: 'FinancialAmount', raw: number } | null, recovery?: { __typename?: 'FinancialAmount', raw: number } | null, notionalExpense?: { __typename?: 'FinancialAmount', raw: number } | null, vacationDays?: { __typename?: 'VacationDays', added?: number | null, balance?: number | null } | null, vacationTakeout?: { __typename?: 'FinancialAmount', raw: number } | null, sicknessDays?: { __typename?: 'SicknessDays', balance?: number | null } | null }> };
export type DocumentsQueryVariables = Exact<{ [key: string]: never; }>;
export type DocumentsQuery = { __typename?: 'Query', documents: Array<{ __typename: 'CreditInvoice', id: any, image?: any | null, file?: any | null, serialNumber?: string | null, date?: TimelessDateString | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Invoice', id: any, image?: any | null, file?: any | null, serialNumber?: string | null, date?: TimelessDateString | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'InvoiceReceipt', id: any, image?: any | null, file?: any | null, serialNumber?: string | null, date?: TimelessDateString | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Proforma', id: any, image?: any | null, file?: any | null, serialNumber?: string | null, date?: TimelessDateString | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Receipt', id: any, image?: any | null, file?: any | null, serialNumber?: string | null, date?: TimelessDateString | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Unprocessed', id: any, image?: any | null, file?: any | null, creditor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, charge?: { __typename: 'BusinessTripCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: any, userDescription?: string | null, tags: Array<{ __typename?: 'Tag', name: string }>, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'FeeTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'WireTransaction', id: any, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null }> };
export type TrialBalanceReportQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type TrialBalanceReportQuery = { __typename?: 'Query', businessTransactionsSumFromLedgerRecords: { __typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult', businessTransactionsSum: Array<{ __typename?: 'BusinessTransactionSum', business: { __typename?: 'LtdFinancialEntity', id: any, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'PersonalFinancialEntity', id: any, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'TaxCategory', id: any, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null }, credit: { __typename?: 'FinancialAmount', formatted: string, raw: number }, debit: { __typename?: 'FinancialAmount', formatted: string, raw: number }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number }, eurSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null, gbpSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null, usdSum?: { __typename?: 'ForeignCurrencySum', credit: { __typename?: 'FinancialAmount', formatted: string, raw: number }, debit: { __typename?: 'FinancialAmount', formatted: string, raw: number }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | null }> } | { __typename: 'CommonError', message: string } };
export type VatReportBusinessTripsFieldsFragment = { __typename?: 'VatReportResult', businessTrips: Array<(
{ __typename?: 'BusinessTripCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_BusinessTripCharge_Fragment': AllChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_CommonCharge_Fragment': AllChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_ConversionCharge_Fragment': AllChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_DividendCharge_Fragment': AllChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_InternalTransferCharge_Fragment': AllChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_MonthlyVatCharge_Fragment': AllChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_SalaryCharge_Fragment': AllChargesTableFields_SalaryCharge_Fragment } }
)> } & { ' $fragmentName'?: 'VatReportBusinessTripsFieldsFragment' };
export type VatReportAccountantApprovalFieldsFragment = { __typename?: 'VatReportRecord', chargeId: any, chargeAccountantReviewed?: boolean | null } & { ' $fragmentName'?: 'VatReportAccountantApprovalFieldsFragment' };
export type VatReportExpensesRowFieldsFragment = (
{ __typename?: 'VatReportRecord', vatNumber?: string | null, image?: string | null, documentSerial?: string | null, documentDate?: TimelessDateString | null, chargeDate?: TimelessDateString | null, chargeId: any, business?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, amount: { __typename?: 'FinancialAmount', formatted: string }, localAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, vat?: { __typename?: 'FinancialAmount', formatted: string } | null, vatAfterDeduction?: { __typename?: 'FinancialAmount', formatted: string } | null, localVatAfterDeduction?: { __typename?: 'FinancialAmount', formatted: string } | null, roundedLocalVatAfterDeduction?: { __typename?: 'FinancialIntAmount', formatted: string } | null, taxReducedLocalAmount?: { __typename?: 'FinancialIntAmount', formatted: string } | null }
& { ' $fragmentRefs'?: { 'VatReportAccountantApprovalFieldsFragment': VatReportAccountantApprovalFieldsFragment } }
) & { ' $fragmentName'?: 'VatReportExpensesRowFieldsFragment' };
export type VatReportExpensesFieldsFragment = { __typename?: 'VatReportResult', expenses: Array<(
{ __typename?: 'VatReportRecord', roundedLocalVatAfterDeduction?: { __typename?: 'FinancialIntAmount', raw: number } | null, taxReducedLocalAmount?: { __typename?: 'FinancialIntAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'VatReportExpensesRowFieldsFragment': VatReportExpensesRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'VatReportExpensesFieldsFragment' };
export type VatReportIncomeRowFieldsFragment = (
{ __typename?: 'VatReportRecord', chargeId: any, vatNumber?: string | null, image?: string | null, documentSerial?: string | null, documentDate?: TimelessDateString | null, chargeDate?: TimelessDateString | null, business?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | { __typename?: 'PersonalFinancialEntity', id: any, name: string } | { __typename?: 'TaxCategory', id: any, name: string } | null, amount: { __typename?: 'FinancialAmount', formatted: string }, taxReducedLocalAmount?: { __typename?: 'FinancialIntAmount', formatted: string } | null }
& { ' $fragmentRefs'?: { 'VatReportAccountantApprovalFieldsFragment': VatReportAccountantApprovalFieldsFragment } }
) & { ' $fragmentName'?: 'VatReportIncomeRowFieldsFragment' };
export type VatReportIncomeFieldsFragment = { __typename?: 'VatReportResult', income: Array<(
{ __typename?: 'VatReportRecord', taxReducedLocalAmount?: { __typename?: 'FinancialIntAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'VatReportIncomeRowFieldsFragment': VatReportIncomeRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'VatReportIncomeFieldsFragment' };
export type VatMonthlyReportQueryVariables = Exact<{
filters?: InputMaybe<VatReportFilter>;
}>;
export type VatMonthlyReportQuery = { __typename?: 'Query', vatReport: (
{ __typename?: 'VatReportResult' }
& { ' $fragmentRefs'?: { 'VatReportIncomeFieldsFragment': VatReportIncomeFieldsFragment;'VatReportExpensesFieldsFragment': VatReportExpensesFieldsFragment;'VatReportMissingInfoFieldsFragment': VatReportMissingInfoFieldsFragment;'VatReportMiscTableFieldsFragment': VatReportMiscTableFieldsFragment;'VatReportBusinessTripsFieldsFragment': VatReportBusinessTripsFieldsFragment } }
) };
export type VatReportMiscTableFieldsFragment = { __typename?: 'VatReportResult', differentMonthDoc: Array<(
{ __typename?: 'BusinessTripCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_BusinessTripCharge_Fragment': AllChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_CommonCharge_Fragment': AllChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_ConversionCharge_Fragment': AllChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_DividendCharge_Fragment': AllChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_InternalTransferCharge_Fragment': AllChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_MonthlyVatCharge_Fragment': AllChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_SalaryCharge_Fragment': AllChargesTableFields_SalaryCharge_Fragment } }
)> } & { ' $fragmentName'?: 'VatReportMiscTableFieldsFragment' };
export type VatReportMissingInfoFieldsFragment = { __typename?: 'VatReportResult', missingInfo: Array<(
{ __typename?: 'BusinessTripCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_BusinessTripCharge_Fragment': AllChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_CommonCharge_Fragment': AllChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_ConversionCharge_Fragment': AllChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_DividendCharge_Fragment': AllChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_InternalTransferCharge_Fragment': AllChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_MonthlyVatCharge_Fragment': AllChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: any }
& { ' $fragmentRefs'?: { 'AllChargesTableFields_SalaryCharge_Fragment': AllChargesTableFields_SalaryCharge_Fragment } }
)> } & { ' $fragmentName'?: 'VatReportMissingInfoFieldsFragment' };
export type GeneratePcnQueryVariables = Exact<{
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
financialEntityId: Scalars['UUID']['input'];
}>;
export type GeneratePcnQuery = { __typename?: 'Query', pcnFile: { __typename?: 'PCNFileResult', reportContent: string, fileName: string } };
export type SalaryScreenRecordsQueryVariables = Exact<{
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
employeeIDs?: InputMaybe<Array<Scalars['UUID']['input']> | Scalars['UUID']['input']>;
}>;
export type SalaryScreenRecordsQuery = { __typename?: 'Query', salaryRecordsByDates: Array<(
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }
& { ' $fragmentRefs'?: { 'SalariesTableFieldsFragment': SalariesTableFieldsFragment } }
)> };
export type SalariesRecordEmployeeFieldsFragment = { __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null } & { ' $fragmentName'?: 'SalariesRecordEmployeeFieldsFragment' };
export type SalariesRecordFundsFieldsFragment = { __typename?: 'Salary', month: string, pensionEmployeePercentage?: number | null, pensionEmployerPercentage?: number | null, compensationsPercentage?: number | null, trainingFundEmployeePercentage?: number | null, trainingFundEmployerPercentage?: number | null, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, pensionEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, pensionEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, compensationsAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, trainingFund?: { __typename?: 'LtdFinancialEntity', id: any, name: string } | null, trainingFundEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, trainingFundEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null } & { ' $fragmentName'?: 'SalariesRecordFundsFieldsFragment' };
export type SalariesRecordInsurancesAndTaxesFieldsFragment = { __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null, healthInsuranceAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, socialSecurityEmployeeAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, socialSecurityEmployerAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, incomeTaxAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, notionalExpense?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null } & { ' $fragmentName'?: 'SalariesRecordInsurancesAndTaxesFieldsFragment' };
export type SalariesRecordMainSalaryFieldsFragment = { __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null, baseAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, directAmount: { __typename?: 'FinancialAmount', formatted: string }, globalAdditionalHoursAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, bonus?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, gift?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, recovery?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null, vacationTakeout?: { __typename?: 'FinancialAmount', formatted: string, raw: number } | null } & { ' $fragmentName'?: 'SalariesRecordMainSalaryFieldsFragment' };
export type SalariesRecordWorkFrameFieldsFragment = { __typename?: 'Salary', month: string, workDays?: number | null, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null, vacationDays?: { __typename?: 'VacationDays', added?: number | null, taken?: number | null, balance?: number | null } | null, sicknessDays?: { __typename?: 'SicknessDays', balance?: number | null } | null } & { ' $fragmentName'?: 'SalariesRecordWorkFrameFieldsFragment' };
export type SalariesMonthFieldsFragment = (
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }
& { ' $fragmentRefs'?: { 'SalariesRecordFieldsFragment': SalariesRecordFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesMonthFieldsFragment' };
export type SalariesTableFieldsFragment = (
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }
& { ' $fragmentRefs'?: { 'SalariesMonthFieldsFragment': SalariesMonthFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesTableFieldsFragment' };
export type SalariesRecordFieldsFragment = (
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }
& { ' $fragmentRefs'?: { 'SalariesRecordEmployeeFieldsFragment': SalariesRecordEmployeeFieldsFragment;'SalariesRecordMainSalaryFieldsFragment': SalariesRecordMainSalaryFieldsFragment;'SalariesRecordFundsFieldsFragment': SalariesRecordFundsFieldsFragment;'SalariesRecordInsurancesAndTaxesFieldsFragment': SalariesRecordInsurancesAndTaxesFieldsFragment;'SalariesRecordWorkFrameFieldsFragment': SalariesRecordWorkFrameFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesRecordFieldsFragment' };
export type AllTagsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTagsQuery = { __typename?: 'Query', allTags: Array<{ __typename?: 'Tag', name: string }> };
export type AddTagMutationVariables = Exact<{
tag: Scalars['String']['input'];
}>;
export type AddTagMutation = { __typename?: 'Mutation', addTag: boolean };
export type FlagForeignFeeTransactionsMutationVariables = Exact<{ [key: string]: never; }>;
export type FlagForeignFeeTransactionsMutation = { __typename?: 'Mutation', flagForeignFeeTransactions: { __typename?: 'FlagForeignFeeTransactionsResult', success: boolean, errors?: Array<string> | null } };
export type MergeChargesByTransactionReferenceMutationVariables = Exact<{ [key: string]: never; }>;
export type MergeChargesByTransactionReferenceMutation = { __typename?: 'Mutation', mergeChargesByTransactionReference: { __typename?: 'MergeChargesByTransactionReferenceResult', success: boolean, errors?: Array<string> | null } };
export type DeleteChargeMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
}>;
export type DeleteChargeMutation = { __typename?: 'Mutation', deleteCharge: boolean };
export type DeleteDocumentMutationVariables = Exact<{
documentId: Scalars['UUID']['input'];
}>;
export type DeleteDocumentMutation = { __typename?: 'Mutation', deleteDocument: boolean };
export type DeleteTagMutationVariables = Exact<{
tag: Scalars['String']['input'];
}>;
export type DeleteTagMutation = { __typename?: 'Mutation', deleteTag: boolean };
export type FetchIncomeDocumentsMutationVariables = Exact<{
ownerId: Scalars['UUID']['input'];
}>;
export type FetchIncomeDocumentsMutation = { __typename?: 'Mutation', fetchIncomeDocuments: Array<{ __typename?: 'CreditInvoice', id: any } | { __typename?: 'Invoice', id: any } | { __typename?: 'InvoiceReceipt', id: any } | { __typename?: 'Proforma', id: any } | { __typename?: 'Receipt', id: any } | { __typename?: 'Unprocessed', id: any }> };
export type InsertBusinessTripMutationVariables = Exact<{
fields: InsertBusinessTripInput;
}>;
export type InsertBusinessTripMutation = { __typename?: 'Mutation', insertBusinessTrip: { __typename?: 'BusinessTrip', id: any, name: string } };
export type InsertDocumentMutationVariables = Exact<{
record: InsertDocumentInput;
}>;
export type InsertDocumentMutation = { __typename?: 'Mutation', insertDocument: { __typename: 'CommonError', message: string } | { __typename: 'InsertDocumentSuccessfulResult', document?: { __typename?: 'CreditInvoice', id: any } | { __typename?: 'Invoice', id: any } | { __typename?: 'InvoiceReceipt', id: any } | { __typename?: 'Proforma', id: any } | { __typename?: 'Receipt', id: any } | { __typename?: 'Unprocessed', id: any } | null } };
export type InsertSalaryRecordMutationVariables = Exact<{
salaryRecords: Array<SalaryRecordInput> | SalaryRecordInput;
}>;
export type InsertSalaryRecordMutation = { __typename?: 'Mutation', insertSalaryRecords: { __typename: 'CommonError', message: string } | { __typename: 'InsertSalaryRecordsSuccessfulResult', salaryRecords: Array<{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }> } };
export type MergeChargesMutationVariables = Exact<{
baseChargeID: Scalars['UUID']['input'];
chargeIdsToMerge: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
fields?: InputMaybe<UpdateChargeInput>;
}>;
export type MergeChargesMutation = { __typename?: 'Mutation', mergeCharges: { __typename: 'CommonError', message: string } | { __typename: 'MergeChargeSuccessfulResult', charge: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } } };
export type RegenerateLedgerMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
}>;
export type RegenerateLedgerMutation = { __typename?: 'Mutation', regenerateLedgerRecords: { __typename: 'CommonError', message: string } | { __typename: 'Ledger', records: Array<{ __typename?: 'LedgerRecord', id: any }> } };
export type ToggleChargeAccountantApprovalMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
approved: Scalars['Boolean']['input'];
}>;
export type ToggleChargeAccountantApprovalMutation = { __typename?: 'Mutation', toggleChargeAccountantApproval: boolean };
export type UpdateBusinessMutationVariables = Exact<{
businessId: Scalars['UUID']['input'];
ownerId: Scalars['UUID']['input'];
fields: UpdateBusinessInput;
}>;
export type UpdateBusinessMutation = { __typename?: 'Mutation', updateBusiness: { __typename: 'CommonError', message: string } | { __typename: 'LtdFinancialEntity', id: any, name: string } };
export type UpdateChargeMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
fields: UpdateChargeInput;
}>;
export type UpdateChargeMutation = { __typename?: 'Mutation', updateCharge: { __typename: 'CommonError', message: string } | { __typename: 'UpdateChargeSuccessfulResult', charge: { __typename?: 'BusinessTripCharge', id: any } | { __typename?: 'CommonCharge', id: any } | { __typename?: 'ConversionCharge', id: any } | { __typename?: 'DividendCharge', id: any } | { __typename?: 'InternalTransferCharge', id: any } | { __typename?: 'MonthlyVatCharge', id: any } | { __typename?: 'SalaryCharge', id: any } } };
export type UpdateDocumentMutationVariables = Exact<{
documentId: Scalars['UUID']['input'];
fields: UpdateDocumentFieldsInput;
}>;
export type UpdateDocumentMutation = { __typename?: 'Mutation', updateDocument: { __typename: 'CommonError', message: string } | { __typename: 'UpdateDocumentSuccessfulResult', document?: { __typename?: 'CreditInvoice', id: any } | { __typename?: 'Invoice', id: any } | { __typename?: 'InvoiceReceipt', id: any } | { __typename?: 'Proforma', id: any } | { __typename?: 'Receipt', id: any } | { __typename?: 'Unprocessed', id: any } | null } };
export type UpdateOrInsertSalaryRecordsMutationVariables = Exact<{
salaryRecords: Array<SalaryRecordInput> | SalaryRecordInput;
}>;
export type UpdateOrInsertSalaryRecordsMutation = { __typename?: 'Mutation', insertOrUpdateSalaryRecords: { __typename: 'CommonError', message: string } | { __typename: 'InsertSalaryRecordsSuccessfulResult', salaryRecords: Array<{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null }> } };
export type UpdateSalaryRecordMutationVariables = Exact<{
salaryRecord: SalaryRecordEditInput;
}>;
export type UpdateSalaryRecordMutation = { __typename?: 'Mutation', updateSalaryRecord: { __typename: 'CommonError', message: string } | { __typename: 'UpdateSalaryRecordSuccessfulResult', salaryRecord: { __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: any } | null } } };
export type UpdateTransactionMutationVariables = Exact<{
transactionId: Scalars['UUID']['input'];
fields: UpdateTransactionInput;
}>;
export type UpdateTransactionMutation = { __typename?: 'Mutation', updateTransaction: { __typename: 'CommonError', message: string } | { __typename: 'CommonTransaction', id: any } | { __typename: 'ConversionTransaction', id: any } };
export const DocumentsGalleryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsGalleryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"additionalDocuments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsGalleryFieldsFragment, unknown>;
export const DocumentsTableAmountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsTableAmountFieldsFragment, unknown>;
export const DocumentsDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}}]} as unknown as DocumentNode<DocumentsDateFieldsFragment, unknown>;
export const DocumentsTableVatFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsTableVatFieldsFragment, unknown>;
export const DocumentTypeFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}}]} as unknown as DocumentNode<DocumentTypeFieldsFragment, unknown>;
export const DocumentSerialFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentSerialFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}}]}}]} as unknown as DocumentNode<DocumentSerialFieldsFragment, unknown>;
export const DocumentsTableCreditorFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableCreditorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsTableCreditorFieldsFragment, unknown>;
export const DocumentsTableDebtorFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableDebtorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsTableDebtorFieldsFragment, unknown>;
export const DocumentFilesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentFilesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}}]}}]} as unknown as DocumentNode<DocumentFilesFieldsFragment, unknown>;
export const TableDocumentsRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableVatFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentSerialFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableCreditorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableDebtorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentFilesFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentSerialFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableCreditorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableDebtorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentFilesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}}]}}]} as unknown as DocumentNode<TableDocumentsRowFieldsFragment, unknown>;
export const TableDocumentsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"additionalDocuments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableDocumentsRowFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentSerialFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableCreditorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableDebtorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentFilesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableVatFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentSerialFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableCreditorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableDebtorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentFilesFields"}}]}}]} as unknown as DocumentNode<TableDocumentsFieldsFragment, unknown>;
export const ConversionChargeInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConversionChargeInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"officialRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}}]}}]}}]} as unknown as DocumentNode<ConversionChargeInfoFragment, unknown>;
export const TableSalariesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableSalariesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]}}]}}]} as unknown as DocumentNode<TableSalariesFieldsFragment, unknown>;
export const LedgerRecordsAccountDetailsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<LedgerRecordsAccountDetailsFieldsFragment, unknown>;
export const LedgerRecordsGeneralDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}}]}}]} as unknown as DocumentNode<LedgerRecordsGeneralDateFieldsFragment, unknown>;
export const TableLedgerRecordsRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference1"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}}]}}]} as unknown as DocumentNode<TableLedgerRecordsRowFieldsFragment, unknown>;
export const TableLedgerRecordsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableLedgerRecordsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"matches"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference1"}}]}}]} as unknown as DocumentNode<TableLedgerRecordsFieldsFragment, unknown>;
export const TransactionsTableEventDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEventDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}}]}}]} as unknown as DocumentNode<TransactionsTableEventDateFieldsFragment, unknown>;
export const TransactionsTableDebitDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}}]}}]} as unknown as DocumentNode<TransactionsTableDebitDateFieldsFragment, unknown>;
export const TransactionsTableAmountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cryptoExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}}]}}]} as unknown as DocumentNode<TransactionsTableAmountFieldsFragment, unknown>;
export const TransactionsTableAccountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAccountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]} as unknown as DocumentNode<TransactionsTableAccountFieldsFragment, unknown>;
export const TransactionsTableDescriptionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}}]} as unknown as DocumentNode<TransactionsTableDescriptionFieldsFragment, unknown>;
export const TransactionsTableSourceIdFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableSourceIDFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referenceKey"}}]}}]} as unknown as DocumentNode<TransactionsTableSourceIdFieldsFragment, unknown>;
export const TransactionsTableEntityFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<TransactionsTableEntityFieldsFragment, unknown>;
export const TableTransactionsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableTransactionsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEventDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableAccountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableSourceIDFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEntityFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEventDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cryptoExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAccountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableSourceIDFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referenceKey"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<TableTransactionsFieldsFragment, unknown>;
export const AllBusinessesNameFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode<AllBusinessesNameFieldsFragment, unknown>;
export const AllBusinessesHebrewNameFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesHebrewNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hebrewName"}}]}}]} as unknown as DocumentNode<AllBusinessesHebrewNameFieldsFragment, unknown>;
export const AllBusinessesRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllBusinessesNameFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllBusinessesHebrewNameFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesHebrewNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hebrewName"}}]}}]} as unknown as DocumentNode<AllBusinessesRowFieldsFragment, unknown>;
export const ChargeToMatchDocumentsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargeToMatchDocumentsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}}]}}]} as unknown as DocumentNode<ChargeToMatchDocumentsFieldsFragment, unknown>;
export const DocumentsToMatchFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsToMatchFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsToMatchFieldsFragment, unknown>;
export const AllChargesAccountantApprovalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}}]} as unknown as DocumentNode<AllChargesAccountantApprovalFieldsFragment, unknown>;
export const AllChargesAmountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<AllChargesAmountFieldsFragment, unknown>;
export const AllChargesBusinessTripFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesBusinessTripFieldsFragment, unknown>;
export const AllChargesDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}}]} as unknown as DocumentNode<AllChargesDateFieldsFragment, unknown>;
export const AllChargesDescriptionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode<AllChargesDescriptionFieldsFragment, unknown>;
export const AllChargesEntityFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]} as unknown as DocumentNode<AllChargesEntityFieldsFragment, unknown>;
export const AllChargesMoreLedgerInfoFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesMoreLedgerInfoFieldsFragment, unknown>;
export const AllChargesMoreInfoFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesMoreInfoFieldsFragment, unknown>;
export const AllChargesTagsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesTagsFieldsFragment, unknown>;
export const AllChargesTaxCategoryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesTaxCategoryFieldsFragment, unknown>;
export const AllChargesTypeFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]} as unknown as DocumentNode<AllChargesTypeFieldsFragment, unknown>;
export const AllChargesVatFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesVatFieldsFragment, unknown>;
export const AllChargesRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<AllChargesRowFieldsFragment, unknown>;
export const AllChargesTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}}]} as unknown as DocumentNode<AllChargesTableFieldsFragment, unknown>;
export const VatReportBusinessTripsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportBusinessTripsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrips"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}}]} as unknown as DocumentNode<VatReportBusinessTripsFieldsFragment, unknown>;
export const VatReportAccountantApprovalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}}]} as unknown as DocumentNode<VatReportAccountantApprovalFieldsFragment, unknown>;
export const VatReportExpensesRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportExpensesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roundedLocalVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}}]} as unknown as DocumentNode<VatReportExpensesRowFieldsFragment, unknown>;
export const VatReportExpensesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportExpensesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportExpensesRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"roundedLocalVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportExpensesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roundedLocalVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<VatReportExpensesFieldsFragment, unknown>;
export const VatReportIncomeRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportIncomeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}}]} as unknown as DocumentNode<VatReportIncomeRowFieldsFragment, unknown>;
export const VatReportIncomeFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportIncomeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportIncomeRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportIncomeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<VatReportIncomeFieldsFragment, unknown>;
export const VatReportMiscTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportMiscTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"differentMonthDoc"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}}]} as unknown as DocumentNode<VatReportMiscTableFieldsFragment, unknown>;
export const VatReportMissingInfoFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportMissingInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}}]} as unknown as DocumentNode<VatReportMissingInfoFieldsFragment, unknown>;
export const SalariesRecordEmployeeFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<SalariesRecordEmployeeFieldsFragment, unknown>;
export const SalariesRecordMainSalaryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]} as unknown as DocumentNode<SalariesRecordMainSalaryFieldsFragment, unknown>;
export const SalariesRecordFundsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFundsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}}]}}]} as unknown as DocumentNode<SalariesRecordFundsFieldsFragment, unknown>;
export const SalariesRecordInsurancesAndTaxesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]} as unknown as DocumentNode<SalariesRecordInsurancesAndTaxesFieldsFragment, unknown>;
export const SalariesRecordWorkFrameFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"taken"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}}]} as unknown as DocumentNode<SalariesRecordWorkFrameFieldsFragment, unknown>;
export const SalariesRecordFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFundsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFundsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"taken"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}}]} as unknown as DocumentNode<SalariesRecordFieldsFragment, unknown>;
export const SalariesMonthFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesMonthFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFundsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"taken"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFundsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"}}]}}]} as unknown as DocumentNode<SalariesMonthFieldsFragment, unknown>;
export const SalariesTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesMonthFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFundsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"taken"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFundsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesMonthFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFields"}}]}}]} as unknown as DocumentNode<SalariesTableFieldsFragment, unknown>;
export const ChargeForRowDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ChargeForRow"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargesByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}}]} as unknown as DocumentNode<ChargeForRowQuery, ChargeForRowQueryVariables>;
export const FetchChargeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FetchCharge"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargesByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsGalleryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableDocumentsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableTransactionsFields"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConversionChargeInfo"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableSalariesFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentSerialFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableCreditorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableDebtorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentFilesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableVatFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentSerialFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableCreditorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableDebtorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentFilesFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAccount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyCreditAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localCurrencyDebitAmount2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsAccountDetailsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerRecordsGeneralDateFields"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference1"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEventDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cryptoExchangeRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableAccountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableSourceIDFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referenceKey"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionsTableEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsGalleryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"additionalDocuments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"additionalDocuments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableDocumentsRowFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableLedgerRecordsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"matches"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsRowFields"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableTransactionsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEventDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableAccountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableSourceIDFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEntityFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConversionChargeInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"officialRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}},{"kind":"Field","name":{"kind":"Name","value":"rate"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableSalariesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]}}]}}]} as unknown as DocumentNode<FetchChargeQuery, FetchChargeQueryVariables>;
export const DocumentTableRowDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DocumentTableRow"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentById"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"documentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableDocumentsRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentSerialFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableCreditorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsTableDebtorFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isIncome"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentFilesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableDocumentsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableVatFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentSerialFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableCreditorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsTableDebtorFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentFilesFields"}}]}}]} as unknown as DocumentNode<DocumentTableRowQuery, DocumentTableRowQueryVariables>;
export const AllChargesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllCharges"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allCharges"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalPages"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}}]} as unknown as DocumentNode<AllChargesQuery, AllChargesQueryVariables>;
export const BusinessTransactionsInfoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BusinessTransactionsInfo"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsFromLedgerRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsFromLedgerRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"eurAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gbpAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usdAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"reference1"}},{"kind":"Field","name":{"kind":"Name","value":"reference2"}},{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"counterAccount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTransactionsInfoQuery, BusinessTransactionsInfoQueryVariables>;
export const BusinessTransactionsSummeryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BusinessTransactionsSummery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSumFromLedgerRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"eurSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"gbpSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"usdSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTransactionsSummeryQuery, BusinessTransactionsSummeryQueryVariables>;
export const AllBusinessesForScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllBusinessesForScreen"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"page"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allBusinesses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"page"},"value":{"kind":"Variable","name":{"kind":"Name","value":"page"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllBusinessesRowFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalPages"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesHebrewNameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hebrewName"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllBusinessesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllBusinessesNameFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllBusinessesHebrewNameFields"}}]}}]} as unknown as DocumentNode<AllBusinessesForScreenQuery, AllBusinessesForScreenQueryVariables>;
export const IncomeChargesChartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IncomeChargesChart"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allCharges"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"eventExchangeRates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eur"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gbp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debitExchangeRates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eur"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gbp"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"date"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<IncomeChargesChartQuery, IncomeChargesChartQueryVariables>;
export const DocumentsToChargeMatcherDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DocumentsToChargeMatcher"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DocumentsFilters"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsByFilters"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsToMatchFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"chargesByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargeToMatchDocumentsFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DocumentsToMatchFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Document"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargeToMatchDocumentsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}}]}}]} as unknown as DocumentNode<DocumentsToChargeMatcherQuery, DocumentsToChargeMatcherQueryVariables>;
export const FetchBusinessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FetchBusiness"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"governmentId"}},{"kind":"Field","name":{"kind":"Name","value":"hebrewName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"sortCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"website"}}]}}]}}]}}]} as unknown as DocumentNode<FetchBusinessQuery, FetchBusinessQueryVariables>;
export const EditDocumentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EditDocument"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentById"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"documentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<EditDocumentQuery, EditDocumentQueryVariables>;
export const EditTransactionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EditTransaction"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"transactionIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CardFinancialAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"fourDigits"}},{"kind":"Field","name":{"kind":"Name","value":"number"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BankFinancialAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"accountNumber"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"isFee"}}]}}]}}]} as unknown as DocumentNode<EditTransactionQuery, EditTransactionQueryVariables>;
export const UploadDocumentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UploadDocument"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"file"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FileScalar"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uploadDocument"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"file"},"value":{"kind":"Variable","name":{"kind":"Name","value":"file"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UploadDocumentSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"document"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UploadDocumentMutation, UploadDocumentMutationVariables>;
export const AllBusinessTripsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllBusinessTrips"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allBusinessTrips"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllBusinessTripsQuery, AllBusinessTripsQueryVariables>;
export const AllBusinessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllBusinesses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allBusinesses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AllBusinessesQuery, AllBusinessesQueryVariables>;
export const AllEmployeesByEmployerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllEmployeesByEmployer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"employerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employeesByEmployerId"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"employerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"employerId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllEmployeesByEmployerQuery, AllEmployeesByEmployerQueryVariables>;
export const AllFinancialAccountsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllFinancialAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allFinancialAccounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BankFinancialAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CardFinancialAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CryptoWalletFinancialAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AllFinancialAccountsQuery, AllFinancialAccountsQueryVariables>;
export const AllFinancialEntitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllFinancialEntities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allFinancialEntities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"nodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AllFinancialEntitiesQuery, AllFinancialEntitiesQueryVariables>;
export const AllPensionFundsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllPensionFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allPensionFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllPensionFundsQuery, AllPensionFundsQueryVariables>;
export const AllSortCodesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllSortCodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allSortCodes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllSortCodesQuery, AllSortCodesQueryVariables>;
export const AllTaxCategoriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllTaxCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllTaxCategoriesQuery, AllTaxCategoriesQueryVariables>;
export const AllTrainingFundsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllTrainingFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allTrainingFunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllTrainingFundsQuery, AllTrainingFundsQueryVariables>;
export const FetchMultipleChargesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FetchMultipleCharges"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargesByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"invoicesCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conversion"}},{"kind":"Field","name":{"kind":"Name","value":"property"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}}]}}]}}]} as unknown as DocumentNode<FetchMultipleChargesQuery, FetchMultipleChargesQueryVariables>;
export const EditChargeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EditCharge"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargesByIDs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"property"}},{"kind":"Field","name":{"kind":"Name","value":"conversion"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"yearOfRelevance"}}]}}]}}]} as unknown as DocumentNode<EditChargeQuery, EditChargeQueryVariables>;
export const EditSalaryRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EditSalaryRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"month"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"employeeIDs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecordsByDates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"month"}}},{"kind":"Argument","name":{"kind":"Name","value":"toDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"month"}}},{"kind":"Argument","name":{"kind":"Name","value":"employeeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"employeeIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}}]}}]} as unknown as DocumentNode<EditSalaryRecordQuery, EditSalaryRecordQueryVariables>;
export const DocumentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Documents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Unprocessed"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Proforma"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Receipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Invoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvoiceReceipt"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditInvoice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"file"}},{"kind":"Field","name":{"kind":"Name","value":"creditor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debtor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"serialNumber"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}}]} as unknown as DocumentNode<DocumentsQuery, DocumentsQueryVariables>;
export const TrialBalanceReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TrialBalanceReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSumFromLedgerRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTransactionsSumFromLedgerRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTransactionsSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sortCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"eurSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"gbpSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"usdSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"credit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"debit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<TrialBalanceReportQuery, TrialBalanceReportQueryVariables>;
export const VatMonthlyReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VatMonthlyReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vatReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filters"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportIncomeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportExpensesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportMissingInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportMiscTableFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportBusinessTripsFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"chargeAccountantReviewed"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportIncomeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportExpensesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportAccountantApprovalFields"}},{"kind":"Field","name":{"kind":"Name","value":"business"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatNumber"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"documentSerial"}},{"kind":"Field","name":{"kind":"Name","value":"documentDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"roundedLocalVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesBusinessTripFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDateFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"minEventDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDebitDate"}},{"kind":"Field","name":{"kind":"Name","value":"minDocumentsDate"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesDescriptionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesEntityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isBalanced"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LedgerValidation"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isValid"}},{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesMoreInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreLedgerInfoFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTagsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"missingInfoSuggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTypeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesVatFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"vat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}},{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesBusinessTripFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesEntityFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTagsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTaxCategoryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AllChargesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportIncomeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportIncomeRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportExpensesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"expenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VatReportExpensesRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"roundedLocalVatAfterDeduction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxReducedLocalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportMissingInfoFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportMiscTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"differentMonthDoc"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VatReportBusinessTripsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"VatReportResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrips"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"AllChargesTableFields"}}]}}]}}]} as unknown as DocumentNode<VatMonthlyReportQuery, VatMonthlyReportQueryVariables>;
export const GeneratePcnDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GeneratePCN"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"financialEntityId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pcnFile"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"toDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"financialEntityId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"financialEntityId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reportContent"}},{"kind":"Field","name":{"kind":"Name","value":"fileName"}}]}}]}}]} as unknown as DocumentNode<GeneratePcnQuery, GeneratePcnQueryVariables>;
export const SalaryScreenRecordsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SalaryScreenRecords"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TimelessDate"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"employeeIDs"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecordsByDates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fromDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fromDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"toDate"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toDate"}}},{"kind":"Argument","name":{"kind":"Name","value":"employeeIDs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"employeeIDs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"baseAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"directAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"globalAdditionalHoursAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bonus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"gift"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"recovery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationTakeout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFundsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pensionEmployerPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"compensationsAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"compensationsPercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployeePercentage"}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trainingFundEmployerPercentage"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"healthInsuranceAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployeeAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"socialSecurityEmployerAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"incomeTaxAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"notionalExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vacationDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"added"}},{"kind":"Field","name":{"kind":"Name","value":"taken"}},{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}},{"kind":"Field","name":{"kind":"Name","value":"workDays"}},{"kind":"Field","name":{"kind":"Name","value":"sicknessDays"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"balance"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesRecordFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordEmployeeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordMainSalaryFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFundsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordInsurancesAndTaxesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordWorkFrameFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesMonthFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesRecordFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SalariesTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Salary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"SalariesMonthFields"}}]}}]} as unknown as DocumentNode<SalaryScreenRecordsQuery, SalaryScreenRecordsQueryVariables>;
export const AllTagsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllTagsQuery, AllTagsQueryVariables>;
export const AddTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tag"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tag"}}}]}]}}]} as unknown as DocumentNode<AddTagMutation, AddTagMutationVariables>;
export const FlagForeignFeeTransactionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"FlagForeignFeeTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"flagForeignFeeTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]} as unknown as DocumentNode<FlagForeignFeeTransactionsMutation, FlagForeignFeeTransactionsMutationVariables>;
export const MergeChargesByTransactionReferenceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MergeChargesByTransactionReference"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mergeChargesByTransactionReference"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]} as unknown as DocumentNode<MergeChargesByTransactionReferenceMutation, MergeChargesByTransactionReferenceMutationVariables>;
export const DeleteChargeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCharge"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCharge"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}}]}]}}]} as unknown as DocumentNode<DeleteChargeMutation, DeleteChargeMutationVariables>;
export const DeleteDocumentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDocument"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDocument"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"documentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}}}]}]}}]} as unknown as DocumentNode<DeleteDocumentMutation, DeleteDocumentMutationVariables>;
export const DeleteTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tag"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tag"}}}]}]}}]} as unknown as DocumentNode<DeleteTagMutation, DeleteTagMutationVariables>;
export const FetchIncomeDocumentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"FetchIncomeDocuments"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fetchIncomeDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ownerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<FetchIncomeDocumentsMutation, FetchIncomeDocumentsMutationVariables>;
export const InsertBusinessTripDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertBusinessTrip"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertBusinessTripInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertBusinessTrip"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<InsertBusinessTripMutation, InsertBusinessTripMutationVariables>;
export const InsertDocumentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertDocument"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"record"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertDocumentInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertDocument"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"record"},"value":{"kind":"Variable","name":{"kind":"Name","value":"record"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InsertDocumentSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"document"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<InsertDocumentMutation, InsertDocumentMutationVariables>;
export const InsertSalaryRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertSalaryRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecords"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryRecordInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertSalaryRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"salaryRecords"},"value":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecords"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InsertSalaryRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<InsertSalaryRecordMutation, InsertSalaryRecordMutationVariables>;
export const MergeChargesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MergeCharges"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"baseChargeID"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeIdsToMerge"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChargeInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mergeCharges"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"baseChargeID"},"value":{"kind":"Variable","name":{"kind":"Name","value":"baseChargeID"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeIdsToMerge"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeIdsToMerge"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MergeChargeSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<MergeChargesMutation, MergeChargesMutationVariables>;
export const RegenerateLedgerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RegenerateLedger"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"regenerateLedgerRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Ledger"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<RegenerateLedgerMutation, RegenerateLedgerMutationVariables>;
export const ToggleChargeAccountantApprovalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ToggleChargeAccountantApproval"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"approved"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"toggleChargeAccountantApproval"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"approved"},"value":{"kind":"Variable","name":{"kind":"Name","value":"approved"}}}]}]}}]} as unknown as DocumentNode<ToggleChargeAccountantApprovalMutation, ToggleChargeAccountantApprovalMutationVariables>;
export const UpdateBusinessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusiness"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusiness"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"businessId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessId"}}},{"kind":"Argument","name":{"kind":"Name","value":"ownerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ownerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateBusinessMutation, UpdateBusinessMutationVariables>;
export const UpdateChargeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCharge"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChargeInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCharge"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChargeSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateChargeMutation, UpdateChargeMutationVariables>;
export const UpdateDocumentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDocument"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDocumentFieldsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDocument"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"documentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDocumentSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"document"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]} as unknown as DocumentNode<UpdateDocumentMutation, UpdateDocumentMutationVariables>;
export const UpdateOrInsertSalaryRecordsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOrInsertSalaryRecords"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecords"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryRecordInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertOrUpdateSalaryRecords"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"salaryRecords"},"value":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecords"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InsertSalaryRecordsSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateOrInsertSalaryRecordsMutation, UpdateOrInsertSalaryRecordsMutationVariables>;
export const UpdateSalaryRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSalaryRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecord"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryRecordEditInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateSalaryRecord"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"salaryRecord"},"value":{"kind":"Variable","name":{"kind":"Name","value":"salaryRecord"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateSalaryRecordSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"salaryRecord"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"month"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateSalaryRecordMutation, UpdateSalaryRecordMutationVariables>;
export const UpdateTransactionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTransaction"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTransactionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTransaction"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"transactionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateTransactionMutation, UpdateTransactionMutationVariables>;