Closed greenhof closed 1 year ago
GET_FLAT_FILE_VAT_INVOICE_DATA_REPORT seems to be not restricted, upon setting restricted to false in reportTypes for this report, i was able to download it without any issues.
What exactly do you mean with set restricted to false? U mean in the ReportOptions?
What exactly do you mean with set restricted to false? U mean in the ReportOptions?
in the file ReportType.php set restricted to false for the report GET_FLAT_FILE_VAT_INVOICE_DATA_REPORT
I think I missed this issue because it got closed relatively quickly. According to Amazon's documentation, that report is restricted (you supposedly need the Tax Invoicing role). Are you getting PII in that report when you request it as a non-restricted report?
I think I missed this issue because it got closed relatively quickly. According to Amazon's documentation, that report is restricted (you supposedly need the Tax Invoicing role). Are you getting PII in that report when you request it as a non-restricted report?
i manage to get this report only when i request it as a non-restricted report. And yes i get PII data in it.
Interesting, and do you have access to PII in general, via one of the restricted SP API roles?
Interesting, and do you have access to PII in general, via one of the restricted SP API roles?
yes, we have all the restricted roles and, we generate and download reports containing PII for multiple sellers using our App. Only with this report we have this issue.
Problem description:
I have all the PII roles in my account and i have generated the report GET_FLAT_FILE_VAT_INVOICE_DATA_REPORT. The report processing is ended with status DONE. I get the report document id (which starts with amzn1.spdoc). But i can not get the document using getReportDocument. Here is the error message i receive when i do so:
And here is the part of the code which generates this error: