list_accounts


Changelog

October 29, 2025
  • Added new fields to the account record response: vat_code_365 and vat_percent
  • Added in the filters new parameters: header_code_365_selection and vat_code_36_selection

POST /list_accounts

To get the TOTAL COUNT of list of accounts for multiple search criteria.

Use this method with only_counted = 'Y' FIRST to determine how many total records there are for the given criteria.

After you call this method with only_counted = 'Y', then call again this method with only_counted = 'N', and pass the required paging parameters.

To get a list of accounts for multiple search criteria.


field type description
api_credentials
token string Credentials provided by Powersoft that allow access to the API
filter_define
only_counted string 'Y' = brings only the total of accounts found based on user filter criteria. 'N' = brings the list of the accounts found based on user filter criteria
page_number integer The page number in the entire list. eg Page 1.
page_size integer The number of rows to return. eg 100 rows. Maximum page size allowed is 100 rows.
active_type string 'active' = Only the active accounts. 'inactive' = Only the inactive accounts. 'all' = All the accounts(active and inactive)
nominal_type string 'nominal' = Only the nominal accounts. 'non-nominal' = Only the non-nominal accounts. 'all' = All the accounts(nominal and non-nominal)
account_code_365_selection string A comma separated list of 365 accounts codes (eg '111001,111002,...'). If the value is empty then no search criteria by account code is applied.
header_code_365_selection string A comma separated list of 365 headers codes (eg '4324,2161,...'). If the value is empty then no search criteria by header code is applied.
vat_code_365_selection string A comma separated list of vat codes (eg '000,019,...'). If the value is empty then no search criteria by vat code is applied.
account_type_selection string A comma separated list of accounts type selection (eg 'Expenses,Memos,...'). Allowed values are 'BankOverdraft', 'CapitalAndReserves', 'CashAccounts', 'CostOfSales', 'Creditors', 'CurrentAssets', 'CurrentLiabilites', 'Debtors', 'Expenses', 'Finances', 'FixedAssets', 'Income', 'Loans', 'LongTermLiabilities', 'ManufacturingExpenses', 'Memos', 'ProfitAndLoss', 'Purchase', 'Sales', 'ShortTermLiabilities', 'StockInHand', 'VatInput', 'VatOutput'. If the value is empty then no search criteria by account type is applied.

Returns

TOTAL COUNT of list of accounts for multiple search criteria (only_counted='Y').

List of accounts for multiple search criteria (only_counted='N').