WbReports icon

WbReports

n8n node to interact with WB API

Actions26

Overview

This node posts an analytics excise report for goods with mandatory marking within a specified date range and optional country filters. It is useful for businesses or analysts who need to submit or retrieve excise-related product reports compliant with regulatory requirements. For example, a company tracking excise tax compliance on marked products can use this node to send reporting data for a given period and selected countries.

Properties

Name Meaning
Date From Start of the reporting period in RFC3339 format. Can be a date or datetime string. Examples: 2023-12-01, 2023-12-01T23:59:59
Date To End of the reporting period in RFC3339 format. Can be a date or datetime string. Examples: 2023-12-01, 2023-12-01T00:00:00
Countries JSON array of country codes following ISO 3166-2 standard. Leave empty to include all countries.

Output

The node outputs JSON data representing the response from posting the analytics excise report. The exact structure depends on the external API but typically includes confirmation or details about the submitted report. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the external WB API service.
  • The node uses a base URL and OpenAPI specification bundled internally for request construction.
  • No additional environment variables are explicitly required beyond the API credential.

Troubleshooting

  • Invalid Date Format: Ensure "Date From" and "Date To" are valid RFC3339 strings; otherwise, the API may reject the request.
  • Empty or Malformed Countries JSON: If the countries parameter is not a valid JSON array or contains invalid country codes, the API might return errors or unexpected results.
  • Authentication Errors: Missing or incorrect API credentials will cause authorization failures.
  • API Response Errors: Network issues or server-side problems at the external API endpoint could result in error responses; check connectivity and API status.

Links and References

Discussion