Accounting-Companion / TallyConnector

You can use Tally Connector to Connect your desktop/Mobile Applications with Tally seamlessly.
47 stars 29 forks source link

Get All vouchers #17

Closed pmsudhi closed 2 years ago

pmsudhi commented 2 years ago

How do I get all vouchers?

saivineeth100 commented 2 years ago

To Get All Vouchers from tally use below method

//Gets all vouchers from active company
List<Voucher> vouchers = tally.GetObjectsfromTally<Voucher>()
//you can pass optional params to get vouchers from specific company or specific period
List<Voucher> vouchers = tally.GetObjectsfromTally<Voucher>("companyname","fromdate","todate")

Refer this link to known what parameters are accepted

pmsudhi commented 2 years ago

Thanks for the quick update.