Actions18
- Orders Actions
- Invoices Actions
- Shipments Actions
- Listings Actions
- Finance Actions
- Analytics Actions
- Prices Actions
Overview
This node operation retrieves VAT invoice reports from the Amazon Selling Partner API. It allows users to download VAT invoice data reports in either flat file (tab-delimited) or XML format for specified EU/UK marketplaces. Users can specify the report type, marketplace ID, date range, and additional report options such as filtering for pending invoices or including all invoice statuses. The node supports returning the report as raw binary data or parsing flat file reports into JSON arrays. This operation is useful for sellers or accountants who need to access detailed VAT invoice data for tax reporting and compliance purposes.
Use Case Examples
- A seller wants to download a flat file VAT invoice report for Amazon.co.uk for the last month to reconcile VAT payments.
- An accountant needs to retrieve XML VAT invoice data for Amazon.de to integrate with their accounting software.
- A user wants to get only pending invoices in the VAT report for Amazon.fr and receive the report as a binary file for archival.
Properties
| Name | Meaning |
|---|---|
| Report Type | Specifies the format of the VAT invoice report to download, either flat file (tab-delimited) or XML. |
| Marketplace ID | Selects the EU/UK Amazon marketplace for which the VAT report is generated. |
| 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 the raw file as binary, parse CSV/TSV content to JSON, and the binary property name. |
| Advanced Options | Advanced settings for report generation polling, including maximum poll time and poll interval. |
Output
Binary
Raw VAT invoice report file data (if Return Binary File is enabled).
JSON
reportData- The VAT invoice report data, either as parsed JSON array (for flat file reports if parsing enabled) or raw content.binarydata- Binary property containing the raw report file data if Return Binary File is enabled.
Dependencies
- Amazon Selling Partner API
- API authentication credentials
Troubleshooting
- Ensure correct marketplace ID is selected to avoid empty or invalid reports.
- Verify date range is valid and supported by the report type to prevent errors or empty results.
- If parsing CSV to JSON, ensure the report type is a flat file format; XML reports cannot be parsed this way.
- Check API credentials and permissions to avoid authentication errors when accessing the Amazon Selling Partner API.
- If report generation takes too long, adjust max poll time and poll interval settings to balance wait time and API usage limits.
Links
- Amazon Selling Partner API Reports Documentation - Official documentation for report types and usage in the Amazon SP-API.