Amazon Selling Partner icon

Amazon Selling Partner

Interact with Amazon Selling Partner API

Overview

This node interacts with the Amazon Selling Partner API to retrieve various GST (Goods and Services Tax) reports related to invoices. It supports fetching different types of GST reports such as business-to-business (B2B), business-to-consumer (B2C), custom reports with date ranges, and stock transfer reports. The node is useful for sellers or accountants who need to download and analyze GST tax reports for compliance and financial tracking. For example, a user can schedule a B2B GST report or request an on-demand custom B2C GST report for a specific date range.

Use Case Examples

  1. Download a scheduled GST B2B report for Amazon.in marketplace.
  2. Fetch an on-demand custom GST B2C report for a specified date range.
  3. Retrieve a GST stock transfer report to track inventory movements.

Properties

Name Meaning
Report Type Specifies the type of GST report to download, such as B2B, B2C, custom reports, or stock transfer reports.
Marketplace ID The Amazon marketplace for which the GST report is generated, e.g., Amazon.in (India).
Start Date The start date for the report data in ISO 8601 format. Required for custom and on-demand reports.
End Date The end date for the report data in ISO 8601 format. Required for custom and on-demand reports.
Output Options Options to control the output format, including whether to return the raw file as binary data, parse CSV/TSV content to JSON, and specify the binary property name.
Advanced Options Advanced settings for report generation, including maximum polling time and polling interval to check report status.

Output

Binary

The node can return the raw GST report file as binary data, useful for saving or further processing the file.

JSON

  • reportData - The parsed content of the GST report, typically as a JSON array if CSV/TSV parsing is enabled.
  • binary
    • data - The raw GST report file in binary format, if the option to return binary is enabled.

Dependencies

  • Requires Amazon Selling Partner API credentials with appropriate permissions to access GST reports.

Troubleshooting

  • Common issues include invalid marketplace ID or report type selection, which can cause API errors.
  • Report generation may time out if the max poll time is too short; increasing the max poll time or adjusting the poll interval can help.
  • Errors related to parsing CSV/TSV content may occur if the report format changes; disabling parsing or verifying report format can resolve this.

Links

Discussion