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 types of reports related to invoices, specifically GST reports in this context. It supports fetching different GST report types 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. A seller wants to download a scheduled GST B2B report for their Amazon.in marketplace to review business-to-business transactions.
  2. An accountant needs an on-demand GST B2C custom report for a specific date range to prepare tax filings.
  3. A warehouse manager requires a GST stock transfer report to track inventory movements between locations.

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 requested, e.g., Amazon.in (India).
Start Date The start date for the report data in ISO 8601 format, applicable for custom and on-demand reports.
End Date The end date for the report data in ISO 8601 format, applicable 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 report 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 can help.
  • Parsing errors may occur if the report format changes or if the CSV/TSV content is malformed; disabling parsing or handling errors gracefully is recommended.

Links

Discussion