Amazon Selling Partner icon

Amazon Selling Partner

Interact with Amazon Selling Partner API

Invoice → Get GST Report

AI-generated

Overview

This node operation retrieves GST (Goods and Services Tax) reports from the Amazon Selling Partner API for invoices. It supports various 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 download a custom B2B GST report for a specific date range to review tax details for business transactions.

Use Case Examples

  1. Download a GST B2B Custom Report for a specified date range to analyze business-to-business transactions.
  2. Retrieve a GST Stock Transfer Report to track inventory movements for tax purposes.

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 identifier 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 the binary property name to store the file.
Advanced Options Advanced settings for report generation polling, including maximum poll time and poll interval.

Output

Binary

Contains the raw GST report file if 'Return Binary File' is enabled in output options.

JSON

  • reportId - Identifier of the generated GST report.
  • status - Current status of the GST report generation.
  • content - Parsed content of the GST report if CSV/TSV parsing is enabled.
  • binary
    • data - Binary data of the raw GST report file, stored under the specified binary property name.

Dependencies

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

Troubleshooting

  • Ensure the correct report type and marketplace ID are selected; invalid combinations may cause errors.
  • Check that the date range is valid and applicable for the selected report type, especially for custom and on-demand reports.
  • If the report generation takes longer than the maximum poll time, increase the 'Max Poll Time' or check API rate limits.
  • If parsing CSV to JSON fails, verify the report format and that the 'Parse CSV to JSON' option is enabled only for flat file reports.
  • Common error messages include 'Unknown invoices operation' if an unsupported operation is selected, and API errors related to authentication or permissions. Verify credentials and API access rights.

Discussion