Amazon Selling Partner icon

Amazon Selling Partner

Interact with Amazon Selling Partner API

Overview

This node interacts with the Amazon Selling Partner API to download VAT invoice reports for specified EU/UK marketplaces. It supports retrieving reports in either a tab-delimited flat file or XML format. Users can specify report type, marketplace, date range, and various report options such as filtering for pending invoices or including all invoice statuses. The node can return the report as raw binary data or parse flat file reports into JSON arrays for easier processing. This is useful for sellers or accountants needing to automate VAT invoice data retrieval for tax and accounting purposes.

Use Case Examples

  1. A seller wants to download a VAT invoice report for Amazon.co.uk for the last month in XML format to integrate with their accounting software.
  2. An accountant needs to retrieve only pending VAT invoices from the German marketplace in a flat file format and parse the data into JSON for further analysis.

Properties

Name Meaning
Report Type Type of VAT invoice report to download, either flat file or XML format.
Marketplace ID EU/UK marketplace for which the VAT report is generated, e.g., Amazon.co.uk or Amazon.de.
Start Date Start date for the report data in ISO 8601 format.
End Date End date for the report data in ISO 8601 format.
Report Options Additional options to filter the report data, such as including only pending invoices or all invoice statuses.
Output Options Options controlling the output format, including whether to return raw binary file, parse CSV/TSV to JSON, and the binary property name.
Advanced Options Options for controlling report generation polling, including max poll time and poll interval.

Output

Binary

Raw VAT invoice report file data (if Return Binary File is enabled).

JSON

  • reportId - Identifier of the generated VAT invoice report.
  • reportType - Type of the VAT invoice report requested.
  • marketplaceId - Marketplace for which the report was generated.
  • startDate - Start date of the report data range.
  • endDate - End date of the report data range.
  • content - Content of the VAT invoice report, either raw or parsed JSON array depending on options.

Dependencies

  • Amazon Selling Partner API
  • API authentication credentials

Troubleshooting

  • Ensure valid Amazon Selling Partner API credentials are configured to avoid authentication errors.
  • Verify the marketplace ID matches the intended EU/UK marketplace to prevent invalid report requests.
  • Check date range validity; start date should be before end date and within allowed limits.
  • If parsing CSV to JSON, ensure the report type is a flat file format; XML reports cannot be parsed this way.
  • Polling settings (max poll time and interval) should be set within allowed ranges to avoid timeouts or excessive API calls.

Links

Discussion