B2Brouter

Automate E-Invoicing with B2Brouter API

Tax Report → Download

AI-generated

Summary

Downloads a tax report file (PDF) from B2Brouter and stores it as binary data.

Inputs

  • environment — Select the B2Brouter API environment (Test/Staging or Live/Production). Defaults to Test (Staging). Options: test (https://api-staging.b2brouter.net), live (https://api.b2brouter.net).
  • id (required) — The ID of the tax report to download.
  • outputBinaryPropertyName — Name of the binary property where the downloaded file will be stored. Defaults to 'data'.

Output shape

binary

The operation returns a single item with an empty JSON object and a binary property containing the downloaded PDF. The binary property name is taken from outputBinaryPropertyName (default data).

Examples

Example 1: Download a tax report

Set Tax Report ID to the desired report, leave Output Binary Property Name as default 'data', select environment as needed.

Links

Discussion