B2Brouter

Automate E-Invoicing with B2Brouter API

Tax Report → Get Many

AI-generated

Summary

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 limit parameter. When true, fetches all available tax reports across all paginated pages.
  • limit — Maximum number of tax reports to return. Only applies when returnAll is 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 environment parameter 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

Links

Discussion