TallyPrimeService

Inheritance Chain

Constructors

TallyPrimeService()
TallyPrimeService(IBaseTallyService)

Parameters

baseTallyService IBaseTallyService
TallyPrimeService(ILogger, IBaseTallyService)

Parameters

logger ILogger
baseTallyService IBaseTallyService

Methods

GetCompaniesAsync(CancellationToken) Task < List < Company >>

Parameters

cancellationToken Opt CancellationToken
GetMasterStatisticsAsync(BaseRequestOptions, CancellationToken) Task < List < MasterStatistics >>

Parameters

requestOptions BaseRequestOptions
cancellationToken Opt CancellationToken
GetVoucherStatisticsAsync(DateFilterRequestOptions, CancellationToken) Task < List < VoucherStatistics >>

Parameters

requestOptions DateFilterRequestOptions
cancellationToken Opt CancellationToken
GetGSTRegistrations(CancellationToken) Task < List < GSTRegistration >>

Parameters

cancellationToken Opt CancellationToken
GetGroupsAsync(RequestOptions, CancellationToken) Task < List < Group >>
Gets all
Group
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetGroupsAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < Group >>
Gets
Group
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostGroupsAsync(IEnumerable<Group>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
Group
objects to Tally.

Parameters

objects IEnumerable < Group >
The collection of
Group
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOGroupsAsync(IEnumerable<GroupDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
GroupDTO
DTO objects to Tally.

Parameters

objects IEnumerable < GroupDTO >
The collection of
GroupDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetLedgersAsync(RequestOptions, CancellationToken) Task < List < Ledger >>
Gets all
Ledger
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetLedgersAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < Ledger >>
Gets
Ledger
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostLedgersAsync(IEnumerable<Ledger>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
Ledger
objects to Tally.

Parameters

objects IEnumerable < Ledger >
The collection of
Ledger
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOLedgersAsync(IEnumerable<LedgerDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
LedgerDTO
DTO objects to Tally.

Parameters

objects IEnumerable < LedgerDTO >
The collection of
LedgerDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetCostCategoriesAsync(RequestOptions, CancellationToken) Task < List < CostCategory >>
Gets all
CostCategory
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetCostCategoriesAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < CostCategory >>
Gets
CostCategory
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostCostCategoriesAsync(IEnumerable<CostCategory>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
CostCategory
objects to Tally.

Parameters

objects IEnumerable < CostCategory >
The collection of
CostCategory
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOCostCategoriesAsync(IEnumerable<CostCategoryDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
CostCategoryDTO
DTO objects to Tally.

Parameters

objects IEnumerable < CostCategoryDTO >
The collection of
CostCategoryDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetCostCentresAsync(RequestOptions, CancellationToken) Task < List < CostCentre >>
Gets all
CostCentre
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetCostCentresAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < CostCentre >>
Gets
CostCentre
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostCostCentresAsync(IEnumerable<CostCentre>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
CostCentre
objects to Tally.

Parameters

objects IEnumerable < CostCentre >
The collection of
CostCentre
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOCostCentresAsync(IEnumerable<CostCentreDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
CostCentreDTO
DTO objects to Tally.

Parameters

objects IEnumerable < CostCentreDTO >
The collection of
CostCentreDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetUnitsAsync(RequestOptions, CancellationToken) Task < List < Unit >>
Gets all
Unit
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetUnitsAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < Unit >>
Gets
Unit
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostUnitsAsync(IEnumerable<Unit>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
Unit
objects to Tally.

Parameters

objects IEnumerable < Unit >
The collection of
Unit
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOUnitsAsync(IEnumerable<UnitDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
UnitDTO
DTO objects to Tally.

Parameters

objects IEnumerable < UnitDTO >
The collection of
UnitDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockCategoriesAsync(RequestOptions, CancellationToken) Task < List < StockCategory >>
Gets all
StockCategory
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockCategoriesAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < StockCategory >>
Gets
StockCategory
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostStockCategoriesAsync(IEnumerable<StockCategory>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockCategory
objects to Tally.

Parameters

objects IEnumerable < StockCategory >
The collection of
StockCategory
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOStockCategoriesAsync(IEnumerable<StockCategoryDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockCategoryDTO
DTO objects to Tally.

Parameters

objects IEnumerable < StockCategoryDTO >
The collection of
StockCategoryDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockGroupsAsync(RequestOptions, CancellationToken) Task < List < StockGroup >>
Gets all
StockGroup
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockGroupsAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < StockGroup >>
Gets
StockGroup
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostStockGroupsAsync(IEnumerable<StockGroup>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockGroup
objects to Tally.

Parameters

objects IEnumerable < StockGroup >
The collection of
StockGroup
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOStockGroupsAsync(IEnumerable<StockGroupDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockGroupDTO
DTO objects to Tally.

Parameters

objects IEnumerable < StockGroupDTO >
The collection of
StockGroupDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockItemsAsync(RequestOptions, CancellationToken) Task < List < StockItem >>
Gets all
StockItem
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetStockItemsAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < StockItem >>
Gets
StockItem
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostStockItemsAsync(IEnumerable<StockItem>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockItem
objects to Tally.

Parameters

objects IEnumerable < StockItem >
The collection of
StockItem
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOStockItemsAsync(IEnumerable<StockItemDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
StockItemDTO
DTO objects to Tally.

Parameters

objects IEnumerable < StockItemDTO >
The collection of
StockItemDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetGodownsAsync(RequestOptions, CancellationToken) Task < List < Godown >>
Gets all
Godown
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetGodownsAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < Godown >>
Gets
Godown
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostGodownsAsync(IEnumerable<Godown>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
Godown
objects to Tally.

Parameters

objects IEnumerable < Godown >
The collection of
Godown
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOGodownsAsync(IEnumerable<GodownDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
GodownDTO
DTO objects to Tally.

Parameters

objects IEnumerable < GodownDTO >
The collection of
GodownDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetVoucherTypesAsync(RequestOptions, CancellationToken) Task < List < VoucherType >>
Gets all
VoucherType
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetVoucherTypesAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < VoucherType >>
Gets
VoucherType
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostVoucherTypesAsync(IEnumerable<VoucherType>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
VoucherType
objects to Tally.

Parameters

objects IEnumerable < VoucherType >
The collection of
VoucherType
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOVoucherTypesAsync(IEnumerable<VoucherTypeDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
VoucherTypeDTO
DTO objects to Tally.

Parameters

objects IEnumerable < VoucherTypeDTO >
The collection of
VoucherTypeDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetVouchersAsync(RequestOptions, CancellationToken) Task < List < Voucher >>
Gets all
Voucher
objects from Tally.

Parameters

requestOptions RequestOptions
Request options for filtering and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetVouchersAsync(PaginatedRequestOptions?, CancellationToken) Task < PaginatedResponse < Voucher >>
Gets
Voucher
objects from Tally with pagination support.

Parameters

requestOptions Opt PaginatedRequestOptions
Paginated request options for filtering, pagination, and configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostVouchersAsync(IEnumerable<Voucher>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
Voucher
objects to Tally.

Parameters

objects IEnumerable < Voucher >
The collection of
Voucher
objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
PostDTOVouchersAsync(IEnumerable<VoucherDTO>, PostRequestOptions?, CancellationToken) Task < List < PostResponse >>
Posts a collection of
VoucherDTO
DTO objects to Tally.

Parameters

objects IEnumerable < VoucherDTO >
The collection of
VoucherDTO
DTO objects to post.
options Opt PostRequestOptions
Post request options for configuring the request.
token Opt CancellationToken
Cancellation token to cancel the operation.
GetPostXMLOverrides() XMLOverrideswithTracking
SetupTallyService(string, int)

Parameters

CheckAsync() Task < bool >
GetActiveSimpleCompanyNameAsync() Task < string >
SetCompany(ICompany)

Parameters

company ICompany
GetLastAlterIdsAsync(BaseRequestOptions?, CancellationToken) Task < LastAlterIdsRoot >

Parameters

baseRequestOptions Opt BaseRequestOptions
token Opt CancellationToken
GetPeriodicVoucherStatisticsAsync(AutoColumnReportPeriodRequestOptions, CancellationToken) Task < List < AutoColVoucherTypeStat >>
GetLicenseInfoAsync() Task < LicenseInfo >
GetObjectsAsync<T>(BaseRequestOptions?, CancellationToken) Task < List <T>>

Parameters

GetObjectsAsyncNew<T>(BaseRequestOptions?, CancellationToken) IAsyncEnumerable <T>

Parameters

GetCountAsync<T>(BaseRequestOptions?, CancellationToken) Task < ulong >

Parameters

GetObjectsAsync<T>(PaginatedRequestOptions, CancellationToken) Task < PaginatedResponse <T>>
Get paginated data from Tally

Parameters

options PaginatedRequestOptions
The pagination options including page size, filters, and sort criteria
token Opt CancellationToken
An optional
CancellationToken
to cancel the asynchronous operation.

Fields

_logger
_baseHandler