@accounter/client
Version:
6,466 lines • 1.18 MB
text/typescript
/* eslint-disable */
import { TimelessDateString } from '../helpers/index.js';
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 */
DateTime: { input: Date; output: Date; }
/** mock */
DividendMock: { input: any; output: any; }
/** File */
FileScalar: { input: File | Blob; output: string; }
/** Rate */
Rate: { input: any; output: any; }
/** Date with no time of day */
TimelessDate: { input: TimelessDateString; output: TimelessDateString; }
/** URL */
URL: { input: URL | string; output: URL | string; }
/** UUID */
UUID: { input: string; output: string; }
/** mock */
VatMock: { input: any; output: any; }
};
/** represents accountant approval status */
export enum AccountantStatus {
Approved = 'APPROVED',
Pending = 'PENDING',
Unapproved = 'UNAPPROVED'
}
/** the input for adding a new business trip accommodation expense */
export type AddBusinessTripAccommodationsExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
attendeesStay?: InputMaybe<Array<BusinessTripAttendeeStayInput>>;
businessTripId: Scalars['UUID']['input'];
country?: InputMaybe<Scalars['String']['input']>;
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
nightsCount?: InputMaybe<Scalars['Int']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for adding a new business trip T&S expense */
export type AddBusinessTripCarRentalExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
days?: InputMaybe<Scalars['Int']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
isFuelExpense?: InputMaybe<Scalars['Boolean']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for adding a new business trip flights expense */
export type AddBusinessTripFlightsExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
attendeeIds?: InputMaybe<Array<Scalars['UUID']['input']>>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
flightClass?: InputMaybe<FlightClass>;
path?: InputMaybe<Array<Scalars['String']['input']>>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for adding a new business trip other expense */
export type AddBusinessTripOtherExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
deductibleExpense?: InputMaybe<Scalars['Boolean']['input']>;
description?: InputMaybe<Scalars['String']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for adding a new business trip T&S expense */
export type AddBusinessTripTravelAndSubsistenceExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
expenseType?: InputMaybe<Scalars['String']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** charge of bank deposits */
export type BankDepositCharge = Charge & {
__typename?: 'BankDepositCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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;
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;
chargeId: Scalars['UUID']['output'];
counterAccount?: Maybe<FinancialEntity>;
details?: Maybe<Scalars['String']['output']>;
foreignAmount?: Maybe<FinancialAmount>;
invoiceDate: Scalars['TimelessDate']['output'];
reference?: Maybe<Scalars['String']['output']>;
};
/** single business transaction summery */
export type BusinessTransactionSum = {
__typename?: 'BusinessTransactionSum';
business: FinancialEntity;
credit: FinancialAmount;
debit: FinancialAmount;
foreignCurrenciesSum: Array<ForeignCurrencySum>;
total: FinancialAmount;
};
/** input variables for businessTransactions */
export type BusinessTransactionsFilter = {
businessIDs?: InputMaybe<Array<Scalars['UUID']['input']>>;
fromDate?: InputMaybe<Scalars['TimelessDate']['input']>;
includeRevaluation?: InputMaybe<Scalars['Boolean']['input']>;
ownerIds?: InputMaybe<Array<Scalars['UUID']['input']>>;
toDate?: InputMaybe<Scalars['TimelessDate']['input']>;
type?: InputMaybe<FinancialEntityType>;
};
/** 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';
accommodationExpenses: Array<BusinessTripAccommodationExpense>;
accountantApproval: AccountantStatus;
attendees: Array<BusinessTripAttendee>;
carRentalExpenses: Array<BusinessTripCarRentalExpense>;
dates?: Maybe<DateRange>;
destination?: Maybe<Country>;
flightExpenses: Array<BusinessTripFlightExpense>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
otherExpenses: Array<BusinessTripOtherExpense>;
purpose?: Maybe<Scalars['String']['output']>;
summary: BusinessTripSummary;
travelAndSubsistenceExpenses: Array<BusinessTripTravelAndSubsistenceExpense>;
uncategorizedTransactions: Array<Maybe<UncategorizedTransaction>>;
};
/** represent a business trip accommodation expense */
export type BusinessTripAccommodationExpense = BusinessTripExpense & {
__typename?: 'BusinessTripAccommodationExpense';
amount?: Maybe<FinancialAmount>;
attendeesStay: Array<BusinessTripAttendeeStay>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
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']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent business trip attendee */
export type BusinessTripAttendee = {
__typename?: 'BusinessTripAttendee';
accommodations: Array<BusinessTripAccommodationExpense>;
arrivalDate?: Maybe<Scalars['TimelessDate']['output']>;
business?: Maybe<Business>;
departureDate?: Maybe<Scalars['TimelessDate']['output']>;
flights: Array<BusinessTripFlightExpense>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** represent a business trip attendee accommodation stay info */
export type BusinessTripAttendeeStay = {
__typename?: 'BusinessTripAttendeeStay';
attendee: BusinessTripAttendee;
id: Scalars['UUID']['output'];
nightsCount: Scalars['Int']['output'];
};
/** the input for attendee accommodation stay info */
export type BusinessTripAttendeeStayInput = {
attendeeId: Scalars['UUID']['input'];
nightsCount: Scalars['Int']['input'];
};
/** the input for updating a business trip attendee */
export type BusinessTripAttendeeUpdateInput = {
arrivalDate?: InputMaybe<Scalars['TimelessDate']['input']>;
attendeeId: Scalars['UUID']['input'];
businessTripId: Scalars['UUID']['input'];
departureDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** represent a business trip car rental expense */
export type BusinessTripCarRentalExpense = BusinessTripExpense & {
__typename?: 'BusinessTripCarRentalExpense';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
date?: Maybe<Scalars['TimelessDate']['output']>;
/** הוצאה מוכרת */
days: Scalars['Int']['output'];
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
/** פירוט */
isFuelExpense: Scalars['Boolean']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** charge of dividends */
export type BusinessTripCharge = Charge & {
__typename?: 'BusinessTripCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
businessTrip?: Maybe<BusinessTrip>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** business trip expense prototype */
export type BusinessTripExpense = {
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
/** שולם על ידי העובד */
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent category type of business trip summary */
export enum BusinessTripExpenseCategories {
Accommodation = 'ACCOMMODATION',
CarRental = 'CAR_RENTAL',
Flight = 'FLIGHT',
Other = 'OTHER',
TravelAndSubsistence = 'TRAVEL_AND_SUBSISTENCE'
}
/** represent a business trip flight expense */
export type BusinessTripFlightExpense = BusinessTripExpense & {
__typename?: 'BusinessTripFlightExpense';
amount?: Maybe<FinancialAmount>;
attendees: Array<BusinessTripAttendee>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
class?: Maybe<Scalars['String']['output']>;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
path?: Maybe<Array<Scalars['String']['output']>>;
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent a business trip other expense */
export type BusinessTripOtherExpense = BusinessTripExpense & {
__typename?: 'BusinessTripOtherExpense';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
date?: Maybe<Scalars['TimelessDate']['output']>;
/** הוצאה מוכרת */
deductibleExpense?: Maybe<Scalars['Boolean']['output']>;
/** פירוט */
description?: Maybe<Scalars['String']['output']>;
employee?: Maybe<FinancialEntity>;
id: Scalars['UUID']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** represent business trip summary data */
export type BusinessTripSummary = {
__typename?: 'BusinessTripSummary';
errors?: Maybe<Array<Scalars['String']['output']>>;
excessExpenditure?: Maybe<FinancialAmount>;
excessTax?: Maybe<Scalars['Float']['output']>;
rows: Array<BusinessTripSummaryRow>;
};
/** represent category type of business trip summary */
export enum BusinessTripSummaryCategories {
Accommodation = 'ACCOMMODATION',
CarRental = 'CAR_RENTAL',
Flight = 'FLIGHT',
Other = 'OTHER',
Total = 'TOTAL',
TravelAndSubsistence = 'TRAVEL_AND_SUBSISTENCE'
}
/** represent business trip summary data row */
export type BusinessTripSummaryRow = {
__typename?: 'BusinessTripSummaryRow';
excessExpenditure?: Maybe<FinancialAmount>;
maxTaxableForeignCurrency: FinancialAmount;
maxTaxableLocalCurrency?: Maybe<FinancialAmount>;
taxableForeignCurrency: FinancialAmount;
taxableLocalCurrency?: Maybe<FinancialAmount>;
totalForeignCurrency: FinancialAmount;
totalLocalCurrency?: Maybe<FinancialAmount>;
type: BusinessTripSummaryCategories;
};
/** represent a business trip travel and subsistence expense */
export type BusinessTripTravelAndSubsistenceExpense = BusinessTripExpense & {
__typename?: 'BusinessTripTravelAndSubsistenceExpense';
amount?: Maybe<FinancialAmount>;
businessTrip: BusinessTrip;
charges?: Maybe<Array<Charge>>;
date?: Maybe<Scalars['TimelessDate']['output']>;
employee?: Maybe<FinancialEntity>;
/** סוג ההוצאה */
expenseType?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
payedByEmployee?: Maybe<Scalars['Boolean']['output']>;
transactions?: Maybe<Array<Transaction>>;
valueDate?: Maybe<Scalars['TimelessDate']['output']>;
};
/** 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>;
};
/** the input for categorizing a business trip expense */
export type CategorizeBusinessTripExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
category?: InputMaybe<BusinessTripExpenseCategories>;
transactionId: Scalars['UUID']['input'];
};
/** the input for categorizing into an existing business trip expense */
export type CategorizeIntoExistingBusinessTripExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripExpenseId: Scalars['UUID']['input'];
transactionId: Scalars['UUID']['input'];
};
/** 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: AccountantStatus;
/** additional documents attached to the charge */
additionalDocuments: Array<Document>;
/** is currency conversion */
conversion?: Maybe<Scalars['Boolean']['output']>;
/** calculated counterparty details for the charge */
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
/** is invoice currency different from the payment currency */
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['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['DateTime']['output']>;
/** minimal date from linked documents */
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
/** minimal event date from linked transactions */
minEventDate?: Maybe<Scalars['DateTime']['output']>;
/** list of misc expenses linked to transactions of the charge */
miscExpenses: Array<MiscExpense>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
/** flag for optional VAT */
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
/** 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 */
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** input variables for charge filtering */
export type ChargeFilter = {
accountantStatus?: InputMaybe<Array<AccountantStatus>>;
/** 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 ledger records linked */
withoutLedger?: InputMaybe<Scalars['Boolean']['input']>;
/** Include only charges that doesn't have receipt document linked */
withoutReceipt?: InputMaybe<Scalars['Boolean']['input']>;
/** Include only charges that doesn't have transactions linked */
withoutTransactions?: 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['DateTime']['output'];
documentsCount: Scalars['Int']['output'];
invalidDocuments: Scalars['Boolean']['output'];
invalidLedger: LedgerValidationStatus;
invalidTransactions: Scalars['Boolean']['output'];
invoicesCount: Scalars['Int']['output'];
isSalary: Scalars['Boolean']['output'];
ledgerCount: Scalars['Int']['output'];
miscExpensesCount: Scalars['Int']['output'];
optionalBusinesses: Array<Scalars['String']['output']>;
receiptsCount: Scalars['Int']['output'];
transactionsCount: Scalars['Int']['output'];
/** when the charge was last updated */
updatedAt: Scalars['DateTime']['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>;
};
/** result type for charges with ledger changes */
export type ChargesWithLedgerChangesResult = {
__typename?: 'ChargesWithLedgerChangesResult';
charge?: Maybe<Charge>;
progress: Scalars['Float']['output'];
};
/** common charge */
export type CommonCharge = Charge & {
__typename?: 'CommonCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
/** depreciation records */
depreciationRecords: Array<DepreciationRecord>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** common type of errors */
export type CommonError = Error & {
__typename?: 'CommonError';
message: Scalars['String']['output'];
};
/** temp type until DB supports transactions differentiation */
export type CommonTransaction = Transaction & {
__typename?: 'CommonTransaction';
account: FinancialAccount;
amount: FinancialAmount;
balance: FinancialAmount;
chargeId: Scalars['UUID']['output'];
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['DateTime']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
exactEffectiveDate?: Maybe<Scalars['DateTime']['output']>;
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'];
sourceEffectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
updatedAt: Scalars['DateTime']['output'];
};
/** charge with conversion transactions */
export type ConversionCharge = Charge & {
__typename?: 'ConversionCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
eventRate?: Maybe<ConversionRate>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
officialRate?: Maybe<ConversionRate>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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'];
chargeId: Scalars['UUID']['output'];
counterparty?: Maybe<FinancialEntity>;
createdAt: Scalars['DateTime']['output'];
cryptoExchangeRate?: Maybe<ConversionRate>;
debitExchangeRates?: Maybe<ExchangeRates>;
direction: TransactionDirection;
effectiveDate: Scalars['TimelessDate']['output'];
eventDate: Scalars['TimelessDate']['output'];
eventExchangeRates?: Maybe<ExchangeRates>;
exactEffectiveDate?: Maybe<Scalars['DateTime']['output']>;
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'];
sourceEffectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
type: ConversionTransactionType;
updatedAt: Scalars['DateTime']['output'];
};
/** Type pf conversion transaction */
export enum ConversionTransactionType {
/** מכירה */
Base = 'BASE',
/** קניה */
Quote = 'QUOTE'
}
/** Corporate tax variables */
export type CorporateTax = {
__typename?: 'CorporateTax';
corporateId: Scalars['UUID']['output'];
date: Scalars['TimelessDate']['output'];
id: Scalars['ID']['output'];
taxRate: Scalars['Float']['output'];
};
/** Corporate tax rule */
export type CorporateTaxRule = {
__typename?: 'CorporateTaxRule';
id: Scalars['ID']['output'];
isCompliant: Scalars['Boolean']['output'];
percentage: CorporateTaxRulePercentage;
rule: Scalars['String']['output'];
};
/** Corporate tax rule percentage */
export type CorporateTaxRulePercentage = {
__typename?: 'CorporateTaxRulePercentage';
formatted: Scalars['String']['output'];
value: Scalars['Float']['output'];
};
/** result type for corporateTaxReport */
export type CorporateTaxRulingComplianceReport = {
__typename?: 'CorporateTaxRulingComplianceReport';
businessTripRndExpenses: FinancialAmount;
differences: CorporateTaxRulingComplianceReportDifferences;
foreignDevelopmentExpenses: FinancialAmount;
foreignDevelopmentRelativeToRnd: CorporateTaxRule;
id: Scalars['ID']['output'];
localDevelopmentExpenses: FinancialAmount;
localDevelopmentRelativeToRnd: CorporateTaxRule;
researchAndDevelopmentExpenses: FinancialAmount;
rndRelativeToIncome: CorporateTaxRule;
totalIncome: FinancialAmount;
year: Scalars['Int']['output'];
};
/** Differences between the report info and the generated ledger suggested info */
export type CorporateTaxRulingComplianceReportDifferences = {
__typename?: 'CorporateTaxRulingComplianceReportDifferences';
businessTripRndExpenses?: Maybe<FinancialAmount>;
foreignDevelopmentExpenses?: Maybe<FinancialAmount>;
foreignDevelopmentRelativeToRnd?: Maybe<CorporateTaxRule>;
id: Scalars['ID']['output'];
localDevelopmentExpenses?: Maybe<FinancialAmount>;
localDevelopmentRelativeToRnd?: Maybe<CorporateTaxRule>;
researchAndDevelopmentExpenses?: Maybe<FinancialAmount>;
rndRelativeToIncome?: Maybe<CorporateTaxRule>;
totalIncome?: Maybe<FinancialAmount>;
};
/** a country */
export type Country = {
__typename?: 'Country';
code: Scalars['String']['output'];
id: Scalars['ID']['output'];
name: Scalars['String']['output'];
};
/** 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']>;
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** charge of creditcard over bank account */
export type CreditcardBankCharge = Charge & {
__typename?: 'CreditcardBankCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
creditCardTransactions: Array<Transaction>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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']>;
validCreditCardAmount: Scalars['Boolean']['output'];
validationData?: Maybe<ValidationData>;
vat?: Maybe<FinancialAmount>;
withholdingTax?: Maybe<FinancialAmount>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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 {
Cad = 'CAD',
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'];
};
/** the input for removing a business trip attendee */
export type DeleteBusinessTripAttendeeInput = {
attendeeId: Scalars['UUID']['input'];
businessTripId: Scalars['UUID']['input'];
};
/** represent a category of depreciation */
export type DepreciationCategory = {
__typename?: 'DepreciationCategory';
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
percentage: Scalars['Float']['output'];
};
/** represent a depreciation record for a charge */
export type DepreciationRecord = {
__typename?: 'DepreciationRecord';
activationDate: Scalars['TimelessDate']['output'];
amount: FinancialAmount;
category: DepreciationCategory;
charge: Charge;
chargeId: Scalars['UUID']['output'];
id: Scalars['UUID']['output'];
type?: Maybe<DepreciationType>;
};
/** depreciation type */
export enum DepreciationType {
GeneralAndManagement = 'GENERAL_AND_MANAGEMENT',
Marketing = 'MARKETING',
ResearchAndDevelopment = 'RESEARCH_AND_DEVELOPMENT'
}
/** charge of dividends */
export type DividendCharge = Charge & {
__typename?: 'DividendCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** represent a generic document with identifier and a URL */
export type Document = {
charge?: Maybe<Charge>;
/** 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',
Other = 'OTHER',
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']>;
};
/** dynamic report data */
export type DynamicReportInfo = {
__typename?: 'DynamicReportInfo';
created: Scalars['DateTime']['output'];
id: Scalars['ID']['output'];
name: Scalars['String']['output'];
template: Array<DynamicReportNode>;
updated: Scalars['DateTime']['output'];
};
/** a single node of dynamic report template */
export type DynamicReportNode = {
__typename?: 'DynamicReportNode';
data: DynamicReportNodeData;
droppable: Scalars['Boolean']['output'];
id: Scalars['ID']['output'];
parent: Scalars['String']['output'];
text: Scalars['String']['output'];
};
/** data of a single node of dynamic report template */
export type DynamicReportNodeData = {
__typename?: 'DynamicReportNodeData';
descendantFinancialEntities?: Maybe<Array<Scalars['UUID']['output']>>;
descendantSortCodes?: Maybe<Array<Scalars['Int']['output']>>;
hebrewText?: Maybe<Scalars['String']['output']>;
isOpen: Scalars['Boolean']['output'];
mergedSortCodes?: Maybe<Array<Scalars['Int']['output']>>;
};
/** 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';
cad?: Maybe<FinancialAmount>;
date: Scalars['TimelessDate']['output'];
eur?: Maybe<FinancialAmount>;
gbp?: Maybe<FinancialAmount>;
usd?: Maybe<FinancialAmount>;
};
/** 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'];
};
/** financial charge */
export type FinancialCharge = Charge & {
__typename?: 'FinancialCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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']>;
/** missing info suggestions data */
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** 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 entity type */
export enum FinancialEntityType {
Business = 'BUSINESS',
TaxCategory = 'TAX_CATEGORY'
}
/** 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>>;
};
/** represent flight classes */
export enum FlightClass {
Business = 'BUSINESS',
Economy = 'ECONOMY',
FirstClass = 'FIRST_CLASS',
PremiumEconomy = 'PREMIUM_ECONOMY'
}
/** summary of foreign currency business transactions */
export type ForeignCurrencySum = {
__typename?: 'ForeignCurrencySum';
credit: FinancialAmount;
currency: Currency;
debit: FinancialAmount;
total: FinancialAmount;
};
/** fund entity prototype */
export type Fund = {
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
};
/** result type for generateMonthlyClientDocuments */
export type GenerateMonthlyClientDocumentsResult = {
__typename?: 'GenerateMonthlyClientDocumentsResult';
errors?: Maybe<Array<Scalars['String']['output']>>;
success: Scalars['Boolean']['output'];
};
/** result type for ledger records */
export type GeneratedLedgerRecords = CommonError | Ledger;
/** income chart information */
export type IncomeExpenseChart = {
__typename?: 'IncomeExpenseChart';
currency: Currency;
fromDate: Scalars['TimelessDate']['output'];
monthlyData: Array<IncomeExpenseChartMonthData>;
toDate: Scalars['TimelessDate']['output'];
};
/** input variables for incomeExpenseChart filters */
export type IncomeExpenseChartFilters = {
currency?: InputMaybe<Currency>;
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
};
/** income chart month information */
export type IncomeExpenseChartMonthData = {
__typename?: 'IncomeExpenseChartMonthData';
balance: FinancialAmount;
date: Scalars['TimelessDate']['output'];
expense: FinancialAmount;
income: FinancialAmount;
};
/** the input for adding an attendee to a business trip */
export type InsertBusinessTripAttendeeInput = {
arrivalDate?: InputMaybe<Scalars['TimelessDate']['input']>;
attendeeId: Scalars['UUID']['input'];
businessTripId: Scalars['UUID']['input'];
departureDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for creating a business trip */
export type InsertBusinessTripInput = {
destinationCode?: 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 insertDepreciationCategory */
export type InsertDepreciationCategoryInput = {
name: Scalars['String']['input'];
percentage: Scalars['Float']['input'];
};
/** result type for insertDepreciationCategory */
export type InsertDepreciationCategoryResult = CommonError | DepreciationCategory;
/** input variables for insertDepreciationRecord */
export type InsertDepreciationRecordInput = {
activationDate: Scalars['TimelessDate']['input'];
amount?: InputMaybe<Scalars['Float']['input']>;
categoryId: Scalars['UUID']['input'];
chargeId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
type?: InputMaybe<DepreciationType>;
};
/** result type for insertDepreciationRecord */
export type InsertDepreciationRecordResult = CommonError | DepreciationRecord;
/** 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']>;
noVatAmount?: InputMaybe<Scalars['Float']['input']>;
serialNumber?: InputMaybe<Scalars['String']['input']>;
vat?: InputMaybe<FinancialAmountInput>;
vatReportDateOverride?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** result type for insertDocument */
export type InsertDocumentResult = CommonError | InsertDocumentSuccessfulResult;
/** result type for insertDocument */
export type InsertDocumentSuccessfulResult = {
__typename?: 'InsertDocumentSuccessfulResult';
document?: Maybe<Document>;
};
/** input variables for insertMiscExpense */
export type InsertMiscExpenseInput = {
amount: Scalars['Float']['input'];
chargeId: Scalars['UUID']['input'];
creditorId: Scalars['UUID']['input'];
currency: Currency;
debtorId: Scalars['UUID']['input'];
description?: InputMaybe<Scalars['String']['input']>;
invoiceDate: Scalars['TimelessDate']['input'];
valueDate: Scalars['DateTime']['input'];
};
/** input for insertNewBusiness */
export type InsertNewBusinessInput = {
address?: InputMaybe<Scalars['String']['input']>;
country?: InputMaybe<Scalars['String']['input']>;
email?: InputMaybe<Scalars['String']['input']>;
exemptDealer?: InputMaybe<Scalars['Boolean']['input']>;
governmentId?: InputMaybe<Scalars['String']['input']>;
hebrewName?: InputMaybe<Scalars['String']['input']>;
name: Scalars['String']['input'];
optionalVAT?: InputMaybe<Scalars['Boolean']['input']>;
phoneNumber?: InputMaybe<Scalars['String']['input']>;
sortCode?: InputMaybe<Scalars['Int']['input']>;
suggestions?: InputMaybe<SuggestionsInput>;
taxCategory?: InputMaybe<Scalars['UUID']['input']>;
website?: InputMaybe<Scalars['String']['input']>;
};
/** result type for insertSalaryRecord */
export type InsertSalaryRecordsResult = CommonError | InsertSalaryRecordsSuccessfulResult;
/** result type for insertSalaryRecord */
export type InsertSalaryRecordsSuccessfulResult = {
__typename?: 'InsertSalaryRecordsSuccessfulResult';
salaryRecords: Array<Salary>;
};
/** input for insertTaxCategory */
export type InsertTaxCategoryInput = {
hashavshevetName?: InputMaybe<Scalars['String']['input']>;
name: Scalars['String']['input'];
sortCode?: InputMaybe<Scalars['Int']['input']>;
};
/** charge of internal transfer */
export type InternalTransferCharge = Charge & {
__typename?: 'InternalTransferCharge';
accountantApproval: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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']>;
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** 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']>;
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** array of ledger records linked to the charge */
export type Ledger = {
__typename?: 'Ledger';
balance?: Maybe<LedgerBalanceInfo>;
records: Array<LedgerRecord>;
validate: LedgerValidation;
};
/** array of ledger records linked to the charge */
export type LedgerValidateArgs = {
shouldInsertLedgerInNew?: InputMaybe<Scalars['Boolean']['input']>;
};
/** 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['DateTime']['output'];
localCurrencyCreditAmount1: FinancialAmount;
localCurrencyCreditAmount2?: Maybe<FinancialAmount>;
localCurrencyDebitAmount1: FinancialAmount;
localCurrencyDebitAmount2?: Maybe<FinancialAmount>;
reference?: Maybe<Scalars['String']['output']>;
valueDate: Scalars['DateTime']['output'];
};
/** ledger validation info */
export type LedgerValidation = {
__typename?: 'LedgerValidation';
differences: Array<LedgerRecord>;
errors: Array<Scalars['String']['output']>;
isValid: Scalars['Boolean']['output'];
matches: Array<Scalars['UUID']['output']>;
};
/** represent charge's metadata ledger validation status */
export enum LedgerValidationStatus {
Diff = 'DIFF',
Invalid = 'INVALID',
Valid = 'VALID'
}
/** 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;
country: Scalars['String']['output'];
email?: Maybe<Scalars['String']['output']>;
exemptDealer?: Maybe<Scalars['Boolean']['output']>;
governmentId?: Maybe<Scalars['String']['output']>;
hebrewName?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
phoneNumber?: Maybe<Scalars['String']['output']>;
sortCode?: Maybe<SortCode>;
suggestions?: Maybe<Suggestions>;
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'];
};
/** a misc expense */
export type MiscExpense = {
__typename?: 'MiscExpense';
amount: FinancialAmount;
charge: Charge;
chargeId: Scalars['UUID']['output'];
creditor: FinancialEntity;
debtor: FinancialEntity;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['UUID']['output'];
invoiceDate: Scalars['TimelessDate']['output'];
valueDate: Scalars['DateTime']['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: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** mutation root */
export type Mutation = {
__typename?: 'Mutation';
addBusinessTripAccommodationsExpense: Scalars['UUID']['output'];
addBusinessTripCarRentalExpense: Scalars['UUID']['output'];
addBusinessTripFlightsExpense: Scalars['UUID']['output'];
addBusinessTripOtherExpense: Scalars['UUID']['output'];
addBusinessTripTravelAndSubsistenceExpense: Scalars['UUID']['output'];
addTag: Scalars['Boolean']['output'];
batchGenerateBusinessesOutOfTransactions: Array<Business>;
batchUploadDocuments: Array<UploadDocumentResult>;
batchUploadDocumentsFromGoogleDrive: Array<UploadDocumentResult>;
categorizeBusinessTripExpense: Scalars['UUID']['output'];
categorizeIntoExistingBusinessTripExpense: Scalars['UUID']['output'];
creditShareholdersBusinessTripTravelAndSubsistence: Array<Scalars['UUID']['output']>;
deleteBusinessTripAttendee: Scalars['Boolean']['output'];
deleteBusinessTripExpense: Scalars['Boolean']['output'];
deleteCharge: Scalars['Boolean']['output'];
deleteDepreciationCategory: Scalars['Boolean']['output'];
deleteDepreciationRecord: Scalars['Boolean']['output'];
deleteDocument: Scalars['Boolean']['output'];
deleteDynamicReportTemplate: Scalars['String']['output'];
deleteMiscExpense: Scalars['Boolean']['output'];
deleteTag: Scalars['Boolean']['output'];
fetchIncomeDocuments: Array<Document>;
flagForeignFeeTransactions: FlagForeignFeeTransactionsResult;
generateBankDepositsRevaluationCharge: FinancialCharge;
generateDepreciationCharge: FinancialCharge;
generateMonthlyClientDocuments: GenerateMonthlyClientDocumentsResult;
generateRecoveryReserveCharge: FinancialCharge;
generateRevaluationCharge: FinancialCharge;
generateTaxExpensesCharge: FinancialCharge;
generateVacationReserveCharge: FinancialCharge;
insertBusinessTrip: Scalars['UUID']['output'];
insertBusinessTripAttendee: Scalars['UUID']['output'];
insertDepreciationCategory: InsertDepreciationCategoryResult;
insertDepreciationRecord: InsertDepreciationRecordResult;
insertDocument: InsertDocumentResult;
insertDynamicReportTemplate: DynamicReportInfo;
insertMiscExpense: MiscExpense;
insertNewBusiness: UpdateBusinessResponse;
insertOrUpdateSalaryRecords: InsertSalaryRecordsResult;
insertSalaryRecords: InsertSalaryRecordsResult;
insertSalaryRecordsFromFile: Scalars['Boolean']['output'];
insertTaxCategory: TaxCategory;
mergeBusinesses: Business;
mergeCharges: MergeChargeResult;
mergeChargesByTransactionReference: MergeChargesByTransactionReferenceResult;
pong?: Maybe<Scalars['Boolean']['output']>;
regenerateLedgerRecords: GeneratedLedgerRecords;
uncategorizePartialBusinessTripExpense: Scalars['Boolean']['output'];
updateBusiness: UpdateBusinessResponse;
updateBusinessTrip: Scalars['UUID']['output'];
updateBusinessTripAccommodationsExpense: Scalars['UUID']['output'];
updateBusinessTripAccountantApproval: AccountantStatus;
updateBusinessTripAttendee: Scalars['UUID']['output'];
updateBusinessTripCarRentalExpense: Scalars['UUID']['output'];
updateBusinessTripFlightsExpense: Scalars['UUID']['output'];
updateBusinessTripOtherExpense: Scalars['UUID']['output'];
updateBusinessTripTravelAndSubsistenceExpense: Scalars['UUID']['output'];
updateCharge: UpdateChargeResult;
updateChargeAccountantApproval: AccountantStatus;
updateChargeBusinessTrip?: Maybe<Charge>;
updateDepreciationCategory: UpdateDepreciationCategoryResult;
updateDepreciationRecord: UpdateDepreciationRecordResult;
updateDocument: UpdateDocumentResult;
updateDynamicReportTemplate: DynamicReportInfo;
updateDynamicReportTemplateName: DynamicReportInfo;
updateMiscExpense: MiscExpense;
updateSalaryRecord: UpdateSalaryRecordResult;
updateTag: Scalars['Boolean']['output'];
updateTagParent: Scalars['Boolean']['output'];
updateTagPart: Scalars['Boolean']['output'];
updateTaxCategory: UpdateTaxCategoryResponse;
updateTransaction: UpdateTransactionResult;
uploadDocument: UploadDocumentResult;
};
/** mutation root */
export type MutationAddBusinessTripAccommodationsExpenseArgs = {
fields: AddBusinessTripAccommodationsExpenseInput;
};
/** mutation root */
export type MutationAddBusinessTripCarRentalExpenseArgs = {
fields: AddBusinessTripCarRentalExpenseInput;
};
/** mutation root */
export type MutationAddBusinessTripFlightsExpenseArgs = {
fields: AddBusinessTripFlightsExpenseInput;
};
/** mutation root */
export type MutationAddBusinessTripOtherExpenseArgs = {
fields: AddBusinessTripOtherExpenseInput;
};
/** mutation root */
export type MutationAddBusinessTripTravelAndSubsistenceExpenseArgs = {
fields: AddBusinessTripTravelAndSubsistenceExpenseInput;
};
/** mutation root */
export type MutationAddTagArgs = {
name: Scalars['String']['input'];
parentId?: InputMaybe<Scalars['UUID']['input']>;
};
/** mutation root */
export type MutationBatchUploadDocumentsArgs = {
chargeId?: InputMaybe<Scalars['UUID']['input']>;
documents: Array<Scalars['FileScalar']['input']>;
isSensitive?: InputMaybe<Scalars['Boolean']['input']>;
};
/** mutation root */
export type MutationBatchUploadDocumentsFromGoogleDriveArgs = {
chargeId?: InputMaybe<Scalars['UUID']['input']>;
isSensitive?: InputMaybe<Scalars['Boolean']['input']>;
sharedFolderUrl: Scalars['String']['input'];
};
/** mutation root */
export type MutationCategorizeBusinessTripExpenseArgs = {
fields: CategorizeBusinessTripExpenseInput;
};
/** mutation root */
export type MutationCategorizeIntoExistingBusinessTripExpenseArgs = {
fields: CategorizeIntoExistingBusinessTripExpenseInput;
};
/** mutation root */
export type MutationCreditShareholdersBusinessTripTravelAndSubsistenceArgs = {
businessTripId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteBusinessTripAttendeeArgs = {
fields: DeleteBusinessTripAttendeeInput;
};
/** mutation root */
export type MutationDeleteBusinessTripExpenseArgs = {
businessTripExpenseId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteChargeArgs = {
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteDepreciationCategoryArgs = {
depreciationCategoryId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteDepreciationRecordArgs = {
depreciationRecordId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteDocumentArgs = {
documentId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteDynamicReportTemplateArgs = {
name: Scalars['String']['input'];
};
/** mutation root */
export type MutationDeleteMiscExpenseArgs = {
id: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationDeleteTagArgs = {
id: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationFetchIncomeDocumentsArgs = {
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationGenerateBankDepositsRevaluationChargeArgs = {
date: Scalars['TimelessDate']['input'];
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationGenerateDepreciationChargeArgs = {
ownerId: Scalars['UUID']['input'];
year: Scalars['TimelessDate']['input'];
};
/** mutation root */
export type MutationGenerateRecoveryReserveChargeArgs = {
ownerId: Scalars['UUID']['input'];
year: Scalars['TimelessDate']['input'];
};
/** mutation root */
export type MutationGenerateRevaluationChargeArgs = {
date: Scalars['TimelessDate']['input'];
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationGenerateTaxExpensesChargeArgs = {
ownerId: Scalars['UUID']['input'];
year: Scalars['TimelessDate']['input'];
};
/** mutation root */
export type MutationGenerateVacationReserveChargeArgs = {
ownerId: Scalars['UUID']['input'];
year: Scalars['TimelessDate']['input'];
};
/** mutation root */
export type MutationInsertBusinessTripArgs = {
fields: InsertBusinessTripInput;
};
/** mutation root */
export type MutationInsertBusinessTripAttendeeArgs = {
fields: InsertBusinessTripAttendeeInput;
};
/** mutation root */
export type MutationInsertDepreciationCategoryArgs = {
input: InsertDepreciationCategoryInput;
};
/** mutation root */
export type MutationInsertDepreciationRecordArgs = {
input: InsertDepreciationRecordInput;
};
/** mutation root */
export type MutationInsertDocumentArgs = {
record: InsertDocumentInput;
};
/** mutation root */
export type MutationInsertDynamicReportTemplateArgs = {
name: Scalars['String']['input'];
template: Scalars['String']['input'];
};
/** mutation root */
export type MutationInsertMiscExpenseArgs = {
fields: InsertMiscExpenseInput;
};
/** mutation root */
export type MutationInsertNewBusinessArgs = {
fields: InsertNewBusinessInput;
};
/** mutation root */
export type MutationInsertOrUpdateSalaryRecordsArgs = {
salaryRecords: Array<SalaryRecordInput>;
};
/** mutation root */
export type MutationInsertSalaryRecordsArgs = {
salaryRecords: Array<SalaryRecordInput>;
};
/** mutation root */
export type MutationInsertSalaryRecordsFromFileArgs = {
chargeId: Scalars['UUID']['input'];
file: Scalars['FileScalar']['input'];
};
/** mutation root */
export type MutationInsertTaxCategoryArgs = {
fields: InsertTaxCategoryInput;
};
/** mutation root */
export type MutationMergeBusinessesArgs = {
businessIdsToMerge: Array<Scalars['UUID']['input']>;
targetBusinessId: Scalars['UUID']['input'];
};
/** 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 MutationUncategorizePartialBusinessTripExpenseArgs = {
businessTripExpenseId: Scalars['UUID']['input'];
transactionId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateBusinessArgs = {
businessId: Scalars['UUID']['input'];
fields: UpdateBusinessInput;
ownerId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateBusinessTripArgs = {
fields: UpdateBusinessTripInput;
};
/** mutation root */
export type MutationUpdateBusinessTripAccommodationsExpenseArgs = {
fields: UpdateBusinessTripAccommodationsExpenseInput;
};
/** mutation root */
export type MutationUpdateBusinessTripAccountantApprovalArgs = {
approvalStatus: AccountantStatus;
businessTripId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateBusinessTripAttendeeArgs = {
fields: BusinessTripAttendeeUpdateInput;
};
/** mutation root */
export type MutationUpdateBusinessTripCarRentalExpenseArgs = {
fields: UpdateBusinessTripCarRentalExpenseInput;
};
/** mutation root */
export type MutationUpdateBusinessTripFlightsExpenseArgs = {
fields: UpdateBusinessTripFlightsExpenseInput;
};
/** mutation root */
export type MutationUpdateBusinessTripOtherExpenseArgs = {
fields: UpdateBusinessTripOtherExpenseInput;
};
/** mutation root */
export type MutationUpdateBusinessTripTravelAndSubsistenceExpenseArgs = {
fields: UpdateBusinessTripTravelAndSubsistenceExpenseInput;
};
/** mutation root */
export type MutationUpdateChargeArgs = {
chargeId: Scalars['UUID']['input'];
fields: UpdateChargeInput;
};
/** mutation root */
export type MutationUpdateChargeAccountantApprovalArgs = {
approvalStatus: AccountantStatus;
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateChargeBusinessTripArgs = {
businessTripId?: InputMaybe<Scalars['UUID']['input']>;
chargeId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateDepreciationCategoryArgs = {
input: UpdateDepreciationCategoryInput;
};
/** mutation root */
export type MutationUpdateDepreciationRecordArgs = {
input: UpdateDepreciationRecordInput;
};
/** mutation root */
export type MutationUpdateDocumentArgs = {
documentId: Scalars['UUID']['input'];
fields: UpdateDocumentFieldsInput;
};
/** mutation root */
export type MutationUpdateDynamicReportTemplateArgs = {
name: Scalars['String']['input'];
template: Scalars['String']['input'];
};
/** mutation root */
export type MutationUpdateDynamicReportTemplateNameArgs = {
name: Scalars['String']['input'];
newName: Scalars['String']['input'];
};
/** mutation root */
export type MutationUpdateMiscExpenseArgs = {
fields: UpdateMiscExpenseInput;
id: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateSalaryRecordArgs = {
salaryRecord: SalaryRecordEditInput;
};
/** mutation root */
export type MutationUpdateTagArgs = {
fields: UpdateTagFieldsInput;
id: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateTagParentArgs = {
id: Scalars['UUID']['input'];
parentId?: InputMaybe<Scalars['UUID']['input']>;
};
/** mutation root */
export type MutationUpdateTagPartArgs = {
chargeId: Scalars['UUID']['input'];
part: Scalars['Float']['input'];
tagId: Scalars['UUID']['input'];
};
/** mutation root */
export type MutationUpdateTaxCategoryArgs = {
fields: UpdateTaxCategoryInput;
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'];
};
/** processed non-financial document */
export type OtherDocument = Document & Linkable & {
__typename?: 'OtherDocument';
charge?: Maybe<Charge>;
documentType?: Maybe<DocumentType>;
file?: Maybe<Scalars['URL']['output']>;
id: Scalars['UUID']['output'];
image?: Maybe<Scalars['URL']['output']>;
isReviewed?: Maybe<Scalars['Boolean']['output']>;
};
/** 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;
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']>;
};
/** result type for profitAndLossReport */
export type ProfitAndLossReport = {
__typename?: 'ProfitAndLossReport';
id: Scalars['ID']['output'];
reference: Array<ProfitAndLossReportYear>;
report: ProfitAndLossReportYear;
};
/** profit and loss data for a single year */
export type ProfitAndLossReportYear = {
__typename?: 'ProfitAndLossReportYear';
costOfSales: ReportCommentary;
financialExpenses: ReportCommentary;
grossProfit: FinancialAmount;
id: Scalars['ID']['output'];
managementAndGeneralExpenses: ReportCommentary;
marketingExpenses: ReportCommentary;
netProfit: FinancialAmount;
operatingProfit: FinancialAmount;
otherIncome: ReportCommentary;
profitBeforeTax: FinancialAmount;
researchAndDevelopmentExpenses: ReportCommentary;
revenue: ReportCommentary;
tax: FinancialAmount;
year: Scalars['Int']['output'];
};
/** 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']>;
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** query root */
export type Query = {
__typename?: 'Query';
allBusinessTrips: Array<BusinessTrip>;
allBusinesses?: Maybe<PaginatedBusinesses>;
allCharges: PaginatedCharges;
allCountries: Array<Country>;
allDynamicReports: Array<DynamicReportInfo>;
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>;
businesses: Array<Business>;
chargesByIDs: Array<Charge>;
chargesWithLedgerChanges: Array<ChargesWithLedgerChangesResult>;
chargesWithMissingRequiredInfo: PaginatedCharges;
corporateTaxByDate: CorporateTax;
corporateTaxRulingComplianceReport: Array<CorporateTaxRulingComplianceReport>;
depreciationCategories: Array<DepreciationCategory>;
depreciationRecordsByCharge: Array<DepreciationRecord>;
documentById?: Maybe<Document>;
documents: Array<Document>;
documentsByFilters: Array<Document>;
dynamicReport: DynamicReportInfo;
employeesByEmployerId: Array<Employee>;
/** get exchage rates by date */
exchangeRates?: Maybe<ExchangeRates>;
financialEntity: FinancialEntity;
incomeExpenseChart: IncomeExpenseChart;
ledgerRecordsByDates: Array<LedgerRecord>;
miscExpensesByCharge: Array<MiscExpense>;
pcnFile: PcnFileResult;
ping?: Maybe<Scalars['Boolean']['output']>;
profitAndLossReport: ProfitAndLossReport;
salaryRecordsByCharge: Array<Salary>;
salaryRecordsByDates: Array<Salary>;
/** get similar transactions */
similarTransactions: Array<Transaction>;
taxCategories: Array<TaxCategory>;
taxCategory: TaxCategory;
taxCategoryByBusinessId?: Maybe<TaxCategory>;
taxReport: TaxReport;
transactionsByIDs: Array<Transaction>;
vatReport: VatReportResult;
yearlyLedgerReport: YearlyLedgerReport;
};
/** query root */
export type QueryAllBusinessesArgs = {
limit?: InputMaybe<Scalars['Int']['input']>;
name?: InputMaybe<Scalars['String']['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 QueryBusinessesArgs = {
ids: Array<Scalars['UUID']['input']>;
};
/** query root */
export type QueryChargesByIDsArgs = {
chargeIDs: Array<Scalars['UUID']['input']>;
};
/** query root */
export type QueryChargesWithLedgerChangesArgs = {
filters?: InputMaybe<ChargeFilter>;
limit?: InputMaybe<Scalars['Int']['input']>;
};
/** query root */
export type QueryChargesWithMissingRequiredInfoArgs = {
limit?: InputMaybe<Scalars['Int']['input']>;
page?: InputMaybe<Scalars['Int']['input']>;
};
/** query root */
export type QueryCorporateTaxByDateArgs = {
date: Scalars['TimelessDate']['input'];
};
/** query root */
export type QueryCorporateTaxRulingComplianceReportArgs = {
years: Array<Scalars['Int']['input']>;
};
/** query root */
export type QueryDepreciationRecordsByChargeArgs = {
chargeId: Scalars['UUID']['input'];
};
/** query root */
export type QueryDocumentByIdArgs = {
documentId: Scalars['UUID']['input'];
};
/** query root */
export type QueryDocumentsByFiltersArgs = {
filters: DocumentsFilters;
};
/** query root */
export type QueryDynamicReportArgs = {
name: Scalars['String']['input'];
};
/** 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 QueryIncomeExpenseChartArgs = {
filters: IncomeExpenseChartFilters;
};
/** query root */
export type QueryLedgerRecordsByDatesArgs = {
fromDate: Scalars['TimelessDate']['input'];
toDate: Scalars['TimelessDate']['input'];
};
/** query root */
export type QueryMiscExpensesByChargeArgs = {
chargeId: 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 QueryProfitAndLossReportArgs = {
referenceYears: Array<Scalars['Int']['input']>;
reportYear: Scalars['Int']['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 QuerySimilarTransactionsArgs = {
transactionId: Scalars['UUID']['input'];
withMissingInfo?: InputMaybe<Scalars['Boolean']['input']>;
};
/** query root */
export type QueryTaxCategoryArgs = {
id: Scalars['UUID']['input'];
};
/** query root */
export type QueryTaxCategoryByBusinessIdArgs = {
businessId: Scalars['UUID']['input'];
ownerId: Scalars['UUID']['input'];
};
/** query root */
export type QueryTaxReportArgs = {
referenceYears: Array<Scalars['Int']['input']>;
reportYear: Scalars['Int']['input'];
};
/** query root */
export type QueryTransactionsByIDsArgs = {
transactionIDs: Array<Scalars['UUID']['input']>;
};
/** query root */
export type QueryVatReportArgs = {
filters?: InputMaybe<VatReportFilter>;
};
/** query root */
export type QueryYearlyLedgerReportArgs = {
year: Scalars['Int']['input'];
};
/** 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']>;
missingInfoSuggestions?: Maybe<DocumentSuggestions>;
noVatAmount?: Maybe<Scalars['Float']['output']>;
serialNumber?: Maybe<Scalars['String']['output']>;
vat?: Maybe<FinancialAmount>;
vatReportDateOverride?: Maybe<Scalars['TimelessDate']['output']>;
};
/** Tax report commentary summary */
export type ReportCommentary = {
__typename?: 'ReportCommentary';
amount: FinancialAmount;
records: Array<ReportCommentaryRecord>;
};
/** Report commentary record */
export type ReportCommentaryRecord = {
__typename?: 'ReportCommentaryRecord';
amount: FinancialAmount;
records: Array<ReportCommentarySubRecord>;
sortCode: SortCode;
};
/** Report commentary sub-record */
export type ReportCommentarySubRecord = {
__typename?: 'ReportCommentarySubRecord';
amount: FinancialAmount;
financialEntity: FinancialEntity;
};
/** 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: AccountantStatus;
additionalDocuments: Array<Document>;
conversion?: Maybe<Scalars['Boolean']['output']>;
counterparty?: Maybe<FinancialEntity>;
employees: Array<LtdFinancialEntity>;
exchangeRates?: Maybe<ExchangeRates>;
id: Scalars['UUID']['output'];
isInvoicePaymentDifferentCurrency?: Maybe<Scalars['Boolean']['output']>;
ledger: Ledger;
metadata?: Maybe<ChargeMetadata>;
minDebitDate?: Maybe<Scalars['DateTime']['output']>;
minDocumentsDate?: Maybe<Scalars['DateTime']['output']>;
minEventDate?: Maybe<Scalars['DateTime']['output']>;
miscExpenses: Array<MiscExpense>;
missingInfoSuggestions?: Maybe<ChargeSuggestions>;
optionalVAT?: Maybe<Scalars['Boolean']['output']>;
owner: Business;
property?: Maybe<Scalars['Boolean']['output']>;
salary?: Maybe<Scalars['Boolean']['output']>;
salaryRecords: 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>;
yearsOfRelevance?: Maybe<Array<YearOfRelevance>>;
};
/** 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'];
employee?: InputMaybe<Scalars['String']['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']>;
jobPercentage?: 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']>;
};
/** Ledger record with balance */
export type SingleSidedLedgerRecord = {
__typename?: 'SingleSidedLedgerRecord';
amount: FinancialAmount;
balance: Scalars['Float']['output'];
counterParty?: Maybe<FinancialEntity>;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
invoiceDate: Scalars['DateTime']['output'];
reference?: Maybe<Scalars['String']['output']>;
valueDate: Scalars['DateTime']['output'];
};
/** Sort Code */
export type SortCode = {
__typename?: 'SortCode';
id: Scalars['Int']['output'];
name?: Maybe<Scalars['String']['output']>;
};
/** input for business suggestions */
export type Suggestions = {
__typename?: 'Suggestions';
description?: Maybe<Scalars['String']['output']>;
phrases: Array<Scalars['String']['output']>;
tags: Array<Tag>;
};
/** input for business suggestions */
export type SuggestionsInput = {
description?: InputMaybe<Scalars['String']['input']>;
phrases?: InputMaybe<Array<Scalars['String']['input']>>;
tags?: InputMaybe<Array<TagInput>>;
};
/** defines a tag / category for charge arrangement */
export type Tag = {
__typename?: 'Tag';
fullPath?: Maybe<Array<Tag>>;
id: Scalars['UUID']['output'];
name: Scalars['String']['output'];
namePath?: Maybe<Array<Scalars['String']['output']>>;
parent?: Maybe<Tag>;
};
/** input variables for Tag */
export type TagInput = {
id: 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>;
};
/** result type for taxReport */
export type TaxReport = {
__typename?: 'TaxReport';
id: Scalars['ID']['output'];
reference: Array<TaxReportYear>;
report: TaxReportYear;
};
/** tax data for a single year */
export type TaxReportYear = {
__typename?: 'TaxReportYear';
annualTaxExpense: FinancialAmount;
businessTripsExcessExpensesAmount: FinancialAmount;
fines: ReportCommentary;
id: Scalars['ID']['output'];
profitBeforeTax: ReportCommentary;
researchAndDevelopmentExpensesByRecords: ReportCommentary;
researchAndDevelopmentExpensesForTax: FinancialAmount;
reserves: ReportCommentary;
salaryExcessExpensesAmount: FinancialAmount;
taxRate: Scalars['Float']['output'];
taxableIncome: FinancialAmount;
untaxableGifts: ReportCommentary;
year: Scalars['Int']['output'];
};
/** 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;
/** containing charge ID */
chargeId: Scalars['UUID']['output'];
/** calculated counterparty details for the charge */
counterparty?: Maybe<FinancialEntity>;
/** when the initial transaction was created from the first event we found */
createdAt: Scalars['DateTime']['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>;
/** debitTimeStamp */
exactEffectiveDate?: Maybe<Scalars['DateTime']['output']>;
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'];
/** debitDate without user overrides and completions */
sourceEffectiveDate?: Maybe<Scalars['TimelessDate']['output']>;
/** when the transaction was last updated */
updatedAt: Scalars['DateTime']['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;
};
/** represent transaction not (fully) categorized under business trips */
export type UncategorizedTransaction = {
__typename?: 'UncategorizedTransaction';
categorizedAmount: FinancialAmount;
errors: Array<Scalars['String']['output']>;
transaction: Transaction;
};
/** document that haven't yet been processed */
export type Unprocessed = Document & Linkable & {
__typename?: 'Unprocessed';
charge?: Maybe<Charge>;
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']>;
country?: InputMaybe<Scalars['String']['input']>;
email?: InputMaybe<Scalars['String']['input']>;
exemptDealer?: InputMaybe<Scalars['Boolean']['input']>;
governmentId?: InputMaybe<Scalars['String']['input']>;
hebrewName?: InputMaybe<Scalars['String']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
optionalVAT?: InputMaybe<Scalars['Boolean']['input']>;
phoneNumber?: InputMaybe<Scalars['String']['input']>;
sortCode?: InputMaybe<Scalars['Int']['input']>;
suggestions?: InputMaybe<SuggestionsInput>;
taxCategory?: InputMaybe<Scalars['UUID']['input']>;
website?: InputMaybe<Scalars['String']['input']>;
};
/** result type for updateBusiness */
export type UpdateBusinessResponse = CommonError | LtdFinancialEntity;
/** the input for updating a business trip accommodation expense */
export type UpdateBusinessTripAccommodationsExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
attendeesStay: Array<BusinessTripAttendeeStayInput>;
businessTripId: Scalars['UUID']['input'];
country?: InputMaybe<Scalars['String']['input']>;
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
id: Scalars['UUID']['input'];
nightsCount?: InputMaybe<Scalars['Int']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for updating a business trip car rental expense */
export type UpdateBusinessTripCarRentalExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
days?: InputMaybe<Scalars['Int']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
id: Scalars['UUID']['input'];
isFuelExpense?: InputMaybe<Scalars['Boolean']['input']>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for updating a business trip flights expense */
export type UpdateBusinessTripFlightsExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
attendeeIds?: InputMaybe<Array<Scalars['UUID']['input']>>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
flightClass?: InputMaybe<FlightClass>;
id: Scalars['UUID']['input'];
path?: InputMaybe<Array<Scalars['String']['input']>>;
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for updating a business trip */
export type UpdateBusinessTripInput = {
destinationCode?: InputMaybe<Scalars['String']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
tripPurpose?: InputMaybe<Scalars['String']['input']>;
};
/** the input for updating a business trip other expense */
export type UpdateBusinessTripOtherExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
deductibleExpense?: InputMaybe<Scalars['Boolean']['input']>;
description?: InputMaybe<Scalars['String']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
id: Scalars['UUID']['input'];
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** the input for updating a business trip T&S expense */
export type UpdateBusinessTripTravelAndSubsistenceExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
businessTripId: Scalars['UUID']['input'];
currency?: InputMaybe<Currency>;
date?: InputMaybe<Scalars['TimelessDate']['input']>;
employeeBusinessId?: InputMaybe<Scalars['UUID']['input']>;
expenseType?: InputMaybe<Scalars['String']['input']>;
id: Scalars['UUID']['input'];
valueDate?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** input variables for updateCharge */
export type UpdateChargeInput = {
accountantApproval?: InputMaybe<AccountantStatus>;
businessTripID?: InputMaybe<Scalars['UUID']['input']>;
counterpartyId?: InputMaybe<Scalars['UUID']['input']>;
defaultTaxCategoryID?: InputMaybe<Scalars['UUID']['input']>;
isConversion?: InputMaybe<Scalars['Boolean']['input']>;
isInvoicePaymentDifferentCurrency?: InputMaybe<Scalars['Boolean']['input']>;
isProperty?: InputMaybe<Scalars['Boolean']['input']>;
optionalVAT?: InputMaybe<Scalars['Boolean']['input']>;
ownerId?: InputMaybe<Scalars['UUID']['input']>;
tags?: InputMaybe<Array<TagInput>>;
/** user custom description */
userDescription?: InputMaybe<Scalars['String']['input']>;
yearsOfRelevance?: InputMaybe<Array<YearOfRelevanceInput>>;
};
/** result type for updateCharge */
export type UpdateChargeResult = CommonError | UpdateChargeSuccessfulResult;
/** successful result type for updateCharge */
export type UpdateChargeSuccessfulResult = {
__typename?: 'UpdateChargeSuccessfulResult';
charge: Charge;
};
/** input variables for updateDepreciationCategory */
export type UpdateDepreciationCategoryInput = {
id: Scalars['UUID']['input'];
name?: InputMaybe<Scalars['String']['input']>;
percentage?: InputMaybe<Scalars['Float']['input']>;
};
/** result type for updateDepreciationCategory */
export type UpdateDepreciationCategoryResult = CommonError | DepreciationCategory;
/** input variables for updateDepreciationRecord */
export type UpdateDepreciationRecordInput = {
activationDate?: InputMaybe<Scalars['TimelessDate']['input']>;
amount?: InputMaybe<Scalars['Float']['input']>;
categoryId?: InputMaybe<Scalars['UUID']['input']>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
currency?: InputMaybe<Currency>;
id: Scalars['UUID']['input'];
type?: InputMaybe<DepreciationType>;
};
/** result type for updateDepreciationRecord */
export type UpdateDepreciationRecordResult = CommonError | DepreciationRecord;
/** 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']>;
noVatAmount?: InputMaybe<Scalars['Float']['input']>;
serialNumber?: InputMaybe<Scalars['String']['input']>;
vat?: InputMaybe<FinancialAmountInput>;
vatReportDateOverride?: InputMaybe<Scalars['TimelessDate']['input']>;
};
/** result type for updateCharge */
export type UpdateDocumentResult = CommonError | UpdateDocumentSuccessfulResult;
/** result type for updateDocument */
export type UpdateDocumentSuccessfulResult = {
__typename?: 'UpdateDocumentSuccessfulResult';
document?: Maybe<Document>;
};
/** input variables for updateMiscExpense */
export type UpdateMiscExpenseInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
chargeId?: InputMaybe<Scalars['UUID']['input']>;
creditorId?: InputMaybe<Scalars['UUID']['input']>;
currency?: InputMaybe<Currency>;
debtorId?: InputMaybe<Scalars['UUID']['input']>;
description?: InputMaybe<Scalars['String']['input']>;
invoiceDate?: InputMaybe<Scalars['TimelessDate']['input']>;
valueDate?: InputMaybe<Scalars['DateTime']['input']>;
};
/** result type for updateCharge */
export type UpdateSalaryRecordResult = CommonError | UpdateSalaryRecordSuccessfulResult;
/** result type for updateSalaryRecord */
export type UpdateSalaryRecordSuccessfulResult = {
__typename?: 'UpdateSalaryRecordSuccessfulResult';
salaryRecord: Salary;
};
/** input variables for updateTag */
export type UpdateTagFieldsInput = {
name?: InputMaybe<Scalars['String']['input']>;
parentId?: InputMaybe<Scalars['UUID']['input']>;
};
/** 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']>;
effectiveDate?: InputMaybe<Scalars['TimelessDate']['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>;
chargeAccountantStatus?: Maybe<AccountantStatus>;
chargeDate?: Maybe<Scalars['TimelessDate']['output']>;
chargeId: Scalars['UUID']['output'];
documentDate?: Maybe<Scalars['TimelessDate']['output']>;
documentId?: Maybe<Scalars['UUID']['output']>;
documentSerial?: Maybe<Scalars['String']['output']>;
foreignVat?: Maybe<FinancialAmount>;
foreignVatAfterDeduction?: Maybe<FinancialAmount>;
image?: Maybe<Scalars['String']['output']>;
localAmount?: Maybe<FinancialAmount>;
localVat?: Maybe<FinancialAmount>;
localVatAfterDeduction?: Maybe<FinancialAmount>;
/** Int value */
roundedLocalVatAfterDeduction?: Maybe<FinancialIntAmount>;
taxReducedForeignAmount?: Maybe<FinancialIntAmount>;
taxReducedLocalAmount?: Maybe<FinancialIntAmount>;
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>;
};
/** charge spread type */
export type YearOfRelevance = {
__typename?: 'YearOfRelevance';
amount?: Maybe<Scalars['Float']['output']>;
year: Scalars['String']['output'];
};
/** input variables for charge spread */
export type YearOfRelevanceInput = {
amount?: InputMaybe<Scalars['Float']['input']>;
year: Scalars['TimelessDate']['input'];
};
/** yearly ledger report */
export type YearlyLedgerReport = {
__typename?: 'YearlyLedgerReport';
financialEntitiesInfo: Array<YearlyLedgerReportFinancialEntityInfo>;
id: Scalars['ID']['output'];
year: Scalars['Int']['output'];
};
/** Vat report record */
export type YearlyLedgerReportFinancialEntityInfo = {
__typename?: 'YearlyLedgerReportFinancialEntityInfo';
closingBalance: FinancialAmount;
entity: FinancialEntity;
openingBalance: FinancialAmount;
records: Array<SingleSidedLedgerRecord>;
totalCredit: FinancialAmount;
totalDebit: FinancialAmount;
};
export type BusinessTransactionsInfoQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type BusinessTransactionsInfoQuery = { __typename?: 'Query', businessTransactionsFromLedgerRecords: { __typename?: 'BusinessTransactionsFromLedgerRecordsSuccessfulResult', businessTransactions: Array<{ __typename?: 'BusinessTransaction', invoiceDate: TimelessDateString, reference?: string | null, details?: string | null, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number }, business: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, foreignAmount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, counterAccount?: { __typename: 'LtdFinancialEntity', id: string, name: string } | { __typename: 'PersonalFinancialEntity', id: string, name: string } | { __typename: 'TaxCategory', id: string, 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: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number }, foreignCurrenciesSum: Array<{ __typename?: 'ForeignCurrencySum', currency: Currency, credit: { __typename?: 'FinancialAmount', formatted: string }, debit: { __typename?: 'FinancialAmount', formatted: string }, total: { __typename?: 'FinancialAmount', formatted: string, raw: number } }> }> } | { __typename: 'CommonError', message: string } };
export type BusinessTripScreenQueryVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
}>;
export type BusinessTripScreenQuery = { __typename?: 'Query', businessTrip?: { __typename?: 'BusinessTrip', id: string, name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString } | null } | null };
export type BusinessTripsRowFieldsFragment = { __typename?: 'BusinessTrip', id: string, name: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'BusinessTripsRowFieldsFragment' };
export type BusinessTripsRowValidationQueryVariables = Exact<{
id: Scalars['UUID']['input'];
}>;
export type BusinessTripsRowValidationQuery = { __typename?: 'Query', businessTrip?: { __typename?: 'BusinessTrip', id: string, uncategorizedTransactions: Array<{ __typename?: 'UncategorizedTransaction', transaction: { __typename?: 'CommonTransaction', id: string } | { __typename?: 'ConversionTransaction', id: string } } | null>, summary: { __typename?: 'BusinessTripSummary' } & ({ __typename?: 'BusinessTripSummary', errors?: Array<string> | null } | { __typename?: 'BusinessTripSummary', errors?: never }) } | null };
export type EditableBusinessTripQueryVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
}>;
export type EditableBusinessTripQuery = { __typename?: 'Query', businessTrip?: (
{ __typename?: 'BusinessTrip', id: string, uncategorizedTransactions: Array<{ __typename?: 'UncategorizedTransaction', transaction: { __typename?: 'CommonTransaction', id: string } | { __typename?: 'ConversionTransaction', id: string } } | null> }
& { ' $fragmentRefs'?: { 'BusinessTripReportHeaderFieldsFragment': BusinessTripReportHeaderFieldsFragment;'BusinessTripReportAttendeesFieldsFragment': BusinessTripReportAttendeesFieldsFragment;'BusinessTripUncategorizedTransactionsFieldsFragment': BusinessTripUncategorizedTransactionsFieldsFragment;'BusinessTripReportFlightsFieldsFragment': BusinessTripReportFlightsFieldsFragment;'BusinessTripReportAccommodationsFieldsFragment': BusinessTripReportAccommodationsFieldsFragment;'BusinessTripReportTravelAndSubsistenceFieldsFragment': BusinessTripReportTravelAndSubsistenceFieldsFragment;'BusinessTripReportCarRentalFieldsFragment': BusinessTripReportCarRentalFieldsFragment;'BusinessTripReportOtherFieldsFragment': BusinessTripReportOtherFieldsFragment;'BusinessTripReportSummaryFieldsFragment': BusinessTripReportSummaryFieldsFragment } }
) | null };
export type BusinessTripsScreenQueryVariables = Exact<{ [key: string]: never; }>;
export type BusinessTripsScreenQuery = { __typename?: 'Query', allBusinessTrips: Array<(
{ __typename?: 'BusinessTrip', id: string, name: string, dates?: { __typename?: 'DateRange', start: TimelessDateString } | null }
& { ' $fragmentRefs'?: { 'BusinessTripsRowFieldsFragment': BusinessTripsRowFieldsFragment } }
)> };
export type AllBusinessesRowFieldsFragment = (
{ __typename?: 'LtdFinancialEntity', id: string }
& { ' $fragmentRefs'?: { 'AllBusinessesNameFieldsFragment': AllBusinessesNameFieldsFragment;'AllBusinessesHebrewNameFieldsFragment': AllBusinessesHebrewNameFieldsFragment } }
) & { ' $fragmentName'?: 'AllBusinessesRowFieldsFragment' };
export type AllBusinessesHebrewNameFieldsFragment = { __typename?: 'LtdFinancialEntity', id: string, hebrewName?: string | null } & { ' $fragmentName'?: 'AllBusinessesHebrewNameFieldsFragment' };
export type AllBusinessesNameFieldsFragment = { __typename?: 'LtdFinancialEntity', id: string, name: string } & { ' $fragmentName'?: 'AllBusinessesNameFieldsFragment' };
export type AllBusinessesForScreenQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
name?: InputMaybe<Scalars['String']['input']>;
}>;
export type AllBusinessesForScreenQuery = { __typename?: 'Query', allBusinesses?: { __typename?: 'PaginatedBusinesses', nodes: Array<(
{ __typename: 'LtdFinancialEntity', id: string, name: string }
& { ' $fragmentRefs'?: { 'AllBusinessesRowFieldsFragment': AllBusinessesRowFieldsFragment } }
) | { __typename: 'PersonalFinancialEntity', id: string, name: string }>, pageInfo: { __typename?: 'PageInfo', totalPages: number } } | null };
export type ChargesLedgerValidationQueryVariables = Exact<{
limit?: InputMaybe<Scalars['Int']['input']>;
filters?: InputMaybe<ChargeFilter>;
}>;
export type ChargesLedgerValidationQuery = { __typename?: 'Query', chargesWithLedgerChanges: Array<{ __typename?: 'ChargesWithLedgerChangesResult', progress: number, charge?: (
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
) | null }> };
type ChargesTableAccountantApprovalFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_BankDepositCharge_Fragment' };
type ChargesTableAccountantApprovalFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_BusinessTripCharge_Fragment' };
type ChargesTableAccountantApprovalFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_CommonCharge_Fragment' };
type ChargesTableAccountantApprovalFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_ConversionCharge_Fragment' };
type ChargesTableAccountantApprovalFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_CreditcardBankCharge_Fragment' };
type ChargesTableAccountantApprovalFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_DividendCharge_Fragment' };
type ChargesTableAccountantApprovalFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_FinancialCharge_Fragment' };
type ChargesTableAccountantApprovalFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_InternalTransferCharge_Fragment' };
type ChargesTableAccountantApprovalFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_MonthlyVatCharge_Fragment' };
type ChargesTableAccountantApprovalFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'ChargesTableAccountantApprovalFields_SalaryCharge_Fragment' };
export type ChargesTableAccountantApprovalFieldsFragment = ChargesTableAccountantApprovalFields_BankDepositCharge_Fragment | ChargesTableAccountantApprovalFields_BusinessTripCharge_Fragment | ChargesTableAccountantApprovalFields_CommonCharge_Fragment | ChargesTableAccountantApprovalFields_ConversionCharge_Fragment | ChargesTableAccountantApprovalFields_CreditcardBankCharge_Fragment | ChargesTableAccountantApprovalFields_DividendCharge_Fragment | ChargesTableAccountantApprovalFields_FinancialCharge_Fragment | ChargesTableAccountantApprovalFields_InternalTransferCharge_Fragment | ChargesTableAccountantApprovalFields_MonthlyVatCharge_Fragment | ChargesTableAccountantApprovalFields_SalaryCharge_Fragment;
type ChargesTableAmountFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_BankDepositCharge_Fragment' };
type ChargesTableAmountFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_BusinessTripCharge_Fragment' };
type ChargesTableAmountFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_CommonCharge_Fragment' };
type ChargesTableAmountFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_ConversionCharge_Fragment' };
type ChargesTableAmountFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', validCreditCardAmount: boolean, id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_CreditcardBankCharge_Fragment' };
type ChargesTableAmountFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_DividendCharge_Fragment' };
type ChargesTableAmountFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_FinancialCharge_Fragment' };
type ChargesTableAmountFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_InternalTransferCharge_Fragment' };
type ChargesTableAmountFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_MonthlyVatCharge_Fragment' };
type ChargesTableAmountFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null } & { ' $fragmentName'?: 'ChargesTableAmountFields_SalaryCharge_Fragment' };
export type ChargesTableAmountFieldsFragment = ChargesTableAmountFields_BankDepositCharge_Fragment | ChargesTableAmountFields_BusinessTripCharge_Fragment | ChargesTableAmountFields_CommonCharge_Fragment | ChargesTableAmountFields_ConversionCharge_Fragment | ChargesTableAmountFields_CreditcardBankCharge_Fragment | ChargesTableAmountFields_DividendCharge_Fragment | ChargesTableAmountFields_FinancialCharge_Fragment | ChargesTableAmountFields_InternalTransferCharge_Fragment | ChargesTableAmountFields_MonthlyVatCharge_Fragment | ChargesTableAmountFields_SalaryCharge_Fragment;
type ChargesTableBusinessTripFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_BankDepositCharge_Fragment' };
type ChargesTableBusinessTripFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, businessTrip?: { __typename?: 'BusinessTrip', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_BusinessTripCharge_Fragment' };
type ChargesTableBusinessTripFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_CommonCharge_Fragment' };
type ChargesTableBusinessTripFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_ConversionCharge_Fragment' };
type ChargesTableBusinessTripFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_CreditcardBankCharge_Fragment' };
type ChargesTableBusinessTripFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_DividendCharge_Fragment' };
type ChargesTableBusinessTripFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_FinancialCharge_Fragment' };
type ChargesTableBusinessTripFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_InternalTransferCharge_Fragment' };
type ChargesTableBusinessTripFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_MonthlyVatCharge_Fragment' };
type ChargesTableBusinessTripFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string } & { ' $fragmentName'?: 'ChargesTableBusinessTripFields_SalaryCharge_Fragment' };
export type ChargesTableBusinessTripFieldsFragment = ChargesTableBusinessTripFields_BankDepositCharge_Fragment | ChargesTableBusinessTripFields_BusinessTripCharge_Fragment | ChargesTableBusinessTripFields_CommonCharge_Fragment | ChargesTableBusinessTripFields_ConversionCharge_Fragment | ChargesTableBusinessTripFields_CreditcardBankCharge_Fragment | ChargesTableBusinessTripFields_DividendCharge_Fragment | ChargesTableBusinessTripFields_FinancialCharge_Fragment | ChargesTableBusinessTripFields_InternalTransferCharge_Fragment | ChargesTableBusinessTripFields_MonthlyVatCharge_Fragment | ChargesTableBusinessTripFields_SalaryCharge_Fragment;
type ChargesTableEntityFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_BankDepositCharge_Fragment' };
type ChargesTableEntityFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_BusinessTripCharge_Fragment' };
type ChargesTableEntityFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_CommonCharge_Fragment' };
type ChargesTableEntityFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_ConversionCharge_Fragment' };
type ChargesTableEntityFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_CreditcardBankCharge_Fragment' };
type ChargesTableEntityFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_DividendCharge_Fragment' };
type ChargesTableEntityFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_FinancialCharge_Fragment' };
type ChargesTableEntityFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_InternalTransferCharge_Fragment' };
type ChargesTableEntityFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_MonthlyVatCharge_Fragment' };
type ChargesTableEntityFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null } & { ' $fragmentName'?: 'ChargesTableEntityFields_SalaryCharge_Fragment' };
export type ChargesTableEntityFieldsFragment = ChargesTableEntityFields_BankDepositCharge_Fragment | ChargesTableEntityFields_BusinessTripCharge_Fragment | ChargesTableEntityFields_CommonCharge_Fragment | ChargesTableEntityFields_ConversionCharge_Fragment | ChargesTableEntityFields_CreditcardBankCharge_Fragment | ChargesTableEntityFields_DividendCharge_Fragment | ChargesTableEntityFields_FinancialCharge_Fragment | ChargesTableEntityFields_InternalTransferCharge_Fragment | ChargesTableEntityFields_MonthlyVatCharge_Fragment | ChargesTableEntityFields_SalaryCharge_Fragment;
type ChargesTableDateFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_BankDepositCharge_Fragment' };
type ChargesTableDateFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_BusinessTripCharge_Fragment' };
type ChargesTableDateFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_CommonCharge_Fragment' };
type ChargesTableDateFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_ConversionCharge_Fragment' };
type ChargesTableDateFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_CreditcardBankCharge_Fragment' };
type ChargesTableDateFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_DividendCharge_Fragment' };
type ChargesTableDateFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_FinancialCharge_Fragment' };
type ChargesTableDateFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_InternalTransferCharge_Fragment' };
type ChargesTableDateFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_MonthlyVatCharge_Fragment' };
type ChargesTableDateFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, minEventDate?: Date | null, minDebitDate?: Date | null, minDocumentsDate?: Date | null } & { ' $fragmentName'?: 'ChargesTableDateFields_SalaryCharge_Fragment' };
export type ChargesTableDateFieldsFragment = ChargesTableDateFields_BankDepositCharge_Fragment | ChargesTableDateFields_BusinessTripCharge_Fragment | ChargesTableDateFields_CommonCharge_Fragment | ChargesTableDateFields_ConversionCharge_Fragment | ChargesTableDateFields_CreditcardBankCharge_Fragment | ChargesTableDateFields_DividendCharge_Fragment | ChargesTableDateFields_FinancialCharge_Fragment | ChargesTableDateFields_InternalTransferCharge_Fragment | ChargesTableDateFields_MonthlyVatCharge_Fragment | ChargesTableDateFields_SalaryCharge_Fragment;
type ChargesTableDescriptionFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_BankDepositCharge_Fragment' };
type ChargesTableDescriptionFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_BusinessTripCharge_Fragment' };
type ChargesTableDescriptionFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_CommonCharge_Fragment' };
type ChargesTableDescriptionFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_ConversionCharge_Fragment' };
type ChargesTableDescriptionFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_CreditcardBankCharge_Fragment' };
type ChargesTableDescriptionFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_DividendCharge_Fragment' };
type ChargesTableDescriptionFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_FinancialCharge_Fragment' };
type ChargesTableDescriptionFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_InternalTransferCharge_Fragment' };
type ChargesTableDescriptionFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_MonthlyVatCharge_Fragment' };
type ChargesTableDescriptionFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', description?: string | null } | null } & { ' $fragmentName'?: 'ChargesTableDescriptionFields_SalaryCharge_Fragment' };
export type ChargesTableDescriptionFieldsFragment = ChargesTableDescriptionFields_BankDepositCharge_Fragment | ChargesTableDescriptionFields_BusinessTripCharge_Fragment | ChargesTableDescriptionFields_CommonCharge_Fragment | ChargesTableDescriptionFields_ConversionCharge_Fragment | ChargesTableDescriptionFields_CreditcardBankCharge_Fragment | ChargesTableDescriptionFields_DividendCharge_Fragment | ChargesTableDescriptionFields_FinancialCharge_Fragment | ChargesTableDescriptionFields_InternalTransferCharge_Fragment | ChargesTableDescriptionFields_MonthlyVatCharge_Fragment | ChargesTableDescriptionFields_SalaryCharge_Fragment;
type ChargesTableMoreInfoFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_BankDepositCharge_Fragment' };
type ChargesTableMoreInfoFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_BusinessTripCharge_Fragment' };
type ChargesTableMoreInfoFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_CommonCharge_Fragment' };
type ChargesTableMoreInfoFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_ConversionCharge_Fragment' };
type ChargesTableMoreInfoFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_CreditcardBankCharge_Fragment' };
type ChargesTableMoreInfoFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_DividendCharge_Fragment' };
type ChargesTableMoreInfoFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_FinancialCharge_Fragment' };
type ChargesTableMoreInfoFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_InternalTransferCharge_Fragment' };
type ChargesTableMoreInfoFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_MonthlyVatCharge_Fragment' };
type ChargesTableMoreInfoFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number, miscExpensesCount: number, isSalary: boolean } & ({ __typename?: 'ChargeMetadata', invalidLedger: LedgerValidationStatus } | { __typename?: 'ChargeMetadata', invalidLedger?: never }) | null } & { ' $fragmentName'?: 'ChargesTableMoreInfoFields_SalaryCharge_Fragment' };
export type ChargesTableMoreInfoFieldsFragment = ChargesTableMoreInfoFields_BankDepositCharge_Fragment | ChargesTableMoreInfoFields_BusinessTripCharge_Fragment | ChargesTableMoreInfoFields_CommonCharge_Fragment | ChargesTableMoreInfoFields_ConversionCharge_Fragment | ChargesTableMoreInfoFields_CreditcardBankCharge_Fragment | ChargesTableMoreInfoFields_DividendCharge_Fragment | ChargesTableMoreInfoFields_FinancialCharge_Fragment | ChargesTableMoreInfoFields_InternalTransferCharge_Fragment | ChargesTableMoreInfoFields_MonthlyVatCharge_Fragment | ChargesTableMoreInfoFields_SalaryCharge_Fragment;
type ChargesTableTagsFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_BankDepositCharge_Fragment' };
type ChargesTableTagsFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_BusinessTripCharge_Fragment' };
type ChargesTableTagsFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_CommonCharge_Fragment' };
type ChargesTableTagsFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_ConversionCharge_Fragment' };
type ChargesTableTagsFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_CreditcardBankCharge_Fragment' };
type ChargesTableTagsFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_DividendCharge_Fragment' };
type ChargesTableTagsFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_FinancialCharge_Fragment' };
type ChargesTableTagsFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_InternalTransferCharge_Fragment' };
type ChargesTableTagsFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_MonthlyVatCharge_Fragment' };
type ChargesTableTagsFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, missingInfoSuggestions?: { __typename?: 'ChargeSuggestions', tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | null, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } & { ' $fragmentName'?: 'ChargesTableTagsFields_SalaryCharge_Fragment' };
export type ChargesTableTagsFieldsFragment = ChargesTableTagsFields_BankDepositCharge_Fragment | ChargesTableTagsFields_BusinessTripCharge_Fragment | ChargesTableTagsFields_CommonCharge_Fragment | ChargesTableTagsFields_ConversionCharge_Fragment | ChargesTableTagsFields_CreditcardBankCharge_Fragment | ChargesTableTagsFields_DividendCharge_Fragment | ChargesTableTagsFields_FinancialCharge_Fragment | ChargesTableTagsFields_InternalTransferCharge_Fragment | ChargesTableTagsFields_MonthlyVatCharge_Fragment | ChargesTableTagsFields_SalaryCharge_Fragment;
type ChargesTableTaxCategoryFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_BankDepositCharge_Fragment' };
type ChargesTableTaxCategoryFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_BusinessTripCharge_Fragment' };
type ChargesTableTaxCategoryFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_CommonCharge_Fragment' };
type ChargesTableTaxCategoryFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_ConversionCharge_Fragment' };
type ChargesTableTaxCategoryFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_CreditcardBankCharge_Fragment' };
type ChargesTableTaxCategoryFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_DividendCharge_Fragment' };
type ChargesTableTaxCategoryFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_FinancialCharge_Fragment' };
type ChargesTableTaxCategoryFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_InternalTransferCharge_Fragment' };
type ChargesTableTaxCategoryFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_MonthlyVatCharge_Fragment' };
type ChargesTableTaxCategoryFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null } & { ' $fragmentName'?: 'ChargesTableTaxCategoryFields_SalaryCharge_Fragment' };
export type ChargesTableTaxCategoryFieldsFragment = ChargesTableTaxCategoryFields_BankDepositCharge_Fragment | ChargesTableTaxCategoryFields_BusinessTripCharge_Fragment | ChargesTableTaxCategoryFields_CommonCharge_Fragment | ChargesTableTaxCategoryFields_ConversionCharge_Fragment | ChargesTableTaxCategoryFields_CreditcardBankCharge_Fragment | ChargesTableTaxCategoryFields_DividendCharge_Fragment | ChargesTableTaxCategoryFields_FinancialCharge_Fragment | ChargesTableTaxCategoryFields_InternalTransferCharge_Fragment | ChargesTableTaxCategoryFields_MonthlyVatCharge_Fragment | ChargesTableTaxCategoryFields_SalaryCharge_Fragment;
type ChargesTableTypeFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_BankDepositCharge_Fragment' };
type ChargesTableTypeFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_BusinessTripCharge_Fragment' };
type ChargesTableTypeFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_CommonCharge_Fragment' };
type ChargesTableTypeFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_ConversionCharge_Fragment' };
type ChargesTableTypeFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_CreditcardBankCharge_Fragment' };
type ChargesTableTypeFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_DividendCharge_Fragment' };
type ChargesTableTypeFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_FinancialCharge_Fragment' };
type ChargesTableTypeFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_InternalTransferCharge_Fragment' };
type ChargesTableTypeFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_MonthlyVatCharge_Fragment' };
type ChargesTableTypeFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string } & { ' $fragmentName'?: 'ChargesTableTypeFields_SalaryCharge_Fragment' };
export type ChargesTableTypeFieldsFragment = ChargesTableTypeFields_BankDepositCharge_Fragment | ChargesTableTypeFields_BusinessTripCharge_Fragment | ChargesTableTypeFields_CommonCharge_Fragment | ChargesTableTypeFields_ConversionCharge_Fragment | ChargesTableTypeFields_CreditcardBankCharge_Fragment | ChargesTableTypeFields_DividendCharge_Fragment | ChargesTableTypeFields_FinancialCharge_Fragment | ChargesTableTypeFields_InternalTransferCharge_Fragment | ChargesTableTypeFields_MonthlyVatCharge_Fragment | ChargesTableTypeFields_SalaryCharge_Fragment;
type ChargesTableVatFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_BankDepositCharge_Fragment' };
type ChargesTableVatFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_BusinessTripCharge_Fragment' };
type ChargesTableVatFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_CommonCharge_Fragment' };
type ChargesTableVatFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_ConversionCharge_Fragment' };
type ChargesTableVatFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_CreditcardBankCharge_Fragment' };
type ChargesTableVatFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_DividendCharge_Fragment' };
type ChargesTableVatFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_FinancialCharge_Fragment' };
type ChargesTableVatFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_InternalTransferCharge_Fragment' };
type ChargesTableVatFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_MonthlyVatCharge_Fragment' };
type ChargesTableVatFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, validationData?: { __typename?: 'ValidationData', missingInfo: Array<MissingChargeInfo> } | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string } | null, totalAmount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null } & { ' $fragmentName'?: 'ChargesTableVatFields_SalaryCharge_Fragment' };
export type ChargesTableVatFieldsFragment = ChargesTableVatFields_BankDepositCharge_Fragment | ChargesTableVatFields_BusinessTripCharge_Fragment | ChargesTableVatFields_CommonCharge_Fragment | ChargesTableVatFields_ConversionCharge_Fragment | ChargesTableVatFields_CreditcardBankCharge_Fragment | ChargesTableVatFields_DividendCharge_Fragment | ChargesTableVatFields_FinancialCharge_Fragment | ChargesTableVatFields_InternalTransferCharge_Fragment | ChargesTableVatFields_MonthlyVatCharge_Fragment | ChargesTableVatFields_SalaryCharge_Fragment;
type ChargesTableErrorsFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_BankDepositCharge_Fragment' };
type ChargesTableErrorsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_BusinessTripCharge_Fragment' };
type ChargesTableErrorsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_CommonCharge_Fragment' };
type ChargesTableErrorsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_ConversionCharge_Fragment' };
type ChargesTableErrorsFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_CreditcardBankCharge_Fragment' };
type ChargesTableErrorsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_DividendCharge_Fragment' };
type ChargesTableErrorsFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_FinancialCharge_Fragment' };
type ChargesTableErrorsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_InternalTransferCharge_Fragment' };
type ChargesTableErrorsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_MonthlyVatCharge_Fragment' };
type ChargesTableErrorsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, errorsLedger: { __typename?: 'Ledger' } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', errors: Array<string> } | { __typename?: 'LedgerValidation', errors?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'ChargesTableErrorsFields_SalaryCharge_Fragment' };
export type ChargesTableErrorsFieldsFragment = ChargesTableErrorsFields_BankDepositCharge_Fragment | ChargesTableErrorsFields_BusinessTripCharge_Fragment | ChargesTableErrorsFields_CommonCharge_Fragment | ChargesTableErrorsFields_ConversionCharge_Fragment | ChargesTableErrorsFields_CreditcardBankCharge_Fragment | ChargesTableErrorsFields_DividendCharge_Fragment | ChargesTableErrorsFields_FinancialCharge_Fragment | ChargesTableErrorsFields_InternalTransferCharge_Fragment | ChargesTableErrorsFields_MonthlyVatCharge_Fragment | ChargesTableErrorsFields_SalaryCharge_Fragment;
export type FetchChargeQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type FetchChargeQuery = { __typename?: 'Query', chargesByIDs: Array<{ __typename: 'BankDepositCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_BankDepositCharge_Fragment': Incremental<DocumentsGalleryFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_BankDepositCharge_Fragment': Incremental<TableDocumentsFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_BankDepositCharge_Fragment': Incremental<TableLedgerRecordsFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_BankDepositCharge_Fragment': Incremental<ChargeTableTransactionsFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_BankDepositCharge_Fragment': Incremental<ConversionChargeInfo_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_BankDepositCharge_Fragment': Incremental<CreditcardBankChargeInfo_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_BankDepositCharge_Fragment': Incremental<TableSalariesFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_BankDepositCharge_Fragment': Incremental<ChargesTableErrorsFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_BankDepositCharge_Fragment': Incremental<TableMiscExpensesFields_BankDepositCharge_Fragment> } }
) | { __typename: 'BusinessTripCharge', id: string, businessTrip?: (
{ __typename?: 'BusinessTrip', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportFieldsFragment': BusinessTripReportFieldsFragment } }
) | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_BusinessTripCharge_Fragment': Incremental<DocumentsGalleryFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_BusinessTripCharge_Fragment': Incremental<TableDocumentsFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_BusinessTripCharge_Fragment': Incremental<TableLedgerRecordsFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_BusinessTripCharge_Fragment': Incremental<ChargeTableTransactionsFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_BusinessTripCharge_Fragment': Incremental<ConversionChargeInfo_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_BusinessTripCharge_Fragment': Incremental<CreditcardBankChargeInfo_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_BusinessTripCharge_Fragment': Incremental<TableSalariesFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_BusinessTripCharge_Fragment': Incremental<ChargesTableErrorsFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_BusinessTripCharge_Fragment': Incremental<TableMiscExpensesFields_BusinessTripCharge_Fragment> } }
) | { __typename: 'CommonCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_CommonCharge_Fragment': Incremental<DocumentsGalleryFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_CommonCharge_Fragment': Incremental<TableDocumentsFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_CommonCharge_Fragment': Incremental<TableLedgerRecordsFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_CommonCharge_Fragment': Incremental<ChargeTableTransactionsFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_CommonCharge_Fragment': Incremental<ConversionChargeInfo_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_CommonCharge_Fragment': Incremental<CreditcardBankChargeInfo_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_CommonCharge_Fragment': Incremental<TableSalariesFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_CommonCharge_Fragment': Incremental<ChargesTableErrorsFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_CommonCharge_Fragment': Incremental<TableMiscExpensesFields_CommonCharge_Fragment> } }
) | { __typename: 'ConversionCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_ConversionCharge_Fragment': Incremental<DocumentsGalleryFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_ConversionCharge_Fragment': Incremental<TableDocumentsFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_ConversionCharge_Fragment': Incremental<TableLedgerRecordsFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_ConversionCharge_Fragment': Incremental<ChargeTableTransactionsFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_ConversionCharge_Fragment': Incremental<ConversionChargeInfo_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_ConversionCharge_Fragment': Incremental<CreditcardBankChargeInfo_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_ConversionCharge_Fragment': Incremental<TableSalariesFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_ConversionCharge_Fragment': Incremental<ChargesTableErrorsFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_ConversionCharge_Fragment': Incremental<TableMiscExpensesFields_ConversionCharge_Fragment> } }
) | { __typename: 'CreditcardBankCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_CreditcardBankCharge_Fragment': Incremental<DocumentsGalleryFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_CreditcardBankCharge_Fragment': Incremental<TableDocumentsFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_CreditcardBankCharge_Fragment': Incremental<TableLedgerRecordsFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_CreditcardBankCharge_Fragment': Incremental<ChargeTableTransactionsFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_CreditcardBankCharge_Fragment': Incremental<ConversionChargeInfo_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_CreditcardBankCharge_Fragment': Incremental<CreditcardBankChargeInfo_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_CreditcardBankCharge_Fragment': Incremental<TableSalariesFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_CreditcardBankCharge_Fragment': Incremental<ChargesTableErrorsFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_CreditcardBankCharge_Fragment': Incremental<TableMiscExpensesFields_CreditcardBankCharge_Fragment> } }
) | { __typename: 'DividendCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_DividendCharge_Fragment': Incremental<DocumentsGalleryFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_DividendCharge_Fragment': Incremental<TableDocumentsFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_DividendCharge_Fragment': Incremental<TableLedgerRecordsFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_DividendCharge_Fragment': Incremental<ChargeTableTransactionsFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_DividendCharge_Fragment': Incremental<ConversionChargeInfo_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_DividendCharge_Fragment': Incremental<CreditcardBankChargeInfo_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_DividendCharge_Fragment': Incremental<TableSalariesFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_DividendCharge_Fragment': Incremental<ChargesTableErrorsFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_DividendCharge_Fragment': Incremental<TableMiscExpensesFields_DividendCharge_Fragment> } }
) | { __typename: 'FinancialCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_FinancialCharge_Fragment': Incremental<DocumentsGalleryFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_FinancialCharge_Fragment': Incremental<TableDocumentsFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_FinancialCharge_Fragment': Incremental<TableLedgerRecordsFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_FinancialCharge_Fragment': Incremental<ChargeTableTransactionsFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_FinancialCharge_Fragment': Incremental<ConversionChargeInfo_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_FinancialCharge_Fragment': Incremental<CreditcardBankChargeInfo_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_FinancialCharge_Fragment': Incremental<TableSalariesFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_FinancialCharge_Fragment': Incremental<ChargesTableErrorsFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_FinancialCharge_Fragment': Incremental<TableMiscExpensesFields_FinancialCharge_Fragment> } }
) | { __typename: 'InternalTransferCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_InternalTransferCharge_Fragment': Incremental<DocumentsGalleryFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_InternalTransferCharge_Fragment': Incremental<TableDocumentsFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_InternalTransferCharge_Fragment': Incremental<TableLedgerRecordsFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_InternalTransferCharge_Fragment': Incremental<ChargeTableTransactionsFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_InternalTransferCharge_Fragment': Incremental<ConversionChargeInfo_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_InternalTransferCharge_Fragment': Incremental<CreditcardBankChargeInfo_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_InternalTransferCharge_Fragment': Incremental<TableSalariesFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_InternalTransferCharge_Fragment': Incremental<ChargesTableErrorsFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_InternalTransferCharge_Fragment': Incremental<TableMiscExpensesFields_InternalTransferCharge_Fragment> } }
) | { __typename: 'MonthlyVatCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_MonthlyVatCharge_Fragment': Incremental<DocumentsGalleryFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_MonthlyVatCharge_Fragment': Incremental<TableDocumentsFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_MonthlyVatCharge_Fragment': Incremental<TableLedgerRecordsFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_MonthlyVatCharge_Fragment': Incremental<ChargeTableTransactionsFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_MonthlyVatCharge_Fragment': Incremental<ConversionChargeInfo_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_MonthlyVatCharge_Fragment': Incremental<CreditcardBankChargeInfo_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_MonthlyVatCharge_Fragment': Incremental<TableSalariesFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_MonthlyVatCharge_Fragment': Incremental<ChargesTableErrorsFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_MonthlyVatCharge_Fragment': Incremental<TableMiscExpensesFields_MonthlyVatCharge_Fragment> } }
) | { __typename: 'SalaryCharge', id: string, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, documentsCount: number, ledgerCount: number } | null, miscExpenses: Array<{ __typename?: 'MiscExpense', id: string }> } & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'DocumentsGalleryFields_SalaryCharge_Fragment': Incremental<DocumentsGalleryFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'TableDocumentsFields_SalaryCharge_Fragment': Incremental<TableDocumentsFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsFields_SalaryCharge_Fragment': Incremental<TableLedgerRecordsFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargeTableTransactionsFields_SalaryCharge_Fragment': Incremental<ChargeTableTransactionsFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ConversionChargeInfo_SalaryCharge_Fragment': Incremental<ConversionChargeInfo_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'CreditcardBankChargeInfo_SalaryCharge_Fragment': Incremental<CreditcardBankChargeInfo_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'TableSalariesFields_SalaryCharge_Fragment': Incremental<TableSalariesFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableErrorsFields_SalaryCharge_Fragment': Incremental<ChargesTableErrorsFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'TableMiscExpensesFields_SalaryCharge_Fragment': Incremental<TableMiscExpensesFields_SalaryCharge_Fragment> } }
)> };
type ChargeTableTransactionsFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_BankDepositCharge_Fragment' };
type ChargeTableTransactionsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_BusinessTripCharge_Fragment' };
type ChargeTableTransactionsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_CommonCharge_Fragment' };
type ChargeTableTransactionsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_ConversionCharge_Fragment' };
type ChargeTableTransactionsFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_CreditcardBankCharge_Fragment' };
type ChargeTableTransactionsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_DividendCharge_Fragment' };
type ChargeTableTransactionsFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_FinancialCharge_Fragment' };
type ChargeTableTransactionsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_InternalTransferCharge_Fragment' };
type ChargeTableTransactionsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_MonthlyVatCharge_Fragment' };
type ChargeTableTransactionsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, transactions: Array<(
{ __typename?: 'CommonTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction', id: string }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'ChargeTableTransactionsFields_SalaryCharge_Fragment' };
export type ChargeTableTransactionsFieldsFragment = ChargeTableTransactionsFields_BankDepositCharge_Fragment | ChargeTableTransactionsFields_BusinessTripCharge_Fragment | ChargeTableTransactionsFields_CommonCharge_Fragment | ChargeTableTransactionsFields_ConversionCharge_Fragment | ChargeTableTransactionsFields_CreditcardBankCharge_Fragment | ChargeTableTransactionsFields_DividendCharge_Fragment | ChargeTableTransactionsFields_FinancialCharge_Fragment | ChargeTableTransactionsFields_InternalTransferCharge_Fragment | ChargeTableTransactionsFields_MonthlyVatCharge_Fragment | ChargeTableTransactionsFields_SalaryCharge_Fragment;
type ChargesTableRowFields_BankDepositCharge_Fragment = (
{ __typename: 'BankDepositCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_BankDepositCharge_Fragment': ChargesTableAccountantApprovalFields_BankDepositCharge_Fragment;'ChargesTableAmountFields_BankDepositCharge_Fragment': ChargesTableAmountFields_BankDepositCharge_Fragment;'ChargesTableDateFields_BankDepositCharge_Fragment': ChargesTableDateFields_BankDepositCharge_Fragment;'ChargesTableDescriptionFields_BankDepositCharge_Fragment': ChargesTableDescriptionFields_BankDepositCharge_Fragment;'ChargesTableMoreInfoFields_BankDepositCharge_Fragment': ChargesTableMoreInfoFields_BankDepositCharge_Fragment;'ChargesTableTypeFields_BankDepositCharge_Fragment': ChargesTableTypeFields_BankDepositCharge_Fragment;'ChargesTableVatFields_BankDepositCharge_Fragment': ChargesTableVatFields_BankDepositCharge_Fragment } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_BankDepositCharge_Fragment': Incremental<ChargesTableBusinessTripFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_BankDepositCharge_Fragment': Incremental<ChargesTableEntityFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_BankDepositCharge_Fragment': Incremental<ChargesTableTagsFields_BankDepositCharge_Fragment> } }
) & (
{ __typename?: 'BankDepositCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_BankDepositCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_BankDepositCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_BankDepositCharge_Fragment' };
type ChargesTableRowFields_BusinessTripCharge_Fragment = (
{ __typename: 'BusinessTripCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_BusinessTripCharge_Fragment': ChargesTableAccountantApprovalFields_BusinessTripCharge_Fragment;'ChargesTableAmountFields_BusinessTripCharge_Fragment': ChargesTableAmountFields_BusinessTripCharge_Fragment;'ChargesTableDateFields_BusinessTripCharge_Fragment': ChargesTableDateFields_BusinessTripCharge_Fragment;'ChargesTableDescriptionFields_BusinessTripCharge_Fragment': ChargesTableDescriptionFields_BusinessTripCharge_Fragment;'ChargesTableMoreInfoFields_BusinessTripCharge_Fragment': ChargesTableMoreInfoFields_BusinessTripCharge_Fragment;'ChargesTableTypeFields_BusinessTripCharge_Fragment': ChargesTableTypeFields_BusinessTripCharge_Fragment;'ChargesTableVatFields_BusinessTripCharge_Fragment': ChargesTableVatFields_BusinessTripCharge_Fragment } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_BusinessTripCharge_Fragment': Incremental<ChargesTableBusinessTripFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_BusinessTripCharge_Fragment': Incremental<ChargesTableEntityFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_BusinessTripCharge_Fragment': Incremental<ChargesTableTagsFields_BusinessTripCharge_Fragment> } }
) & (
{ __typename?: 'BusinessTripCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_BusinessTripCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_BusinessTripCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_BusinessTripCharge_Fragment' };
type ChargesTableRowFields_CommonCharge_Fragment = (
{ __typename: 'CommonCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_CommonCharge_Fragment': ChargesTableAccountantApprovalFields_CommonCharge_Fragment;'ChargesTableAmountFields_CommonCharge_Fragment': ChargesTableAmountFields_CommonCharge_Fragment;'ChargesTableDateFields_CommonCharge_Fragment': ChargesTableDateFields_CommonCharge_Fragment;'ChargesTableDescriptionFields_CommonCharge_Fragment': ChargesTableDescriptionFields_CommonCharge_Fragment;'ChargesTableMoreInfoFields_CommonCharge_Fragment': ChargesTableMoreInfoFields_CommonCharge_Fragment;'ChargesTableTypeFields_CommonCharge_Fragment': ChargesTableTypeFields_CommonCharge_Fragment;'ChargesTableVatFields_CommonCharge_Fragment': ChargesTableVatFields_CommonCharge_Fragment } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_CommonCharge_Fragment': Incremental<ChargesTableBusinessTripFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_CommonCharge_Fragment': Incremental<ChargesTableEntityFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_CommonCharge_Fragment': Incremental<ChargesTableTagsFields_CommonCharge_Fragment> } }
) & (
{ __typename?: 'CommonCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_CommonCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_CommonCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_CommonCharge_Fragment' };
type ChargesTableRowFields_ConversionCharge_Fragment = (
{ __typename: 'ConversionCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_ConversionCharge_Fragment': ChargesTableAccountantApprovalFields_ConversionCharge_Fragment;'ChargesTableAmountFields_ConversionCharge_Fragment': ChargesTableAmountFields_ConversionCharge_Fragment;'ChargesTableDateFields_ConversionCharge_Fragment': ChargesTableDateFields_ConversionCharge_Fragment;'ChargesTableDescriptionFields_ConversionCharge_Fragment': ChargesTableDescriptionFields_ConversionCharge_Fragment;'ChargesTableMoreInfoFields_ConversionCharge_Fragment': ChargesTableMoreInfoFields_ConversionCharge_Fragment;'ChargesTableTypeFields_ConversionCharge_Fragment': ChargesTableTypeFields_ConversionCharge_Fragment;'ChargesTableVatFields_ConversionCharge_Fragment': ChargesTableVatFields_ConversionCharge_Fragment } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_ConversionCharge_Fragment': Incremental<ChargesTableBusinessTripFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_ConversionCharge_Fragment': Incremental<ChargesTableEntityFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_ConversionCharge_Fragment': Incremental<ChargesTableTagsFields_ConversionCharge_Fragment> } }
) & (
{ __typename?: 'ConversionCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_ConversionCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_ConversionCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_ConversionCharge_Fragment' };
type ChargesTableRowFields_CreditcardBankCharge_Fragment = (
{ __typename: 'CreditcardBankCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_CreditcardBankCharge_Fragment': ChargesTableAccountantApprovalFields_CreditcardBankCharge_Fragment;'ChargesTableAmountFields_CreditcardBankCharge_Fragment': ChargesTableAmountFields_CreditcardBankCharge_Fragment;'ChargesTableDateFields_CreditcardBankCharge_Fragment': ChargesTableDateFields_CreditcardBankCharge_Fragment;'ChargesTableDescriptionFields_CreditcardBankCharge_Fragment': ChargesTableDescriptionFields_CreditcardBankCharge_Fragment;'ChargesTableMoreInfoFields_CreditcardBankCharge_Fragment': ChargesTableMoreInfoFields_CreditcardBankCharge_Fragment;'ChargesTableTypeFields_CreditcardBankCharge_Fragment': ChargesTableTypeFields_CreditcardBankCharge_Fragment;'ChargesTableVatFields_CreditcardBankCharge_Fragment': ChargesTableVatFields_CreditcardBankCharge_Fragment } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_CreditcardBankCharge_Fragment': Incremental<ChargesTableBusinessTripFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_CreditcardBankCharge_Fragment': Incremental<ChargesTableEntityFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_CreditcardBankCharge_Fragment': Incremental<ChargesTableTagsFields_CreditcardBankCharge_Fragment> } }
) & (
{ __typename?: 'CreditcardBankCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_CreditcardBankCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_CreditcardBankCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_CreditcardBankCharge_Fragment' };
type ChargesTableRowFields_DividendCharge_Fragment = (
{ __typename: 'DividendCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_DividendCharge_Fragment': ChargesTableAccountantApprovalFields_DividendCharge_Fragment;'ChargesTableAmountFields_DividendCharge_Fragment': ChargesTableAmountFields_DividendCharge_Fragment;'ChargesTableDateFields_DividendCharge_Fragment': ChargesTableDateFields_DividendCharge_Fragment;'ChargesTableDescriptionFields_DividendCharge_Fragment': ChargesTableDescriptionFields_DividendCharge_Fragment;'ChargesTableMoreInfoFields_DividendCharge_Fragment': ChargesTableMoreInfoFields_DividendCharge_Fragment;'ChargesTableTypeFields_DividendCharge_Fragment': ChargesTableTypeFields_DividendCharge_Fragment;'ChargesTableVatFields_DividendCharge_Fragment': ChargesTableVatFields_DividendCharge_Fragment } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_DividendCharge_Fragment': Incremental<ChargesTableBusinessTripFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_DividendCharge_Fragment': Incremental<ChargesTableEntityFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_DividendCharge_Fragment': Incremental<ChargesTableTagsFields_DividendCharge_Fragment> } }
) & (
{ __typename?: 'DividendCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_DividendCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_DividendCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_DividendCharge_Fragment' };
type ChargesTableRowFields_FinancialCharge_Fragment = (
{ __typename: 'FinancialCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_FinancialCharge_Fragment': ChargesTableAccountantApprovalFields_FinancialCharge_Fragment;'ChargesTableAmountFields_FinancialCharge_Fragment': ChargesTableAmountFields_FinancialCharge_Fragment;'ChargesTableDateFields_FinancialCharge_Fragment': ChargesTableDateFields_FinancialCharge_Fragment;'ChargesTableDescriptionFields_FinancialCharge_Fragment': ChargesTableDescriptionFields_FinancialCharge_Fragment;'ChargesTableMoreInfoFields_FinancialCharge_Fragment': ChargesTableMoreInfoFields_FinancialCharge_Fragment;'ChargesTableTypeFields_FinancialCharge_Fragment': ChargesTableTypeFields_FinancialCharge_Fragment;'ChargesTableVatFields_FinancialCharge_Fragment': ChargesTableVatFields_FinancialCharge_Fragment } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_FinancialCharge_Fragment': Incremental<ChargesTableBusinessTripFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_FinancialCharge_Fragment': Incremental<ChargesTableEntityFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_FinancialCharge_Fragment': Incremental<ChargesTableTagsFields_FinancialCharge_Fragment> } }
) & (
{ __typename?: 'FinancialCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_FinancialCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_FinancialCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_FinancialCharge_Fragment' };
type ChargesTableRowFields_InternalTransferCharge_Fragment = (
{ __typename: 'InternalTransferCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_InternalTransferCharge_Fragment': ChargesTableAccountantApprovalFields_InternalTransferCharge_Fragment;'ChargesTableAmountFields_InternalTransferCharge_Fragment': ChargesTableAmountFields_InternalTransferCharge_Fragment;'ChargesTableDateFields_InternalTransferCharge_Fragment': ChargesTableDateFields_InternalTransferCharge_Fragment;'ChargesTableDescriptionFields_InternalTransferCharge_Fragment': ChargesTableDescriptionFields_InternalTransferCharge_Fragment;'ChargesTableMoreInfoFields_InternalTransferCharge_Fragment': ChargesTableMoreInfoFields_InternalTransferCharge_Fragment;'ChargesTableTypeFields_InternalTransferCharge_Fragment': ChargesTableTypeFields_InternalTransferCharge_Fragment;'ChargesTableVatFields_InternalTransferCharge_Fragment': ChargesTableVatFields_InternalTransferCharge_Fragment } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_InternalTransferCharge_Fragment': Incremental<ChargesTableBusinessTripFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_InternalTransferCharge_Fragment': Incremental<ChargesTableEntityFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_InternalTransferCharge_Fragment': Incremental<ChargesTableTagsFields_InternalTransferCharge_Fragment> } }
) & (
{ __typename?: 'InternalTransferCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_InternalTransferCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_InternalTransferCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_InternalTransferCharge_Fragment' };
type ChargesTableRowFields_MonthlyVatCharge_Fragment = (
{ __typename: 'MonthlyVatCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_MonthlyVatCharge_Fragment': ChargesTableAccountantApprovalFields_MonthlyVatCharge_Fragment;'ChargesTableAmountFields_MonthlyVatCharge_Fragment': ChargesTableAmountFields_MonthlyVatCharge_Fragment;'ChargesTableDateFields_MonthlyVatCharge_Fragment': ChargesTableDateFields_MonthlyVatCharge_Fragment;'ChargesTableDescriptionFields_MonthlyVatCharge_Fragment': ChargesTableDescriptionFields_MonthlyVatCharge_Fragment;'ChargesTableMoreInfoFields_MonthlyVatCharge_Fragment': ChargesTableMoreInfoFields_MonthlyVatCharge_Fragment;'ChargesTableTypeFields_MonthlyVatCharge_Fragment': ChargesTableTypeFields_MonthlyVatCharge_Fragment;'ChargesTableVatFields_MonthlyVatCharge_Fragment': ChargesTableVatFields_MonthlyVatCharge_Fragment } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_MonthlyVatCharge_Fragment': Incremental<ChargesTableBusinessTripFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_MonthlyVatCharge_Fragment': Incremental<ChargesTableEntityFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_MonthlyVatCharge_Fragment': Incremental<ChargesTableTagsFields_MonthlyVatCharge_Fragment> } }
) & (
{ __typename?: 'MonthlyVatCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_MonthlyVatCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_MonthlyVatCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_MonthlyVatCharge_Fragment' };
type ChargesTableRowFields_SalaryCharge_Fragment = (
{ __typename: 'SalaryCharge', id: string, metadata?: { __typename?: 'ChargeMetadata' } & ({ __typename?: 'ChargeMetadata', documentsCount: number } | { __typename?: 'ChargeMetadata', documentsCount?: never }) & ({ __typename?: 'ChargeMetadata', ledgerCount: number } | { __typename?: 'ChargeMetadata', ledgerCount?: never }) & ({ __typename?: 'ChargeMetadata', transactionsCount: number } | { __typename?: 'ChargeMetadata', transactionsCount?: never }) | null }
& { ' $fragmentRefs'?: { 'ChargesTableAccountantApprovalFields_SalaryCharge_Fragment': ChargesTableAccountantApprovalFields_SalaryCharge_Fragment;'ChargesTableAmountFields_SalaryCharge_Fragment': ChargesTableAmountFields_SalaryCharge_Fragment;'ChargesTableDateFields_SalaryCharge_Fragment': ChargesTableDateFields_SalaryCharge_Fragment;'ChargesTableDescriptionFields_SalaryCharge_Fragment': ChargesTableDescriptionFields_SalaryCharge_Fragment;'ChargesTableMoreInfoFields_SalaryCharge_Fragment': ChargesTableMoreInfoFields_SalaryCharge_Fragment;'ChargesTableTypeFields_SalaryCharge_Fragment': ChargesTableTypeFields_SalaryCharge_Fragment;'ChargesTableVatFields_SalaryCharge_Fragment': ChargesTableVatFields_SalaryCharge_Fragment } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableBusinessTripFields_SalaryCharge_Fragment': Incremental<ChargesTableBusinessTripFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableEntityFields_SalaryCharge_Fragment': Incremental<ChargesTableEntityFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTagsFields_SalaryCharge_Fragment': Incremental<ChargesTableTagsFields_SalaryCharge_Fragment> } }
) & (
{ __typename?: 'SalaryCharge' }
& { ' $fragmentRefs'?: { 'ChargesTableTaxCategoryFields_SalaryCharge_Fragment': Incremental<ChargesTableTaxCategoryFields_SalaryCharge_Fragment> } }
) & { ' $fragmentName'?: 'ChargesTableRowFields_SalaryCharge_Fragment' };
export type ChargesTableRowFieldsFragment = ChargesTableRowFields_BankDepositCharge_Fragment | ChargesTableRowFields_BusinessTripCharge_Fragment | ChargesTableRowFields_CommonCharge_Fragment | ChargesTableRowFields_ConversionCharge_Fragment | ChargesTableRowFields_CreditcardBankCharge_Fragment | ChargesTableRowFields_DividendCharge_Fragment | ChargesTableRowFields_FinancialCharge_Fragment | ChargesTableRowFields_InternalTransferCharge_Fragment | ChargesTableRowFields_MonthlyVatCharge_Fragment | ChargesTableRowFields_SalaryCharge_Fragment;
export type ChargeForRowQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type ChargeForRowQuery = { __typename?: 'Query', chargesByIDs: Array<(
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_BankDepositCharge_Fragment': ChargesTableRowFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_BusinessTripCharge_Fragment': ChargesTableRowFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_CommonCharge_Fragment': ChargesTableRowFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_ConversionCharge_Fragment': ChargesTableRowFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_CreditcardBankCharge_Fragment': ChargesTableRowFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_DividendCharge_Fragment': ChargesTableRowFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_FinancialCharge_Fragment': ChargesTableRowFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_InternalTransferCharge_Fragment': ChargesTableRowFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_MonthlyVatCharge_Fragment': ChargesTableRowFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_SalaryCharge_Fragment': ChargesTableRowFields_SalaryCharge_Fragment } }
)> };
type ChargesTableFields_BankDepositCharge_Fragment = (
{ __typename?: 'BankDepositCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_BankDepositCharge_Fragment': ChargesTableRowFields_BankDepositCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_BankDepositCharge_Fragment' };
type ChargesTableFields_BusinessTripCharge_Fragment = (
{ __typename?: 'BusinessTripCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_BusinessTripCharge_Fragment': ChargesTableRowFields_BusinessTripCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_BusinessTripCharge_Fragment' };
type ChargesTableFields_CommonCharge_Fragment = (
{ __typename?: 'CommonCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_CommonCharge_Fragment': ChargesTableRowFields_CommonCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_CommonCharge_Fragment' };
type ChargesTableFields_ConversionCharge_Fragment = (
{ __typename?: 'ConversionCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_ConversionCharge_Fragment': ChargesTableRowFields_ConversionCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_ConversionCharge_Fragment' };
type ChargesTableFields_CreditcardBankCharge_Fragment = (
{ __typename?: 'CreditcardBankCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_CreditcardBankCharge_Fragment': ChargesTableRowFields_CreditcardBankCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_CreditcardBankCharge_Fragment' };
type ChargesTableFields_DividendCharge_Fragment = (
{ __typename?: 'DividendCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_DividendCharge_Fragment': ChargesTableRowFields_DividendCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_DividendCharge_Fragment' };
type ChargesTableFields_FinancialCharge_Fragment = (
{ __typename?: 'FinancialCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_FinancialCharge_Fragment': ChargesTableRowFields_FinancialCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_FinancialCharge_Fragment' };
type ChargesTableFields_InternalTransferCharge_Fragment = (
{ __typename?: 'InternalTransferCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_InternalTransferCharge_Fragment': ChargesTableRowFields_InternalTransferCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_InternalTransferCharge_Fragment' };
type ChargesTableFields_MonthlyVatCharge_Fragment = (
{ __typename?: 'MonthlyVatCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_MonthlyVatCharge_Fragment': ChargesTableRowFields_MonthlyVatCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_MonthlyVatCharge_Fragment' };
type ChargesTableFields_SalaryCharge_Fragment = (
{ __typename?: 'SalaryCharge', id: string, owner: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } }
& { ' $fragmentRefs'?: { 'ChargesTableRowFields_SalaryCharge_Fragment': ChargesTableRowFields_SalaryCharge_Fragment } }
) & { ' $fragmentName'?: 'ChargesTableFields_SalaryCharge_Fragment' };
export type ChargesTableFieldsFragment = ChargesTableFields_BankDepositCharge_Fragment | ChargesTableFields_BusinessTripCharge_Fragment | ChargesTableFields_CommonCharge_Fragment | ChargesTableFields_ConversionCharge_Fragment | ChargesTableFields_CreditcardBankCharge_Fragment | ChargesTableFields_DividendCharge_Fragment | ChargesTableFields_FinancialCharge_Fragment | ChargesTableFields_InternalTransferCharge_Fragment | ChargesTableFields_MonthlyVatCharge_Fragment | ChargesTableFields_SalaryCharge_Fragment;
type DocumentsTableAmountFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, 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: string, documentType?: DocumentType | null, 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: string, documentType?: DocumentType | null, 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_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_OtherDocument_Fragment' };
type DocumentsTableAmountFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null, 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: string, documentType?: DocumentType | null, 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: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableAmountFields_Unprocessed_Fragment' };
export type DocumentsTableAmountFieldsFragment = DocumentsTableAmountFields_CreditInvoice_Fragment | DocumentsTableAmountFields_Invoice_Fragment | DocumentsTableAmountFields_InvoiceReceipt_Fragment | DocumentsTableAmountFields_OtherDocument_Fragment | DocumentsTableAmountFields_Proforma_Fragment | DocumentsTableAmountFields_Receipt_Fragment | DocumentsTableAmountFields_Unprocessed_Fragment;
type DocumentsTableCreditorFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_CreditInvoice_Fragment' };
type DocumentsTableCreditorFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Invoice_Fragment' };
type DocumentsTableCreditorFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_InvoiceReceipt_Fragment' };
type DocumentsTableCreditorFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_OtherDocument_Fragment' };
type DocumentsTableCreditorFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Proforma_Fragment' };
type DocumentsTableCreditorFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Receipt_Fragment' };
type DocumentsTableCreditorFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableCreditorFields_Unprocessed_Fragment' };
export type DocumentsTableCreditorFieldsFragment = DocumentsTableCreditorFields_CreditInvoice_Fragment | DocumentsTableCreditorFields_Invoice_Fragment | DocumentsTableCreditorFields_InvoiceReceipt_Fragment | DocumentsTableCreditorFields_OtherDocument_Fragment | DocumentsTableCreditorFields_Proforma_Fragment | DocumentsTableCreditorFields_Receipt_Fragment | DocumentsTableCreditorFields_Unprocessed_Fragment;
type DocumentsDateFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', date?: TimelessDateString | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_CreditInvoice_Fragment' };
type DocumentsDateFields_Invoice_Fragment = { __typename?: 'Invoice', date?: TimelessDateString | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_Invoice_Fragment' };
type DocumentsDateFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', date?: TimelessDateString | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_InvoiceReceipt_Fragment' };
type DocumentsDateFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_OtherDocument_Fragment' };
type DocumentsDateFields_Proforma_Fragment = { __typename?: 'Proforma', date?: TimelessDateString | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_Proforma_Fragment' };
type DocumentsDateFields_Receipt_Fragment = { __typename?: 'Receipt', date?: TimelessDateString | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_Receipt_Fragment' };
type DocumentsDateFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsDateFields_Unprocessed_Fragment' };
export type DocumentsDateFieldsFragment = DocumentsDateFields_CreditInvoice_Fragment | DocumentsDateFields_Invoice_Fragment | DocumentsDateFields_InvoiceReceipt_Fragment | DocumentsDateFields_OtherDocument_Fragment | DocumentsDateFields_Proforma_Fragment | DocumentsDateFields_Receipt_Fragment | DocumentsDateFields_Unprocessed_Fragment;
type DocumentsTableDebtorFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_CreditInvoice_Fragment' };
type DocumentsTableDebtorFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Invoice_Fragment' };
type DocumentsTableDebtorFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_InvoiceReceipt_Fragment' };
type DocumentsTableDebtorFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_OtherDocument_Fragment' };
type DocumentsTableDebtorFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Proforma_Fragment' };
type DocumentsTableDebtorFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, missingInfoSuggestions?: { __typename?: 'DocumentSuggestions', isIncome?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Receipt_Fragment' };
type DocumentsTableDebtorFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableDebtorFields_Unprocessed_Fragment' };
export type DocumentsTableDebtorFieldsFragment = DocumentsTableDebtorFields_CreditInvoice_Fragment | DocumentsTableDebtorFields_Invoice_Fragment | DocumentsTableDebtorFields_InvoiceReceipt_Fragment | DocumentsTableDebtorFields_OtherDocument_Fragment | DocumentsTableDebtorFields_Proforma_Fragment | DocumentsTableDebtorFields_Receipt_Fragment | DocumentsTableDebtorFields_Unprocessed_Fragment;
type DocumentFilesFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_CreditInvoice_Fragment' };
type DocumentFilesFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_Invoice_Fragment' };
type DocumentFilesFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_InvoiceReceipt_Fragment' };
type DocumentFilesFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_OtherDocument_Fragment' };
type DocumentFilesFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_Proforma_Fragment' };
type DocumentFilesFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_Receipt_Fragment' };
type DocumentFilesFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, image?: URL | string | null, file?: URL | string | null } & { ' $fragmentName'?: 'DocumentFilesFields_Unprocessed_Fragment' };
export type DocumentFilesFieldsFragment = DocumentFilesFields_CreditInvoice_Fragment | DocumentFilesFields_Invoice_Fragment | DocumentFilesFields_InvoiceReceipt_Fragment | DocumentFilesFields_OtherDocument_Fragment | DocumentFilesFields_Proforma_Fragment | DocumentFilesFields_Receipt_Fragment | DocumentFilesFields_Unprocessed_Fragment;
type DocumentSerialFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', serialNumber?: string | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_CreditInvoice_Fragment' };
type DocumentSerialFields_Invoice_Fragment = { __typename?: 'Invoice', serialNumber?: string | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_Invoice_Fragment' };
type DocumentSerialFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', serialNumber?: string | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_InvoiceReceipt_Fragment' };
type DocumentSerialFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_OtherDocument_Fragment' };
type DocumentSerialFields_Proforma_Fragment = { __typename?: 'Proforma', serialNumber?: string | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_Proforma_Fragment' };
type DocumentSerialFields_Receipt_Fragment = { __typename?: 'Receipt', serialNumber?: string | null, id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_Receipt_Fragment' };
type DocumentSerialFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentSerialFields_Unprocessed_Fragment' };
export type DocumentSerialFieldsFragment = DocumentSerialFields_CreditInvoice_Fragment | DocumentSerialFields_Invoice_Fragment | DocumentSerialFields_InvoiceReceipt_Fragment | DocumentSerialFields_OtherDocument_Fragment | DocumentSerialFields_Proforma_Fragment | DocumentSerialFields_Receipt_Fragment | DocumentSerialFields_Unprocessed_Fragment;
type DocumentTypeFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_CreditInvoice_Fragment' };
type DocumentTypeFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Invoice_Fragment' };
type DocumentTypeFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_InvoiceReceipt_Fragment' };
type DocumentTypeFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_OtherDocument_Fragment' };
type DocumentTypeFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Proforma_Fragment' };
type DocumentTypeFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Receipt_Fragment' };
type DocumentTypeFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentTypeFields_Unprocessed_Fragment' };
export type DocumentTypeFieldsFragment = DocumentTypeFields_CreditInvoice_Fragment | DocumentTypeFields_Invoice_Fragment | DocumentTypeFields_InvoiceReceipt_Fragment | DocumentTypeFields_OtherDocument_Fragment | DocumentTypeFields_Proforma_Fragment | DocumentTypeFields_Receipt_Fragment | DocumentTypeFields_Unprocessed_Fragment;
type DocumentsTableVatFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_CreditInvoice_Fragment' };
type DocumentsTableVatFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Invoice_Fragment' };
type DocumentsTableVatFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_InvoiceReceipt_Fragment' };
type DocumentsTableVatFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_OtherDocument_Fragment' };
type DocumentsTableVatFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Proforma_Fragment' };
type DocumentsTableVatFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Receipt_Fragment' };
type DocumentsTableVatFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null } & { ' $fragmentName'?: 'DocumentsTableVatFields_Unprocessed_Fragment' };
export type DocumentsTableVatFieldsFragment = DocumentsTableVatFields_CreditInvoice_Fragment | DocumentsTableVatFields_Invoice_Fragment | DocumentsTableVatFields_InvoiceReceipt_Fragment | DocumentsTableVatFields_OtherDocument_Fragment | DocumentsTableVatFields_Proforma_Fragment | DocumentsTableVatFields_Receipt_Fragment | DocumentsTableVatFields_Unprocessed_Fragment;
type DocumentsGalleryFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_BankDepositCharge_Fragment' };
type DocumentsGalleryFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_BusinessTripCharge_Fragment' };
type DocumentsGalleryFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_CommonCharge_Fragment' };
type DocumentsGalleryFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_ConversionCharge_Fragment' };
type DocumentsGalleryFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_CreditcardBankCharge_Fragment' };
type DocumentsGalleryFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_DividendCharge_Fragment' };
type DocumentsGalleryFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_FinancialCharge_Fragment' };
type DocumentsGalleryFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_InternalTransferCharge_Fragment' };
type DocumentsGalleryFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_MonthlyVatCharge_Fragment' };
type DocumentsGalleryFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, additionalDocuments: Array<{ __typename?: 'CreditInvoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Invoice', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'InvoiceReceipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'OtherDocument', id: string, image?: URL | string | null } | { __typename?: 'Proforma', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Receipt', documentType?: DocumentType | null, id: string, image?: URL | string | null } | { __typename?: 'Unprocessed', id: string, image?: URL | string | null }> } & { ' $fragmentName'?: 'DocumentsGalleryFields_SalaryCharge_Fragment' };
export type DocumentsGalleryFieldsFragment = DocumentsGalleryFields_BankDepositCharge_Fragment | DocumentsGalleryFields_BusinessTripCharge_Fragment | DocumentsGalleryFields_CommonCharge_Fragment | DocumentsGalleryFields_ConversionCharge_Fragment | DocumentsGalleryFields_CreditcardBankCharge_Fragment | DocumentsGalleryFields_DividendCharge_Fragment | DocumentsGalleryFields_FinancialCharge_Fragment | DocumentsGalleryFields_InternalTransferCharge_Fragment | DocumentsGalleryFields_MonthlyVatCharge_Fragment | DocumentsGalleryFields_SalaryCharge_Fragment;
type TableDocumentsRowFields_CreditInvoice_Fragment = (
{ __typename?: 'CreditInvoice', id: string }
& { ' $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: string }
& { ' $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: string }
& { ' $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_OtherDocument_Fragment = (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'DocumentsTableAmountFields_OtherDocument_Fragment': DocumentsTableAmountFields_OtherDocument_Fragment;'DocumentsDateFields_OtherDocument_Fragment': DocumentsDateFields_OtherDocument_Fragment;'DocumentsTableVatFields_OtherDocument_Fragment': DocumentsTableVatFields_OtherDocument_Fragment;'DocumentTypeFields_OtherDocument_Fragment': DocumentTypeFields_OtherDocument_Fragment;'DocumentSerialFields_OtherDocument_Fragment': DocumentSerialFields_OtherDocument_Fragment;'DocumentsTableCreditorFields_OtherDocument_Fragment': DocumentsTableCreditorFields_OtherDocument_Fragment;'DocumentsTableDebtorFields_OtherDocument_Fragment': DocumentsTableDebtorFields_OtherDocument_Fragment;'DocumentFilesFields_OtherDocument_Fragment': DocumentFilesFields_OtherDocument_Fragment } }
) & { ' $fragmentName'?: 'TableDocumentsRowFields_OtherDocument_Fragment' };
type TableDocumentsRowFields_Proforma_Fragment = (
{ __typename?: 'Proforma', id: string }
& { ' $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: string }
& { ' $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: string }
& { ' $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_OtherDocument_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: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
) | null };
type TableDocumentsFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_BankDepositCharge_Fragment' };
type TableDocumentsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_BusinessTripCharge_Fragment' };
type TableDocumentsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_CommonCharge_Fragment' };
type TableDocumentsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_ConversionCharge_Fragment' };
type TableDocumentsFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_CreditcardBankCharge_Fragment' };
type TableDocumentsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_DividendCharge_Fragment' };
type TableDocumentsFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_FinancialCharge_Fragment' };
type TableDocumentsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_InternalTransferCharge_Fragment' };
type TableDocumentsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_MonthlyVatCharge_Fragment' };
type TableDocumentsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, additionalDocuments: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_CreditInvoice_Fragment': TableDocumentsRowFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Invoice_Fragment': TableDocumentsRowFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_InvoiceReceipt_Fragment': TableDocumentsRowFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_OtherDocument_Fragment': TableDocumentsRowFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Proforma_Fragment': TableDocumentsRowFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Receipt_Fragment': TableDocumentsRowFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'TableDocumentsRowFields_Unprocessed_Fragment': TableDocumentsRowFields_Unprocessed_Fragment } }
)> } & { ' $fragmentName'?: 'TableDocumentsFields_SalaryCharge_Fragment' };
export type TableDocumentsFieldsFragment = TableDocumentsFields_BankDepositCharge_Fragment | TableDocumentsFields_BusinessTripCharge_Fragment | TableDocumentsFields_CommonCharge_Fragment | TableDocumentsFields_ConversionCharge_Fragment | TableDocumentsFields_CreditcardBankCharge_Fragment | TableDocumentsFields_DividendCharge_Fragment | TableDocumentsFields_FinancialCharge_Fragment | TableDocumentsFields_InternalTransferCharge_Fragment | TableDocumentsFields_MonthlyVatCharge_Fragment | TableDocumentsFields_SalaryCharge_Fragment;
type ConversionChargeInfo_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_BankDepositCharge_Fragment' };
type ConversionChargeInfo_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_BusinessTripCharge_Fragment' };
type ConversionChargeInfo_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_CommonCharge_Fragment' };
type ConversionChargeInfo_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string, eventRate?: { __typename?: 'ConversionRate', from: Currency, to: Currency, rate: number } | null, officialRate?: { __typename?: 'ConversionRate', from: Currency, to: Currency, rate: number } | null } & { ' $fragmentName'?: 'ConversionChargeInfo_ConversionCharge_Fragment' };
type ConversionChargeInfo_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_CreditcardBankCharge_Fragment' };
type ConversionChargeInfo_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_DividendCharge_Fragment' };
type ConversionChargeInfo_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_FinancialCharge_Fragment' };
type ConversionChargeInfo_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_InternalTransferCharge_Fragment' };
type ConversionChargeInfo_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_MonthlyVatCharge_Fragment' };
type ConversionChargeInfo_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string } & { ' $fragmentName'?: 'ConversionChargeInfo_SalaryCharge_Fragment' };
export type ConversionChargeInfoFragment = ConversionChargeInfo_BankDepositCharge_Fragment | ConversionChargeInfo_BusinessTripCharge_Fragment | ConversionChargeInfo_CommonCharge_Fragment | ConversionChargeInfo_ConversionCharge_Fragment | ConversionChargeInfo_CreditcardBankCharge_Fragment | ConversionChargeInfo_DividendCharge_Fragment | ConversionChargeInfo_FinancialCharge_Fragment | ConversionChargeInfo_InternalTransferCharge_Fragment | ConversionChargeInfo_MonthlyVatCharge_Fragment | ConversionChargeInfo_SalaryCharge_Fragment;
type CreditcardBankChargeInfo_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_BankDepositCharge_Fragment' };
type CreditcardBankChargeInfo_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_BusinessTripCharge_Fragment' };
type CreditcardBankChargeInfo_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_CommonCharge_Fragment' };
type CreditcardBankChargeInfo_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_ConversionCharge_Fragment' };
type CreditcardBankChargeInfo_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string, creditCardTransactions: Array<(
{ __typename?: 'CommonTransaction' }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_CommonTransaction_Fragment': TransactionForTransactionsTableFields_CommonTransaction_Fragment } }
) | (
{ __typename?: 'ConversionTransaction' }
& { ' $fragmentRefs'?: { 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment': TransactionForTransactionsTableFields_ConversionTransaction_Fragment } }
)> } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_CreditcardBankCharge_Fragment' };
type CreditcardBankChargeInfo_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_DividendCharge_Fragment' };
type CreditcardBankChargeInfo_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_FinancialCharge_Fragment' };
type CreditcardBankChargeInfo_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_InternalTransferCharge_Fragment' };
type CreditcardBankChargeInfo_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_MonthlyVatCharge_Fragment' };
type CreditcardBankChargeInfo_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string } & { ' $fragmentName'?: 'CreditcardBankChargeInfo_SalaryCharge_Fragment' };
export type CreditcardBankChargeInfoFragment = CreditcardBankChargeInfo_BankDepositCharge_Fragment | CreditcardBankChargeInfo_BusinessTripCharge_Fragment | CreditcardBankChargeInfo_CommonCharge_Fragment | CreditcardBankChargeInfo_ConversionCharge_Fragment | CreditcardBankChargeInfo_CreditcardBankCharge_Fragment | CreditcardBankChargeInfo_DividendCharge_Fragment | CreditcardBankChargeInfo_FinancialCharge_Fragment | CreditcardBankChargeInfo_InternalTransferCharge_Fragment | CreditcardBankChargeInfo_MonthlyVatCharge_Fragment | CreditcardBankChargeInfo_SalaryCharge_Fragment;
type TableMiscExpensesFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_BankDepositCharge_Fragment' };
type TableMiscExpensesFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_BusinessTripCharge_Fragment' };
type TableMiscExpensesFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_CommonCharge_Fragment' };
type TableMiscExpensesFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_ConversionCharge_Fragment' };
type TableMiscExpensesFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_CreditcardBankCharge_Fragment' };
type TableMiscExpensesFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_DividendCharge_Fragment' };
type TableMiscExpensesFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_FinancialCharge_Fragment' };
type TableMiscExpensesFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_InternalTransferCharge_Fragment' };
type TableMiscExpensesFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_MonthlyVatCharge_Fragment' };
type TableMiscExpensesFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, miscExpenses: Array<(
{ __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, chargeId: string, amount: { __typename?: 'FinancialAmount', formatted: string }, creditor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } }
& { ' $fragmentRefs'?: { 'EditMiscExpenseFieldsFragment': EditMiscExpenseFieldsFragment } }
)> } & { ' $fragmentName'?: 'TableMiscExpensesFields_SalaryCharge_Fragment' };
export type TableMiscExpensesFieldsFragment = TableMiscExpensesFields_BankDepositCharge_Fragment | TableMiscExpensesFields_BusinessTripCharge_Fragment | TableMiscExpensesFields_CommonCharge_Fragment | TableMiscExpensesFields_ConversionCharge_Fragment | TableMiscExpensesFields_CreditcardBankCharge_Fragment | TableMiscExpensesFields_DividendCharge_Fragment | TableMiscExpensesFields_FinancialCharge_Fragment | TableMiscExpensesFields_InternalTransferCharge_Fragment | TableMiscExpensesFields_MonthlyVatCharge_Fragment | TableMiscExpensesFields_SalaryCharge_Fragment;
type TableSalariesFields_BankDepositCharge_Fragment = { __typename: 'BankDepositCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_BankDepositCharge_Fragment' };
type TableSalariesFields_BusinessTripCharge_Fragment = { __typename: 'BusinessTripCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_BusinessTripCharge_Fragment' };
type TableSalariesFields_CommonCharge_Fragment = { __typename: 'CommonCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_CommonCharge_Fragment' };
type TableSalariesFields_ConversionCharge_Fragment = { __typename: 'ConversionCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_ConversionCharge_Fragment' };
type TableSalariesFields_CreditcardBankCharge_Fragment = { __typename: 'CreditcardBankCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_CreditcardBankCharge_Fragment' };
type TableSalariesFields_DividendCharge_Fragment = { __typename: 'DividendCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_DividendCharge_Fragment' };
type TableSalariesFields_FinancialCharge_Fragment = { __typename: 'FinancialCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_FinancialCharge_Fragment' };
type TableSalariesFields_InternalTransferCharge_Fragment = { __typename: 'InternalTransferCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_InternalTransferCharge_Fragment' };
type TableSalariesFields_MonthlyVatCharge_Fragment = { __typename: 'MonthlyVatCharge', id: string } & { ' $fragmentName'?: 'TableSalariesFields_MonthlyVatCharge_Fragment' };
type TableSalariesFields_SalaryCharge_Fragment = { __typename: 'SalaryCharge', id: string, salaryRecords: Array<{ __typename?: 'Salary', directAmount: { __typename?: 'FinancialAmount', formatted: string }, baseAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: string, 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: string, 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 }> } & { ' $fragmentName'?: 'TableSalariesFields_SalaryCharge_Fragment' };
export type TableSalariesFieldsFragment = TableSalariesFields_BankDepositCharge_Fragment | TableSalariesFields_BusinessTripCharge_Fragment | TableSalariesFields_CommonCharge_Fragment | TableSalariesFields_ConversionCharge_Fragment | TableSalariesFields_CreditcardBankCharge_Fragment | TableSalariesFields_DividendCharge_Fragment | TableSalariesFields_FinancialCharge_Fragment | TableSalariesFields_InternalTransferCharge_Fragment | TableSalariesFields_MonthlyVatCharge_Fragment | TableSalariesFields_SalaryCharge_Fragment;
export type LedgerRecordsAccountDetailsFieldsFragment = { __typename?: 'LedgerRecord', id: string, creditAccount1?: { __typename: 'LtdFinancialEntity', id: string, name: string } | { __typename: 'PersonalFinancialEntity', id: string, name: string } | { __typename: 'TaxCategory', id: string, name: string } | null, creditAccount2?: { __typename: 'LtdFinancialEntity', id: string, name: string } | { __typename: 'PersonalFinancialEntity', id: string, name: string } | { __typename: 'TaxCategory', id: string, name: string } | null, debitAccount1?: { __typename: 'LtdFinancialEntity', id: string, name: string } | { __typename: 'PersonalFinancialEntity', id: string, name: string } | { __typename: 'TaxCategory', id: string, name: string } | null, debitAccount2?: { __typename: 'LtdFinancialEntity', id: string, name: string } | { __typename: 'PersonalFinancialEntity', id: string, name: string } | { __typename: 'TaxCategory', id: string, 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: string, invoiceDate: Date, valueDate: Date } & { ' $fragmentName'?: 'LedgerRecordsGeneralDateFieldsFragment' };
export type TableLedgerRecordsRowFieldsFragment = (
{ __typename?: 'LedgerRecord', id: string, description?: string | null, reference?: string | null }
& { ' $fragmentRefs'?: { 'LedgerRecordsAccountDetailsFieldsFragment': LedgerRecordsAccountDetailsFieldsFragment;'LedgerRecordsGeneralDateFieldsFragment': LedgerRecordsGeneralDateFieldsFragment } }
) & { ' $fragmentName'?: 'TableLedgerRecordsRowFieldsFragment' };
type TableLedgerRecordsFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_BankDepositCharge_Fragment' };
type TableLedgerRecordsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_BusinessTripCharge_Fragment' };
type TableLedgerRecordsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_CommonCharge_Fragment' };
type TableLedgerRecordsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_ConversionCharge_Fragment' };
type TableLedgerRecordsFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_CreditcardBankCharge_Fragment' };
type TableLedgerRecordsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_DividendCharge_Fragment' };
type TableLedgerRecordsFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_FinancialCharge_Fragment' };
type TableLedgerRecordsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_InternalTransferCharge_Fragment' };
type TableLedgerRecordsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_MonthlyVatCharge_Fragment' };
type TableLedgerRecordsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, ledger: { __typename: 'Ledger', records: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } & ({ __typename?: 'Ledger', validate: { __typename?: 'LedgerValidation' } & ({ __typename?: 'LedgerValidation', matches: Array<string> } | { __typename?: 'LedgerValidation', matches?: never }) & ({ __typename?: 'LedgerValidation', differences: Array<(
{ __typename?: 'LedgerRecord', id: string }
& { ' $fragmentRefs'?: { 'TableLedgerRecordsRowFieldsFragment': TableLedgerRecordsRowFieldsFragment } }
)> } | { __typename?: 'LedgerValidation', differences?: never }) } | { __typename?: 'Ledger', validate?: never }) } & { ' $fragmentName'?: 'TableLedgerRecordsFields_SalaryCharge_Fragment' };
export type TableLedgerRecordsFieldsFragment = TableLedgerRecordsFields_BankDepositCharge_Fragment | TableLedgerRecordsFields_BusinessTripCharge_Fragment | TableLedgerRecordsFields_CommonCharge_Fragment | TableLedgerRecordsFields_ConversionCharge_Fragment | TableLedgerRecordsFields_CreditcardBankCharge_Fragment | TableLedgerRecordsFields_DividendCharge_Fragment | TableLedgerRecordsFields_FinancialCharge_Fragment | TableLedgerRecordsFields_InternalTransferCharge_Fragment | TableLedgerRecordsFields_MonthlyVatCharge_Fragment | TableLedgerRecordsFields_SalaryCharge_Fragment;
export type IncomeChargesChartQueryVariables = Exact<{
filters?: InputMaybe<ChargeFilter>;
}>;
export type IncomeChargesChartQuery = { __typename?: 'Query', allCharges: { __typename?: 'PaginatedCharges', nodes: Array<{ __typename?: 'BankDepositCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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?: 'BusinessTripCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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?: 'CreditcardBankCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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?: 'FinancialCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, eventExchangeRates?: { __typename?: 'ExchangeRates', date: TimelessDateString, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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, cad?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null, 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 MonthlyIncomeExpenseChartInfoFragment = { __typename?: 'IncomeExpenseChart', monthlyData: Array<{ __typename?: 'IncomeExpenseChartMonthData', date: TimelessDateString, income: { __typename?: 'FinancialAmount', formatted: string, raw: number }, expense: { __typename?: 'FinancialAmount', formatted: string, raw: number }, balance: { __typename?: 'FinancialAmount', formatted: string, raw: number } }> } & { ' $fragmentName'?: 'MonthlyIncomeExpenseChartInfoFragment' };
export type MonthlyIncomeExpenseChartQueryVariables = Exact<{
filters: IncomeExpenseChartFilters;
}>;
export type MonthlyIncomeExpenseChartQuery = { __typename?: 'Query', incomeExpenseChart: (
{ __typename?: 'IncomeExpenseChart', fromDate: TimelessDateString, toDate: TimelessDateString, currency: Currency }
& { ' $fragmentRefs'?: { 'MonthlyIncomeExpenseChartInfoFragment': MonthlyIncomeExpenseChartInfoFragment } }
) };
export type BusinessTripReportFieldsFragment = (
{ __typename?: 'BusinessTrip', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportHeaderFieldsFragment': BusinessTripReportHeaderFieldsFragment;'BusinessTripReportSummaryFieldsFragment': BusinessTripReportSummaryFieldsFragment } }
) & { ' $fragmentName'?: 'BusinessTripReportFieldsFragment' };
export type BusinessTripAccountantApprovalFieldsFragment = { __typename?: 'BusinessTrip', id: string, accountantApproval: AccountantStatus } & { ' $fragmentName'?: 'BusinessTripAccountantApprovalFieldsFragment' };
export type UncategorizedTransactionsByBusinessTripQueryVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
}>;
export type UncategorizedTransactionsByBusinessTripQuery = { __typename?: 'Query', businessTrip?: { __typename?: 'BusinessTrip', id: string, uncategorizedTransactions: Array<{ __typename?: 'UncategorizedTransaction', transaction: { __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, referenceKey?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, referenceKey?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } } } | null> } | null };
export type BusinessTripReportAccommodationsRowFieldsFragment = (
{ __typename?: 'BusinessTripAccommodationExpense', id: string, payedByEmployee?: boolean | null, country?: string | null, nightsCount?: number | null, attendeesStay: Array<{ __typename?: 'BusinessTripAttendeeStay', id: string, nightsCount: number, attendee: { __typename?: 'BusinessTripAttendee', id: string, name: string } }> }
& { ' $fragmentRefs'?: { 'BusinessTripReportCoreExpenseRowFields_BusinessTripAccommodationExpense_Fragment': BusinessTripReportCoreExpenseRowFields_BusinessTripAccommodationExpense_Fragment } }
) & { ' $fragmentName'?: 'BusinessTripReportAccommodationsRowFieldsFragment' };
export type BusinessTripReportAccommodationsTableFieldsFragment = (
{ __typename?: 'BusinessTripAccommodationExpense', id: string, date?: TimelessDateString | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportAccommodationsRowFieldsFragment': BusinessTripReportAccommodationsRowFieldsFragment } }
) & { ' $fragmentName'?: 'BusinessTripReportAccommodationsTableFieldsFragment' };
export type BusinessTripReportAccommodationsFieldsFragment = { __typename?: 'BusinessTrip', id: string, accommodationExpenses: Array<(
{ __typename?: 'BusinessTripAccommodationExpense', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportAccommodationsTableFieldsFragment': BusinessTripReportAccommodationsTableFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportAccommodationsFieldsFragment' };
export type BusinessTripReportAttendeeRowFieldsFragment = { __typename?: 'BusinessTripAttendee', id: string, name: string, arrivalDate?: TimelessDateString | null, departureDate?: TimelessDateString | null, flights: Array<(
{ __typename?: 'BusinessTripFlightExpense', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportFlightsTableFieldsFragment': BusinessTripReportFlightsTableFieldsFragment } }
)>, accommodations: Array<(
{ __typename?: 'BusinessTripAccommodationExpense', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportAccommodationsTableFieldsFragment': BusinessTripReportAccommodationsTableFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportAttendeeRowFieldsFragment' };
export type BusinessTripReportAttendeesFieldsFragment = { __typename?: 'BusinessTrip', id: string, attendees: Array<(
{ __typename?: 'BusinessTripAttendee', id: string, name: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportAttendeeRowFieldsFragment': BusinessTripReportAttendeeRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportAttendeesFieldsFragment' };
export type BusinessTripReportCarRentalRowFieldsFragment = (
{ __typename?: 'BusinessTripCarRentalExpense', id: string, payedByEmployee?: boolean | null, days: number, isFuelExpense: boolean }
& { ' $fragmentRefs'?: { 'BusinessTripReportCoreExpenseRowFields_BusinessTripCarRentalExpense_Fragment': BusinessTripReportCoreExpenseRowFields_BusinessTripCarRentalExpense_Fragment } }
) & { ' $fragmentName'?: 'BusinessTripReportCarRentalRowFieldsFragment' };
export type BusinessTripReportCarRentalFieldsFragment = { __typename?: 'BusinessTrip', id: string, carRentalExpenses: Array<(
{ __typename?: 'BusinessTripCarRentalExpense', id: string, date?: TimelessDateString | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportCarRentalRowFieldsFragment': BusinessTripReportCarRentalRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportCarRentalFieldsFragment' };
type BusinessTripReportCoreExpenseRowFields_BusinessTripAccommodationExpense_Fragment = { __typename?: 'BusinessTripAccommodationExpense', id: string, date?: TimelessDateString | null, valueDate?: TimelessDateString | null, payedByEmployee?: boolean | null, amount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, charges?: Array<{ __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string }> | null } & { ' $fragmentName'?: 'BusinessTripReportCoreExpenseRowFields_BusinessTripAccommodationExpense_Fragment' };
type BusinessTripReportCoreExpenseRowFields_BusinessTripCarRentalExpense_Fragment = { __typename?: 'BusinessTripCarRentalExpense', id: string, date?: TimelessDateString | null, valueDate?: TimelessDateString | null, payedByEmployee?: boolean | null, amount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, charges?: Array<{ __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string }> | null } & { ' $fragmentName'?: 'BusinessTripReportCoreExpenseRowFields_BusinessTripCarRentalExpense_Fragment' };
type BusinessTripReportCoreExpenseRowFields_BusinessTripFlightExpense_Fragment = { __typename?: 'BusinessTripFlightExpense', id: string, date?: TimelessDateString | null, valueDate?: TimelessDateString | null, payedByEmployee?: boolean | null, amount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, charges?: Array<{ __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string }> | null } & { ' $fragmentName'?: 'BusinessTripReportCoreExpenseRowFields_BusinessTripFlightExpense_Fragment' };
type BusinessTripReportCoreExpenseRowFields_BusinessTripOtherExpense_Fragment = { __typename?: 'BusinessTripOtherExpense', id: string, date?: TimelessDateString | null, valueDate?: TimelessDateString | null, payedByEmployee?: boolean | null, amount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, charges?: Array<{ __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string }> | null } & { ' $fragmentName'?: 'BusinessTripReportCoreExpenseRowFields_BusinessTripOtherExpense_Fragment' };
type BusinessTripReportCoreExpenseRowFields_BusinessTripTravelAndSubsistenceExpense_Fragment = { __typename?: 'BusinessTripTravelAndSubsistenceExpense', id: string, date?: TimelessDateString | null, valueDate?: TimelessDateString | null, payedByEmployee?: boolean | null, amount?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, charges?: Array<{ __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string }> | null } & { ' $fragmentName'?: 'BusinessTripReportCoreExpenseRowFields_BusinessTripTravelAndSubsistenceExpense_Fragment' };
export type BusinessTripReportCoreExpenseRowFieldsFragment = BusinessTripReportCoreExpenseRowFields_BusinessTripAccommodationExpense_Fragment | BusinessTripReportCoreExpenseRowFields_BusinessTripCarRentalExpense_Fragment | BusinessTripReportCoreExpenseRowFields_BusinessTripFlightExpense_Fragment | BusinessTripReportCoreExpenseRowFields_BusinessTripOtherExpense_Fragment | BusinessTripReportCoreExpenseRowFields_BusinessTripTravelAndSubsistenceExpense_Fragment;
export type BusinessTripReportFlightsRowFieldsFragment = (
{ __typename?: 'BusinessTripFlightExpense', id: string, payedByEmployee?: boolean | null, path?: Array<string> | null, class?: string | null, attendees: Array<{ __typename?: 'BusinessTripAttendee', id: string, name: string }> }
& { ' $fragmentRefs'?: { 'BusinessTripReportCoreExpenseRowFields_BusinessTripFlightExpense_Fragment': BusinessTripReportCoreExpenseRowFields_BusinessTripFlightExpense_Fragment } }
) & { ' $fragmentName'?: 'BusinessTripReportFlightsRowFieldsFragment' };
export type BusinessTripReportFlightsTableFieldsFragment = (
{ __typename?: 'BusinessTripFlightExpense', id: string, date?: TimelessDateString | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportFlightsRowFieldsFragment': BusinessTripReportFlightsRowFieldsFragment } }
) & { ' $fragmentName'?: 'BusinessTripReportFlightsTableFieldsFragment' };
export type BusinessTripReportFlightsFieldsFragment = { __typename?: 'BusinessTrip', id: string, flightExpenses: Array<(
{ __typename?: 'BusinessTripFlightExpense', id: string }
& { ' $fragmentRefs'?: { 'BusinessTripReportFlightsTableFieldsFragment': BusinessTripReportFlightsTableFieldsFragment } }
)>, attendees: Array<{ __typename?: 'BusinessTripAttendee', id: string, name: string }> } & { ' $fragmentName'?: 'BusinessTripReportFlightsFieldsFragment' };
export type BusinessTripReportOtherRowFieldsFragment = (
{ __typename?: 'BusinessTripOtherExpense', id: string, payedByEmployee?: boolean | null, description?: string | null, deductibleExpense?: boolean | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportCoreExpenseRowFields_BusinessTripOtherExpense_Fragment': BusinessTripReportCoreExpenseRowFields_BusinessTripOtherExpense_Fragment } }
) & { ' $fragmentName'?: 'BusinessTripReportOtherRowFieldsFragment' };
export type BusinessTripReportOtherFieldsFragment = { __typename?: 'BusinessTrip', id: string, otherExpenses: Array<(
{ __typename?: 'BusinessTripOtherExpense', id: string, date?: TimelessDateString | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportOtherRowFieldsFragment': BusinessTripReportOtherRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportOtherFieldsFragment' };
export type BusinessTripReportHeaderFieldsFragment = (
{ __typename?: 'BusinessTrip', id: string, name: string, purpose?: string | null, dates?: { __typename?: 'DateRange', start: TimelessDateString, end: TimelessDateString } | null, destination?: { __typename?: 'Country', id: string, name: string } | null }
& { ' $fragmentRefs'?: { 'BusinessTripAccountantApprovalFieldsFragment': BusinessTripAccountantApprovalFieldsFragment } }
) & { ' $fragmentName'?: 'BusinessTripReportHeaderFieldsFragment' };
export type BusinessTripReportSummaryFieldsFragment = { __typename?: 'BusinessTrip', id: string } & ({ __typename?: 'BusinessTrip', summary: { __typename?: 'BusinessTripSummary', excessTax?: number | null, errors?: Array<string> | null, excessExpenditure?: { __typename?: 'FinancialAmount', formatted: string } | null, rows: Array<{ __typename?: 'BusinessTripSummaryRow', type: BusinessTripSummaryCategories, totalForeignCurrency: { __typename?: 'FinancialAmount', formatted: string }, totalLocalCurrency?: { __typename?: 'FinancialAmount', formatted: string } | null, taxableForeignCurrency: { __typename?: 'FinancialAmount', formatted: string }, taxableLocalCurrency?: { __typename?: 'FinancialAmount', formatted: string } | null, maxTaxableForeignCurrency: { __typename?: 'FinancialAmount', formatted: string }, maxTaxableLocalCurrency?: { __typename?: 'FinancialAmount', formatted: string } | null, excessExpenditure?: { __typename?: 'FinancialAmount', formatted: string } | null }> } } | { __typename?: 'BusinessTrip', summary?: never }) & { ' $fragmentName'?: 'BusinessTripReportSummaryFieldsFragment' };
export type BusinessTripReportTravelAndSubsistenceRowFieldsFragment = (
{ __typename?: 'BusinessTripTravelAndSubsistenceExpense', id: string, payedByEmployee?: boolean | null, expenseType?: string | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportCoreExpenseRowFields_BusinessTripTravelAndSubsistenceExpense_Fragment': BusinessTripReportCoreExpenseRowFields_BusinessTripTravelAndSubsistenceExpense_Fragment } }
) & { ' $fragmentName'?: 'BusinessTripReportTravelAndSubsistenceRowFieldsFragment' };
export type BusinessTripReportTravelAndSubsistenceFieldsFragment = { __typename?: 'BusinessTrip', id: string, travelAndSubsistenceExpenses: Array<(
{ __typename?: 'BusinessTripTravelAndSubsistenceExpense', id: string, date?: TimelessDateString | null }
& { ' $fragmentRefs'?: { 'BusinessTripReportTravelAndSubsistenceRowFieldsFragment': BusinessTripReportTravelAndSubsistenceRowFieldsFragment } }
)> } & { ' $fragmentName'?: 'BusinessTripReportTravelAndSubsistenceFieldsFragment' };
export type BusinessTripUncategorizedTransactionsFieldsFragment = { __typename?: 'BusinessTrip', id: string, uncategorizedTransactions: Array<(
{ __typename?: 'UncategorizedTransaction', transaction: (
{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, chargeId: string, amount: { __typename?: 'FinancialAmount', raw: number } }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_CommonTransaction_Fragment': TransactionsTableEventDateFields_CommonTransaction_Fragment;'TransactionsTableDebitDateFields_CommonTransaction_Fragment': TransactionsTableDebitDateFields_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: string, eventDate: TimelessDateString, chargeId: string, amount: { __typename?: 'FinancialAmount', raw: number } }
& { ' $fragmentRefs'?: { 'TransactionsTableEventDateFields_ConversionTransaction_Fragment': TransactionsTableEventDateFields_ConversionTransaction_Fragment;'TransactionsTableDebitDateFields_ConversionTransaction_Fragment': TransactionsTableDebitDateFields_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 } }
) }
& { ' $fragmentRefs'?: { 'UncategorizedTransactionsTableAmountFieldsFragment': UncategorizedTransactionsTableAmountFieldsFragment } }
) | null> } & { ' $fragmentName'?: 'BusinessTripUncategorizedTransactionsFieldsFragment' };
export type UncategorizedTransactionsTableAmountFieldsFragment = { __typename?: 'UncategorizedTransaction', errors: Array<string>, transaction: { __typename?: 'CommonTransaction', id: string, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } | { __typename?: 'ConversionTransaction', id: string, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null }, categorizedAmount: { __typename?: 'FinancialAmount', raw: number, formatted: string } } & { ' $fragmentName'?: 'UncategorizedTransactionsTableAmountFieldsFragment' };
export type DepreciationRecordRowFieldsFragment = { __typename?: 'DepreciationRecord', id: string, activationDate: TimelessDateString, type?: DepreciationType | null, amount: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number }, category: { __typename?: 'DepreciationCategory', id: string, name: string, percentage: number }, charge: { __typename?: 'BankDepositCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'BusinessTripCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'CommonCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'ConversionCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'CreditcardBankCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'DividendCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'FinancialCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'InternalTransferCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'MonthlyVatCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } | { __typename?: 'SalaryCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', currency: Currency, formatted: string, raw: number } | null } } & { ' $fragmentName'?: 'DepreciationRecordRowFieldsFragment' };
export type ChargeDepreciationQueryVariables = Exact<{
chargeId: Scalars['UUID']['input'];
}>;
export type ChargeDepreciationQuery = { __typename?: 'Query', depreciationRecordsByCharge: Array<(
{ __typename?: 'DepreciationRecord', id: string }
& { ' $fragmentRefs'?: { 'DepreciationRecordRowFieldsFragment': DepreciationRecordRowFieldsFragment } }
)> };
export type DocumentsToChargeMatcherQueryVariables = Exact<{
chargeIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
filters: DocumentsFilters;
}>;
export type DocumentsToChargeMatcherQuery = { __typename?: 'Query', documentsByFilters: Array<(
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_CreditInvoice_Fragment': DocumentsToMatchFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Invoice_Fragment': DocumentsToMatchFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_InvoiceReceipt_Fragment': DocumentsToMatchFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_OtherDocument_Fragment': DocumentsToMatchFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Proforma_Fragment': DocumentsToMatchFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Receipt_Fragment': DocumentsToMatchFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'DocumentsToMatchFields_Unprocessed_Fragment': DocumentsToMatchFields_Unprocessed_Fragment } }
)>, chargesByIDs: Array<(
{ __typename?: 'BankDepositCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_BankDepositCharge_Fragment': ChargeToMatchDocumentsFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment': ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_CommonCharge_Fragment': ChargeToMatchDocumentsFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_ConversionCharge_Fragment': ChargeToMatchDocumentsFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_CreditcardBankCharge_Fragment': ChargeToMatchDocumentsFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_DividendCharge_Fragment': ChargeToMatchDocumentsFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_FinancialCharge_Fragment': ChargeToMatchDocumentsFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment': ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment': ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString }>, totalAmount?: { __typename?: 'FinancialAmount', raw: number } | null }
& { ' $fragmentRefs'?: { 'ChargeToMatchDocumentsFields_SalaryCharge_Fragment': ChargeToMatchDocumentsFields_SalaryCharge_Fragment } }
)> };
type ChargeToMatchDocumentsFields_BankDepositCharge_Fragment = { __typename?: 'BankDepositCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_BankDepositCharge_Fragment' };
type ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment = { __typename?: 'BusinessTripCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment' };
type ChargeToMatchDocumentsFields_CommonCharge_Fragment = { __typename?: 'CommonCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_CommonCharge_Fragment' };
type ChargeToMatchDocumentsFields_ConversionCharge_Fragment = { __typename?: 'ConversionCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_ConversionCharge_Fragment' };
type ChargeToMatchDocumentsFields_CreditcardBankCharge_Fragment = { __typename?: 'CreditcardBankCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_CreditcardBankCharge_Fragment' };
type ChargeToMatchDocumentsFields_DividendCharge_Fragment = { __typename?: 'DividendCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_DividendCharge_Fragment' };
type ChargeToMatchDocumentsFields_FinancialCharge_Fragment = { __typename?: 'FinancialCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_FinancialCharge_Fragment' };
type ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment = { __typename?: 'InternalTransferCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment' };
type ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment = { __typename?: 'MonthlyVatCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment' };
type ChargeToMatchDocumentsFields_SalaryCharge_Fragment = { __typename?: 'SalaryCharge', id: string, totalAmount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string }> } & { ' $fragmentName'?: 'ChargeToMatchDocumentsFields_SalaryCharge_Fragment' };
export type ChargeToMatchDocumentsFieldsFragment = ChargeToMatchDocumentsFields_BankDepositCharge_Fragment | ChargeToMatchDocumentsFields_BusinessTripCharge_Fragment | ChargeToMatchDocumentsFields_CommonCharge_Fragment | ChargeToMatchDocumentsFields_ConversionCharge_Fragment | ChargeToMatchDocumentsFields_CreditcardBankCharge_Fragment | ChargeToMatchDocumentsFields_DividendCharge_Fragment | ChargeToMatchDocumentsFields_FinancialCharge_Fragment | ChargeToMatchDocumentsFields_InternalTransferCharge_Fragment | ChargeToMatchDocumentsFields_MonthlyVatCharge_Fragment | ChargeToMatchDocumentsFields_SalaryCharge_Fragment;
type DocumentsToMatchFields_CreditInvoice_Fragment = { __typename: 'CreditInvoice', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_CreditInvoice_Fragment' };
type DocumentsToMatchFields_Invoice_Fragment = { __typename: 'Invoice', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Invoice_Fragment' };
type DocumentsToMatchFields_InvoiceReceipt_Fragment = { __typename: 'InvoiceReceipt', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_InvoiceReceipt_Fragment' };
type DocumentsToMatchFields_OtherDocument_Fragment = { __typename: 'OtherDocument', id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_OtherDocument_Fragment' };
type DocumentsToMatchFields_Proforma_Fragment = { __typename: 'Proforma', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Proforma_Fragment' };
type DocumentsToMatchFields_Receipt_Fragment = { __typename: 'Receipt', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount?: { __typename?: 'FinancialAmount', raw: number, formatted: string, currency: Currency } | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Receipt_Fragment' };
type DocumentsToMatchFields_Unprocessed_Fragment = { __typename: 'Unprocessed', id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } & { ' $fragmentName'?: 'DocumentsToMatchFields_Unprocessed_Fragment' };
export type DocumentsToMatchFieldsFragment = DocumentsToMatchFields_CreditInvoice_Fragment | DocumentsToMatchFields_Invoice_Fragment | DocumentsToMatchFields_InvoiceReceipt_Fragment | DocumentsToMatchFields_OtherDocument_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', country: string, address?: string | null, email?: string | null, exemptDealer?: boolean | null, governmentId?: string | null, hebrewName?: string | null, name: string, phoneNumber?: string | null, website?: string | null, optionalVAT?: boolean | null, id: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, suggestions?: { __typename?: 'Suggestions', phrases: Array<string>, description?: string | null, tags: Array<{ __typename?: 'Tag', id: string, name: string }> } | null } | { __typename: 'PersonalFinancialEntity', id: string } };
export type EditDocumentQueryVariables = Exact<{
documentId: Scalars['UUID']['input'];
}>;
export type EditDocumentQuery = { __typename?: 'Query', documentById?: { __typename: 'CreditInvoice', serialNumber?: string | null, date?: TimelessDateString | null, vatReportDateOverride?: TimelessDateString | null, noVatAmount?: number | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename: 'Invoice', serialNumber?: string | null, date?: TimelessDateString | null, vatReportDateOverride?: TimelessDateString | null, noVatAmount?: number | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename: 'InvoiceReceipt', serialNumber?: string | null, date?: TimelessDateString | null, vatReportDateOverride?: TimelessDateString | null, noVatAmount?: number | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename: 'OtherDocument', id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null } | { __typename: 'Proforma', serialNumber?: string | null, date?: TimelessDateString | null, vatReportDateOverride?: TimelessDateString | null, noVatAmount?: number | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename: 'Receipt', serialNumber?: string | null, date?: TimelessDateString | null, vatReportDateOverride?: TimelessDateString | null, noVatAmount?: number | null, id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null, vat?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, amount?: { __typename?: 'FinancialAmount', raw: number, currency: Currency } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename: 'Unprocessed', id: string, image?: URL | string | null, file?: URL | string | null, documentType?: DocumentType | null } | null };
export type EditMiscExpenseFieldsFragment = { __typename?: 'MiscExpense', id: string, description?: string | null, invoiceDate: TimelessDateString, valueDate: Date, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, creditor: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string }, debtor: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } } & { ' $fragmentName'?: 'EditMiscExpenseFieldsFragment' };
export type EditTagFieldsFragment = { __typename?: 'Tag', id: string, name: string, parent?: { __typename?: 'Tag', id: string, name: string } | null } & { ' $fragmentName'?: 'EditTagFieldsFragment' };
export type EditTransactionQueryVariables = Exact<{
transactionIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type EditTransactionQuery = { __typename?: 'Query', transactionsByIDs: Array<{ __typename?: 'CommonTransaction', id: string, effectiveDate?: TimelessDateString | null, isFee?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, account: { __typename: 'BankFinancialAccount', id: string } | { __typename: 'CardFinancialAccount', id: string } | { __typename: 'CryptoWalletFinancialAccount', id: string } } | { __typename?: 'ConversionTransaction', id: string, effectiveDate: TimelessDateString, isFee?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, account: { __typename: 'BankFinancialAccount', id: string } | { __typename: 'CardFinancialAccount', id: string } | { __typename: 'CryptoWalletFinancialAccount', id: string } }> };
export type AllBusinessTripsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllBusinessTripsQuery = { __typename?: 'Query', allBusinessTrips: Array<{ __typename?: 'BusinessTrip', id: string, name: string }> };
export type AllBusinessesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllBusinessesQuery = { __typename?: 'Query', allBusinesses?: { __typename?: 'PaginatedBusinesses', nodes: Array<{ __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }> } | null };
export type AllTagsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTagsQuery = { __typename?: 'Query', allTags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> };
export type AllDepreciationCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllDepreciationCategoriesQuery = { __typename?: 'Query', depreciationCategories: Array<{ __typename?: 'DepreciationCategory', id: string, name: string, percentage: number }> };
export type AllEmployeesByEmployerQueryVariables = Exact<{
employerId: Scalars['UUID']['input'];
}>;
export type AllEmployeesByEmployerQuery = { __typename?: 'Query', employeesByEmployerId: Array<{ __typename?: 'Employee', id: string, name: string }> };
export type AllFinancialAccountsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllFinancialAccountsQuery = { __typename?: 'Query', allFinancialAccounts: Array<{ __typename: 'BankFinancialAccount', name: string, id: string } | { __typename: 'CardFinancialAccount', name: string, id: string } | { __typename: 'CryptoWalletFinancialAccount', name: string, id: string }> };
export type AllFinancialEntitiesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllFinancialEntitiesQuery = { __typename?: 'Query', allFinancialEntities?: { __typename?: 'PaginatedFinancialEntities', nodes: Array<{ __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }> } | null };
export type AllPensionFundsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllPensionFundsQuery = { __typename?: 'Query', allPensionFunds: Array<{ __typename?: 'PensionFund', id: string, 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: string, name: string }> };
export type AllTrainingFundsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTrainingFundsQuery = { __typename?: 'Query', allTrainingFunds: Array<{ __typename?: 'TrainingFund', id: string, name: string }> };
export type AttendeesByBusinessTripQueryVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
}>;
export type AttendeesByBusinessTripQuery = { __typename?: 'Query', businessTrip?: { __typename?: 'BusinessTrip', id: string, attendees: Array<{ __typename?: 'BusinessTripAttendee', id: string, name: string }> } | null };
export type FetchMultipleBusinessesQueryVariables = Exact<{
businessIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type FetchMultipleBusinessesQuery = { __typename?: 'Query', businesses: Array<{ __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }> };
export type FetchMultipleChargesQueryVariables = Exact<{
chargeIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type FetchMultipleChargesQuery = { __typename?: 'Query', chargesByIDs: Array<{ __typename?: 'BankDepositCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'BusinessTripCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'CommonCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'ConversionCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'CreditcardBankCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'DividendCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'FinancialCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'InternalTransferCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'MonthlyVatCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> } | { __typename?: 'SalaryCharge', id: string, conversion?: boolean | null, property?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, metadata?: { __typename?: 'ChargeMetadata', transactionsCount: number, invoicesCount: number } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, tags: Array<{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }> }> };
export type EditChargeQueryVariables = Exact<{
chargeIDs: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type EditChargeQuery = { __typename?: 'Query', chargesByIDs: Array<{ __typename?: 'BankDepositCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'BusinessTripCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, businessTrip?: { __typename?: 'BusinessTrip', id: string, name: string } | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'CommonCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'ConversionCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'CreditcardBankCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'DividendCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'FinancialCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'InternalTransferCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'MonthlyVatCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | null } | { __typename?: 'SalaryCharge', id: string, property?: boolean | null, conversion?: boolean | null, isInvoicePaymentDifferentCurrency?: boolean | null, userDescription?: string | null, optionalVAT?: boolean | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, owner: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string }, taxCategory?: { __typename?: 'TaxCategory', id: string, name: string } | null, tags: Array<{ __typename?: 'Tag', id: string }>, yearsOfRelevance?: Array<{ __typename?: 'YearOfRelevance', year: string, amount?: number | null }> | 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: string } | null, directAmount: { __typename?: 'FinancialAmount', raw: number }, baseAmount?: { __typename?: 'FinancialAmount', raw: number } | null, employee?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | null, employer?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: string, 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: string, 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 TaxCategoryToUpdateQueryVariables = Exact<{
id: Scalars['UUID']['input'];
}>;
export type TaxCategoryToUpdateQuery = { __typename?: 'Query', taxCategory: { __typename?: 'TaxCategory', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } };
export type MiscExpenseTransactionFieldsQueryVariables = Exact<{
transactionId: Scalars['UUID']['input'];
}>;
export type MiscExpenseTransactionFieldsQuery = { __typename?: 'Query', transactionsByIDs: Array<{ __typename?: 'CommonTransaction', id: string, chargeId: string, eventDate: TimelessDateString, effectiveDate?: TimelessDateString | null, exactEffectiveDate?: Date | null, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null } | { __typename?: 'ConversionTransaction', id: string, chargeId: string, eventDate: TimelessDateString, effectiveDate: TimelessDateString, exactEffectiveDate?: Date | null, amount: { __typename?: 'FinancialAmount', raw: number, currency: Currency }, counterparty?: { __typename?: 'LtdFinancialEntity', id: string } | { __typename?: 'PersonalFinancialEntity', id: string } | { __typename?: 'TaxCategory', id: string } | null }> };
export type SimilarTransactionsQueryVariables = Exact<{
transactionId: Scalars['UUID']['input'];
withMissingInfo: Scalars['Boolean']['input'];
}>;
export type SimilarTransactionsQuery = { __typename?: 'Query', similarTransactions: Array<{ __typename?: 'CommonTransaction', id: string, effectiveDate?: TimelessDateString | null, eventDate: TimelessDateString, sourceDescription: string, account: { __typename?: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CryptoWalletFinancialAccount', id: string, name: string, type: string }, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } } | { __typename?: 'ConversionTransaction', id: string, effectiveDate: TimelessDateString, eventDate: TimelessDateString, sourceDescription: string, account: { __typename?: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename?: 'CryptoWalletFinancialAccount', id: string, name: string, type: string }, amount: { __typename?: 'FinancialAmount', formatted: string, raw: number } }> };
type NewFetchedDocumentFields_CreditInvoice_Fragment = { __typename?: 'CreditInvoice', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_CreditInvoice_Fragment' };
type NewFetchedDocumentFields_Invoice_Fragment = { __typename?: 'Invoice', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_Invoice_Fragment' };
type NewFetchedDocumentFields_InvoiceReceipt_Fragment = { __typename?: 'InvoiceReceipt', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_InvoiceReceipt_Fragment' };
type NewFetchedDocumentFields_OtherDocument_Fragment = { __typename?: 'OtherDocument', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_OtherDocument_Fragment' };
type NewFetchedDocumentFields_Proforma_Fragment = { __typename?: 'Proforma', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_Proforma_Fragment' };
type NewFetchedDocumentFields_Receipt_Fragment = { __typename?: 'Receipt', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_Receipt_Fragment' };
type NewFetchedDocumentFields_Unprocessed_Fragment = { __typename?: 'Unprocessed', id: string, documentType?: DocumentType | null, charge?: { __typename?: 'BankDepositCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'BusinessTripCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CommonCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'ConversionCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'CreditcardBankCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'DividendCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'FinancialCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'InternalTransferCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'MonthlyVatCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | { __typename?: 'SalaryCharge', id: string, userDescription?: string | null, counterparty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null } | null } & { ' $fragmentName'?: 'NewFetchedDocumentFields_Unprocessed_Fragment' };
export type NewFetchedDocumentFieldsFragment = NewFetchedDocumentFields_CreditInvoice_Fragment | NewFetchedDocumentFields_Invoice_Fragment | NewFetchedDocumentFields_InvoiceReceipt_Fragment | NewFetchedDocumentFields_OtherDocument_Fragment | NewFetchedDocumentFields_Proforma_Fragment | NewFetchedDocumentFields_Receipt_Fragment | NewFetchedDocumentFields_Unprocessed_Fragment;
type TransactionsTableAccountFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, account: { __typename: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: string, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_CommonTransaction_Fragment' };
type TransactionsTableAccountFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, account: { __typename: 'BankFinancialAccount', id: string, name: string, type: string } | { __typename: 'CardFinancialAccount', id: string, name: string, type: string } | { __typename: 'CryptoWalletFinancialAccount', id: string, name: string, type: string } } & { ' $fragmentName'?: 'TransactionsTableAccountFields_ConversionTransaction_Fragment' };
export type TransactionsTableAccountFieldsFragment = TransactionsTableAccountFields_CommonTransaction_Fragment | TransactionsTableAccountFields_ConversionTransaction_Fragment;
type TransactionsTableAmountFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_CommonTransaction_Fragment' };
type TransactionsTableAmountFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, cryptoExchangeRate?: { __typename?: 'ConversionRate', rate: number } | null } & { ' $fragmentName'?: 'TransactionsTableAmountFields_ConversionTransaction_Fragment' };
export type TransactionsTableAmountFieldsFragment = TransactionsTableAmountFields_CommonTransaction_Fragment | TransactionsTableAmountFields_ConversionTransaction_Fragment;
type TransactionsTableEntityFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, sourceDescription: string, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_CommonTransaction_Fragment' };
type TransactionsTableEntityFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, sourceDescription: string, counterparty?: { __typename?: 'LtdFinancialEntity', name: string, id: string } | { __typename?: 'PersonalFinancialEntity', name: string, id: string } | { __typename?: 'TaxCategory', name: string, id: string } | null, missingInfoSuggestions?: { __typename?: 'TransactionSuggestions', business: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } } | null } & { ' $fragmentName'?: 'TransactionsTableEntityFields_ConversionTransaction_Fragment' };
export type TransactionsTableEntityFieldsFragment = TransactionsTableEntityFields_CommonTransaction_Fragment | TransactionsTableEntityFields_ConversionTransaction_Fragment;
type TransactionsTableDebitDateFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, effectiveDate?: TimelessDateString | null, sourceEffectiveDate?: TimelessDateString | null } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_CommonTransaction_Fragment' };
type TransactionsTableDebitDateFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, effectiveDate: TimelessDateString, sourceEffectiveDate?: TimelessDateString | null } & { ' $fragmentName'?: 'TransactionsTableDebitDateFields_ConversionTransaction_Fragment' };
export type TransactionsTableDebitDateFieldsFragment = TransactionsTableDebitDateFields_CommonTransaction_Fragment | TransactionsTableDebitDateFields_ConversionTransaction_Fragment;
type TransactionsTableDescriptionFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_CommonTransaction_Fragment' };
type TransactionsTableDescriptionFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, sourceDescription: string } & { ' $fragmentName'?: 'TransactionsTableDescriptionFields_ConversionTransaction_Fragment' };
export type TransactionsTableDescriptionFieldsFragment = TransactionsTableDescriptionFields_CommonTransaction_Fragment | TransactionsTableDescriptionFields_ConversionTransaction_Fragment;
type TransactionsTableEventDateFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_CommonTransaction_Fragment' };
type TransactionsTableEventDateFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString } & { ' $fragmentName'?: 'TransactionsTableEventDateFields_ConversionTransaction_Fragment' };
export type TransactionsTableEventDateFieldsFragment = TransactionsTableEventDateFields_CommonTransaction_Fragment | TransactionsTableEventDateFields_ConversionTransaction_Fragment;
type TransactionsTableSourceIdFields_CommonTransaction_Fragment = { __typename?: 'CommonTransaction', id: string, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_CommonTransaction_Fragment' };
type TransactionsTableSourceIdFields_ConversionTransaction_Fragment = { __typename?: 'ConversionTransaction', id: string, referenceKey?: string | null } & { ' $fragmentName'?: 'TransactionsTableSourceIdFields_ConversionTransaction_Fragment' };
export type TransactionsTableSourceIdFieldsFragment = TransactionsTableSourceIdFields_CommonTransaction_Fragment | TransactionsTableSourceIdFields_ConversionTransaction_Fragment;
type TransactionForTransactionsTableFields_CommonTransaction_Fragment = (
{ __typename?: 'CommonTransaction', id: string, chargeId: string }
& { ' $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 } }
) & { ' $fragmentName'?: 'TransactionForTransactionsTableFields_CommonTransaction_Fragment' };
type TransactionForTransactionsTableFields_ConversionTransaction_Fragment = (
{ __typename?: 'ConversionTransaction', id: string, chargeId: string }
& { ' $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 } }
) & { ' $fragmentName'?: 'TransactionForTransactionsTableFields_ConversionTransaction_Fragment' };
export type TransactionForTransactionsTableFieldsFragment = TransactionForTransactionsTableFields_CommonTransaction_Fragment | TransactionForTransactionsTableFields_ConversionTransaction_Fragment;
export type DocumentsQueryVariables = Exact<{ [key: string]: never; }>;
export type DocumentsQuery = { __typename?: 'Query', documents: Array<{ __typename: 'CreditInvoice', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, 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: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Invoice', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, 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: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'InvoiceReceipt', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, 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: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'OtherDocument', id: string, image?: URL | string | null, file?: URL | string | null, charge?: { __typename: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Proforma', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, 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: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Receipt', serialNumber?: string | null, date?: TimelessDateString | null, id: string, image?: URL | string | null, file?: URL | string | null, creditor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, debtor?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, 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: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null } | { __typename: 'Unprocessed', id: string, image?: URL | string | null, file?: URL | string | null, charge?: { __typename: 'BankDepositCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'BusinessTripCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CommonCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'ConversionCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'CreditcardBankCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'DividendCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'FinancialCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'InternalTransferCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'MonthlyVatCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | { __typename: 'SalaryCharge', id: string, userDescription?: string | null, vat?: { __typename: 'FinancialAmount', formatted: string } | null, transactions: Array<{ __typename?: 'CommonTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate?: TimelessDateString | null, amount: { __typename: 'FinancialAmount', formatted: string } } | { __typename?: 'ConversionTransaction', id: string, eventDate: TimelessDateString, sourceDescription: string, effectiveDate: TimelessDateString, amount: { __typename: 'FinancialAmount', formatted: string } }> } | null }> };
export type AccountantApprovalsChargesTableQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
filters?: InputMaybe<ChargeFilter>;
}>;
export type AccountantApprovalsChargesTableQuery = { __typename?: 'Query', allCharges: { __typename?: 'PaginatedCharges', nodes: Array<{ __typename?: 'BankDepositCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'BusinessTripCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'CommonCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'ConversionCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'CreditcardBankCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'DividendCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'FinancialCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'InternalTransferCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'MonthlyVatCharge', id: string, accountantApproval: AccountantStatus } | { __typename?: 'SalaryCharge', id: string, accountantApproval: AccountantStatus }> } };
export type AllContoReportsQueryVariables = Exact<{ [key: string]: never; }>;
export type AllContoReportsQuery = { __typename?: 'Query', allDynamicReports: Array<{ __typename?: 'DynamicReportInfo', id: string, name: string, updated: Date }> };
export type ContoReportQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type ContoReportQuery = { __typename?: 'Query', businessTransactionsSumFromLedgerRecords: { __typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult', businessTransactionsSum: Array<{ __typename?: 'BusinessTransactionSum', business: { __typename?: 'LtdFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'PersonalFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'TaxCategory', id: string, 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 } }> } | { __typename: 'CommonError' } };
export type TemplateForContoReportQueryVariables = Exact<{
name: Scalars['String']['input'];
}>;
export type TemplateForContoReportQuery = { __typename?: 'Query', dynamicReport: { __typename?: 'DynamicReportInfo', id: string, name: string, template: Array<{ __typename?: 'DynamicReportNode', id: string, parent: string, text: string, droppable: boolean, data: { __typename?: 'DynamicReportNodeData', descendantSortCodes?: Array<number> | null, descendantFinancialEntities?: Array<string> | null, mergedSortCodes?: Array<number> | null, isOpen: boolean, hebrewText?: string | null } }> } };
export type CorporateTaxRulingComplianceReportQueryVariables = Exact<{
years: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
}>;
export type CorporateTaxRulingComplianceReportQuery = { __typename?: 'Query', corporateTaxRulingComplianceReport: Array<{ __typename?: 'CorporateTaxRulingComplianceReport', id: string, year: number, totalIncome: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency }, researchAndDevelopmentExpenses: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency }, rndRelativeToIncome: (
{ __typename?: 'CorporateTaxRule', rule: string }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
), localDevelopmentExpenses: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency }, localDevelopmentRelativeToRnd: (
{ __typename?: 'CorporateTaxRule', rule: string }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
), foreignDevelopmentExpenses: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency }, foreignDevelopmentRelativeToRnd: (
{ __typename?: 'CorporateTaxRule', rule: string }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
), businessTripRndExpenses: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } } & ({ __typename?: 'CorporateTaxRulingComplianceReport', differences: { __typename?: 'CorporateTaxRulingComplianceReportDifferences', id: string, totalIncome?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, researchAndDevelopmentExpenses?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, rndRelativeToIncome?: (
{ __typename?: 'CorporateTaxRule' }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
) | null, localDevelopmentExpenses?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, localDevelopmentRelativeToRnd?: (
{ __typename?: 'CorporateTaxRule' }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
) | null, foreignDevelopmentExpenses?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null, foreignDevelopmentRelativeToRnd?: (
{ __typename?: 'CorporateTaxRule' }
& { ' $fragmentRefs'?: { 'CorporateTaxRulingReportRuleCellFieldsFragment': CorporateTaxRulingReportRuleCellFieldsFragment } }
) | null, businessTripRndExpenses?: { __typename?: 'FinancialAmount', formatted: string, raw: number, currency: Currency } | null } } | { __typename?: 'CorporateTaxRulingComplianceReport', differences?: never })> };
export type CorporateTaxRulingReportRuleCellFieldsFragment = { __typename?: 'CorporateTaxRule', id: string, rule: string, isCompliant: boolean, percentage: { __typename?: 'CorporateTaxRulePercentage', formatted: string } } & { ' $fragmentName'?: 'CorporateTaxRulingReportRuleCellFieldsFragment' };
export type ProfitAndLossReportQueryVariables = Exact<{
reportYear: Scalars['Int']['input'];
referenceYears: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
}>;
export type ProfitAndLossReportQuery = { __typename?: 'Query', profitAndLossReport: { __typename?: 'ProfitAndLossReport', id: string, report: { __typename?: 'ProfitAndLossReportYear', id: string, year: number, revenue: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), costOfSales: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), grossProfit: { __typename?: 'FinancialAmount', formatted: string }, researchAndDevelopmentExpenses: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), marketingExpenses: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), managementAndGeneralExpenses: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), operatingProfit: { __typename?: 'FinancialAmount', formatted: string }, financialExpenses: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), otherIncome: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), profitBeforeTax: { __typename?: 'FinancialAmount', formatted: string }, tax: { __typename?: 'FinancialAmount', formatted: string }, netProfit: { __typename?: 'FinancialAmount', formatted: string } }, reference: Array<{ __typename?: 'ProfitAndLossReportYear', id: string, year: number, revenue: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, costOfSales: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, grossProfit: { __typename?: 'FinancialAmount', formatted: string }, researchAndDevelopmentExpenses: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, marketingExpenses: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, managementAndGeneralExpenses: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, operatingProfit: { __typename?: 'FinancialAmount', formatted: string }, financialExpenses: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, otherIncome: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, profitBeforeTax: { __typename?: 'FinancialAmount', formatted: string }, tax: { __typename?: 'FinancialAmount', formatted: string }, netProfit: { __typename?: 'FinancialAmount', formatted: string } }> } };
export type ReportCommentaryTableFieldsFragment = { __typename?: 'ReportCommentary', records: Array<{ __typename?: 'ReportCommentaryRecord', sortCode: { __typename?: 'SortCode', id: number, name?: string | null }, amount: { __typename?: 'FinancialAmount', formatted: string }, records: Array<(
{ __typename?: 'ReportCommentarySubRecord' }
& { ' $fragmentRefs'?: { 'ReportSubCommentaryTableFieldsFragment': ReportSubCommentaryTableFieldsFragment } }
)> }> } & { ' $fragmentName'?: 'ReportCommentaryTableFieldsFragment' };
export type ReportSubCommentaryTableFieldsFragment = { __typename?: 'ReportCommentarySubRecord', financialEntity: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string }, amount: { __typename?: 'FinancialAmount', formatted: string } } & { ' $fragmentName'?: 'ReportSubCommentaryTableFieldsFragment' };
export type TaxReportQueryVariables = Exact<{
reportYear: Scalars['Int']['input'];
referenceYears: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
}>;
export type TaxReportQuery = { __typename?: 'Query', taxReport: { __typename?: 'TaxReport', id: string, report: { __typename?: 'TaxReportYear', id: string, year: number, taxRate: number, profitBeforeTax: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), researchAndDevelopmentExpensesByRecords: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), researchAndDevelopmentExpensesForTax: { __typename?: 'FinancialAmount', formatted: string }, fines: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), untaxableGifts: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), businessTripsExcessExpensesAmount: { __typename?: 'FinancialAmount', formatted: string }, salaryExcessExpensesAmount: { __typename?: 'FinancialAmount', formatted: string }, reserves: (
{ __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }
& { ' $fragmentRefs'?: { 'ReportCommentaryTableFieldsFragment': ReportCommentaryTableFieldsFragment } }
), taxableIncome: { __typename?: 'FinancialAmount', formatted: string }, annualTaxExpense: { __typename?: 'FinancialAmount', formatted: string } }, reference: Array<{ __typename?: 'TaxReportYear', id: string, year: number, taxRate: number, profitBeforeTax: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, researchAndDevelopmentExpensesByRecords: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, researchAndDevelopmentExpensesForTax: { __typename?: 'FinancialAmount', formatted: string }, fines: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, untaxableGifts: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, businessTripsExcessExpensesAmount: { __typename?: 'FinancialAmount', formatted: string }, salaryExcessExpensesAmount: { __typename?: 'FinancialAmount', formatted: string }, reserves: { __typename?: 'ReportCommentary', amount: { __typename?: 'FinancialAmount', formatted: string } }, taxableIncome: { __typename?: 'FinancialAmount', formatted: string }, annualTaxExpense: { __typename?: 'FinancialAmount', formatted: string } }> } };
export type TrialBalanceReportQueryVariables = Exact<{
filters?: InputMaybe<BusinessTransactionsFilter>;
}>;
export type TrialBalanceReportQuery = { __typename?: 'Query', businessTransactionsSumFromLedgerRecords: (
{ __typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult' }
& { ' $fragmentRefs'?: { 'TrialBalanceTableFieldsFragment': TrialBalanceTableFieldsFragment } }
) | { __typename: 'CommonError' } };
export type TrialBalanceTableFieldsFragment = { __typename?: 'BusinessTransactionsSumFromLedgerRecordsSuccessfulResult', businessTransactionsSum: Array<{ __typename?: 'BusinessTransactionSum', business: { __typename?: 'LtdFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'PersonalFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null } | { __typename?: 'TaxCategory', id: string, 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 } }> } & { ' $fragmentName'?: 'TrialBalanceTableFieldsFragment' };
export type VatReportBusinessTripsFieldsFragment = { __typename?: 'VatReportResult', businessTrips: Array<(
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
)> } & { ' $fragmentName'?: 'VatReportBusinessTripsFieldsFragment' };
export type VatReportAccountantApprovalFieldsFragment = { __typename?: 'VatReportRecord', chargeId: string, chargeAccountantStatus?: AccountantStatus | null } & { ' $fragmentName'?: 'VatReportAccountantApprovalFieldsFragment' };
export type VatReportExpensesRowFieldsFragment = (
{ __typename?: 'VatReportRecord', vatNumber?: string | null, image?: string | null, documentSerial?: string | null, documentDate?: TimelessDateString | null, chargeDate?: TimelessDateString | null, chargeId: string, business?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, amount: { __typename?: 'FinancialAmount', formatted: string }, localAmount?: { __typename?: 'FinancialAmount', formatted: string } | null, localVat?: { __typename?: 'FinancialAmount', formatted: string } | null, foreignVatAfterDeduction?: { __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: string, vatNumber?: string | null, image?: string | null, documentSerial?: string | null, documentDate?: TimelessDateString | null, chargeDate?: TimelessDateString | null, business?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null, taxReducedForeignAmount?: { __typename?: 'FinancialIntAmount', formatted: string } | null, 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?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
)> } & { ' $fragmentName'?: 'VatReportMiscTableFieldsFragment' };
export type VatReportMissingInfoFieldsFragment = { __typename?: 'VatReportResult', missingInfo: Array<(
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_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 LedgerCsvFieldsFragment = { __typename?: 'YearlyLedgerReport', id: string, year: number, financialEntitiesInfo: Array<{ __typename?: 'YearlyLedgerReportFinancialEntityInfo', entity: { __typename?: 'LtdFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null } | { __typename?: 'PersonalFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null } | { __typename?: 'TaxCategory', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null }, openingBalance: { __typename?: 'FinancialAmount', raw: number }, totalCredit: { __typename?: 'FinancialAmount', raw: number }, totalDebit: { __typename?: 'FinancialAmount', raw: number }, closingBalance: { __typename?: 'FinancialAmount', raw: number }, records: Array<{ __typename?: 'SingleSidedLedgerRecord', id: string, invoiceDate: Date, valueDate: Date, description?: string | null, reference?: string | null, balance: number, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, counterParty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null }> }> } & { ' $fragmentName'?: 'LedgerCsvFieldsFragment' };
export type YearlyLedgerQueryVariables = Exact<{
year: Scalars['Int']['input'];
}>;
export type YearlyLedgerQuery = { __typename?: 'Query', yearlyLedgerReport: (
{ __typename?: 'YearlyLedgerReport', id: string, year: number, financialEntitiesInfo: Array<{ __typename?: 'YearlyLedgerReportFinancialEntityInfo', entity: { __typename?: 'LtdFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null } | { __typename?: 'PersonalFinancialEntity', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null } | { __typename?: 'TaxCategory', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number } | null }, openingBalance: { __typename?: 'FinancialAmount', raw: number }, totalCredit: { __typename?: 'FinancialAmount', raw: number }, totalDebit: { __typename?: 'FinancialAmount', raw: number }, closingBalance: { __typename?: 'FinancialAmount', raw: number }, records: Array<{ __typename?: 'SingleSidedLedgerRecord', id: string, invoiceDate: Date, valueDate: Date, description?: string | null, reference?: string | null, balance: number, amount: { __typename?: 'FinancialAmount', raw: number, formatted: string }, counterParty?: { __typename?: 'LtdFinancialEntity', id: string, name: string } | { __typename?: 'PersonalFinancialEntity', id: string, name: string } | { __typename?: 'TaxCategory', id: string, name: string } | null }> }> }
& { ' $fragmentRefs'?: { 'LedgerCsvFieldsFragment': LedgerCsvFieldsFragment } }
) };
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: string } | null }
& { ' $fragmentRefs'?: { 'SalariesTableFieldsFragment': SalariesTableFieldsFragment } }
)> };
export type SalariesRecordEmployeeFieldsFragment = { __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: string, 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: string } | null, pensionFund?: { __typename?: 'LtdFinancialEntity', id: string, 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: string, 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: string } | 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: string } | 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: string } | 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: string } | null }
& { ' $fragmentRefs'?: { 'SalariesRecordFieldsFragment': SalariesRecordFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesMonthFieldsFragment' };
export type SalariesTableFieldsFragment = (
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: string } | null }
& { ' $fragmentRefs'?: { 'SalariesMonthFieldsFragment': SalariesMonthFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesTableFieldsFragment' };
export type SalariesRecordFieldsFragment = (
{ __typename?: 'Salary', month: string, employee?: { __typename?: 'LtdFinancialEntity', id: string } | null }
& { ' $fragmentRefs'?: { 'SalariesRecordEmployeeFieldsFragment': SalariesRecordEmployeeFieldsFragment;'SalariesRecordMainSalaryFieldsFragment': SalariesRecordMainSalaryFieldsFragment;'SalariesRecordFundsFieldsFragment': SalariesRecordFundsFieldsFragment;'SalariesRecordInsurancesAndTaxesFieldsFragment': SalariesRecordInsurancesAndTaxesFieldsFragment;'SalariesRecordWorkFrameFieldsFragment': SalariesRecordWorkFrameFieldsFragment } }
) & { ' $fragmentName'?: 'SalariesRecordFieldsFragment' };
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?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
)>, pageInfo: { __typename?: 'PageInfo', totalPages: number } } };
export type ChargeScreenQueryVariables = Exact<{
chargeIds: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type ChargeScreenQuery = { __typename?: 'Query', chargesByIDs: Array<(
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
)> };
export type MissingInfoChargesQueryVariables = Exact<{
page?: InputMaybe<Scalars['Int']['input']>;
limit?: InputMaybe<Scalars['Int']['input']>;
}>;
export type MissingInfoChargesQuery = { __typename?: 'Query', chargesWithMissingRequiredInfo: { __typename?: 'PaginatedCharges', nodes: Array<(
{ __typename?: 'BankDepositCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BankDepositCharge_Fragment': ChargesTableFields_BankDepositCharge_Fragment } }
) | (
{ __typename?: 'BusinessTripCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_BusinessTripCharge_Fragment': ChargesTableFields_BusinessTripCharge_Fragment } }
) | (
{ __typename?: 'CommonCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CommonCharge_Fragment': ChargesTableFields_CommonCharge_Fragment } }
) | (
{ __typename?: 'ConversionCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_ConversionCharge_Fragment': ChargesTableFields_ConversionCharge_Fragment } }
) | (
{ __typename?: 'CreditcardBankCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_CreditcardBankCharge_Fragment': ChargesTableFields_CreditcardBankCharge_Fragment } }
) | (
{ __typename?: 'DividendCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_DividendCharge_Fragment': ChargesTableFields_DividendCharge_Fragment } }
) | (
{ __typename?: 'FinancialCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_FinancialCharge_Fragment': ChargesTableFields_FinancialCharge_Fragment } }
) | (
{ __typename?: 'InternalTransferCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_InternalTransferCharge_Fragment': ChargesTableFields_InternalTransferCharge_Fragment } }
) | (
{ __typename?: 'MonthlyVatCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_MonthlyVatCharge_Fragment': ChargesTableFields_MonthlyVatCharge_Fragment } }
) | (
{ __typename?: 'SalaryCharge', id: string }
& { ' $fragmentRefs'?: { 'ChargesTableFields_SalaryCharge_Fragment': ChargesTableFields_SalaryCharge_Fragment } }
)>, pageInfo: { __typename?: 'PageInfo', totalPages: number } } };
export type AllTagsScreenQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTagsScreenQuery = { __typename?: 'Query', allTags: Array<(
{ __typename?: 'Tag', id: string, name: string, namePath?: Array<string> | null }
& { ' $fragmentRefs'?: { 'EditTagFieldsFragment': EditTagFieldsFragment } }
)> };
export type AllTaxCategoriesForScreenQueryVariables = Exact<{ [key: string]: never; }>;
export type AllTaxCategoriesForScreenQuery = { __typename?: 'Query', taxCategories: Array<{ __typename?: 'TaxCategory', id: string, name: string, sortCode?: { __typename?: 'SortCode', id: number, name?: string | null } | null }> };
export type AddBusinessTripAccommodationsExpenseMutationVariables = Exact<{
fields: AddBusinessTripAccommodationsExpenseInput;
}>;
export type AddBusinessTripAccommodationsExpenseMutation = { __typename?: 'Mutation', addBusinessTripAccommodationsExpense: string };
export type AddBusinessTripCarRentalExpenseMutationVariables = Exact<{
fields: AddBusinessTripCarRentalExpenseInput;
}>;
export type AddBusinessTripCarRentalExpenseMutation = { __typename?: 'Mutation', addBusinessTripCarRentalExpense: string };
export type AddBusinessTripFlightsExpenseMutationVariables = Exact<{
fields: AddBusinessTripFlightsExpenseInput;
}>;
export type AddBusinessTripFlightsExpenseMutation = { __typename?: 'Mutation', addBusinessTripFlightsExpense: string };
export type AddBusinessTripOtherExpenseMutationVariables = Exact<{
fields: AddBusinessTripOtherExpenseInput;
}>;
export type AddBusinessTripOtherExpenseMutation = { __typename?: 'Mutation', addBusinessTripOtherExpense: string };
export type AddBusinessTripTravelAndSubsistenceExpenseMutationVariables = Exact<{
fields: AddBusinessTripTravelAndSubsistenceExpenseInput;
}>;
export type AddBusinessTripTravelAndSubsistenceExpenseMutation = { __typename?: 'Mutation', addBusinessTripTravelAndSubsistenceExpense: string };
export type AddDepreciationRecordMutationVariables = Exact<{
fields: InsertDepreciationRecordInput;
}>;
export type AddDepreciationRecordMutation = { __typename?: 'Mutation', insertDepreciationRecord: { __typename: 'CommonError', message: string } | { __typename: 'DepreciationRecord', id: string } };
export type AddTagMutationVariables = Exact<{
tagName: Scalars['String']['input'];
}>;
export type AddTagMutation = { __typename?: 'Mutation', addTag: boolean };
export type CategorizeBusinessTripExpenseMutationVariables = Exact<{
fields: CategorizeBusinessTripExpenseInput;
}>;
export type CategorizeBusinessTripExpenseMutation = { __typename?: 'Mutation', categorizeBusinessTripExpense: string };
export type CategorizeIntoExistingBusinessTripExpenseMutationVariables = Exact<{
fields: CategorizeIntoExistingBusinessTripExpenseInput;
}>;
export type CategorizeIntoExistingBusinessTripExpenseMutation = { __typename?: 'Mutation', categorizeIntoExistingBusinessTripExpense: string };
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 CreditShareholdersBusinessTripTravelAndSubsistenceMutationVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
}>;
export type CreditShareholdersBusinessTripTravelAndSubsistenceMutation = { __typename?: 'Mutation', creditShareholdersBusinessTripTravelAndSubsistence: Array<string> };
export type DeleteBusinessTripAttendeeMutationVariables = Exact<{
fields: DeleteBusinessTripAttendeeInput;
}>;
export type DeleteBusinessTripAttendeeMutation = { __typename?: 'Mutation', deleteBusinessTripAttendee: boolean };
export type DeleteBusinessTripExpenseMutationVariables = Exact<{
businessTripExpenseId: Scalars['UUID']['input'];
}>;
export type DeleteBusinessTripExpenseMutation = { __typename?: 'Mutation', deleteBusinessTripExpense: boolean };
export type DeleteChargeMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
}>;
export type DeleteChargeMutation = { __typename?: 'Mutation', deleteCharge: boolean };
export type DeleteDepreciationRecordMutationVariables = Exact<{
depreciationRecordId: Scalars['UUID']['input'];
}>;
export type DeleteDepreciationRecordMutation = { __typename?: 'Mutation', deleteDepreciationRecord: boolean };
export type DeleteDocumentMutationVariables = Exact<{
documentId: Scalars['UUID']['input'];
}>;
export type DeleteDocumentMutation = { __typename?: 'Mutation', deleteDocument: boolean };
export type DeleteDynamicReportTemplateMutationVariables = Exact<{
name: Scalars['String']['input'];
}>;
export type DeleteDynamicReportTemplateMutation = { __typename?: 'Mutation', deleteDynamicReportTemplate: string };
export type DeleteMiscExpenseMutationVariables = Exact<{
id: Scalars['UUID']['input'];
}>;
export type DeleteMiscExpenseMutation = { __typename?: 'Mutation', deleteMiscExpense: boolean };
export type DeleteTagMutationVariables = Exact<{
tagId: Scalars['UUID']['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: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_CreditInvoice_Fragment': NewFetchedDocumentFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Invoice_Fragment': NewFetchedDocumentFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_InvoiceReceipt_Fragment': NewFetchedDocumentFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_OtherDocument_Fragment': NewFetchedDocumentFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Proforma_Fragment': NewFetchedDocumentFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Receipt_Fragment': NewFetchedDocumentFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Unprocessed_Fragment': NewFetchedDocumentFields_Unprocessed_Fragment } }
)> };
export type AllCountriesQueryVariables = Exact<{ [key: string]: never; }>;
export type AllCountriesQuery = { __typename?: 'Query', allCountries: Array<{ __typename?: 'Country', id: string, name: string, code: string }> };
export type InsertBusinessTripAttendeeMutationVariables = Exact<{
fields: InsertBusinessTripAttendeeInput;
}>;
export type InsertBusinessTripAttendeeMutation = { __typename?: 'Mutation', insertBusinessTripAttendee: string };
export type InsertBusinessTripMutationVariables = Exact<{
fields: InsertBusinessTripInput;
}>;
export type InsertBusinessTripMutation = { __typename?: 'Mutation', insertBusinessTrip: string };
export type InsertBusinessMutationVariables = Exact<{
fields: InsertNewBusinessInput;
}>;
export type InsertBusinessMutation = { __typename?: 'Mutation', insertNewBusiness: { __typename: 'CommonError', message: string } | { __typename: 'LtdFinancialEntity', id: string } };
export type InsertDocumentMutationVariables = Exact<{
record: InsertDocumentInput;
}>;
export type InsertDocumentMutation = { __typename?: 'Mutation', insertDocument: { __typename: 'CommonError', message: string } | { __typename: 'InsertDocumentSuccessfulResult', document?: { __typename?: 'CreditInvoice', id: string } | { __typename?: 'Invoice', id: string } | { __typename?: 'InvoiceReceipt', id: string } | { __typename?: 'OtherDocument', id: string } | { __typename?: 'Proforma', id: string } | { __typename?: 'Receipt', id: string } | { __typename?: 'Unprocessed', id: string } | null } };
export type InsertDynamicReportTemplateMutationVariables = Exact<{
name: Scalars['String']['input'];
template: Scalars['String']['input'];
}>;
export type InsertDynamicReportTemplateMutation = { __typename?: 'Mutation', insertDynamicReportTemplate: { __typename?: 'DynamicReportInfo', id: string, name: string } };
export type InsertMiscExpenseMutationVariables = Exact<{
fields: InsertMiscExpenseInput;
}>;
export type InsertMiscExpenseMutation = { __typename?: 'Mutation', insertMiscExpense: { __typename?: 'MiscExpense', id: string } };
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: string } | null }> } };
export type InsertTaxCategoryMutationVariables = Exact<{
fields: InsertTaxCategoryInput;
}>;
export type InsertTaxCategoryMutation = { __typename?: 'Mutation', insertTaxCategory: { __typename?: 'TaxCategory', id: string, name: string } };
export type MergeBusinessesMutationVariables = Exact<{
targetBusinessId: Scalars['UUID']['input'];
businessIdsToMerge: Array<Scalars['UUID']['input']> | Scalars['UUID']['input'];
}>;
export type MergeBusinessesMutation = { __typename?: 'Mutation', mergeBusinesses: { __typename: 'LtdFinancialEntity', id: string } | { __typename: 'PersonalFinancialEntity', id: string } };
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?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } } };
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: string }> } };
export type UpdateBusinessTripAccommodationsExpenseMutationVariables = Exact<{
fields: UpdateBusinessTripAccommodationsExpenseInput;
}>;
export type UpdateBusinessTripAccommodationsExpenseMutation = { __typename?: 'Mutation', updateBusinessTripAccommodationsExpense: string };
export type UpdateBusinessTripAccountantApprovalMutationVariables = Exact<{
businessTripId: Scalars['UUID']['input'];
status: AccountantStatus;
}>;
export type UpdateBusinessTripAccountantApprovalMutation = { __typename?: 'Mutation', updateBusinessTripAccountantApproval: AccountantStatus };
export type UpdateBusinessTripAttendeeMutationVariables = Exact<{
fields: BusinessTripAttendeeUpdateInput;
}>;
export type UpdateBusinessTripAttendeeMutation = { __typename?: 'Mutation', updateBusinessTripAttendee: string };
export type UpdateBusinessTripCarRentalExpenseMutationVariables = Exact<{
fields: UpdateBusinessTripCarRentalExpenseInput;
}>;
export type UpdateBusinessTripCarRentalExpenseMutation = { __typename?: 'Mutation', updateBusinessTripCarRentalExpense: string };
export type UpdateBusinessTripFlightsExpenseMutationVariables = Exact<{
fields: UpdateBusinessTripFlightsExpenseInput;
}>;
export type UpdateBusinessTripFlightsExpenseMutation = { __typename?: 'Mutation', updateBusinessTripFlightsExpense: string };
export type UpdateBusinessTripOtherExpenseMutationVariables = Exact<{
fields: UpdateBusinessTripOtherExpenseInput;
}>;
export type UpdateBusinessTripOtherExpenseMutation = { __typename?: 'Mutation', updateBusinessTripOtherExpense: string };
export type UpdateBusinessTripTravelAndSubsistenceExpenseMutationVariables = Exact<{
fields: UpdateBusinessTripTravelAndSubsistenceExpenseInput;
}>;
export type UpdateBusinessTripTravelAndSubsistenceExpenseMutation = { __typename?: 'Mutation', updateBusinessTripTravelAndSubsistenceExpense: string };
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: string, name: string } };
export type UpdateChargeAccountantApprovalMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
status: AccountantStatus;
}>;
export type UpdateChargeAccountantApprovalMutation = { __typename?: 'Mutation', updateChargeAccountantApproval: AccountantStatus };
export type UpdateChargeMutationVariables = Exact<{
chargeId: Scalars['UUID']['input'];
fields: UpdateChargeInput;
}>;
export type UpdateChargeMutation = { __typename?: 'Mutation', updateCharge: { __typename: 'CommonError', message: string } | { __typename: 'UpdateChargeSuccessfulResult', charge: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } } };
export type UpdateDepreciationRecordMutationVariables = Exact<{
fields: UpdateDepreciationRecordInput;
}>;
export type UpdateDepreciationRecordMutation = { __typename?: 'Mutation', updateDepreciationRecord: { __typename: 'CommonError', message: string } | { __typename: 'DepreciationRecord', id: string } };
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: string } | { __typename?: 'Invoice', id: string } | { __typename?: 'InvoiceReceipt', id: string } | { __typename?: 'OtherDocument', id: string } | { __typename?: 'Proforma', id: string } | { __typename?: 'Receipt', id: string } | { __typename?: 'Unprocessed', id: string } | null } };
export type UpdateDynamicReportTemplateNameMutationVariables = Exact<{
name: Scalars['String']['input'];
newName: Scalars['String']['input'];
}>;
export type UpdateDynamicReportTemplateNameMutation = { __typename?: 'Mutation', updateDynamicReportTemplateName: { __typename?: 'DynamicReportInfo', id: string, name: string } };
export type UpdateDynamicReportTemplateMutationVariables = Exact<{
name: Scalars['String']['input'];
template: Scalars['String']['input'];
}>;
export type UpdateDynamicReportTemplateMutation = { __typename?: 'Mutation', updateDynamicReportTemplate: { __typename?: 'DynamicReportInfo', id: string, name: string } };
export type UpdateMiscExpenseMutationVariables = Exact<{
id: Scalars['UUID']['input'];
fields: UpdateMiscExpenseInput;
}>;
export type UpdateMiscExpenseMutation = { __typename?: 'Mutation', updateMiscExpense: { __typename?: 'MiscExpense', id: string } };
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: string } | 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: string } | null } } };
export type UpdateTagMutationVariables = Exact<{
tagId: Scalars['UUID']['input'];
fields: UpdateTagFieldsInput;
}>;
export type UpdateTagMutation = { __typename?: 'Mutation', updateTag: boolean };
export type UpdateTaxCategoryMutationVariables = Exact<{
taxCategoryId: Scalars['UUID']['input'];
fields: UpdateTaxCategoryInput;
}>;
export type UpdateTaxCategoryMutation = { __typename?: 'Mutation', updateTaxCategory: { __typename: 'CommonError', message: string } | { __typename: 'TaxCategory', id: string, name: string } };
export type UpdateTransactionMutationVariables = Exact<{
transactionId: Scalars['UUID']['input'];
fields: UpdateTransactionInput;
}>;
export type UpdateTransactionMutation = { __typename?: 'Mutation', updateTransaction: { __typename: 'CommonError', message: string } | { __typename: 'CommonTransaction', id: string } | { __typename: 'ConversionTransaction', id: string } };
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: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'Invoice', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'InvoiceReceipt', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'OtherDocument', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'Proforma', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'Receipt', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | { __typename?: 'Unprocessed', id: string, charge?: { __typename?: 'BankDepositCharge', id: string } | { __typename?: 'BusinessTripCharge', id: string } | { __typename?: 'CommonCharge', id: string } | { __typename?: 'ConversionCharge', id: string } | { __typename?: 'CreditcardBankCharge', id: string } | { __typename?: 'DividendCharge', id: string } | { __typename?: 'FinancialCharge', id: string } | { __typename?: 'InternalTransferCharge', id: string } | { __typename?: 'MonthlyVatCharge', id: string } | { __typename?: 'SalaryCharge', id: string } | null } | null } };
export type UploadDocumentsFromGoogleDriveMutationVariables = Exact<{
sharedFolderUrl: Scalars['String']['input'];
chargeId?: InputMaybe<Scalars['UUID']['input']>;
isSensitive?: InputMaybe<Scalars['Boolean']['input']>;
}>;
export type UploadDocumentsFromGoogleDriveMutation = { __typename?: 'Mutation', batchUploadDocumentsFromGoogleDrive: Array<{ __typename?: 'CommonError', message: string } | { __typename?: 'UploadDocumentSuccessfulResult', document?: (
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_CreditInvoice_Fragment': NewFetchedDocumentFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Invoice_Fragment': NewFetchedDocumentFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_InvoiceReceipt_Fragment': NewFetchedDocumentFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_OtherDocument_Fragment': NewFetchedDocumentFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Proforma_Fragment': NewFetchedDocumentFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Receipt_Fragment': NewFetchedDocumentFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Unprocessed_Fragment': NewFetchedDocumentFields_Unprocessed_Fragment } }
) | null }> };
export type UploadMultipleDocumentsMutationVariables = Exact<{
documents: Array<Scalars['FileScalar']['input']> | Scalars['FileScalar']['input'];
chargeId?: InputMaybe<Scalars['UUID']['input']>;
isSensitive?: InputMaybe<Scalars['Boolean']['input']>;
}>;
export type UploadMultipleDocumentsMutation = { __typename?: 'Mutation', batchUploadDocuments: Array<{ __typename?: 'CommonError', message: string } | { __typename?: 'UploadDocumentSuccessfulResult', document?: (
{ __typename?: 'CreditInvoice', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_CreditInvoice_Fragment': NewFetchedDocumentFields_CreditInvoice_Fragment } }
) | (
{ __typename?: 'Invoice', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Invoice_Fragment': NewFetchedDocumentFields_Invoice_Fragment } }
) | (
{ __typename?: 'InvoiceReceipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_InvoiceReceipt_Fragment': NewFetchedDocumentFields_InvoiceReceipt_Fragment } }
) | (
{ __typename?: 'OtherDocument', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_OtherDocument_Fragment': NewFetchedDocumentFields_OtherDocument_Fragment } }
) | (
{ __typename?: 'Proforma', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Proforma_Fragment': NewFetchedDocumentFields_Proforma_Fragment } }
) | (
{ __typename?: 'Receipt', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Receipt_Fragment': NewFetchedDocumentFields_Receipt_Fragment } }
) | (
{ __typename?: 'Unprocessed', id: string }
& { ' $fragmentRefs'?: { 'NewFetchedDocumentFields_Unprocessed_Fragment': NewFetchedDocumentFields_Unprocessed_Fragment } }
) | null }> };
export type UploadPayrollFileMutationVariables = Exact<{
file: Scalars['FileScalar']['input'];
chargeId: Scalars['UUID']['input'];
}>;
export type UploadPayrollFileMutation = { __typename?: 'Mutation', insertSalaryRecordsFromFile: boolean };
export const BusinessTripsRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripsRowFields"},"typeCondition":{"kind":"NamedType","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":"accountantApproval"}}]}}]} as unknown as DocumentNode<BusinessTripsRowFieldsFragment, 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 ChargesTableErrorsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableErrorsFields"},"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","alias":{"kind":"Name","value":"errorsLedger"},"name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"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"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"shouldInsertLedgerInNew"},"value":{"kind":"BooleanValue","value":false}}],"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":"errors"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableErrorsFieldsFragment, 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"}},{"kind":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}}]} 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":"sourceDescription"}},{"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 TransactionForTransactionsTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"},"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":"chargeId"}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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<TransactionForTransactionsTableFieldsFragment, unknown>;
export const ChargeTableTransactionsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargeTableTransactionsFields"},"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":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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":"TransactionForTransactionsTableFields"},"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":"chargeId"}},{"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"}}]}}]} as unknown as DocumentNode<ChargeTableTransactionsFieldsFragment, unknown>;
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":"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":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"Charge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"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 CreditcardBankChargeInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CreditcardBankChargeInfo"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditCardTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"}}]}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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":"TransactionForTransactionsTableFields"},"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":"chargeId"}},{"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"}}]}}]} as unknown as DocumentNode<CreditcardBankChargeInfoFragment, unknown>;
export const EditMiscExpenseFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EditMiscExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MiscExpense"}},"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":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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"}}]}}]}}]} as unknown as DocumentNode<EditMiscExpenseFieldsFragment, unknown>;
export const TableMiscExpensesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableMiscExpensesFields"},"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":"miscExpenses"},"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":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"chargeId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"EditMiscExpenseFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EditMiscExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MiscExpense"}},"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":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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"}}]}}]}}]} as unknown as DocumentNode<TableMiscExpensesFieldsFragment, unknown>;
export const TableSalariesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableSalariesFields"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"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":"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":"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":"reference"}}]}},{"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":"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":"reference"}}]}}]} as unknown as DocumentNode<TableLedgerRecordsFieldsFragment, unknown>;
export const MonthlyIncomeExpenseChartInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MonthlyIncomeExpenseChartInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IncomeExpenseChart"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"monthlyData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"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<MonthlyIncomeExpenseChartInfoFragment, unknown>;
export const BusinessTripAccountantApprovalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}}]} as unknown as DocumentNode<BusinessTripAccountantApprovalFieldsFragment, unknown>;
export const BusinessTripReportHeaderFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"},"typeCondition":{"kind":"NamedType","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":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"destination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}}]} as unknown as DocumentNode<BusinessTripReportHeaderFieldsFragment, unknown>;
export const BusinessTripReportSummaryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessTax"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"totalForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportSummaryFieldsFragment, unknown>;
export const BusinessTripReportFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"},"typeCondition":{"kind":"NamedType","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":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"destination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessTax"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"totalForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportFieldsFragment, unknown>;
export const BusinessTripReportCoreExpenseRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportCoreExpenseRowFieldsFragment, unknown>;
export const BusinessTripReportAccommodationsRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportAccommodationsRowFieldsFragment, unknown>;
export const BusinessTripReportAccommodationsTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportAccommodationsTableFieldsFragment, unknown>;
export const BusinessTripReportAccommodationsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accommodationExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"}}]}}]} as unknown as DocumentNode<BusinessTripReportAccommodationsFieldsFragment, unknown>;
export const BusinessTripReportFlightsRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportFlightsRowFieldsFragment, unknown>;
export const BusinessTripReportFlightsTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportFlightsTableFieldsFragment, unknown>;
export const BusinessTripReportAttendeeRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAttendeeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAttendee"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"arrivalDate"}},{"kind":"Field","name":{"kind":"Name","value":"departureDate"}},{"kind":"Field","name":{"kind":"Name","value":"flights"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accommodations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"}}]}}]} as unknown as DocumentNode<BusinessTripReportAttendeeRowFieldsFragment, unknown>;
export const BusinessTripReportAttendeesFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAttendeesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAttendeeRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAttendeeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAttendee"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"arrivalDate"}},{"kind":"Field","name":{"kind":"Name","value":"departureDate"}},{"kind":"Field","name":{"kind":"Name","value":"flights"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accommodations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportAttendeesFieldsFragment, unknown>;
export const BusinessTripReportCarRentalRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCarRentalRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCarRentalExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"days"}},{"kind":"Field","name":{"kind":"Name","value":"isFuelExpense"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportCarRentalRowFieldsFragment, unknown>;
export const BusinessTripReportCarRentalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCarRentalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"carRentalExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCarRentalRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCarRentalRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCarRentalExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"days"}},{"kind":"Field","name":{"kind":"Name","value":"isFuelExpense"}}]}}]} as unknown as DocumentNode<BusinessTripReportCarRentalFieldsFragment, unknown>;
export const BusinessTripReportFlightsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"flightExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"}}]}}]} as unknown as DocumentNode<BusinessTripReportFlightsFieldsFragment, unknown>;
export const BusinessTripReportOtherRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportOtherRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripOtherExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"deductibleExpense"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportOtherRowFieldsFragment, unknown>;
export const BusinessTripReportOtherFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportOtherFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"otherExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportOtherRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportOtherRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripOtherExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"deductibleExpense"}}]}}]} as unknown as DocumentNode<BusinessTripReportOtherFieldsFragment, unknown>;
export const BusinessTripReportTravelAndSubsistenceRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripTravelAndSubsistenceExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"expenseType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<BusinessTripReportTravelAndSubsistenceRowFieldsFragment, unknown>;
export const BusinessTripReportTravelAndSubsistenceFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"travelAndSubsistenceExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripTravelAndSubsistenceExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"expenseType"}}]}}]} as unknown as DocumentNode<BusinessTripReportTravelAndSubsistenceFieldsFragment, unknown>;
export const UncategorizedTransactionsTableAmountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UncategorizedTransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UncategorizedTransaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","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":"Field","name":{"kind":"Name","value":"categorizedAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]} as unknown as DocumentNode<UncategorizedTransactionsTableAmountFieldsFragment, unknown>;
export const BusinessTripUncategorizedTransactionsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripUncategorizedTransactionsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"uncategorizedTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEventDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"}},{"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":"FragmentSpread","name":{"kind":"Name","value":"UncategorizedTransactionsTableAmountFields"}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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":"UncategorizedTransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UncategorizedTransaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","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":"Field","name":{"kind":"Name","value":"categorizedAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]} as unknown as DocumentNode<BusinessTripUncategorizedTransactionsFieldsFragment, unknown>;
export const DepreciationRecordRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepreciationRecordRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DepreciationRecord"}},"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":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"activationDate"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","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":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}}]} as unknown as DocumentNode<DepreciationRecordRowFieldsFragment, 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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"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 EditTagFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EditTagFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<EditTagFieldsFragment, unknown>;
export const NewFetchedDocumentFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewFetchedDocumentFields"},"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":"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":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<NewFetchedDocumentFieldsFragment, unknown>;
export const CorporateTaxRulingReportRuleCellFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CorporateTaxRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rule"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCompliant"}}]}}]} as unknown as DocumentNode<CorporateTaxRulingReportRuleCellFieldsFragment, unknown>;
export const ReportSubCommentaryTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentarySubRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"financialEntity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<ReportSubCommentaryTableFieldsFragment, unknown>;
export const ReportCommentaryTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentarySubRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"financialEntity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]} as unknown as DocumentNode<ReportCommentaryTableFieldsFragment, unknown>;
export const TrialBalanceTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TrialBalanceTableFields"},"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"}}]}}]}}]}}]} as unknown as DocumentNode<TrialBalanceTableFieldsFragment, unknown>;
export const ChargesTableAccountantApprovalFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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<ChargesTableAccountantApprovalFieldsFragment, unknown>;
export const ChargesTableAmountFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}}]} as unknown as DocumentNode<ChargesTableAmountFieldsFragment, unknown>;
export const ChargesTableBusinessTripFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableBusinessTripFieldsFragment, unknown>;
export const ChargesTableDateFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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<ChargesTableDateFieldsFragment, unknown>;
export const ChargesTableDescriptionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDescriptionFields"},"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":"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":"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<ChargesTableDescriptionFieldsFragment, unknown>;
export const ChargesTableEntityFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableEntityFieldsFragment, unknown>;
export const ChargesTableMoreInfoFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableMoreInfoFieldsFragment, unknown>;
export const ChargesTableTagsFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableTagsFieldsFragment, unknown>;
export const ChargesTableTaxCategoryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableTaxCategoryFieldsFragment, unknown>;
export const ChargesTableTypeFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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<ChargesTableTypeFieldsFragment, unknown>;
export const ChargesTableVatFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableVatFieldsFragment, unknown>;
export const ChargesTableRowFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}}]} as unknown as DocumentNode<ChargesTableRowFieldsFragment, unknown>;
export const ChargesTableFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}}]} as unknown as DocumentNode<ChargesTableFieldsFragment, 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":"ChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} 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":"chargeAccountantStatus"}}]}}]} 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":"localVat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignVatAfterDeduction"},"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":"chargeAccountantStatus"}}]}}]} 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":"chargeAccountantStatus"}}]}},{"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":"localVat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignVatAfterDeduction"},"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":"taxReducedForeignAmount"},"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":"chargeAccountantStatus"}}]}}]} 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":"chargeAccountantStatus"}}]}},{"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":"taxReducedForeignAmount"},"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":"ChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} 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":"ChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} as unknown as DocumentNode<VatReportMissingInfoFieldsFragment, unknown>;
export const LedgerCsvFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerCsvFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"YearlyLedgerReport"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"financialEntitiesInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity"},"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":"openingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCredit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalDebit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"closingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"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":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode<LedgerCsvFieldsFragment, 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 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":"foreignAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"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":"Field","name":{"kind":"Name","value":"chargeId"}}]}}]}},{"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":"foreignCurrenciesSum"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"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 BusinessTripScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BusinessTripScreen"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTripScreenQuery, BusinessTripScreenQueryVariables>;
export const BusinessTripsRowValidationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BusinessTripsRowValidation"},"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":"businessTrip"},"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"uncategorizedTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Transaction"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripSummary"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]}}]}}]} as unknown as DocumentNode<BusinessTripsRowValidationQuery, BusinessTripsRowValidationQueryVariables>;
export const EditableBusinessTripDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EditableBusinessTrip"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAttendeesFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripUncategorizedTransactionsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCarRentalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportOtherFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uncategorizedTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"currency"}}]}},{"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":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"charges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"class"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripFlightExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}},{"kind":"Field","name":{"kind":"Name","value":"attendeesStay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"nightsCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAccommodationExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsRowFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAttendeeRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAttendee"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"arrivalDate"}},{"kind":"Field","name":{"kind":"Name","value":"departureDate"}},{"kind":"Field","name":{"kind":"Name","value":"flights"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"accommodations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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":"UncategorizedTransactionsTableAmountFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UncategorizedTransaction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","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":"Field","name":{"kind":"Name","value":"categorizedAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripTravelAndSubsistenceExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"expenseType"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCarRentalRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCarRentalExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"days"}},{"kind":"Field","name":{"kind":"Name","value":"isFuelExpense"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportOtherRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripOtherExpense"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCoreExpenseRowFields"}},{"kind":"Field","name":{"kind":"Name","value":"payedByEmployee"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"deductibleExpense"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"},"typeCondition":{"kind":"NamedType","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":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"destination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAttendeesFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAttendeeRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripUncategorizedTransactionsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"uncategorizedTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transaction"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableEventDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionsTableDebitDateFields"}},{"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":"FragmentSpread","name":{"kind":"Name","value":"UncategorizedTransactionsTableAmountFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFlightsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"flightExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFlightsTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportAccommodationsFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accommodationExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportAccommodationsTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"travelAndSubsistenceExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportTravelAndSubsistenceRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportCarRentalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"carRentalExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportCarRentalRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportOtherFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"otherExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"date"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportOtherRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessTax"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"totalForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]}}]} as unknown as DocumentNode<EditableBusinessTripQuery, EditableBusinessTripQueryVariables>;
export const BusinessTripsScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BusinessTripsScreen"},"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"}},{"kind":"Field","name":{"kind":"Name","value":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripsRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripsRowFields"},"typeCondition":{"kind":"NamedType","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":"accountantApproval"}}]}}]} as unknown as DocumentNode<BusinessTripsScreenQuery, BusinessTripsScreenQueryVariables>;
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"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"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"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}}],"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 ChargesLedgerValidationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ChargesLedgerValidation"},"variableDefinitions":[{"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":"chargesWithLedgerChanges"},"arguments":[{"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"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"stream"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"charge"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} as unknown as DocumentNode<ChargesLedgerValidationQuery, ChargesLedgerValidationQueryVariables>;
export const FetchChargeDocument = {"__meta__":{"deferredFields":{"DocumentsGalleryFields":["id","additionalDocuments"],"TableDocumentsFields":["id","additionalDocuments"],"TableLedgerRecordsFields":["id","ledger"],"ChargeTableTransactionsFields":["id","transactions"],"ConversionChargeInfo":["id","__typename"],"CreditcardBankChargeInfo":["id","__typename"],"TableSalariesFields":["id","__typename"],"ChargesTableErrorsFields":["id"],"TableMiscExpensesFields":["id","miscExpenses"]}},"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":"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":"ledgerCount"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DocumentsGalleryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableDocumentsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableLedgerRecordsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargeTableTransactionsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConversionChargeInfo"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CreditcardBankChargeInfo"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableSalariesFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportFields"}}]}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableErrorsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"Field","name":{"kind":"Name","value":"miscExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TableMiscExpensesFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]}]}}]}},{"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"reference"}}]}},{"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":"Field","name":{"kind":"Name","value":"sourceEffectiveDate"}}]}},{"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":"sourceDescription"}},{"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":"TransactionForTransactionsTableFields"},"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":"chargeId"}},{"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":"BusinessTripAccountantApprovalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"},"typeCondition":{"kind":"NamedType","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":"dates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"start"}},{"kind":"Field","name":{"kind":"Name","value":"end"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purpose"}},{"kind":"Field","name":{"kind":"Name","value":"destination"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripAccountantApprovalFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessTax"}},{"kind":"Field","name":{"kind":"Name","value":"rows"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"totalForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableForeignCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"maxTaxableLocalCurrency"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"excessExpenditure"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EditMiscExpenseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MiscExpense"}},"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":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"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":"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":"FinancialDocument"}},"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":"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":"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":"ChargeTableTransactionsFields"},"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":"transactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConversionChargeInfo"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConversionCharge"}},"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":"CreditcardBankChargeInfo"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditCardTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TransactionForTransactionsTableFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableSalariesFields"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SalaryCharge"}},"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":"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":"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"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BusinessTripReportFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTrip"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportHeaderFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BusinessTripReportSummaryFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableErrorsFields"},"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","alias":{"kind":"Name","value":"errorsLedger"},"name":{"kind":"Name","value":"ledger"},"selectionSet":{"kind":"SelectionSet","selections":[{"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"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"shouldInsertLedgerInNew"},"value":{"kind":"BooleanValue","value":false}}],"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":"errors"}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TableMiscExpensesFields"},"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":"miscExpenses"},"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":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"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":"chargeId"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"EditMiscExpenseFields"}}]}}]}}]} as unknown as DocumentNode<FetchChargeQuery, FetchChargeQueryVariables>;
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":"ChargesTableRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}}]} as unknown as DocumentNode<ChargeForRowQuery, ChargeForRowQueryVariables>;
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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"documentType"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"FinancialDocument"}},"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":"FinancialDocument"}},"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 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":"cad"},"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":"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":"cad"},"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":"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 MonthlyIncomeExpenseChartDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MonthlyIncomeExpenseChart"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filters"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IncomeExpenseChartFilters"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"incomeExpenseChart"},"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":"fromDate"}},{"kind":"Field","name":{"kind":"Name","value":"toDate"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"MonthlyIncomeExpenseChartInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MonthlyIncomeExpenseChartInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IncomeExpenseChart"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"monthlyData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"income"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"expense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"balance"},"selectionSet":{"kind":"SelectionSet","selections":[{"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<MonthlyIncomeExpenseChartQuery, MonthlyIncomeExpenseChartQueryVariables>;
export const UncategorizedTransactionsByBusinessTripDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UncategorizedTransactionsByBusinessTrip"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"uncategorizedTransactions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transaction"},"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":"referenceKey"}},{"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":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<UncategorizedTransactionsByBusinessTripQuery, UncategorizedTransactionsByBusinessTripQueryVariables>;
export const ChargeDepreciationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ChargeDepreciation"},"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":"depreciationRecordsByCharge"},"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":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"DepreciationRecordRowFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DepreciationRecordRowFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DepreciationRecord"}},"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":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"activationDate"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","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":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}}]}}]}}]} as unknown as DocumentNode<ChargeDepreciationQuery, ChargeDepreciationQueryVariables>;
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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FinancialDocument"}},"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":"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":"country"}},{"kind":"Field","name":{"kind":"Name","value":"address"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"exemptDealer"}},{"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"}},{"kind":"Field","name":{"kind":"Name","value":"suggestions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"phrases"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionalVAT"}}]}}]}}]}}]} 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":"FinancialDocument"}},"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":"Field","name":{"kind":"Name","value":"vatReportDateOverride"}},{"kind":"Field","name":{"kind":"Name","value":"noVatAmount"}}]}}]}}]}}]} 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":"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":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"isFee"}},{"kind":"Field","name":{"kind":"Name","value":"account"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<EditTransactionQuery, EditTransactionQueryVariables>;
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 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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]} as unknown as DocumentNode<AllTagsQuery, AllTagsQueryVariables>;
export const AllDepreciationCategoriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllDepreciationCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"depreciationCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"}}]}}]}}]} as unknown as DocumentNode<AllDepreciationCategoriesQuery, AllDepreciationCategoriesQueryVariables>;
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 AttendeesByBusinessTripDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AttendeesByBusinessTrip"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"businessTrip"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"attendees"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<AttendeesByBusinessTripQuery, AttendeesByBusinessTripQueryVariables>;
export const FetchMultipleBusinessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FetchMultipleBusinesses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessIds"}},"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":"businesses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<FetchMultipleBusinessesQuery, FetchMultipleBusinessesQueryVariables>;
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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conversion"}},{"kind":"Field","name":{"kind":"Name","value":"property"}},{"kind":"Field","name":{"kind":"Name","value":"isInvoicePaymentDifferentCurrency"}},{"kind":"Field","name":{"kind":"Name","value":"userDescription"}},{"kind":"Field","name":{"kind":"Name","value":"optionalVAT"}}]}}]}}]} 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":"isInvoicePaymentDifferentCurrency"}},{"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":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionalVAT"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"yearsOfRelevance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}}]}}]}}]} 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 TaxCategoryToUpdateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TaxCategoryToUpdate"},"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":"taxCategory"},"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":"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"}}]}}]}}]}}]} as unknown as DocumentNode<TaxCategoryToUpdateQuery, TaxCategoryToUpdateQueryVariables>;
export const MiscExpenseTransactionFieldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MiscExpenseTransactionFields"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}},"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":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"chargeId"}},{"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":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"exactEffectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<MiscExpenseTransactionFieldsQuery, MiscExpenseTransactionFieldsQueryVariables>;
export const SimilarTransactionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SimilarTransactions"},"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":"withMissingInfo"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"similarTransactions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"transactionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"transactionId"}}},{"kind":"Argument","name":{"kind":"Name","value":"withMissingInfo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"withMissingInfo"}}}],"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"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":"effectiveDate"}},{"kind":"Field","name":{"kind":"Name","value":"eventDate"}},{"kind":"Field","name":{"kind":"Name","value":"sourceDescription"}}]}}]}}]} as unknown as DocumentNode<SimilarTransactionsQuery, SimilarTransactionsQueryVariables>;
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":"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":"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":"FinancialDocument"}},"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":"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 AccountantApprovalsChargesTableDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AccountantApprovalsChargesTable"},"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":"Field","name":{"kind":"Name","value":"accountantApproval"}}]}}]}}]}}]} as unknown as DocumentNode<AccountantApprovalsChargesTableQuery, AccountantApprovalsChargesTableQueryVariables>;
export const AllContoReportsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllContoReports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allDynamicReports"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"updated"}}]}}]}}]} as unknown as DocumentNode<AllContoReportsQuery, AllContoReportsQueryVariables>;
export const ContoReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ContoReport"},"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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}}]} as unknown as DocumentNode<ContoReportQuery, ContoReportQueryVariables>;
export const TemplateForContoReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TemplateForContoReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dynamicReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"parent"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"droppable"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"descendantSortCodes"}},{"kind":"Field","name":{"kind":"Name","value":"descendantFinancialEntities"}},{"kind":"Field","name":{"kind":"Name","value":"mergedSortCodes"}},{"kind":"Field","name":{"kind":"Name","value":"isOpen"}},{"kind":"Field","name":{"kind":"Name","value":"hebrewText"}}]}}]}}]}}]}}]} as unknown as DocumentNode<TemplateForContoReportQuery, TemplateForContoReportQueryVariables>;
export const CorporateTaxRulingComplianceReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CorporateTaxRulingComplianceReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"years"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"corporateTaxRulingComplianceReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"years"},"value":{"kind":"Variable","name":{"kind":"Name","value":"years"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"totalIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rndRelativeToIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rule"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localDevelopmentRelativeToRnd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rule"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignDevelopmentRelativeToRnd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rule"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"businessTripRndExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CorporateTaxRulingComplianceReport"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"differences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rndRelativeToIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"localDevelopmentRelativeToRnd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignDevelopmentRelativeToRnd"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"businessTripRndExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}},{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CorporateTaxRulingReportRuleCellFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CorporateTaxRule"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"rule"}},{"kind":"Field","name":{"kind":"Name","value":"percentage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isCompliant"}}]}}]} as unknown as DocumentNode<CorporateTaxRulingComplianceReportQuery, CorporateTaxRulingComplianceReportQueryVariables>;
export const ProfitAndLossReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProfitAndLossReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"reportYear"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"referenceYears"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"profitAndLossReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"reportYear"},"value":{"kind":"Variable","name":{"kind":"Name","value":"reportYear"}}},{"kind":"Argument","name":{"kind":"Name","value":"referenceYears"},"value":{"kind":"Variable","name":{"kind":"Name","value":"referenceYears"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"report"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"revenue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"costOfSales"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"grossProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"marketingExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"managementAndGeneralExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"operatingProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"financialExpenses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"otherIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profitBeforeTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"reference"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"revenue"},"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":"costOfSales"},"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":"grossProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpenses"},"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":"marketingExpenses"},"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":"managementAndGeneralExpenses"},"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":"operatingProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"financialExpenses"},"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":"otherIncome"},"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":"profitBeforeTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"netProfit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentarySubRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"financialEntity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"}}]}}]}}]}}]} as unknown as DocumentNode<ProfitAndLossReportQuery, ProfitAndLossReportQueryVariables>;
export const TaxReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TaxReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"reportYear"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"referenceYears"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"reportYear"},"value":{"kind":"Variable","name":{"kind":"Name","value":"reportYear"}}},{"kind":"Argument","name":{"kind":"Name","value":"referenceYears"},"value":{"kind":"Variable","name":{"kind":"Name","value":"referenceYears"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"report"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"profitBeforeTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpensesByRecords"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"researchAndDevelopmentExpensesForTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"untaxableGifts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"businessTripsExcessExpensesAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"salaryExcessExpensesAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reserves"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportCommentaryTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxableIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"annualTaxExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"reference"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"profitBeforeTax"},"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":"researchAndDevelopmentExpensesByRecords"},"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":"researchAndDevelopmentExpensesForTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fines"},"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":"untaxableGifts"},"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":"businessTripsExcessExpensesAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"salaryExcessExpensesAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reserves"},"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":"taxableIncome"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"annualTaxExpense"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentarySubRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"financialEntity"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReportCommentaryTableFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ReportCommentary"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"amount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReportSubCommentaryTableFields"}}]}}]}}]}}]} as unknown as DocumentNode<TaxReportQuery, TaxReportQueryVariables>;
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":"FragmentSpread","name":{"kind":"Name","value":"TrialBalanceTableFields"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommonError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TrialBalanceTableFields"},"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"}}]}}]}}]}}]} 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":"chargeAccountantStatus"}}]}},{"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":"taxReducedForeignAmount"},"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":"localVat"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"Field","name":{"kind":"Name","value":"foreignVatAfterDeduction"},"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":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}},{"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":"ChargesTableFields"}}]}}]}},{"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":"ChargesTableFields"}}]}}]}},{"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":"ChargesTableFields"}}]}}]}}]} 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 YearlyLedgerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"YearlyLedger"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"year"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"yearlyLedgerReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"year"},"value":{"kind":"Variable","name":{"kind":"Name","value":"year"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"financialEntitiesInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity"},"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":"openingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCredit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalDebit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"closingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"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":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"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"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"LedgerCsvFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LedgerCsvFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"YearlyLedgerReport"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"financialEntitiesInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entity"},"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":"openingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCredit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalDebit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"closingBalance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}}]}},{"kind":"Field","name":{"kind":"Name","value":"records"},"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":"invoiceDate"}},{"kind":"Field","name":{"kind":"Name","value":"valueDate"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"reference"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode<YearlyLedgerQuery, YearlyLedgerQueryVariables>;
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 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":"ChargesTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalPages"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} as unknown as DocumentNode<AllChargesQuery, AllChargesQueryVariables>;
export const ChargeScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ChargeScreen"},"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":"ChargesTableFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} as unknown as DocumentNode<ChargeScreenQuery, ChargeScreenQueryVariables>;
export const MissingInfoChargesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MissingInfoCharges"},"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":"chargesWithMissingRequiredInfo"},"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":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalPages"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"},"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":"ChargesTableAmountFields"},"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":"totalAmount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"formatted"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreditcardBankCharge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validCreditCardAmount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"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":"BusinessTripCharge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableDateFields"},"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":"ChargesTableDescriptionFields"},"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":"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":"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":"ChargesTableEntityFields"},"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"},"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":"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":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"miscExpensesCount"}},{"kind":"Field","name":{"kind":"Name","value":"isSalary"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invalidLedger"}}]}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTagsFields"},"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}},{"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeSuggestions"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"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":"taxCategory"},"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":"Charge"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableTypeFields"},"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":"ChargesTableVatFields"},"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":"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":"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":"validationData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"missingInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableRowFields"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ChargeMetadata"}},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"documentsCount"}},{"kind":"Field","name":{"kind":"Name","value":"ledgerCount"}},{"kind":"Field","name":{"kind":"Name","value":"transactionsCount"}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAccountantApprovalFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableAmountFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableBusinessTripFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDateFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableDescriptionFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableEntityFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableMoreInfoFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTagsFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTaxCategoryFields"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"defer"}}]},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableTypeFields"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableVatFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ChargesTableFields"},"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":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ChargesTableRowFields"}}]}}]} as unknown as DocumentNode<MissingInfoChargesQuery, MissingInfoChargesQueryVariables>;
export const AllTagsScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllTagsScreen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"namePath"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"EditTagFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EditTagFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<AllTagsScreenQuery, AllTagsScreenQueryVariables>;
export const AllTaxCategoriesForScreenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllTaxCategoriesForScreen"},"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"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode<AllTaxCategoriesForScreenQuery, AllTaxCategoriesForScreenQueryVariables>;
export const AddBusinessTripAccommodationsExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddBusinessTripAccommodationsExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddBusinessTripAccommodationsExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addBusinessTripAccommodationsExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<AddBusinessTripAccommodationsExpenseMutation, AddBusinessTripAccommodationsExpenseMutationVariables>;
export const AddBusinessTripCarRentalExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddBusinessTripCarRentalExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddBusinessTripCarRentalExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addBusinessTripCarRentalExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<AddBusinessTripCarRentalExpenseMutation, AddBusinessTripCarRentalExpenseMutationVariables>;
export const AddBusinessTripFlightsExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddBusinessTripFlightsExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddBusinessTripFlightsExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addBusinessTripFlightsExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<AddBusinessTripFlightsExpenseMutation, AddBusinessTripFlightsExpenseMutationVariables>;
export const AddBusinessTripOtherExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddBusinessTripOtherExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddBusinessTripOtherExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addBusinessTripOtherExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<AddBusinessTripOtherExpenseMutation, AddBusinessTripOtherExpenseMutationVariables>;
export const AddBusinessTripTravelAndSubsistenceExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddBusinessTripTravelAndSubsistenceExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddBusinessTripTravelAndSubsistenceExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addBusinessTripTravelAndSubsistenceExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<AddBusinessTripTravelAndSubsistenceExpenseMutation, AddBusinessTripTravelAndSubsistenceExpenseMutationVariables>;
export const AddDepreciationRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddDepreciationRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertDepreciationRecordInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertDepreciationRecord"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"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":"DepreciationRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<AddDepreciationRecordMutation, AddDepreciationRecordMutationVariables>;
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":"tagName"}},"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":"tagName"}}}]}]}}]} as unknown as DocumentNode<AddTagMutation, AddTagMutationVariables>;
export const CategorizeBusinessTripExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CategorizeBusinessTripExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CategorizeBusinessTripExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"categorizeBusinessTripExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<CategorizeBusinessTripExpenseMutation, CategorizeBusinessTripExpenseMutationVariables>;
export const CategorizeIntoExistingBusinessTripExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CategorizeIntoExistingBusinessTripExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CategorizeIntoExistingBusinessTripExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"categorizeIntoExistingBusinessTripExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<CategorizeIntoExistingBusinessTripExpenseMutation, CategorizeIntoExistingBusinessTripExpenseMutationVariables>;
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 CreditShareholdersBusinessTripTravelAndSubsistenceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreditShareholdersBusinessTripTravelAndSubsistence"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"creditShareholdersBusinessTripTravelAndSubsistence"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"businessTripId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}}]}]}}]} as unknown as DocumentNode<CreditShareholdersBusinessTripTravelAndSubsistenceMutation, CreditShareholdersBusinessTripTravelAndSubsistenceMutationVariables>;
export const DeleteBusinessTripAttendeeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteBusinessTripAttendee"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteBusinessTripAttendeeInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteBusinessTripAttendee"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<DeleteBusinessTripAttendeeMutation, DeleteBusinessTripAttendeeMutationVariables>;
export const DeleteBusinessTripExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteBusinessTripExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripExpenseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteBusinessTripExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"businessTripExpenseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripExpenseId"}}}]}]}}]} as unknown as DocumentNode<DeleteBusinessTripExpenseMutation, DeleteBusinessTripExpenseMutationVariables>;
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 DeleteDepreciationRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDepreciationRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"depreciationRecordId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDepreciationRecord"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"depreciationRecordId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"depreciationRecordId"}}}]}]}}]} as unknown as DocumentNode<DeleteDepreciationRecordMutation, DeleteDepreciationRecordMutationVariables>;
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 DeleteDynamicReportTemplateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDynamicReportTemplate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDynamicReportTemplate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}}]}]}}]} as unknown as DocumentNode<DeleteDynamicReportTemplateMutation, DeleteDynamicReportTemplateMutationVariables>;
export const DeleteMiscExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteMiscExpense"},"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":"deleteMiscExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode<DeleteMiscExpenseMutation, DeleteMiscExpenseMutationVariables>;
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":"tagId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tagId"}}}]}]}}]} 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"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewFetchedDocumentFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewFetchedDocumentFields"},"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":"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":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<FetchIncomeDocumentsMutation, FetchIncomeDocumentsMutationVariables>;
export const AllCountriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AllCountries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allCountries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode<AllCountriesQuery, AllCountriesQueryVariables>;
export const InsertBusinessTripAttendeeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertBusinessTripAttendee"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertBusinessTripAttendeeInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertBusinessTripAttendee"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<InsertBusinessTripAttendeeMutation, InsertBusinessTripAttendeeMutationVariables>;
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"}}}]}]}}]} as unknown as DocumentNode<InsertBusinessTripMutation, InsertBusinessTripMutationVariables>;
export const InsertBusinessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertBusiness"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertNewBusinessInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertNewBusiness"},"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LtdFinancialEntity"}},"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<InsertBusinessMutation, InsertBusinessMutationVariables>;
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 InsertDynamicReportTemplateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertDynamicReportTemplate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"template"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertDynamicReportTemplate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"template"},"value":{"kind":"Variable","name":{"kind":"Name","value":"template"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<InsertDynamicReportTemplateMutation, InsertDynamicReportTemplateMutationVariables>;
export const InsertMiscExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertMiscExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertMiscExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertMiscExpense"},"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"}}]}}]}}]} as unknown as DocumentNode<InsertMiscExpenseMutation, InsertMiscExpenseMutationVariables>;
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 InsertTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"InsertTaxCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"InsertTaxCategoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertTaxCategory"},"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<InsertTaxCategoryMutation, InsertTaxCategoryMutationVariables>;
export const MergeBusinessesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MergeBusinesses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"targetBusinessId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessIdsToMerge"}},"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":"mergeBusinesses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"targetBusinessId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"targetBusinessId"}}},{"kind":"Argument","name":{"kind":"Name","value":"businessIdsToMerge"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessIdsToMerge"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<MergeBusinessesMutation, MergeBusinessesMutationVariables>;
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 UpdateBusinessTripAccommodationsExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripAccommodationsExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessTripAccommodationsExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripAccommodationsExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripAccommodationsExpenseMutation, UpdateBusinessTripAccommodationsExpenseMutationVariables>;
export const UpdateBusinessTripAccountantApprovalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripAccountantApproval"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"status"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountantStatus"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripAccountantApproval"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"businessTripId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"businessTripId"}}},{"kind":"Argument","name":{"kind":"Name","value":"approvalStatus"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripAccountantApprovalMutation, UpdateBusinessTripAccountantApprovalMutationVariables>;
export const UpdateBusinessTripAttendeeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripAttendee"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BusinessTripAttendeeUpdateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripAttendee"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripAttendeeMutation, UpdateBusinessTripAttendeeMutationVariables>;
export const UpdateBusinessTripCarRentalExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripCarRentalExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessTripCarRentalExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripCarRentalExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripCarRentalExpenseMutation, UpdateBusinessTripCarRentalExpenseMutationVariables>;
export const UpdateBusinessTripFlightsExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripFlightsExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessTripFlightsExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripFlightsExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripFlightsExpenseMutation, UpdateBusinessTripFlightsExpenseMutationVariables>;
export const UpdateBusinessTripOtherExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripOtherExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessTripOtherExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripOtherExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripOtherExpenseMutation, UpdateBusinessTripOtherExpenseMutationVariables>;
export const UpdateBusinessTripTravelAndSubsistenceExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateBusinessTripTravelAndSubsistenceExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBusinessTripTravelAndSubsistenceExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBusinessTripTravelAndSubsistenceExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateBusinessTripTravelAndSubsistenceExpenseMutation, UpdateBusinessTripTravelAndSubsistenceExpenseMutationVariables>;
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 UpdateChargeAccountantApprovalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateChargeAccountantApproval"},"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":"status"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AccountantStatus"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateChargeAccountantApproval"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"approvalStatus"},"value":{"kind":"Variable","name":{"kind":"Name","value":"status"}}}]}]}}]} as unknown as DocumentNode<UpdateChargeAccountantApprovalMutation, UpdateChargeAccountantApprovalMutationVariables>;
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 UpdateDepreciationRecordDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDepreciationRecord"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateDepreciationRecordInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDepreciationRecord"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"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":"DepreciationRecord"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateDepreciationRecordMutation, UpdateDepreciationRecordMutationVariables>;
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 UpdateDynamicReportTemplateNameDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDynamicReportTemplateName"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"newName"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDynamicReportTemplateName"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"newName"},"value":{"kind":"Variable","name":{"kind":"Name","value":"newName"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<UpdateDynamicReportTemplateNameMutation, UpdateDynamicReportTemplateNameMutationVariables>;
export const UpdateDynamicReportTemplateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateDynamicReportTemplate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"template"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateDynamicReportTemplate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"template"},"value":{"kind":"Variable","name":{"kind":"Name","value":"template"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<UpdateDynamicReportTemplateMutation, UpdateDynamicReportTemplateMutationVariables>;
export const UpdateMiscExpenseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateMiscExpense"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"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":"UpdateMiscExpenseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateMiscExpense"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"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"}}]}}]}}]} as unknown as DocumentNode<UpdateMiscExpenseMutation, UpdateMiscExpenseMutationVariables>;
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 UpdateTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagId"}},"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":"UpdateTagFieldsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"tagId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}}]}]}}]} as unknown as DocumentNode<UpdateTagMutation, UpdateTagMutationVariables>;
export const UpdateTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTaxCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"taxCategoryId"}},"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":"UpdateTaxCategoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTaxCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"taxCategoryId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"taxCategoryId"}}},{"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":"TaxCategory"}},"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<UpdateTaxCategoryMutation, UpdateTaxCategoryMutationVariables>;
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>;
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":"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<UploadDocumentMutation, UploadDocumentMutationVariables>;
export const UploadDocumentsFromGoogleDriveDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UploadDocumentsFromGoogleDrive"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sharedFolderUrl"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isSensitive"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"batchUploadDocumentsFromGoogleDrive"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sharedFolderUrl"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sharedFolderUrl"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"isSensitive"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isSensitive"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"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":"UploadDocumentSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"document"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewFetchedDocumentFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewFetchedDocumentFields"},"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":"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":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<UploadDocumentsFromGoogleDriveMutation, UploadDocumentsFromGoogleDriveMutationVariables>;
export const UploadMultipleDocumentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UploadMultipleDocuments"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documents"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","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"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isSensitive"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"batchUploadDocuments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"documents"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documents"}}},{"kind":"Argument","name":{"kind":"Name","value":"chargeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"chargeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"isSensitive"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isSensitive"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"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":"UploadDocumentSuccessfulResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"document"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"NewFetchedDocumentFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NewFetchedDocumentFields"},"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":"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":"counterparty"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<UploadMultipleDocumentsMutation, UploadMultipleDocumentsMutationVariables>;
export const UploadPayrollFileDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UploadPayrollFile"},"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":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"insertSalaryRecordsFromFile"},"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"}}}]}]}}]} as unknown as DocumentNode<UploadPayrollFileMutation, UploadPayrollFileMutationVariables>;