Actions68
- Account Actions
- Bank Account Actions
- Code List Actions
- Contact Actions
- Event Actions
- Invoice Actions
- Ledger Actions
- Order Actions
- Tax Report Actions
- Tax Report Setting Actions
- Transport Actions
- Web Hook Actions
Tax Report → Get Many
AI-generatedSummary
Retrieves multiple tax reports for the authenticated account via the B2Brouter API.
Inputs
- environment — Select the B2Brouter API environment to target (staging or production). Defaults to test/staging if not set.
- returnAll — When false, returns up to the number of results specified by the
limitparameter. When true, fetches all available tax reports across all paginated pages. - limit — Maximum number of tax reports to return. Only applies when
returnAllis false. Minimum 1, maximum 500, default 50.
Output shape
Array of tax report objects returned from the API endpoint GET /accounts/{accountId}/tax_reports. Each object represents a tax report record. When returnAll is enabled, the array contains all records across all pages; otherwise it is capped at the specified limit.
The operation internally resolves the API base URL from the selected
environmentparameter and fetches records scoped to the authenticated account (account ID obtained from credentials).
Examples
Example 1: List up to 20 tax reports from the live environment
environment: live, returnAll: false, limit: 20
Example 2: Fetch all tax reports from the staging environment
environment: test, returnAll: true