Skip to content
Sean Callan edited this page Jun 9, 2020 · 1 revision

Beans_Tax_Payment_Search

Search for tax payments.


Parameters

  • auth_uid (required) INTEGER - The ID for your API key.

  • auth_key (required) STRING - The API key.

  • auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.

  • sort_by (optional) STRING - The sort pattern for the returned results: 'newest', 'oldest'

  • page (optional) INTEGER - The page to return.

  • page_size (optional) INTEGER - The number of results on each page.

  • search_date (optional) STRING - Search payments on a specific YYYY-MM-DD date.

  • search_date_before (optional) STRING - Search payments before a specific YYYY-MM-DD date.

  • tax_id (optional) INTEGER - The ID of the Beans_Tax to limit payments to.

  • tax_name (optional) STRING - A generic query string to search tax names.

  • include_details (optional) BOOLEAN - Whether or not to include liabilities on returned tax items.


Returns

  • payments ARRAY - An array of Beans_Tax_Payment.

  • total_results INTEGER - Total number of results.

  • sort_by STRING - The sort method used in the returned results.

  • pages INTEGER - The total number of pages of results.

  • page INTEGER - The currently returned page index.

Clone this wiki locally